-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstate.set.response.json
More file actions
38 lines (38 loc) · 1.12 KB
/
state.set.response.json
File metadata and controls
38 lines (38 loc) · 1.12 KB
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
{
"$id": "https://gabp.dev/schema/1.0/methods/state.set.response.json",
"$schema": "https://json-schema.org/draft-07/schema#",
"title": "GABP state/set Response",
"description": "Response containing state update results",
"type": "object",
"required": ["v", "id", "type", "result"],
"properties": {
"v": { "const": "gabp/1" },
"id": { "type": "string", "format": "uuid" },
"type": { "const": "response" },
"result": {
"type": "object",
"required": ["applied"],
"properties": {
"applied": {
"type": "object",
"description": "Successfully applied updates"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"required": ["field", "message"],
"properties": {
"field": { "type": "string" },
"message": { "type": "string" },
"code": { "type": "string" }
}
},
"description": "Array of validation or application errors"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}