Data models are derived from data files. For example, data/authors.json or data/songs.yml. For each file in the data folder, there must be a data model with following fields:

  • type: the type of the model is always data. This field is required.
  • label: model label, e.g. Authors. This field is required.
  • description: description of the model.
  • file: the file name of the data file relative to the data folder. This field is required.
  • fields: a list of Field Models