Definition of a schema for creating a Collection
Properties
fieldLabels?
optional fieldLabels: Record<string, string>;
Maps field names to labels to display in the UI when necessary. If any field name
is not present as a key in this label map, the field name itself will be the label.
fields
fields: FieldDefinition[];
primaryKey
primaryKey: string[];
Field names that are used to construct primary keys for new data items.
Typically this contains only one field name, and that field is usually unique.