-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathstructures.json
103 lines (103 loc) · 2.15 KB
/
structures.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"array": {
"title": "array",
"type": "array",
"items": [
{
"enum": ["array"]
},
{
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"$ref": "dataType"
},
"countType": {
"$ref": "dataType"
}
},
"additionalProperties": false,
"required": ["type", "countType"]
},
{
"type": "object",
"properties": {
"type": {
"$ref": "dataType"
},
"count": {
"$ref": "definitions#/definitions/dataTypeArgsCount"
}
},
"additionalProperties": false,
"required": ["type", "count"]
}
]
}
],
"additionalItems": false
},
"count": {
"title": "count",
"type": "array",
"items": [
{
"enum": ["count"]
},
{
"type": "object",
"properties": {
"countFor": {
"$ref": "definitions#/definitions/contextualizedFieldName"
},
"type": {
"$ref": "dataType"
}
},
"required": ["countFor", "type"],
"additionalProperties": false
}
],
"additionalItems": false
},
"container": {
"title": "container",
"type": "array",
"items": [
{
"enum": ["container"]
},
{
"type": "array",
"items": {
"type": "object",
"properties": {
"anon": {
"type": "boolean"
},
"name": {
"$ref": "definitions#/definitions/fieldName"
},
"type": {
"$ref": "dataType"
}
},
"oneOf": [
{
"required": ["anon"]
},
{
"required": ["name"]
}
],
"required": ["type"],
"additionalProperties": false
},
"additionalItems": false
}
],
"additionalItems": false
}
}