ScenarioResp
Full scenario — returned by GET /scenarios/{key}, POST /scenarios, and PUT /scenarios/{key}. The optimistic-locking handle is returned in the ETag response header (RFC 7232) — capture it from the response and pass it back as If-Match on the next PUT / DELETE.
- createdType: stringFormat: date-time
At requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- metadataType: objectrequired
Identity fields for a scenario —
keyplus human-facing descriptors. Same shape asResourceIdentitybut withoutversion(scenarios have no draft/published lifecycle).- keyType: stringrequired
Scenario key (snake_case, customer-supplied; stable across updates).
- nameType: stringrequired
Display name.
- descriptionType: string
Optional description.
- labelsType: object
Free-form labels for filtering / organization.
- specType: objectrequired
Scenario content — the entity data this scenario carries.
- entitiesType: array object[] · ScenarioEntity[]required
Scenario entity data — keyed by entity key, holds the test data used when previewing or rendering this scenario.
- updatedType: stringFormat: date-time
At requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
