OptionalapplyWhen default applies (default to 'empty'):
'always' - no matter what the client sent, both on update and insert.
'empty' - only if the value of the field is empty (undefined).
'updateOrEmpty' - no matter what the client sent, updating the record uses the default value.
OptionaldataThe database data type that is represented by this property. This is often different from the actual property type, with is a Javascript primitive. For example, for a SMALLINT the dataType would be 'smallint', but the type would be 'integer'.
OptionaldefaultHas the server write the time of the mutation into the field.
OptionaldescriptionWhat the field holds, in words.
OptionalenumThe only values the database takes in this field.
OptionalhiddenThis indicates that although the field exists on the db, it should be ignored by squid.
OptionalisWhether the value is a date.
OptionalisWhether the database computes this field itself, so a write that names it fails.
OptionalisWhether the value is JSON.
OptionalitemsThe element of an array.
OptionalpatternThe values of a nested object whose keys are not known up front, by key pattern.
OptionalprimaryMarks the property as a primary key.
OptionalpropertiesThe fields of a nested object.
OptionalrequiredThe nested fields the database holds a value for in every row.
OptionaltypeThe JSON type of the value, such as string, integer or object.
A field at the top level of a collection, including database-related metadata.