/
deleted.schema.json
38 lines (38 loc) · 1.25 KB
/
deleted.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
32
33
34
35
36
37
38
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "deploy_key$deleted",
"type": "object",
"required": ["action", "key", "repository", "sender"],
"properties": {
"action": { "type": "string", "enum": ["deleted"] },
"key": {
"type": "object",
"description": "The [`deploy key`](https://docs.github.com/en/rest/reference/deployments#get-a-deploy-key) resource.",
"required": [
"id",
"key",
"url",
"title",
"verified",
"created_at",
"read_only"
],
"properties": {
"id": { "type": "integer" },
"key": { "type": "string" },
"url": { "type": "string", "format": "uri" },
"title": { "type": "string" },
"verified": { "type": "boolean" },
"created_at": { "type": "string", "format": "date-time" },
"read_only": { "type": "boolean" }
},
"additionalProperties": false
},
"repository": { "$ref": "common/repository.schema.json" },
"sender": { "$ref": "common/user.schema.json" },
"installation": { "$ref": "common/installation-lite.schema.json" },
"organization": { "$ref": "common/organization.schema.json" }
},
"additionalProperties": false,
"title": "deploy_key deleted event"
}