Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions bbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}