PropertiesContainer

Interface representing a container for properties in a JSON schema.

Inheritors

Properties

Link copied to clipboard

Constraint for additional properties in the object.

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 maxProperties: Int?

Maximum number of properties allowed in the object.

Link copied to clipboard
abstract val minProperties: Int?

Minimum number of properties allowed in the object.

Link copied to clipboard

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

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 properties.

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.