Revize fdd0c6e3
Přidáno uživatelem Pavel Fidranský před více než 6 roky(ů)
sources/src/main/webapp/imiger-raw-input-schema.json | ||
---|---|---|
89 | 89 |
"type": "string" |
90 | 90 |
}, |
91 | 91 |
"position": { |
92 |
"type": "object", |
|
93 |
"properties": { |
|
94 |
"x": { |
|
95 |
"type": "number" |
|
96 |
}, |
|
97 |
"y": { |
|
98 |
"type": "number" |
|
92 |
"anyOf": [ |
|
93 |
{ |
|
94 |
"type": "object", |
|
95 |
"properties": { |
|
96 |
"x": { |
|
97 |
"type": "number" |
|
98 |
}, |
|
99 |
"y": { |
|
100 |
"type": "number" |
|
101 |
} |
|
102 |
}, |
|
103 |
"required": [ "x", "y" ] |
|
104 |
}, { |
|
105 |
"type": "null" |
|
99 | 106 |
} |
100 |
}, |
|
101 |
"required": [ "x", "y" ] |
|
107 |
] |
|
102 | 108 |
} |
103 | 109 |
}, |
104 | 110 |
"required": [ "id", "name" ] |
... | ... | |
187 | 193 |
} |
188 | 194 |
}, |
189 | 195 |
"position": { |
190 |
"type": "object", |
|
191 |
"properties": { |
|
192 |
"x": { |
|
193 |
"type": "number" |
|
194 |
}, |
|
195 |
"y": { |
|
196 |
"type": "number" |
|
196 |
"anyOf": [ |
|
197 |
{ |
|
198 |
"type": "object", |
|
199 |
"properties": { |
|
200 |
"x": { |
|
201 |
"type": "number" |
|
202 |
}, |
|
203 |
"y": { |
|
204 |
"type": "number" |
|
205 |
} |
|
206 |
}, |
|
207 |
"required": [ "x", "y" ] |
|
208 |
}, { |
|
209 |
"type": "null" |
|
197 | 210 |
} |
198 |
}, |
|
199 |
"required": [ "x", "y" ] |
|
211 |
] |
|
200 | 212 |
} |
201 | 213 |
}, |
202 | 214 |
"required": [ "id", "name", "verticesId" ] |
Také k dispozici: Unified diff
fixed JSON Schema to allow null position for vertices and groups