Skip to content

GeojsonConstraints

Defined in: core/field/types/Geojson.ts:23

GeoJSON-specific constraints

  • BaseConstraints

optional enum: string[] | Record<string, any>[]

Defined in: core/field/types/Geojson.ts:28

Restrict values to a specified set of GeoJSON objects Serialized as strings or GeoJSON object literals


optional required: boolean

Defined in: core/field/types/Base.ts:52

Indicates if field is allowed to be null/empty

BaseConstraints.required


optional unique: boolean

Defined in: core/field/types/Base.ts:57

Indicates if values must be unique within the column

BaseConstraints.unique