CreateScenarioReq
Request body for POST /scenarios. Mirrors the ScenarioResp shape minus the audit timestamps.
- metadataType: object · ScenarioMetadatarequired
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: object · ScenarioSpecrequired
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.
