-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathusers.update.schema.json
36 lines (36 loc) · 980 Bytes
/
users.update.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://example.com/root.json",
"type": "object",
"title": "Users update",
"required": [
"users"
],
"properties": {
"users": {
"$id": "#/properties/users",
"type": "object",
"title": "The Users Schema",
"properties": {
"create": {
"$id": "#/properties/users/properties/create",
"type": "array",
"title": "The Create Schema",
"items": { "$ref": "definitions.json#/user" }
},
"update": {
"$id": "#/properties/users/properties/update",
"type": "array",
"title": "The Update Schema",
"items": { "$ref": "definitions.json#/user" }
},
"delete": {
"$id": "#/properties/users/properties/delete",
"type": "array",
"title": "The Delete Schema",
"items": { "$ref": "definitions.json#/user" }
}
}
}
}
}