summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/public_api/v4/deployment.json
blob: 3af2dc27d55c950c150cd199d4c9212fd797328a (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
{
  "type": "object",
  "required": [
    "id",
    "iid",
    "ref",
    "sha",
    "created_at",
    "user",
    "deployable"
  ],
  "properties": {
    "id": { "type": "integer" },
    "iid": { "type": "integer" },
    "ref": { "type": "string" },
    "sha": { "type": "string" },
    "created_at": { "type": "string" },
    "user": {
      "oneOf": [
        { "type": "null" },
        { "$ref": "user/basic.json" }
      ]
    },
    "deployable": {
      "oneOf": [
        { "type": "null" },
        { "$ref": "job.json" }
      ]
    }
  },
  "additionalProperties": false
}