aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/triangulation.schema.json35
1 files changed, 34 insertions, 1 deletions
diff --git a/data/triangulation.schema.json b/data/triangulation.schema.json
index ee5cae0c..8bc0a8e8 100644
--- a/data/triangulation.schema.json
+++ b/data/triangulation.schema.json
@@ -94,6 +94,10 @@
"additionalProperties": false
}
},
+ "extent": {
+ "$ref": "#/definitions/extent",
+ "description": "Defines the region within which the triangulation is defined. This should be a bounding box defined as an array of [west,south,east,north] coordinate values in a unspecified geographic CRS. This bounding box should be seen as approximate, given that triangulation may be defined with projected coordinates, and also because some triangulations may not cover the whole bounding box."
+ },
"input_crs": {
"$ref": "#/definitions/crs",
"description": "String identifying the CRS of source coordinates in the vertices. Typically \"EPSG:XXXX\". If the transformation is for vertical component, this should be the code for a compound CRS (can be EPSG:XXXX+YYYY where XXXX is the code of the horizontal CRS and YYYY the code of the vertical CRS). For example, for the KKJ->ETRS89 transformation, this is EPSG:2393 (\"KKJ / Finland Uniform Coordinate System\"). The input coordinates are assumed to be passed in the \"normalized for visualisation\" / \"GIS friendly\" order, that is longitude, latitude for geographic coordinates and easting, northing for projected coordinates."
@@ -160,10 +164,39 @@
"crs": {
"type": "string"
},
- "datetime": {
+ "datetime": {
"type": "string",
"format": "date-time",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$"
+ },
+ "extent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": [
+ "bbox"
+ ]
+ },
+ "parameters": {
+ "type": "object",
+ "properties": {
+ "bbox": {
+ "type": "array",
+ "minItems": 4,
+ "maxItems": 4,
+ "items": {
+ "type": "number"
+ }
+ }
+ }
+ }
+ },
+ "required": [
+ "type",
+ "parameters"
+ ],
+ "additionalProperties": false
}
}
}