diff --git a/bbox.json b/bbox.json index 1136bba..05afa44 100644 --- a/bbox.json +++ b/bbox.json @@ -2,17 +2,8 @@ "$schema": "http://json-schema.org/draft-04/schema#", "id": "https://raw.githubusercontent.com/nhuebel/TopoJSON_schema/master/bbox.json", "title": "TopoJSON bounding box", - "description": "A bounding box as defined by TopoJSON", + "description": "A bounding box as defined by TopoJSON, (2*n) elements", "type": "array", - "items": { "$ref": "#/definitions/dimension" }, - "minItems": 2, - "maxItems": 2, - "definitions": { - "dimension": { - "type": "array", - "description": "This array should have an entry per dimension in the geometries", - "items": {"type": "number"} - } - }, - "TODO": "check number of dimensions (2*n), n being the number of dimensions represented in the contained geometries), with the lowest values for all axes followed by the highest values " + "items": {"type": "number"}, + "minItems": 4, } \ No newline at end of file