debian-mirror-gitlab/lib/pager_duty/validator/schemas/message.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

81 lines
1.5 KiB
JSON
Raw Normal View History

2021-01-03 14:25:43 +05:30
{
"type": "object",
2023-03-04 22:38:38 +05:30
"required": [
"event"
],
2021-01-03 14:25:43 +05:30
"properties": {
2023-03-04 22:38:38 +05:30
"event": {
2021-01-03 14:25:43 +05:30
"type": "object",
"required": [
2023-03-04 22:38:38 +05:30
"data"
]
},
"properties": {
"data": {
"type": "object",
"required": [
"html_url",
"number",
"title",
"status",
"created_at",
"urgency",
"incident_key"
],
"properties": {
"html_url": {
"type": "string"
},
"number": {
"type": "integer"
},
"title": {
"type": "string"
},
"status": {
"type": "string"
},
"created_at": {
"type": "string"
},
"urgency": {
"type": "string",
"enum": [
"high",
"low"
]
},
"incident_key": {
"type": [
"string",
"null"
]
},
"assignee": {
"type": "array",
"items": {
"summary": {
"type": "string"
},
"html_url": {
"type": "string"
}
}
},
"service": {
"type": "object",
"items": {
"summary": {
"type": "string"
},
"html_url": {
"type": "string"
2021-01-03 14:25:43 +05:30
}
}
}
}
}
}
}
}