File size: 1,196 Bytes
f2cf4fa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "spine:execution_status",
  "title": "ExecutionStatus",
  "type": "object",
  "required": [
    "schema_name",
    "schema_version",
    "status_id",
    "execution_id",
    "run_id",
    "status",
    "source_system",
    "recorded_at"
  ],
  "properties": {
    "schema_name": { "const": "ExecutionStatus" },
    "schema_version": { "type": "string", "const": "1.0.0" },
    "status_id": { "type": "string", "pattern": "^status_[a-z0-9_\\-]+$" },
    "execution_id": { "type": "string", "pattern": "^execution_[a-z0-9_\\-]+$" },
    "run_id": { "type": "string", "pattern": "^run_[a-z0-9_\\-]+$" },
    "status": {
      "type": "string",
      "enum": ["requested", "dispatched", "running", "waiting_for_input", "completed", "failed", "aborted"]
    },
    "message": { "type": "string" },
    "source_system": { "type": "string", "minLength": 1 },
    "recorded_at": { "type": "string", "format": "date-time" },
    "progress_hint": { "type": "string" },
    "artifact_ids": {
      "type": "array",
      "items": { "type": "string", "pattern": "^artifact_[a-z0-9_\\-]+$" }
    }
  },
  "additionalProperties": false
}