Skip to content

Delete an embedded mapping rule

DELETE
/models/{modelId}/origin-mapping/rules/{ruleId}
curl --request DELETE \
--url https://api.modeldesk.io/models/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/origin-mapping/rules/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Delete embedded mapping rule

modelId
required
string format: uuid
ruleId
required
string format: uuid

OK

Media typeapplication/json
object
id
required
string format: uuid
metamodel
required

The metamodel the model is written in; its id is the model’s metamodel id.

object
id
required
string format: uuid
name
required
string
fullName
string
description
string
abstract

True when a model can be created on the metamodel only together with an extension that concretizes it.

boolean
kind

Absent on an ordinary information metamodel. DATA_SCHEMA marks one whose models the platform derives for datasets: it is never offered where models are created, imported or picked.

string
Allowed values: DATA_SCHEMA
completionLabel
string
towerName

The display name of the tower this metamodel is the root of. Authored on the root only. Presentation data: it changes no resolution, validation or dependency behavior.

string
towerDescription

One line describing the tower, authored on its root beside towerName.

string
purpose

The metamodel’s task line, what a user makes with a model of it.

string
layerOnly

True when the metamodel exists only for other metamodels to build on, so no one creates or imports a model on it directly. Absent means false.

boolean
contentLanguage

The language tag of the language the metamodel’s standard is written in, in lower case. Authored on a base metamodel only; omitted when the standard declares none.

string
standardVersion

The version of the standard the metamodel implements. A release is named after it, or 1.0.0 when the metamodel declares none.

string
profilesMetamodel

The declared base metamodel that application profiles of this metamodel are built to profile, propagated from a family extension’s binding. Absent on a base metamodel and on any metamodel carrying no family binding.

string format: uuid
builtInElementModelIds
Array<string>
addOn

True when the metamodel is an add-on: a model adds its profiles on top of its own metamodel, so no one creates or imports a model on it directly. Absent means false.

boolean
name
required
string
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
owner
required
object
id
required
string format: uuid
type
required

USER is a person, MACHINE a service account, and SYSTEM the platform itself, whose commits (metamodel seeding and re-pins) the commit log hides unless asked for them.

string
Allowed values: USER ORGANIZATION SYSTEM MACHINE
name

The display name, where one is known: a person’s from their account, a service account’s as stored with what it wrote. Left out for the platform and for a person whose account holds no name.

string
accessMode

Who inside the owning organization may reach a model. Optional on creation and update: a creation that omits it takes the owner organization’s default access mode (falling back to SHARED).

string
Allowed values: SHARED INDIVIDUAL
createdBy
object
id
required
string format: uuid
name
string
createdVia

Present only on a model an agent acting for a person created, which createdBy names: the AI platform the agent ran on and the label of its client, both as the agent’s token named them. No request sets it.

object
platform
required

The platform’s host, such as claude.ai, or loopback for an app on the person’s computer.

string
client
required

The client’s name for itself, such as Claude.

string
metamodel
required

A compiled metamodel, documented in full under Get a metamodel (GET /metamodels/{metamodelId}).

object
metamodelExtensions
Array<object>

A compiled metamodel extension, documented in full under Get a metamodel extension (GET /metamodel-extensions/{extensionId}).

object
metamodelAddOns

The add-ons the model adds to its metamodel, compiled at the releases it pins, in the order their profiles apply. metamodel is already resolved with them. Omitted when the model adds none.

Array<object>

A compiled metamodel, documented in full under Get a metamodel (GET /metamodels/{metamodelId}).

object
branch
required
object
id
required
string format: uuid
modelId
required
string format: uuid
name
required
string
createdAt
required
string format: date-time
head
required
object
id
required
string format: uuid
modelId
required
string format: uuid
parentIds

The commit’s parents, in order: none for the first commit, which leaves the field out, one for an ordinary commit, and two for a merge, the head of the branch merged into first and the head of the branch merged from second. A history that follows first parents reaches a merged branch’s own commits through the second.

Array<string>
<= 2 items
createdAt
required
string format: date-time
createdBy
required
object
id
required
string format: uuid
type
required

USER is a person, MACHINE a service account, and SYSTEM the platform itself, whose commits (metamodel seeding and re-pins) the commit log hides unless asked for them.

string
Allowed values: USER ORGANIZATION SYSTEM MACHINE
name

The display name, where one is known: a person’s from their account, a service account’s as stored with what it wrote. Left out for the platform and for a person whose account holds no name.

string
message

The author’s description of the change. Absent when the commit was made without one.

string
requestId

The idempotency key of the request that produced this commit, as the client sent it. Absent when the request carried none.

string
rootElement
required
object
id
required
string format: uuid
revision
required
string format: uuid
versions

The versions released at this commit. Absent when none were.

Array<object>

A named release of a model at one commit. A release of a metamodel-level model also carries the compilation frozen at release time; see MetamodelRelease.

object
id
required
string format: uuid
modelId
required
string format: uuid
name
required
string
description
string
commitId
required
string format: uuid
createdAt
required
string format: date-time
model

The model’s content as released. Carried when one version is read, created or updated, and left out of listings.

object
rootElementId
required
string format: uuid
elements
required
object
key
additional properties
object
id
required
string format: uuid
type
required
string
external
boolean
attributes
object
key
additional properties
array
relations
object
key
additional properties
object
key
additional properties
Array<object>
object
id
required
string format: uuid
owned
required
boolean
modelId

Owning model of the referenced element when it differs from the containing model (cross-model reference, e.g. a lineage base element). Omitted for same-model references.

string format: uuid
extensionLayer

The values the element holds that its type declares no property for; absent when none.

Array

A value an element holds under no binding its type declares, kept so a round trip loses nothing.

One of: discriminator: kind
attribute
object
kind
required
string
Allowed value: attribute
key
string
lexicalValue
string
typeIdentifier
string
qualifiers
object
key
additional properties
string
lineage

Where an element was derived from: the source and rules models, and per property the source values it read.

object
sourceModels
Array<object>
object
modelId
string format: uuid
commitId
string format: uuid
rulesModels
Array<object>
object
modelId
string format: uuid
commitId
string format: uuid
generatedBy
object
id
required
string format: uuid
owned
required
boolean
modelId

Owning model of the referenced element when it differs from the containing model (cross-model reference, e.g. a lineage base element). Omitted for same-model references.

string format: uuid
properties
Array<object>
object
propertyName
string
propertyType
string
Allowed values: ATTRIBUTE RELATION
sources
Array<object>
object
sourceModelId
string format: uuid
sourceElementId
string format: uuid
sourceProperty
string
propertyType
string
Allowed values: ATTRIBUTE RELATION
role
string
Allowed values: PRIMARY VALUE_READ
usedRule
object
id
required
string format: uuid
owned
required
boolean
modelId

Owning model of the referenced element when it differs from the containing model (cross-model reference, e.g. a lineage base element). Omitted for same-model references.

string format: uuid
dependencyModels
object
key
additional properties
object
rootElementId
required
string format: uuid
elements
required
object
key
additional properties
object
id
required
string format: uuid
type
required
string
external
boolean
attributes
object
key
additional properties
array
relations
object
key
additional properties
object
key
additional properties
Array<object>
object
id
required
string format: uuid
owned
required
boolean
modelId

Owning model of the referenced element when it differs from the containing model (cross-model reference, e.g. a lineage base element). Omitted for same-model references.

string format: uuid
extensionLayer

The values the element holds that its type declares no property for; absent when none.

Array

A value an element holds under no binding its type declares, kept so a round trip loses nothing.

One of: discriminator: kind
attribute
object
kind
required
string
Allowed value: attribute
key
string
lexicalValue
string
typeIdentifier
string
qualifiers
object
key
additional properties
string
lineage

Where an element was derived from: the source and rules models, and per property the source values it read.

object
sourceModels
Array<object>
object
modelId
string format: uuid
commitId
string format: uuid
rulesModels
Array<object>
object
modelId
string format: uuid
commitId
string format: uuid
generatedBy
object
id
required
string format: uuid
owned
required
boolean
modelId

Owning model of the referenced element when it differs from the containing model (cross-model reference, e.g. a lineage base element). Omitted for same-model references.

string format: uuid
properties
Array<object>
object
propertyName
string
propertyType
string
Allowed values: ATTRIBUTE RELATION
sources
Array<object>
object
sourceModelId
string format: uuid
sourceElementId
string format: uuid
sourceProperty
string
propertyType
string
Allowed values: ATTRIBUTE RELATION
role
string
Allowed values: PRIMARY VALUE_READ
usedRule
object
id
required
string format: uuid
owned
required
boolean
modelId

Owning model of the referenced element when it differs from the containing model (cross-model reference, e.g. a lineage base element). Omitted for same-model references.

string format: uuid
dependencyModels
object recursive
compiledMetamodel

The base metamodel compiled at release time. Present only on a base-metamodel release.

object
compiledExtension

The extension compiled at release time. Present only on an extension release.

object
builtInElementModelCommitId

Commit of the associated built-in element model at release time. Absent for extension releases, for base metamodels without a built-in element model and for every other model’s release.

string format: uuid
lastCompiledAt

When the frozen compilation was last built: the release time, changed afterwards only by the rebuild maintenance command. Absent outside metamodel-level releases.

string format: date-time
validationOverride

The violations a version was released with, because the releasing user overrode them. Absent on a version released without violations.

object
violationCount
required

The number of error findings the model had when it was released.

integer
codes
required

The distinct codes of those findings, sorted.

Array<string>
by
required

Who released it, as a commit names its author: a person (USER), whose name reads resolve, or a service account (MACHINE) with its name.

object
id
required
string format: uuid
type
required

USER is a person, MACHINE a service account, and SYSTEM the platform itself, whose commits (metamodel seeding and re-pins) the commit log hides unless asked for them.

string
Allowed values: USER ORGANIZATION SYSTEM MACHINE
name

The display name, where one is known: a person’s from their account, a service account’s as stored with what it wrote. Left out for the platform and for a person whose account holds no name.

string
at
required

When it was released; the same instant as the version’s createdAt.

string format: date-time
dismissedFindings

The findings dismissed when a version was cut: how many of the warnings and informational findings of its release validation a dismissal of the model matched at that commit, and under which codes. Absent on a version cut with none dismissed, and on every version cut before dismissals were recorded. It names no person.

object
count
required

How many findings were dismissed.

integer
>= 1
codes
required

The distinct codes of those findings, sorted.

Array<string>
head
required
object
id
required
string format: uuid
modelId
required
string format: uuid
parentIds

The commit’s parents, in order: none for the first commit, which leaves the field out, one for an ordinary commit, and two for a merge, the head of the branch merged into first and the head of the branch merged from second. A history that follows first parents reaches a merged branch’s own commits through the second.

Array<string>
<= 2 items
createdAt
required
string format: date-time
createdBy
required
object
id
required
string format: uuid
type
required

USER is a person, MACHINE a service account, and SYSTEM the platform itself, whose commits (metamodel seeding and re-pins) the commit log hides unless asked for them.

string
Allowed values: USER ORGANIZATION SYSTEM MACHINE
name

The display name, where one is known: a person’s from their account, a service account’s as stored with what it wrote. Left out for the platform and for a person whose account holds no name.

string
message

The author’s description of the change. Absent when the commit was made without one.

string
requestId

The idempotency key of the request that produced this commit, as the client sent it. Absent when the request carried none.

string
rootElement
required
object
id
required
string format: uuid
revision
required
string format: uuid
versions

The versions released at this commit. Absent when none were.

Array<object>

A named release of a model at one commit. A release of a metamodel-level model also carries the compilation frozen at release time; see MetamodelRelease.

object
id
required
string format: uuid
modelId
required
string format: uuid
name
required
string
description
string
commitId
required
string format: uuid
createdAt
required
string format: date-time
model

The model’s content as released. Carried when one version is read, created or updated, and left out of listings.

object
rootElementId
required
string format: uuid
elements
required
object
key
additional properties
object
id
required
string format: uuid
type
required
string
external
boolean
attributes
object
key
additional properties
array
relations
object
key
additional properties
object
key
additional properties
Array<object>
object
id
required
string format: uuid
owned
required
boolean
modelId

Owning model of the referenced element when it differs from the containing model (cross-model reference, e.g. a lineage base element). Omitted for same-model references.

string format: uuid
extensionLayer

The values the element holds that its type declares no property for; absent when none.

Array

A value an element holds under no binding its type declares, kept so a round trip loses nothing.

One of: discriminator: kind
attribute
object
kind
required
string
Allowed value: attribute
key
string
lexicalValue
string
typeIdentifier
string
qualifiers
object
key
additional properties
string
lineage

Where an element was derived from: the source and rules models, and per property the source values it read.

object
sourceModels
Array<object>
object
modelId
string format: uuid
commitId
string format: uuid
rulesModels
Array<object>
object
modelId
string format: uuid
commitId
string format: uuid
generatedBy
object
id
required
string format: uuid
owned
required
boolean
modelId

Owning model of the referenced element when it differs from the containing model (cross-model reference, e.g. a lineage base element). Omitted for same-model references.

string format: uuid
properties
Array<object>
object
propertyName
string
propertyType
string
Allowed values: ATTRIBUTE RELATION
sources
Array<object>
object
sourceModelId
string format: uuid
sourceElementId
string format: uuid
sourceProperty
string
propertyType
string
Allowed values: ATTRIBUTE RELATION
role
string
Allowed values: PRIMARY VALUE_READ
usedRule
object
id
required
string format: uuid
owned
required
boolean
modelId

Owning model of the referenced element when it differs from the containing model (cross-model reference, e.g. a lineage base element). Omitted for same-model references.

string format: uuid
dependencyModels
object
key
additional properties
object
rootElementId
required
string format: uuid
elements
required
object
key
additional properties
object
id
required
string format: uuid
type
required
string
external
boolean
attributes
object
key
additional properties
array
relations
object
key
additional properties
object
key
additional properties
Array<object>
object
id
required
string format: uuid
owned
required
boolean
modelId

Owning model of the referenced element when it differs from the containing model (cross-model reference, e.g. a lineage base element). Omitted for same-model references.

string format: uuid
extensionLayer

The values the element holds that its type declares no property for; absent when none.

Array

A value an element holds under no binding its type declares, kept so a round trip loses nothing.

One of: discriminator: kind
attribute
object
kind
required
string
Allowed value: attribute
key
string
lexicalValue
string
typeIdentifier
string
qualifiers
object
key
additional properties
string
lineage

Where an element was derived from: the source and rules models, and per property the source values it read.

object
sourceModels
Array<object>
object
modelId
string format: uuid
commitId
string format: uuid
rulesModels
Array<object>
object
modelId
string format: uuid
commitId
string format: uuid
generatedBy
object
id
required
string format: uuid
owned
required
boolean
modelId

Owning model of the referenced element when it differs from the containing model (cross-model reference, e.g. a lineage base element). Omitted for same-model references.

string format: uuid
properties
Array<object>
object
propertyName
string
propertyType
string
Allowed values: ATTRIBUTE RELATION
sources
Array<object>
object
sourceModelId
string format: uuid
sourceElementId
string format: uuid
sourceProperty
string
propertyType
string
Allowed values: ATTRIBUTE RELATION
role
string
Allowed values: PRIMARY VALUE_READ
usedRule
object
id
required
string format: uuid
owned
required
boolean
modelId

Owning model of the referenced element when it differs from the containing model (cross-model reference, e.g. a lineage base element). Omitted for same-model references.

string format: uuid
dependencyModels
object recursive
compiledMetamodel

The base metamodel compiled at release time. Present only on a base-metamodel release.

object
compiledExtension

The extension compiled at release time. Present only on an extension release.

object
builtInElementModelCommitId

Commit of the associated built-in element model at release time. Absent for extension releases, for base metamodels without a built-in element model and for every other model’s release.

string format: uuid
lastCompiledAt

When the frozen compilation was last built: the release time, changed afterwards only by the rebuild maintenance command. Absent outside metamodel-level releases.

string format: date-time
validationOverride

The violations a version was released with, because the releasing user overrode them. Absent on a version released without violations.

object
violationCount
required

The number of error findings the model had when it was released.

integer
codes
required

The distinct codes of those findings, sorted.

Array<string>
by
required

Who released it, as a commit names its author: a person (USER), whose name reads resolve, or a service account (MACHINE) with its name.

object
id
required
string format: uuid
type
required

USER is a person, MACHINE a service account, and SYSTEM the platform itself, whose commits (metamodel seeding and re-pins) the commit log hides unless asked for them.

string
Allowed values: USER ORGANIZATION SYSTEM MACHINE
name

The display name, where one is known: a person’s from their account, a service account’s as stored with what it wrote. Left out for the platform and for a person whose account holds no name.

string
at
required

When it was released; the same instant as the version’s createdAt.

string format: date-time
dismissedFindings

The findings dismissed when a version was cut: how many of the warnings and informational findings of its release validation a dismissal of the model matched at that commit, and under which codes. Absent on a version cut with none dismissed, and on every version cut before dismissals were recorded. It names no person.

object
count
required

How many findings were dismissed.

integer
>= 1
codes
required

The distinct codes of those findings, sorted.

Array<string>
actions
required
Array<object>
object
type
required
string
Allowed values: MODEL_CREATE ELEMENT_CREATE ELEMENT_UPDATE ELEMENT_DELETE ELEMENT_BULK_UPDATE RELATION_MEMBERSHIP_UPDATE ELEMENT_MOVE ELEMENT_IMPORT DEPENDENCY_CREATE DEPENDENCY_UPDATE DEPENDENCY_DELETE METAMODEL_PIN_UPDATE NAMESPACE_CREATE NAMESPACE_UPDATE NAMESPACE_DELETE TEMPLATE_CONFIG_UPDATE TEMPLATE_ENTRY_CREATE TEMPLATE_ENTRY_UPDATE TEMPLATE_ENTRY_DELETE ALIGNMENT_CREATE MAPPING_GENERATE DIAGRAM_CREATE DIAGRAM_UPDATE DIAGRAM_DELETE LAYOUT_RULE_CREATE LAYOUT_RULE_UPDATE LAYOUT_RULE_DELETE HIERARCHY_GROUP_CREATE HIERARCHY_GROUP_UPDATE HIERARCHY_GROUP_DELETE ELEMENT_COLOR_UPDATE DIAGRAM_COLORS_UPDATE SEMANTIC_CORRESPONDENCE_CREATE SEMANTIC_CORRESPONDENCE_DELETE CORRESPONDENCE_LINK_CREATE CORRESPONDENCE_LINK_UPDATE CORRESPONDENCE_LINK_DELETE CORRESPONDENCE_RULE_CREATE CORRESPONDENCE_RULE_UPDATE CORRESPONDENCE_RULE_DELETE
elementIds
required
Array<string>
generationMetadata

Present only on a MAPPING_GENERATE action.

object
ruleIds
Array<string>
originModelId
string format: uuid
originCommitId
string format: uuid
sourceModelId
string format: uuid
sourceCommitId
string format: uuid
rulesModelId
string format: uuid
rulesCommitId
string format: uuid
stagedChangeCount

How many staged changes the commit’s record holds, when it is a landing of a draft made since landings recorded their chain. Absent on every other commit. The record itself is on the single commit reads, ModelCommitRecordView and ModelCommitHeaderView.

integer
mergedImport

On a page of history, a merge commit that merged an import into the model: the import whose mergeCommitId it is, so a client names the row by the import rather than by its branches. Derived when the page is read from the import records, with one read per page that holds a merge commit; never stored on the commit. Absent on every other commit, including a merge of an import whose record is gone.

object
importId
required
string format: uuid
sourceName

The import’s source name, reduced as the model’s source route gives it. Absent where the reader may not read the import by its own access rules, as on the source route; those rules still hold for a merged import whose record was deleted.

string
dependencyModels
object
key
additional properties
object
rootElementId
required
string format: uuid
elements
required
object
key
additional properties
object
id
required
string format: uuid
type
required
string
external
boolean
attributes
object
key
additional properties
array
relations
object
key
additional properties
object
key
additional properties
Array<object>
object
id
required
string format: uuid
owned
required
boolean
modelId

Owning model of the referenced element when it differs from the containing model (cross-model reference, e.g. a lineage base element). Omitted for same-model references.

string format: uuid
extensionLayer

The values the element holds that its type declares no property for; absent when none.

Array

A value an element holds under no binding its type declares, kept so a round trip loses nothing.

One of: discriminator: kind
attribute
object
kind
required
string
Allowed value: attribute
key
string
lexicalValue
string
typeIdentifier
string
qualifiers
object
key
additional properties
string
lineage

Where an element was derived from: the source and rules models, and per property the source values it read.

object
sourceModels
Array<object>
object
modelId
string format: uuid
commitId
string format: uuid
rulesModels
Array<object>
object
modelId
string format: uuid
commitId
string format: uuid
generatedBy
object
id
required
string format: uuid
owned
required
boolean
modelId

Owning model of the referenced element when it differs from the containing model (cross-model reference, e.g. a lineage base element). Omitted for same-model references.

string format: uuid
properties
Array<object>
object
propertyName
string
propertyType
string
Allowed values: ATTRIBUTE RELATION
sources
Array<object>
object
sourceModelId
string format: uuid
sourceElementId
string format: uuid
sourceProperty
string
propertyType
string
Allowed values: ATTRIBUTE RELATION
role
string
Allowed values: PRIMARY VALUE_READ
usedRule
object
id
required
string format: uuid
owned
required
boolean
modelId

Owning model of the referenced element when it differs from the containing model (cross-model reference, e.g. a lineage base element). Omitted for same-model references.

string format: uuid
dependencyModels
object
key
additional properties
object recursive
dependencyMetamodels

The metamodels the dependency models are written in, keyed by metamodel id, each resolved at the dependency’s pin with its import closure and no extensions. A dependency’s elements are read through these. The model’s own metamodel is never repeated here. Present only when dependencyModels is.

object
key
additional properties

A compiled metamodel, documented in full under Get a metamodel (GET /metamodels/{metamodelId}).

object
rootElementId
string format: uuid
elements
required
object
key
additional properties
object
id
required
string format: uuid
type
required
string
external
boolean
attributes
object
key
additional properties
array
relations
object
key
additional properties
object
key
additional properties
Array<object>
object
id
required
string format: uuid
owned
required
boolean
modelId

Owning model of the referenced element when it differs from the containing model (cross-model reference, e.g. a lineage base element). Omitted for same-model references.

string format: uuid
extensionLayer

The values the element holds that its type declares no property for; absent when none.

Array

A value an element holds under no binding its type declares, kept so a round trip loses nothing.

One of: discriminator: kind
attribute
object
kind
required
string
Allowed value: attribute
key
string
lexicalValue
string
typeIdentifier
string
qualifiers
object
key
additional properties
string
lineage

Where an element was derived from: the source and rules models, and per property the source values it read.

object
sourceModels
Array<object>
object
modelId
string format: uuid
commitId
string format: uuid
rulesModels
Array<object>
object
modelId
string format: uuid
commitId
string format: uuid
generatedBy
object
id
required
string format: uuid
owned
required
boolean
modelId

Owning model of the referenced element when it differs from the containing model (cross-model reference, e.g. a lineage base element). Omitted for same-model references.

string format: uuid
properties
Array<object>
object
propertyName
string
propertyType
string
Allowed values: ATTRIBUTE RELATION
sources
Array<object>
object
sourceModelId
string format: uuid
sourceElementId
string format: uuid
sourceProperty
string
propertyType
string
Allowed values: ATTRIBUTE RELATION
role
string
Allowed values: PRIMARY VALUE_READ
usedRule
object
id
required
string format: uuid
owned
required
boolean
modelId

Owning model of the referenced element when it differs from the containing model (cross-model reference, e.g. a lineage base element). Omitted for same-model references.

string format: uuid
elementIndexEntries
required

What the server derived about each element, keyed by element id.

object
key
additional properties

What the server derived about one element: who owns it, where it comes from, and what points at it. Empty members are left out.

object
iri

The element’s authored identity IRI, on a public read: what the published-IRI index holds for the latest release, or what the served release declares when it is an older one. Absent when the element has none or the index lacks it.

string
iriServed

Present exactly when iri is: whether the catalog serves iri as an address of this element. Always true at the latest release; at an older one, true only where the latest release gives this same element the same IRI.

boolean
owners

Every element owning this one, each with the relation it is owned through. Usually one; empty for a root.

Array<object>
object
id
required
string format: uuid
relation
required
string
metamodelId
string format: uuid
dependencyId
string format: uuid
incomingRelations

The elements that point at this one, keyed by relation name.

object
key
additional properties
Array<string>
elementLabels

Present only when the read asked for expand=labels. The name each element is listed under, keyed by element id: the model’s own elements, and the elements of the dependencyModels the response carries (with expand=dependencies, or on a commit read). Each is the element’s label value as its metamodel maps it, taking the first translation of a language-tagged one, else its name attribute, else its @name; an element none of these names, or whose label cannot be read, is listed under its type, without a leading @. The same reading a commit diff’s resolvedNames uses. Labels are not unique: two elements may share one.

object
key
additional properties
string
alignment

Present only on an alignment model.

object
id
required
string format: uuid
sourceDependencyId
required
string format: uuid
targetDependencyId
required
string format: uuid

Example

{
"metamodel": {
"kind": "DATA_SCHEMA"
},
"owner": {
"type": "USER"
},
"accessMode": "SHARED",
"branch": {
"head": {
"createdBy": {
"type": "USER"
},
"versions": [
{
"model": {
"elements": {
"additionalProperty": {
"extensionLayer": [
{
"kind": "attribute"
}
],
"lineage": {
"properties": [
{
"propertyType": "ATTRIBUTE",
"sources": [
{
"propertyType": "ATTRIBUTE",
"role": "PRIMARY"
}
]
}
]
}
}
}
},
"validationOverride": {
"by": {
"type": "USER"
}
}
}
],
"actions": [
{
"type": "MODEL_CREATE"
}
]
}
},
"dependencyModels": {
"additionalProperty": {
"elements": {
"additionalProperty": {
"extensionLayer": [
{
"kind": "attribute"
}
],
"lineage": {
"properties": [
{
"propertyType": "ATTRIBUTE",
"sources": [
{
"propertyType": "ATTRIBUTE",
"role": "PRIMARY"
}
]
}
]
}
}
}
}
},
"elements": {
"additionalProperty": {
"extensionLayer": [
{
"kind": "attribute"
}
],
"lineage": {
"properties": [
{
"propertyType": "ATTRIBUTE",
"sources": [
{
"propertyType": "ATTRIBUTE",
"role": "PRIMARY"
}
]
}
]
}
}
}
}

Not found

Media typeapplication/problem+json

An RFC 9457 problem document, always sent as application/problem+json.

object
type

Present only on a typed refusal, whose own schema requires it and fixes its value. An untyped problem omits it, which RFC 9457 defines as about:blank: the status and title are all there is to branch on.

string format: uri
title
required
string
status
required
integer
detail
required
string
instance

The path of the request that was refused. Absent when the request was refused before it reached the application’s handlers: a 401 for a missing or unusable access token, and a 403 for a service account whose scopes do not reach the route.

string
violations

Present on a 400 raised by request-body validation, and on a 422 that refuses named fields (a malformed slug or namespace prefix). Each entry names the rejected property, so a client can attach the message to the field that caused it rather than showing one error for the whole form.

Array<object>
object
property
required
string
message
required
string

Example generated

{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"violations": [
{
"property": "example",
"message": "example"
}
]
}

Error

Media typeapplication/problem+json

An RFC 9457 problem document, always sent as application/problem+json.

object
type

Present only on a typed refusal, whose own schema requires it and fixes its value. An untyped problem omits it, which RFC 9457 defines as about:blank: the status and title are all there is to branch on.

string format: uri
title
required
string
status
required
integer
detail
required
string
instance

The path of the request that was refused. Absent when the request was refused before it reached the application’s handlers: a 401 for a missing or unusable access token, and a 403 for a service account whose scopes do not reach the route.

string
violations

Present on a 400 raised by request-body validation, and on a 422 that refuses named fields (a malformed slug or namespace prefix). Each entry names the rejected property, so a client can attach the message to the field that caused it rather than showing one error for the whole form.

Array<object>
object
property
required
string
message
required
string

Example generated

{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"violations": [
{
"property": "example",
"message": "example"
}
]
}