Skip to content

GeojsonConstraints

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

GeoJSON-specific constraints

  • BaseConstraints

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

Defined in: field/types/Geojson.ts:33

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


optional jsonSchema: Record<string, any>

Defined in: field/types/Geojson.ts:27

JSON Schema object for validating the object structure and properties


optional required: boolean

Defined in: field/types/Base.ts:62

Indicates if field is allowed to be null/empty

BaseConstraints.required


optional unique: boolean

Defined in: field/types/Base.ts:67

Indicates if values must be unique within the column

BaseConstraints.unique