Retrieve a diagram component
GET/diagrams/:diagramId
Find a diagram component by its UUID. Returns the complete component JSON.
Diagram components are used in Models.
Request
Path Parameters
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
UUID of diagram component to retrieve
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
- Diagram Point
- Diagram Line
- Diagram Box
- Diagram Ellipse
- Diagram Text
- Custom Element
- MOD2
- MOD2
Array [
]
- MOD2
- MOD2
- MOD2
- MOD2
]
Array [
]
meta
object
required
(DRAFT) -- Base properties shared by all DI Assets.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset.
The human-readable name for this asset.
Longer description of the asset.
documentation
object
Full documentation for the asset/element/model.
Version number for the asset.
Default value: true
Flag to mark non-functional or work-in-progress assets.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset's creator.
Datetime when this asset was created.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for the user that most recently updated this asset.
Datetime when this asset was most recently updated.
elements
object[]
oneOf
Holds a position/point in a CDD.
meta
object
required
(DRAFT) -- Base properties shared by all DI Assets.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset.
The human-readable name for this asset.
Longer description of the asset.
documentation
object
Full documentation for the asset/element/model.
Version number for the asset.
Default value: true
Flag to mark non-functional or work-in-progress assets.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset's creator.
Datetime when this asset was created.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for the user that most recently updated this asset.
Datetime when this asset was most recently updated.
causalType
object
required
The causal type of the decision element.
oneOf
string
Possible values: Value must match regular expression ^CUSTOM_.*
The type of diagram object. Determines what other properties the schema expects.
content
object
required
Holds properties specific to a Point.
position
object
required
Default value: 0
Default value: 0
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
List of evaluatable elements associated with this diagram element.
Holds data for a line element in a CDD.
meta
object
required
(DRAFT) -- Base properties shared by all DI Assets.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset.
The human-readable name for this asset.
Longer description of the asset.
documentation
object
Full documentation for the asset/element/model.
Version number for the asset.
Default value: true
Flag to mark non-functional or work-in-progress assets.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset's creator.
Datetime when this asset was created.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for the user that most recently updated this asset.
Datetime when this asset was most recently updated.
causalType
object
required
The causal type of the decision element.
oneOf
string
Possible values: Value must match regular expression ^CUSTOM_.*
The type of diagram object. Determines what other properties the schema expects.
content
object
required
Holds properties specific to a Text Element
vertices
undefined[]
required
Default value: 0
Default value: 0
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
List of evaluatable elements associated with this diagram element.
Holds data for a box in a CDD.
meta
object
required
(DRAFT) -- Base properties shared by all DI Assets.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset.
The human-readable name for this asset.
Longer description of the asset.
documentation
object
Full documentation for the asset/element/model.
Version number for the asset.
Default value: true
Flag to mark non-functional or work-in-progress assets.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset's creator.
Datetime when this asset was created.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for the user that most recently updated this asset.
Datetime when this asset was most recently updated.
causalType
object
required
The causal type of the decision element.
oneOf
string
Possible values: Value must match regular expression ^CUSTOM_.*
The type of diagram object. Determines what other properties the schema expects.
content
object
required
Holds properties specific to a Box
position
object
required
Default value: 0
Default value: 0
boundingBoxSize
object
required
Default value: 100
Default value: 100
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
List of evaluatable elements associated with this diagram element.
Holds data for an ellipse in a CDD.
meta
object
required
(DRAFT) -- Base properties shared by all DI Assets.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset.
The human-readable name for this asset.
Longer description of the asset.
documentation
object
Full documentation for the asset/element/model.
Version number for the asset.
Default value: true
Flag to mark non-functional or work-in-progress assets.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset's creator.
Datetime when this asset was created.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for the user that most recently updated this asset.
Datetime when this asset was most recently updated.
causalType
object
required
The causal type of the decision element.
oneOf
string
Possible values: Value must match regular expression ^CUSTOM_.*
The type of diagram object. Determines what other properties the schema expects.
content
object
required
Holds properties specific to an Ellipse
position
object
required
Default value: 0
Default value: 0
Default value: 10
Default value: 10
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
List of evaluatable elements associated with this diagram element.
Holds data for a text element in a CDD.
meta
object
required
(DRAFT) -- Base properties shared by all DI Assets.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset.
The human-readable name for this asset.
Longer description of the asset.
documentation
object
Full documentation for the asset/element/model.
Version number for the asset.
Default value: true
Flag to mark non-functional or work-in-progress assets.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset's creator.
Datetime when this asset was created.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for the user that most recently updated this asset.
Datetime when this asset was most recently updated.
causalType
object
required
The causal type of the decision element.
oneOf
string
Possible values: Value must match regular expression ^CUSTOM_.*
The type of diagram object. Determines what other properties the schema expects.
content
object
required
Holds properties specific to a Text Element
position
object
required
Default value: 0
Default value: 0
boundingBoxSize
object
Default value: 100
Default value: 100
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
List of evaluatable elements associated with this diagram element.
Holds data for a custom graphical element in a CDD. Data stored in this type of element is not standardized.
meta
object
required
(DRAFT) -- Base properties shared by all DI Assets.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset.
The human-readable name for this asset.
Longer description of the asset.
documentation
object
Full documentation for the asset/element/model.
Version number for the asset.
Default value: true
Flag to mark non-functional or work-in-progress assets.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset's creator.
Datetime when this asset was created.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for the user that most recently updated this asset.
Datetime when this asset was most recently updated.
causalType
object
required
The causal type of the decision element.
oneOf
string
Possible values: Value must match regular expression ^CUSTOM_.*
Possible values: Value must match regular expression ^CUSTOM_.*
The type of diagram object. Determines what other properties the schema expects.
Holds properties for this custom diagram element. Data stored here is not standardized.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
List of evaluatable elements associated with this diagram element.
dependencies
Causal Dependency[]
meta
object
required
(DRAFT) -- Base properties shared by all DI Assets.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset.
The human-readable name for this asset.
Longer description of the asset.
documentation
object
Full documentation for the asset/element/model.
Version number for the asset.
Default value: true
Flag to mark non-functional or work-in-progress assets.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset's creator.
Datetime when this asset was created.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for the user that most recently updated this asset.
Datetime when this asset was most recently updated.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
UUID of the source element.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
UUID of the target element.
addons
object
Object containing data for various addons.
property name*
Addon Data
All addon objects should be named ADDON_[name]. This naming may be enforced in future versions of OpenAPI.
Addons must have a UUID and owner information, to mitigate addon naming collisions.
addonMeta
object
required
(DRAFT) -- Base properties shared by all DI Assets.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset.
The human-readable name for this asset.
Longer description of the asset.
documentation
object
Full documentation for the asset/element/model.
Version number for the asset.
Default value: true
Flag to mark non-functional or work-in-progress assets.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset's creator.
Datetime when this asset was created.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for the user that most recently updated this asset.
Datetime when this asset was most recently updated.
owner
object
required
Holds info about the owning entity for this addon. Typically a vendor or similar.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
This UUID should identify the owner across all of their addons.
Human-readable name associated with the above owner UUID
data
Addon Data
All addon data goes here. Information stored here is not standardized. Structure determined by addon owners.
If the addon creator has defined a JSON Schema for this addon, this field should contain the URI for that schema.
{
"meta": {
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"summary": "string",
"documentation": {
"content": "string",
"MIMEType": "string"
},
"version": "string",
"draft": true,
"creator": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdDate": "2024-07-29T15:51:28.071Z",
"updator": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"updatedDate": "2024-07-29T15:51:28.071Z"
},
"elements": [
{},
{},
{},
{},
{},
{}
],
"dependencies": [
{
"meta": {
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"summary": "string",
"documentation": {
"content": "string",
"MIMEType": "string"
},
"version": "string",
"draft": true,
"creator": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdDate": "2024-07-29T15:51:28.071Z",
"updator": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"updatedDate": "2024-07-29T15:51:28.071Z"
},
"source": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"target": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"addons": {}
}