Property description
The hierarchyDefinitions asset describes how objects are organized and configures how they are shown in the left-side hierarchy.
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
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the asset. Used for referencing in the same package or other packages using packageKey#assetKey. | string | Yes |
name | Name of the asset, used as the default EN translation. | string | Yes |
type | Hierarchy 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)., dynamic | string | Yes |
description | Description of the property. | string | No |
disableParentUpdate | Legacy setting. | boolean | No |
hasSameLevelParent | Determines whether parent objects are the same object type as their child objects. | boolean | No |
levels | Array 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. | array | No |
translations | Array 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. | array | No |