summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/job/job.json
blob: c793d93c0f67f98e501d874dc353042f43bb0059 (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
{
  "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": "../ci_detailed_status.json" }
  },
  "additionalProperties": true
}