summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/job/job.json
blob: 734c535ef70286f162ad650302fb7d3ae78ba221 (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
31
32
33
{
  "description": "Basic job information",
  "type": "object",
  "required": [
    "id",
    "name",
    "started",
    "build_path",
    "playable",
    "created_at",
    "updated_at",
    "status"
  ],
  "properties": {
    "id": { "type": "integer" },
    "name": { "type": "string" },
    "started": {
      "oneOf": [
        { "type": "string", "format": "date-time" },
        { "type": "boolean" }
      ]
    },
    "build_path": { "type": "string" },
    "retry_path": { "type": "string" },
    "playable": { "type": "boolean" },
    "created_at": { "type": "string" },
    "updated_at": { "type": "string" },
    "status": { "$ref": "../status/ci_detailed_status.json" },
    "callout_message": { "type": "string" },
    "recoverable": { "type": "boolean" }
  },
  "additionalProperties": true
}