summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/job/job_details.json
blob: ae05ecea9ef47392a8696907f3d6ae1e97ec3ec7 (plain)
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
{
  "allOf": [
    { "$ref": "job.json" }
  ],
  "description": "An extension of job.json with more detailed information",
  "required": [
    "artifact",
    "runner",
    "runners",
    "has_trace",
    "stage"
  ],
  "properties": {
    "artifact": { "$ref": "artifact.json" },
    "terminal_path": { "type": "string" },
    "trigger": { "$ref": "trigger.json" },
    "deployment_status": { "$ref": "deployment_status.json" },
    "deployment_cluster": {
      "oneOf": [
        { "$ref": "../deployment_cluster.json" },
        { "type": "null" }
      ]
    },
    "runner": { "$ref": "runner.json" },
    "runners": { "$ref": "runners.json" },
    "has_trace": { "type": "boolean" },
    "stage": { "type": "string" },
    "stuck": { "type": "boolean" }
  }
}