-
Notifications
You must be signed in to change notification settings - Fork 41
/
completed.schema.json
31 lines (31 loc) · 1010 Bytes
/
completed.schema.json
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
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "workflow_job$completed",
"type": "object",
"required": ["action", "repository", "sender", "workflow_job"],
"properties": {
"action": { "type": "string", "enum": ["completed"] },
"organization": { "$ref": "common/organization.schema.json" },
"installation": { "$ref": "common/installation-lite.schema.json" },
"repository": { "$ref": "common/repository.schema.json" },
"sender": { "$ref": "common/user.schema.json" },
"workflow_job": {
"allOf": [
{ "$ref": "common/workflow-job.schema.json" },
{
"type": "object",
"required": ["conclusion"],
"properties": {
"conclusion": {
"type": "string",
"enum": ["success", "failure", "cancelled", "skipped"]
}
},
"tsAdditionalProperties": false
}
]
}
},
"additionalProperties": false,
"title": "workflow_job completed event"
}