For the complete documentation index, see llms.txt. This page is also available as Markdown.

Importing complex relations

Command structure

[
  {
    "resourceType": "Complex Relation",
    "identifier": {
      "externalSystemId": "EXT_SYSTEM",
      "externalEntityId": "Asset_1234"
    },
    "complexRelationType": {
      "name": "Field Mapping"
    },
    "attributes": {
      "Original Column Name": [
        {
          "value": "XXX_COLUMN_1"
        }
      ],
      "00000000-0000-0000-0001-000500000011": [
        {
          "value": "True"
        }
      ]
    },
    "relations": {
      "00000000-0000-0000-0000-000000007088:TARGET": [
        {
          "name": "Asset 2",
          "domain": {
            "name": "Data Asset Domain 1",
            "community": {
              "name": "Data Community"
            }
          }
        }
      ],
      "00000000-0000-0000-0000-000000007089:TARGET": [
        {
          "name": "Table representation Asset",
          "domain": {
            "name": "Business Asset Domain 2",
            "community": {
              "name": "Business Community"
            }
          }
        }
      ]
    }
  }
]

Identifier

The identifier for a complex relation may contain any of the following fields:

  • id

  • externalSystemId and externalEntityId

  • RELATION_TYPE_ID:RELATION_DIRECTION

Code snippets in this section may show redundant data to demonstrate the fields accepted by the import API.

Identifier structure

Optional fields

Field name
Field type
Remarks

attributes

ATTRIBUTE_TYPE_ID or ATTRIBUTE_TYPE_NAME

Sets or updates the complex relation attributes.

complexRelationType

id or name

Sets the complex relation type. Should only be used for create operations. It is silently ignored for update operations.

relations

RELATION_TYPE_ID:RELATION_DIRECTION

Sets or updates the relations of the complex relation based on the relation type id and the direction.

Expected behavior

The behavior is similar to the commands for communities and domains.

Add operation

If the complex relation needs to be created, the following fields have to be provided in order to import successfully:

  • relations

Last updated

Was this helpful?