{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "KBX Scenario Evidence", "type": "object", "required": [ "scenarioId", "runId", "startedAt", "contractVersions", "environment", "result", "artifacts" ], "properties": { "scenarioId": { "type": "string" }, "runId": { "type": "string" }, "startedAt": { "type": "string", "format": "date-time" }, "finishedAt": { "type": "string", "format": "date-time" }, "result": { "enum": [ "passed", "failed", "skipped" ] }, "environment": { "type": "object", "required": [ "name", "syntheticDataOnly" ], "properties": { "name": { "type": "string" }, "syntheticDataOnly": { "const": true }, "browser": { "type": "string" }, "database": { "type": "string" } } }, "contractVersions": { "type": "object", "required": [ "scenario", "fixture" ], "additionalProperties": { "type": "string" } }, "correlationIds": { "type": "array", "items": { "type": "string" } }, "artifacts": { "type": "array", "items": { "type": "object", "required": [ "type", "path" ], "properties": { "type": { "type": "string" }, "path": { "type": "string" }, "sha256": { "type": "string" } } } }, "notes": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false }