Retrieve an evaluatable component
GET/evaluatables/:evaluatableId
Find an evaluatable component by its UUID. Returns the complete component JSON.
Evaluatable 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 evaluatable component to retrieve
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
- Evaluatable Script
- API Call
- Binary Base64
- Custom Element
- MOD2
- MOD2
- MOD2
- MOD2
]
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[]
required
oneOf
Holds a runnable script.
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 evaluatable object. Determines what other properties the schema expects.
content
object
Holds properties specific to scripts.
Possible values: [lang1
, lang2
, lang3
]
The value that this element evaluates to by default.
Payload info for an API call, called during simulation
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 evaluatable object. Determines what other properties the schema expects.
content
object
Holds properties specific to API Calls.
The value that this element evaluates to by default.
Binary object encoded in Base64
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 evaluatable object. Determines what other properties the schema expects.
content
object
Holds properties specific to API Calls.
The value that this element evaluates to by default.
Holds data for a custom evaluatable element in a CDM. 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 evaluatable object. Determines what other properties the schema expects.
Holds properties for this custom element. Data stored here is not standardized.
The value that this element evaluates to by default.
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": [
{},
{},
{},
{}
],
"addons": {}
}