ObjectConstraints
Defined in: core/field/types/Object.ts:16
Object-specific constraints
Extends
Section titled “Extends”BaseConstraints
Properties
Section titled “Properties”
optionalenum:string[] |Record<string,any>[]
Defined in: core/field/types/Object.ts:36
Restrict values to a specified set of objects Serialized as JSON strings or object literals
jsonSchema?
Section titled “jsonSchema?”
optionaljsonSchema:Record<string,any>
Defined in: core/field/types/Object.ts:30
JSON Schema object for validating the object structure and properties
maxLength?
Section titled “maxLength?”
optionalmaxLength:number
Defined in: core/field/types/Object.ts:25
Maximum number of properties
minLength?
Section titled “minLength?”
optionalminLength:number
Defined in: core/field/types/Object.ts:20
Minimum number of properties
required?
Section titled “required?”
optionalrequired:boolean
Defined in: core/field/types/Base.ts:57
Indicates if field is allowed to be null/empty
Inherited from
Section titled “Inherited from”BaseConstraints.required
unique?
Section titled “unique?”
optionalunique:boolean
Defined in: core/field/types/Base.ts:62
Indicates if values must be unique within the column
Inherited from
Section titled “Inherited from”BaseConstraints.unique