-
-
Notifications
You must be signed in to change notification settings - Fork 182
/
_schema.json
73 lines (73 loc) · 1.63 KB
/
_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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://example.com/object1655988398.json",
"title": "Root",
"type": "object",
"required": [
"name",
"values"
],
"properties": {
"name": {
"$id": "#root/name",
"title": "Name",
"type": "string",
"default": "",
"examples": [
"Group description"
],
"pattern": "^.*$"
},
"values": {
"$id": "#root/values",
"title": "Values",
"type": "array",
"default": [],
"items":{
"$id": "#root/values/items",
"title": "Items",
"type": "object",
"required": [
"type",
"value",
"name"
],
"properties": {
"type": {
"$id": "#root/values/items/type",
"title": "Type",
"type": "string",
"default": "",
"examples": [
"int16be",
"int16le",
"int10"
],
"pattern": "^(int10|int16le|int16be)$"
},
"value": {
"$id": "#root/values/items/value",
"title": "Value",
"type": "string",
"default": "",
"examples": [
"ACDC"
],
"pattern": "^([0-9a-fA-F]+)$"
},
"name": {
"$id": "#root/values/items/name",
"title": "Name",
"type": "string",
"default": "",
"examples": [
"Constant description"
],
"pattern": "^.*$"
}
}
}
}
}
}