IntegerSchema

data class IntegerSchema(val title: String? = null, val description: String? = null, val minimum: Int? = null, val maximum: Int? = null, val default: Int? = null) : NumberSchemaDefinition(source)

Defines an integer-typed property in an elicitation schema.

Constructors

Link copied to clipboard
constructor(title: String? = null, description: String? = null, minimum: Int? = null, maximum: Int? = null, default: Int? = null)

Properties

Link copied to clipboard
val default: Int?

Optional default value.

Link copied to clipboard

Optional description for the field.

Link copied to clipboard
val maximum: Int?

Maximum allowed value.

Link copied to clipboard
val minimum: Int?

Minimum allowed value.

Link copied to clipboard

Optional display title for the field.

Link copied to clipboard

JSON Schema type discriminator, always "integer".