Xentara v1.0
User Manual
|
At the root of the Xentara model file is a JSON object that represents the anonymous root node of the model:
$schema | An optional string value containing the URI of the JSON schema for Xentara model files. Xentara itself ignores this member, but some editors may use it to associate the model file with the correct JSON schema. |
children | A JSON array containing the top level elements in the model. This member is named children because the top level elements are considered children of the anonymous root node. Please remember that each element block requires two layers of |
The individual elements within the model are each represented by a double nested JSON object. The outer object has a single member whose name is the type of element, and whose value is another JSON object that contains the actual properties of the element.
A data point, for example, will be represented by a block like this:
A model containing three data points will look like this:
JSON objects representing Xentara model elements will always have two standard members:
id | A string value containing the ID of the element. The ID is used to construct the element’s primary key. |
uuid | A string value containing the unique UUID of the element. |
Each element type can have additional members. The actual JSON format for the individual element types can be found here:
A JSON schema file to validate model files is available here.