Metadata structure

Metadata (Meta) is a complex of JSON files that describe the set of structures, which the app operates, ways of displaying the data structures in the user interface and navigation on them, as well as displaying the application configuration files.

Structure of the meta main types

shema

The structure of the main types of meta can be described as follows:

Meta class is the main source of data generation in the application. A meta class is composed of the attributes (attribute part) and of the class parameters (general part). Attributes are the objects of the “properties” field of the general part, which contains fields relevant to the structure of the meta class and to the data processing in this structure.

Meta class is the basis for meta views, meta navigation, meta reports, meta business processes, etc.

Meta view allows to specify the desired set of attributes for the class to be displayed on the form according to the type of the view form (the form of the list view list.json, of create view create.json, of change view item.json). Also it allows to indicate redefined and (or) complemented properties specified in the meta class of this attribute.

Мета представления + Атрибуты класса = Отображение атрибутов на форме

Meta navigation adjusts the position of elements in the navigation block. The meta navigation is divided into the meta navigation node and the meta navigation section.

Name of meta files:

Meta class Meta view Мета навигации
Located in
meta directory
and consists of
the name
of the general part of the meta
class +
.class.json..
Example:
adress.class.json.

The name of the meta view directory
shows its meta class.
The meta view
is located in the viewsdirectory.
It contains directories
whose names match
the first part of the name
of the meta class file. Example:
address@project_name, where address
belongs to the address class.
The meta navigation
consists of
the "name" + field
.section.json and
is located in
navigation
directory.
Example:
Example: workflow.section.json.