Property description

The hierarchyDefinitions asset describes how objects are organized and configures how they are shown in the left-side hierarchy.

Tip

Hierarchy can be set as read-only in settings. This will disable manual reorganization of the hierarchy and object cloning.

Minimal JSON

{
  "key": "",
  "name": "",
  "type": ""
}
{
  "key": "native",
  "name": "Native",
  "description": "",
  "type": "object",
  "hasSameLevelParent": false,
  "disableParentUpdate": false,
  "levels": [
    {
      "key": "native_objects_database",
      "name": "Database",
      "description": "",
      "type": "OBJ",
      "objectTypeKey": "database",
      "hasFixedParent": false,
      "template": {}
    }
  ]
}

JSON 3

{
  "key": "default",
  "name": "Default",
  "description": "",
  "type": "hybrid",
  "hasSameLevelParent": false,
  "disableParentUpdate": false,
  "levels": []
}

Example taken from the core_sql_server 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
typeHierarchy definition type. Supported values are following: standard, object: Used for metadata apps when defining native hierarchy definitions (describes structure of the objects in your database)., hybrid: Used for metadata apps when defining custom hierarchy definitions (reorganization of ingested objects)., dynamicstringYes
descriptionDescription of the property.stringNo
disableParentUpdateLegacy setting.booleanNo
hasSameLevelParentDetermines whether parent objects are the same object type as their child objects.booleanNo
levelsArray defining which object types are displayed at each level in the hierarchy. For a native hierarchy, the levels must reflect the organization of the objects in your database.arrayNo
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.arrayNo