/
edited.schema.json
72 lines (72 loc) · 2.17 KB
/
edited.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "pull_request$edited",
"type": "object",
"required": [
"action",
"changes",
"number",
"pull_request",
"repository",
"sender"
],
"properties": {
"action": { "type": "string", "enum": ["edited"] },
"number": { "type": "integer", "description": "The pull request number." },
"changes": {
"type": "object",
"description": "The changes to the comment if the action was `edited`.",
"properties": {
"body": {
"type": "object",
"required": ["from"],
"properties": {
"from": {
"type": "string",
"description": "The previous version of the body if the action was `edited`."
}
},
"additionalProperties": false
},
"title": {
"type": "object",
"required": ["from"],
"properties": {
"from": {
"type": "string",
"description": "The previous version of the title if the action was `edited`."
}
},
"additionalProperties": false
},
"base": {
"type": "object",
"required": ["ref", "sha"],
"properties": {
"ref": {
"type": "object",
"required": ["from"],
"properties": { "from": { "type": "string" } },
"additionalProperties": false
},
"sha": {
"type": "object",
"required": ["from"],
"properties": { "from": { "type": "string" } },
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"pull_request": { "$ref": "common/pull-request.schema.json" },
"repository": { "$ref": "common/repository.schema.json" },
"installation": { "$ref": "common/installation-lite.schema.json" },
"organization": { "$ref": "common/organization.schema.json" },
"sender": { "$ref": "common/user.schema.json" }
},
"additionalProperties": false,
"title": "pull_request edited event"
}