Property description

The levels property specifies how objects are displayed in hybrid hierarchies. Hybrid hierarchies can include both object types and ‘virtual’ objects that serve as folders for grouping certain objects.

Minimal JSON

{
  "key": "",
  "name": "",
  "type": ""
}
{
  "key": "default",
  "levels": [
    {
      "key": "default_fld_table",
      "name": "Tables",
      "description": "",
      "parentLevelKey": "default_schema",
      "type": "FLD",
      "hasFixedParent": false,
      "template": {
        "centerArea": [
          {
            "componentId": "panel#default_fld_table",
            "type": "panel",
            "values": [
              {
                "componentId": "section-title#folder_objects",
                "type": "section-title",
                "title": "template_section_title_folder_objects"
              }
            ]
          }
        ]
      },
      "hideIfEmpty": true
    }
  ]
}

Example taken from the core_sql_server package.

Nested properties

PropertyDescriptionTypeMandatory
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
typeLevel type. Supported options are: OBJ: Existing object types., FLD: Virtual folders.stringYes
descriptionDescription of the property.stringNo
hasFixedParentDetermines whether a child object can be moved to another parent object. Depends on the scanned source platform (e.g., file in folder should have a fixed parent, otherwise it can be moved to another folder).booleanNo
hideIfEmptyDetermines whether the level is visible in the UI when it contains no objects.booleanNo
objectTypeKeyObject types shown at this level. Used for OBJ level types only.stringNo
parentLevelKeyKey of the parent hierarchy level.stringNo
templateDefines how FLD type levels are displayed. Same concepts apply for object type templates.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.stringNo