-
Notifications
You must be signed in to change notification settings - Fork 99
/
Copy pathstatus.schema.json
45 lines (45 loc) · 1.17 KB
/
status.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
{
"$id": "https://cnab.io/v1/status.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"component": {
"properties": {
"additionalProperties": true,
"components": {
"additionalProperties": {
"$ref": "#"
},
"type": "object"
},
"message": {
"description": "details about the current status",
"type": "string"
},
"status": {
"description": "string identifying the status of a component (Ready, Pending, Failed are well known values)",
"type": "string"
}
},
"type": "object"
}
},
"properties": {
"additionalProperties": true,
"components": {
"additionalProperties": {
"$ref": "#/definitions/component"
},
"type": "object"
},
"message": {
"description": "details about the current status",
"type": "string"
},
"status": {
"description": "string identifying the status of a component (Ready, Pending, Failed are well known values)",
"type": "string"
}
},
"title": "CNAB Status json schema",
"type": "object"
}