Using the developer extension, you can view the data models registered in your instance of the platform and control the visibility of their properties in the API.
To work with data models, their corresponding JSON schemas must be present in the active workspace. If you do not already have JSON schemes, you can download them from the server. To do this
Switch to extremum development mode by selecting the icon in the left vertical toolbar
Click on the icon
in the section header models (Models)
The data models will be uploaded from the server and placed in the * models * subdirectory of the workspace directory, while in * Explorer * mode, the * Entity Models * section will appear in the left pane of the screen at the same level as the list of projects, containing files with JSON diagrams and files with model settings (the names of the latter begin with the character ".")
In the lower area of the IDE window, under Output, the model upload report is displayed.
To view the JSON diagram as a tree, click on the icon on the right side of the title of the main area of the IDE window.
In this view, the contents of the corresponding schemas are replaced by allOf are disclosed in the linear property lists of the included schemas, which allows you to study the structure of the resulting model without repeated transitions between the schemas of its components.
In addition, an example of a JSON document corresponding to the resulting schema is displayed at the bottom of the area below the tree
extremum.studio allows the developer to control the visibility of the properties of JSON schemas, thus adapting universal data models to the needs of a particular application. To disable the property, click on the icon to the left of the property in the model tree view
You can also make edits directly to the model settings file, its name is the same as the JSON schema file name with the point added to the beginning (“.”)
After completing the work on setting up models, you can send the results to the server by clicking on the icon in the title of the section Models (Models) left window area
You can change the data of the JSON schemas themselves, but these changes will not be applied on the server. To modify data models, you need to use the code generator available in the distribution kit extremum.black
You can specify your own local directory with data models to the development environment by clicking on the icon in the header of the * Models * section of the left pane