Solutions
...
Wizards and other Actions
Model Schema Wizard
30 min
the create and import models docid\ zpadx1lmme0f44v7r6v6q allows to create a custom data structure for the model to assist with the definition of the model schem and ensure that the json object is correctly formatted, the dt model management tool provides a model schema wizard access the model schema wizard notes to access the model schema wizard it is required that a model type is selected a model name is defined select the respective cell in column model schema for the model you want to define the model schema for if all conditions are met, the model schema wizard button is shown in the help section of the litmusconfiguration ribbon open the model schema wizard by pressing the model schema wizard button the model schema wizard will show notes if the model has already a model schema defined, it will be shown in the schema builder tree schema creation the model schema wizard allows users to create a custom data structure for their model a digital twin model schema is represented as a tree the tree consist of three different types of building blocks nodes shown as an orange leave of the tree with its name node arrays shown as an orange leave of the tree with a " \[] " before the name are the banches of the tree but can also be understood as folders for items shown as green leaves which represent the different attributes, both static and dynamic which are the leaves of the tree but can also be understood as files inside a folder managing nodes and node arrays nodes and node arrays act as branches for the tree and are used to create the layerd hierarchy of the data structure adding nodes or node arrays to add a new node, open the context menu by performing a right click with your rmb on any node or node array and move to either the add node or add node array option provide a unique name for the node or node array to add the node or node array, press the enter key on your keyboard rename nodes or node arrays to rename a node or node array, open the context menu by performing a right click with your rmb on any node or node array and select the rename node option provide a unique name for the node or node array to rename the node or node array, press the enter key on your keyboard removing nodes or node arrays to remove a node or node array, open the context menu by performing a right click with your rmb on any node or node array and click the remove node option this will remove the node or node array important this will also remove all of its child brances like nodes, node arrays and items as leaves managing items items act as leaves for the tree and represent the data which the data structure delivers adding items to add a new item, open the context menu by performing a right click with your rmb on any node or node array and move to either the add static attribute item or add dynamic attribute item option select the static attribute or dynamic attribute from the drop down you want to add to the node or node array this will add the item under the node or node array removing items to remove an item, open the context menu by performing a right click with your rmb on any item and click the remove attribute option this will remove the item from the node or node array sync attributes to sync the existing schema, click the sync attributes icon the wizard will request confirmation if you wish to proceed, then click yes all attributes will be appended to the current hierarchy if they exist, the static attributes and dynamic attributes nodes will be recreated clear schema to clear the schema builder tree, click the clear schema icon saving the model schema to save the data structure as a new model schema json object, press the save button this will create the correctly formatted model schema json object and store it in column model schema for the model important this will overwrite the current value in column model schema cancel the model schema wizard if a user decides to not save the current data strucutre defined in the model schema wizard, they can press the cancel button notes this will not overwrite the current value in column model schema additional options for managing nodes, node arrays and items move a node or node array to move an existing node or node array together with all of its child brances like nodes, node arrays and items as leaves withhin the data structure hierarchy, open the context menu by performing a right click with your rmb on any node or node array and select the move node option this will change the color of the node or node array to gray now open the context menu by performing a right click with your rmb on the node or node array where you want to move the gray node or node array under and select the paste node or item option the node or node array is moved under the new location copy a node or node array to create a copy of an existing node or node array together with all of its child brances like nodes, node arrays and items as leaves withhin the data structure hierarchy, open the context menu by performing a right click with your rmb on any node or node array and select the copy node option this will change the color of the node or node array to magenta now open the context menu by performing a right click with your rmb on the node or node array where you want to create a copy of the magenta node or node array under and select the paste node or item option a copy of the node or node array is created under the new location and the suffix " copy" added to its name as names need to be unique move an item to move an existing item withhin the data structure hierarchy, open the context menu by performing a right click with your rmb on any node or node array and select the move item option this will change the color of the item to gray now open the context menu by performing a right click with your rmb on the node or node array where you want to move the gray item to and select the paste node or item option the item is moved under the new location copy an item to create a copy of an existing item withhin the data structure hierarchy, open the context menu by performing a right click with your rmb on any item and select the copy item option this will change the color of the item to magenta now open the context menu by performing a right click with your rmb on the node or node array where you want to create a copy of the magenta item under and select the paste node or item option a copy of the item is created under the new location unfold a node or node array to unfold a node or node array when it is folded, click the downwards pointing chevron this will unfold the respective node fold a node or node array to fold a node or node array when it is unfolded, click the right pointing chevron this will fold the respective node notes by default the model schema is shown unfolded