ArrayPropertyDefinition
data class ArrayPropertyDefinition(val type: List<String> = ARRAY_TYPE, val id: String? = null, val anchor: String? = null, val dynamicAnchor: String? = null, val ref: String? = null, val dynamicRef: String? = null, val comment: String? = null, val title: String? = null, val description: String? = null, val nullable: Boolean? = null, val default: JsonElement? = null, val constValue: JsonElement? = null, val defs: Map<String, PropertyDefinition>? = null, val readOnly: Boolean? = null, val writeOnly: Boolean? = null, val deprecated: Boolean? = null, val examples: List<JsonElement>? = null, val oneOf: List<PropertyDefinition>? = null, val anyOf: List<PropertyDefinition>? = null, val allOf: List<PropertyDefinition>? = null, val not: PropertyDefinition? = null, val ifSchema: PropertyDefinition? = null, val thenSchema: PropertyDefinition? = null, val elseSchema: PropertyDefinition? = null, val enum: List<JsonArray>? = null, val items: PropertyDefinition? = null, val prefixItems: List<PropertyDefinition>? = null, val unevaluatedItems: PropertyDefinition? = null, val contains: PropertyDefinition? = null, val minContains: Int? = null, val maxContains: Int? = null, val minItems: Int? = null, val maxItems: Int? = null, val uniqueItems: Boolean? = null) : ValuePropertyDefinition<JsonArray> , ArrayContainer(source)
Represents an array property
Constructors
Link copied to clipboard
constructor(type: List<String> = ARRAY_TYPE, id: String? = null, anchor: String? = null, dynamicAnchor: String? = null, ref: String? = null, dynamicRef: String? = null, comment: String? = null, title: String? = null, description: String? = null, nullable: Boolean? = null, default: JsonElement? = null, constValue: JsonElement? = null, defs: Map<String, PropertyDefinition>? = null, readOnly: Boolean? = null, writeOnly: Boolean? = null, deprecated: Boolean? = null, examples: List<JsonElement>? = null, oneOf: List<PropertyDefinition>? = null, anyOf: List<PropertyDefinition>? = null, allOf: List<PropertyDefinition>? = null, not: PropertyDefinition? = null, ifSchema: PropertyDefinition? = null, thenSchema: PropertyDefinition? = null, elseSchema: PropertyDefinition? = null, enum: List<JsonArray>? = null, items: PropertyDefinition? = null, prefixItems: List<PropertyDefinition>? = null, unevaluatedItems: PropertyDefinition? = null, contains: PropertyDefinition? = null, minContains: Int? = null, maxContains: Int? = null, minItems: Int? = null, maxItems: Int? = null, uniqueItems: Boolean? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Const value as JsonElement (spec-compliant storage). Can be any JSON value per JSON Schema 2020-12 spec.
Link copied to clipboard
Schema that at least one array item must match.
Link copied to clipboard
Default value as JsonElement (spec-compliant storage). Can be any JSON value per JSON Schema 2020-12 spec.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Schema for array items.
Link copied to clipboard
Maximum number of items that can match the "contains" schema.
Link copied to clipboard
Maximum number of items allowed in the array.
Link copied to clipboard
Minimum number of items that must match the "contains" schema.
Link copied to clipboard
Minimum number of items allowed in the array.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Array of schemas for positional items.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Schema for unevaluated array items.
Link copied to clipboard
Whether all items in the array must be unique.