Properties

Link copied to clipboard

Constraint for additional properties in the object.

Link copied to clipboard

Schema that at least one array item must match.

Link copied to clipboard
abstract val contentEncoding: String?
Link copied to clipboard
abstract val contentMediaType: String?
Link copied to clipboard
Link copied to clipboard

A map of property names to lists of other property names that are required if the given property is present.

Link copied to clipboard

A map of property names to schemas that must be satisfied if the given property is present.

Link copied to clipboard
abstract val exclusiveMaximum: Double?
Link copied to clipboard
abstract val exclusiveMinimum: Double?
Link copied to clipboard
abstract val format: String?
Link copied to clipboard
abstract val items: PropertyDefinition?

Schema for array items.

Link copied to clipboard
abstract val maxContains: Int?

Maximum number of items that can match the "contains" schema.

Link copied to clipboard
abstract val maximum: Double?
Link copied to clipboard
abstract val maxItems: Int?

Maximum number of items allowed in the array.

Link copied to clipboard
abstract val maxLength: Int?
Link copied to clipboard
abstract val maxProperties: Int?

Maximum number of properties allowed in the object.

Link copied to clipboard
abstract val minContains: Int?

Minimum number of items that must match the "contains" schema.

Link copied to clipboard
abstract val minimum: Double?
Link copied to clipboard
abstract val minItems: Int?

Minimum number of items allowed in the array.

Link copied to clipboard
abstract val minLength: Int?
Link copied to clipboard
abstract val minProperties: Int?

Minimum number of properties allowed in the object.

Link copied to clipboard
abstract val multipleOf: Double?
Link copied to clipboard
abstract val pattern: String?
Link copied to clipboard

Map of property definitions for properties matching a regular expression pattern.

Link copied to clipboard

Array of schemas for positional items.

Link copied to clipboard

Map of property definitions.

Link copied to clipboard

Schema for property names.

Link copied to clipboard
abstract val required: List<String>?

List of required property names.

Link copied to clipboard

Schema for unevaluated array items.

Link copied to clipboard

Schema for unevaluated properties.

Link copied to clipboard
abstract val uniqueItems: Boolean?

Whether all items in the array must be unique.

Functions

Link copied to clipboard

Returns the allOf property definition for name, or null if not found or not an allOf.

Link copied to clipboard

Returns the anyOf property definition for name, or null if not found or not an anyOf.

Link copied to clipboard

Returns the array property definition for name, or null if not found or not an array property.

Link copied to clipboard

Returns the boolean property definition for name, or null if not found or not a boolean property.

Link copied to clipboard

Returns the boolean schema definition for name, or null if not found or not a boolean schema.

Link copied to clipboard

Returns the numeric property definition for name, or null if not found or not a numeric property.

Link copied to clipboard

Returns the object property definition for name, or null if not found or not an object property.

Link copied to clipboard

Returns the oneOf property definition for name, or null if not found or not a oneOf.

Link copied to clipboard

Returns the reference property definition for name, or null if not found or not a reference.

Link copied to clipboard

Returns the string property definition for name, or null if not found or not a string property.