Skip to content

ArrayConstraints

Defined in: core/build/field/types/Array.d.ts:14

Array-specific constraints

  • BaseConstraints

optional enum: string[] | any[][]

Defined in: core/build/field/types/Array.d.ts:31

Restrict values to a specified set of arrays Serialized as JSON strings or parsed array objects


optional jsonSchema: Record<string, any>

Defined in: core/build/field/types/Array.d.ts:26

JSON Schema object for validating array items


optional maxLength: number

Defined in: core/build/field/types/Array.d.ts:22

Maximum array length


optional minLength: number

Defined in: core/build/field/types/Array.d.ts:18

Minimum array length


optional required: boolean

Defined in: core/build/field/types/Base.d.ts:51

Indicates if field is allowed to be null/empty

BaseConstraints.required


optional unique: boolean

Defined in: core/build/field/types/Base.d.ts:55

Indicates if values must be unique within the column

BaseConstraints.unique