-
Notifications
You must be signed in to change notification settings - Fork 4
/
challenges.json-schema
40 lines (40 loc) · 1.06 KB
/
challenges.json-schema
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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "touch recorder request format",
"type": "object",
"required": [ "challenges" ],
"properties": {
"version": {
"type": "string",
"description": "version of the request format"
},
"challenges": {
"type": "array",
"items": {
"type": "object",
"required": [ "id", "name", "description_set" ],
"properties": {
"id": {
"type": "string",
"description": "request identification (send back in response)"
},
"name": {
"type": "string",
"description": "text that is displayed in the app"
},
"details": {
"type": "string",
"description": "more detailed description (may contain stats)"
},
"description_set": {
"type": "array",
"items": {
"type": "string",
"description": "description of a request item"
}
}
}
}
}
}
}