Welcome to mirror list, hosted at ThFree Co, Russian Federation.

message.json « schemas « validator « pager_duty « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b1a3185cd1a63a1511c89d43c3464a3b7dd66385 (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
{
  "type": "object",
  "required": ["event", "incident"],
  "properties": {
    "event": { "type": "string" },
    "incident": {
      "type": "object",
      "required": [
        "html_url",
        "incident_number",
        "title",
        "status",
        "created_at",
        "urgency",
        "incident_key"
      ],
      "properties": {
        "html_url": { "type": "string" },
        "incindent_number": { "type": "integer" },
        "title": { "type": "string" },
        "status": { "type": "string" },
        "created_at": { "type": "string" },
        "urgency": { "type": "string", "enum": ["high", "low"] },
        "incident_key": { "type": ["string", "null"] },
        "assignments": {
          "type": "array",
          "items": {
            "assignee": {
              "type": "array",
              "items": {
                "summary": { "type": "string" },
                "html_url": { "type": "string" }
              }
            }
          }
        },
        "impacted_services": {
          "type": "array",
          "items": {
            "summary": { "type": "string" },
            "html_url": { "type": "string" }
          }
        }
      }
    }
  }
}