Revision 1d1c93d5
Added by koszko over 1 year ago
common_definitions-1.schema.json | ||
---|---|---|
18 | 18 |
}, |
19 | 19 |
"minItems": 1 |
20 | 20 |
}, |
21 |
"schema_version": { |
|
22 |
"description": "Which version of appropriate schema a JSON document conforms to (major number is assumed to be 1)", |
|
23 |
"allOf": [{ |
|
24 |
"$ref": "#definitions/version" |
|
25 |
}, { |
|
26 |
"type": "array", |
|
27 |
"items": [{ |
|
28 |
"const": 1 |
|
29 |
}] |
|
30 |
}] |
|
31 |
}, |
|
32 | 21 |
"source_name": { |
33 | 22 |
"description": "Unique identifier of this source package", |
34 | 23 |
"type": "string", |
... | ... | |
226 | 215 |
"item_definition": { |
227 | 216 |
"description": "Definition of a resource/mapping (fields specific to built definitions)", |
228 | 217 |
"type": "object", |
229 |
"required": [ |
|
230 |
"api_schema_version", |
|
231 |
"source_name", |
|
232 |
"source_copyright" |
|
233 |
], |
|
218 |
"required": ["source_name", "source_copyright"], |
|
234 | 219 |
"properties": { |
235 |
"api_schema_version": { |
|
236 |
"$ref": "#/definitions/schema_version" |
|
237 |
}, |
|
238 | 220 |
"source_name": { |
239 | 221 |
"$ref": "#/definitions/source_name" |
240 | 222 |
}, |
Also available in: Unified diff
specify full schema URL in instances