ExecutionResult schema
{
"$schema": "http://json-schema.org/draft/2019-09/schema#",
"title": "JSON SCHEMA for opentestfactory.org/v1alpha1 ExecutionResult manifests",
"type": "object",
"properties": {
"apiVersion": { "const": "opentestfactory.org/v1alpha1" },
"kind": { "const": "ExecutionResult" },
"metadata": {
"type": "object",
"properties": {
"name": {"type": "string"},
"workflow_id": { "type": "string" },
"job_id": { "type": "string" },
"job_origin": { "type": "array", "items": { "type": "string" } },
"step_id": { "type": "string" },
"step_origin": { "type": "array", "items": { "type": "string" } },
"step_origin_status": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9-]+$": { "type": "number" }
}
},
"step_sequence_id": { "type": "number" },
"labels": {
"type": "object",
"patternProperties": {
"^([a-zA-Z0-9-.]+/)?[a-zA-Z0-9]([a-zA-Z0-9._-]*[a-zA-Z0-9])?$": {
"type": "string"
}
},
"minProperties": 1,
"additionalProperties": false
},
"attachments": { "type": "object", "minProperties": 1 }
},
"additionalProperties": true,
"required": [ "name", "workflow_id", "job_id", "step_id", "step_sequence_id" ]
},
"attachments": { "type": "array", "items": { "type": "string" }, "minItems": 1 },
"outputs": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9_]+$": { "type": "string" }
},
"minProperties": 1,
"additionalProperties": false
},
"logs": { "type": "array", "items": { "type": "string" } },
"status": { "type": "number" }
},
"required": [ "apiVersion", "kind", "metadata" ],
"additionalProperties": false
}