Skip to content

Relationship

A relationship from one Data Object to another. This can apply at conceptual, logical, and physical levels. Supports lineage relationships (e.g. parent/child), foreign keys, and sub/supertypes.

Source of truth: Relationship.cs

JSON nameTypeDescription
idstringAn optional identifier for the relationship.
namestringThe mandatory name of the relationship.
typestringThe type of relationship. Free-format label, for example “parent”, “child”, or “lookup”.
cardinalityCardinalityCardinality of the relationship, expressed as min/max ranges on each end. Supports forms like “0 or 1 to many”, “1 (and only one) to 1”, “zero or many to one”, etc.
relatedDataObjectIdstringIdentifier-only reference to the related Data Object. Use this when the related object lives elsewhere in the file and should not be embedded.
relatedDataObjectDataObjectThe related Data Object, embedded. Used when the JSON contains the full object rather than just an ID reference.
dataItemMappingsarray of DataItemMappingRefThe Data Item mappings for foreign-key style relationships, expressed as lightweight identifier references.
classificationsarray of DataClassificationFree-form and optional classification for the relationship.
extensionsarray of ExtensionThe collection of extension Key/Value pairs.
notesstringFree-format notes.