summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/ci_detailed_status.json
blob: d74248eabef29436d16c53555b174871c66325df (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
{
  "type": "object",
  "required" : [
    "icon",
    "text",
    "label",
    "group",
    "tooltip",
    "has_details",
    "details_path",
    "favicon"
  ],
  "properties": {
    "icon": { "type": "string" },
    "text": { "type": "string" },
    "label": { "type": "string" },
    "group": { "type": "string" },
    "tooltip": { "type": "string" },
    "has_details": { "type": "boolean" },
    "details_path": { "type": "string" },
    "favicon": { "type": "string" },
    "action": {
      "type": "object",
      "required": [
        "icon",
        "title",
        "path",
        "method"
      ],
      "properties": {
        "icon": {
          "type": "string",
          "enum": [
            "retry",
            "play",
            "cancel"
          ]
        },
        "title": { "type": "string" },
        "path": { "type": "string" },
        "method": { "$ref": "http_method.json" }
      }
    }
  },
  "additionalProperties": false
}