Get a model (reduced)
GET/models/:modelId
Find a model by its UUID. Returns a reduced model JSON, with evaluatables and diagrams given as a list of IDs.
For evaluatable and diagram retrieval, see:
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 model to retrieve
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
URI for schema, used for validation. Likely a URL to the public source file for this schema.
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}$
List of UUIDs identifying the evaluatable model (or set of model components) used for computing or simulating this CDM.
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 UUIDs identifying the diagrams (likely Causal Decision Diagrams) associated with this model.
addons
object
Holds addon objects for storing data not specified in OpenDI standards.
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.
{
"$schema": "string",
"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"
},
"evaluatables": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"diagrams": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"addons": {}
}