schema/vectorRepresentation.json in adiwg-mdjson_schemas-2.4.5 vs schema/vectorRepresentation.json in adiwg-mdjson_schemas-2.4.7
- old
+ new
@@ -12,16 +12,24 @@
"description": "Identifies the degree of complexity of the spatial relationships",
"translation": {}
},
"vectorObject": {
"type": "array",
+ "minItems": 1,
"description": "Information about the geometric objects used in the resource",
"translation": {},
"items": {
"$ref": "#/definitions/vectorObject"
}
}
},
+ "anyOf": [{
+ "title": "vectorObject is required",
+ "required": ["vectorObject"]
+ }, {
+ "title": "topologyLevel is required",
+ "required": ["topologyLevel"]
+ }],
"definitions": {
"vectorObject": {
"type": "object",
"description": "Information about the geometric objects used in the resource.",
"example": "../examples/vectorObject.json",