Property description

The displayLevels property determines the levels of your object hierarchy that are shown in your metamodel.

Minimal JSON

{
  "key": "",
  "name": "",
  "displayTypeKey": ""
}
{
  "key": "diagram",
  "displayLevels": [
    {
      "key": "diagram_simple",
      "name": "diagram_simple",
      "displayTypeKey": "simple",
      "isSingleHideable": false,
      "isSelfTargeting": false
    }
  ]
}

Example taken from the core package.

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the asset. Used for referencing in the same package or other packages using packageKey#assetKey.stringYes
nameName of the asset, used as the default EN translation.stringYes
displayTypeKeyDefault level of displayed objects. Supported values are: circle: Circle shape. For more information, see Modeling diagrams., column: Table or view column., conceptual_folder: Folder for conceptual models. For more information, see Modeling diagrams., cylinder: Cylinder shape. For more information, see Modeling diagrams., diamond: Diamond shape. For more information, see Modeling diagrams., er_column: Entity relation column., er_object: Entity relation object., folder: Folder. In the graph, objects will be visualized inside their parents., hexagon: Hexagon shape. For more information, see Modeling diagrams., knowledge_object: Used with knowledge graphs., nonagon: Nonagon shape. For more information, see Modeling diagrams., object: Object., rhombus: Rhombus shape. For more information, see Modeling diagrams., rightwards_step: Rightwards step shape. For more information, see Modeling diagrams., simple: Simple rectangle shape. For more information, see Modeling diagrams.stringYes
descriptionDescription of the property.stringNo
parentKeyKey of the parent level to the selected object types.stringNo
isSingleHideableDetermines whether the level can be hidden. Default is false.booleanNo
objectTypeKeysArray of object type keys visualized in the graph. Not used when the metamodel is defined in the object type graph display level property.arrayNo
stateCurrent status of the asset. Supported options are: active (asset is active and visible in the environment), inactive (asset is inactive and hidden, serves as a soft delete), hidden (asset is active but hidden in the environment).stringNo
translationsArray of translation keys and their definitions that determine how the text is displayed in the UI for the specific asset. For more information, see Translations.stringNo