Daybed concepts are very similar to those of any other storage or model validation software.
Credentials are a way to authenticate yourself, and are composed of two parts:
- an id – identifier that you can publicly share
- a key – similar to a password (you may prefer to not share it)
- A schema defined as a list of fields, each one with a name, a type and potential parameters.
- A model definition is composed of multiple fields. Each one contains a name and a type.
- Field type
- A type, among those available, whose purpose is to validate values
date, ...). It may have mandatory or optional parameters, when used in a definition (e.g.
A unique id, part of the credentials, that will be associated to the models and records you created.
Identifiers are used to define permissions.
- A model is made of a definition, a set of records, and a list of permissions.
For example, when trying to delete a record, if the request’s identifier doesn’t have
delete_recordsamong its permission on this model, the permission will be denied.
See permissions section.
- An item to be stored in a model. It should provide a value for each required field of the definition.
- An unique string from each pair of id and key, and helps you keep, handle or share your credentials as a simple string.