skema

Int

@Serializable
@SerialName(value = "Int")
data class Int(val min: Int? = null, val max: Int? = null, val exclusiveMin: Int? = null, val exclusiveMax: Int? = null, val multipleOf: Int? = null) : JsonSpec(source)

Integer value, optionally bounded. Maps to {"type":"integer"} plus minimum/maximum.

Constructors

Int

constructor(min: Int? = null, max: Int? = null, exclusiveMin: Int? = null, exclusiveMax: Int? = null, multipleOf: Int? = null)(source)

Properties

exclusiveMax

Exclusive upper bound, or null for unbounded.

exclusiveMin

Exclusive lower bound, or null for unbounded.

max

val max: Int?(source)

Inclusive upper bound, or null for unbounded.

min

val min: Int?(source)

Inclusive lower bound, or null for unbounded.

multipleOf

Value must be a multiple of this, or null for no constraint.