summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/deployments.json
blob: 1112f23aab25e1ab120f0ab91794432d2ebe82f3 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
  "additionalProperties": false,
  "properties": {
    "deployments": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "iid": {
            "type": "integer"
          },
          "last?": {
            "type": "boolean"
          },
          "ref": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          "sha": {
            "type": "string"
          },
          "tag": {
            "type": "boolean"
          }
        },
        "required": [
          "sha",
          "created_at",
          "iid",
          "tag",
          "last?",
          "ref",
          "id"
        ],
        "type": "object"
      },
      "minItems": 1,
      "type": "array"
    }
  },
  "required": [
    "deployments"
  ],
  "type": "object"
}