ValuePropertyDefinition

Represents a value-based property definition in a JSON Schema.

This is a sealed interface that extends from PropertyDefinition and serves as the base for properties that define specific types, such as strings, numbers, arrays, objects, and booleans. Each implementation of this interface allows defining additional type-specific constraints and attributes.

Inheritors

Properties

Link copied to clipboard
abstract val description: String?

Optional description of the property.

Link copied to clipboard
abstract val nullable: Boolean?

Whether the property can be null.

Link copied to clipboard
abstract val type: List<String>

The data type of the property.