Asset
An asset can be any type of structured data relevant to the process.
Scenario asset
Items in the assets
property of the scenario aren't asset objects, but JSON schemas defining the properties available for the asset once instantiated in the process.
Assets don't have any required properties, but it's common for an asset to have a title
property. If this property exist, it's copied from the JSON schema.
Properties that aren't defined don't exist and can't be set, unless additionalProperties
is set in the actor definition.
Scenario definition
The definitions
property contains a set of immutable assets. Unlike the assets
property, the items aren't JSON schemas but (instantiated) asset objects. These are simply copied to the process.
Definitions CAN NEVER be modified. If you want an asset that has default values when the process is created, but where the values may still change during the process, define it under assets
and use the default
property.
Last updated