-
Notifications
You must be signed in to change notification settings - Fork 41
/
moved.schema.json
39 lines (39 loc) · 1.18 KB
/
moved.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
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "project_card$moved",
"type": "object",
"required": ["action", "project_card", "sender"],
"properties": {
"action": { "type": "string", "enum": ["moved"] },
"changes": {
"type": "object",
"required": ["column_id"],
"properties": {
"column_id": {
"type": "object",
"required": ["from"],
"properties": { "from": { "type": "integer" } },
"additionalProperties": false
}
},
"additionalProperties": false
},
"project_card": {
"allOf": [
{ "$ref": "common/project-card.schema.json" },
{
"type": "object",
"required": ["after_id"],
"properties": { "after_id": { "type": ["number", "null"] } },
"tsAdditionalProperties": false
}
]
},
"repository": { "$ref": "common/repository.schema.json" },
"sender": { "$ref": "common/user.schema.json" },
"organization": { "$ref": "common/organization.schema.json" },
"installation": { "$ref": "common/installation-lite.schema.json" }
},
"additionalProperties": false,
"title": "project_card moved event"
}