From 88bbd7f193bc01a60a23c13bf5b975dd4a00c576 Mon Sep 17 00:00:00 2001 From: Philipp Kats Date: Sun, 26 Aug 2018 21:09:21 -0400 Subject: [PATCH] correction --- bbox.json | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) 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