---
title: Model Schema Wizard
slug: solutions/model-schema-wizard
docTags: 
createdAt: 2025-08-21T13:32:26.079Z
---

The [Model Schema](docId\:zPaDX1lMmE0F44V7r6v6Q) allows to create a custom data structure for the model.&#x20;

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

:::hint{type="info"}
**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&#x20;**&#x66;or 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&#x20;**&#x72;ibbon.

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/zpQ94QIvwLOQ43ixjCG6O_image.png)

Open the Model Schema Wizard by pressing the **Model Schema Wizard** button.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/JSgsOw3-5oVASmUJiqhM__image.png" size="60" width="313" height="161" position="center" showCaption="false"}

The Model Schema wizard will show.

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/QWvRK3ZcsxgZeqkvj19UF_image.png)

:::hint{type="info"}
**Notes**:

If the Model has already a Model Schema defined, it will be shown in the Schema Builder Tree.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/c4j-33ArwNckSWuYGS2SF_image.png" size="80" width="1179" height="784" position="center" showCaption="false"}
:::

# 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.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/BE5jt7amJzkykqi7zwz1n_image.png" size="80" width="533" height="337" position="center" showCaption="false"}

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&#x20;

- 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.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/YsvjPfWpaHrYBk2fKPXyu_image.png" size="70" width="474" height="160" position="center" showCaption="false"}

Provide a unique Name for the Node or Node Array.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/D8uOtlfo3rl5TkP8j9Reb_image.png" size="70" width="384" height="157" position="center" showCaption="false"}

To add the Node or Node Array, press the ENTER key on your keyboard.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/8hMfGMyeqlBBd4n075qoz_image.png" size="80" width="456" height="232" position="center" showCaption="false"}

### 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.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/GYpPzC23AfC1TFLcxomqD_image.png" size="70" width="499" height="312" position="center" showCaption="false"}

&#x20;Provide a unique Name for the Node or Node Array.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/QWQ-JOZ2XT7t9J-tUuXsg_image.png" size="70" width="605" height="457" position="center" showCaption="false"}

To rename the Node or Node Array, press the ENTER key on your keyboard.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/Jm9MQ842sRb3eDXitvo75_image.png" size="80" width="463" height="275" position="center" showCaption="false"}

### 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.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/_4YB92CgyMNv37l_7EcB4_image.png" size="80" width="572" height="390" position="center" showCaption="false"}

This will remove the Node or Node Array.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/wClTehu67dgvir9c_0mJ6_image.png" size="80" width="651" height="317" position="center" showCaption="false"}

:::hint{type="warning"}
**Important:&#x20;**&#x54;his 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.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/r5cf9HSlV3WaDhk8_CdT2_image.png" size="70" width="474" height="334" position="center" showCaption="false"}

Select the Static Attribute or Dynamic Attribute from the drop down you want to add to the Node or Node Array.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/kA1DZCLWSzc5AmlZV7BQx_image.png" size="90" width="781" height="317" position="center" showCaption="false"}

This will add the Item under the Node or Node Array.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/100I56EMJnWQWr7H26mad_image.png" size="80" width="547" height="306" position="center" showCaption="false"}

### 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&#x20;**&#x6F;ption.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/0NyReA7fNFQ64d8qw3HPI_image.png" size="80" width="457" height="338" position="center" showCaption="false"}

This will remove the Item from the Node or Node Array.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/tacSucjrpzaivPVKqD7H8_image.png" size="80" width="592" height="306" position="center" showCaption="false"}

# Sync Attributes

To sync the existing schema, click the **Sync Attributes&#x20;**&#x69;con.

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/e3K3BnPTE5-gbULbJVOdw_image.png)

The wizard will request Confirmation.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/PRe2PK0Xgq--8kNxaMesk_image.png" size="60" width="408" height="161" position="center" showCaption="false"}

If you wish to proceed, then click **Yes**.

All attributes will be appended to the current hierarchy. If they exist, the *static\_attributes&#x20;*&#x61;nd *dynamic\_attributes&#x20;*&#x6E;odes will be recreated.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/j3qMDltGqhFBS32n_CL3p_image.png" size="80" width="914" height="790" position="center" showCaption="false"}

# Clear Schema

To clear the schema builder tree, click the **Clear Schema&#x20;**&#x69;con.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/5huygnPDX4I4shAPBSoI0_image.png" size="80" width="652" height="340" position="center" showCaption="false"}

# Saving the Model Schema

To save the Data Structure as a new Model Schema JSON Object, press the **Save&#x20;**&#x62;utton.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/IgrtFH4r3Nl08PFAp-3G7_image.png" size="80" width="909" height="788" position="center" showCaption="false"}

This will create the correctly formatted Model Schema JSON Object and store it in column **Model Schema&#x20;**&#x66;or the Model.

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/7T36SGbfU87NgaQSTSUpM_image.png)

:::hint{type="warning"}
**Important:&#x20;**&#x54;his 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&#x20;**&#x62;utton.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/l2QvdMiAeiH8OhudOpCyD_image.png" size="80" width="1188" height="842" position="center" showCaption="false"}

:::hint{type="info"}
**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.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/3gpM8nHEKUjSpEYOFsIaK_image.png" size="80" width="593" height="467" position="center" showCaption="false"}

This will change the color of the Node or Node Array to gray.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/U16rZCVkZRIP1NdHiKm6Z_image.png" size="80" width="499" height="406" position="center" showCaption="false"}

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.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/GykEfDdq-dIZbVbs_J6dN_image.png" size="80" width="587" height="369" position="center" showCaption="false"}

The Node or Node Array is moved under the new location.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/I8YqR-qwvDDCiri86nTaQ_image.png" size="80" width="647" height="426" position="center" showCaption="false"}

## 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.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/y-ViB-55Bcdxy22gLsLYK_image.png" size="80" width="522" height="467" position="center" showCaption="false"}

This will change the color of the Node or Node Array to magenta.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/8A2v8AcK0yY46zHpLyesd_image.png" size="80" width="557" height="408" position="center" showCaption="false"}

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.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/qLu-EYeM58H9-NvIPHke1_image.png" size="80" width="643" height="403" position="center" showCaption="false"}

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.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/xFSf8gfYTZwpl6Se-tEpT_image.png" size="80" width="579" height="398" position="center" showCaption="false"}

## 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&#x20;**&#x6F;ption.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/J2oz8CqhqjenBNF0s6HYN_image.png" size="80" width="363" height="335" position="center" showCaption="false"}

This will change the color of the Item to gray.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/z5u-tdA5XrP8PepgcIVly_image.png" size="80" width="335" height="338" position="center" showCaption="false"}

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.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/P0p50sZGc_s2suXy1BZuN_image.png" size="80" width="600" height="316" position="center" showCaption="false"}

The Item is moved under the new location.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/rMjzXr15EHkUOcytS6p9j_image.png" size="80" width="474" height="333" position="center" showCaption="false"}

## 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&#x20;**&#x6F;ption.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/abwaGdgYI1dhAq6yPkeME_image.png" size="80" width="324" height="337" position="center" showCaption="false"}

This will change the color of the Item to magenta.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/6uD2TzNlL44QyWBd7H6m0_image.png" size="80" width="388" height="306" position="center" showCaption="false"}

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.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/L7oZtb7JKWpEBDd0Ee81S_image.png" size="80" width="659" height="331" position="center" showCaption="false"}

A copy of the Item is created under the new location.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/57_u0CQr447Li77v5RIiY_image.png" size="80" width="496" height="389" position="center" showCaption="false"}

## Unfold a Node or Node Array

To unfold a Node or Node Array when it is folded, click the downwards pointing chevron.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/WBJfjWB6vcUD0hcewBw8U_image.png" size="80" width="868" height="312" position="center" showCaption="false"}

This will unfold the respective Node.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/gMcpXEMfkVWNWCd_Wg768_image.png" size="80" width="927" height="349" position="center" showCaption="false"}

## Fold a Node or Node Array

To fold a Node or Node Array when it is unfolded, click the right pointing chevron.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/aAkL6GmAEZVxBkVyi8JON_image.png" size="80" width="927" height="349" position="center" showCaption="false"}

This will fold the respective Node.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/ov-jg4ZiU2PqsrAj4QPO8_image.png" size="80" width="504" height="300" position="center" showCaption="false"}

:::hint{type="info"}
**Notes**:

By default the Model Schema is shown unfolded
:::

