diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-08-10 17:44:53 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-08-10 17:44:53 +0200 |
| commit | 0a1261781de96d2bb8c76fbd905ebf8b0121d3a6 (patch) | |
| tree | bc08254e1603339aa5450a5ee1b680a92de66315 /data | |
| parent | 63981af418d84749cd4d70752f83fd551100389f (diff) | |
| download | PROJ-0a1261781de96d2bb8c76fbd905ebf8b0121d3a6.tar.gz PROJ-0a1261781de96d2bb8c76fbd905ebf8b0121d3a6.zip | |
PROJJSON: a few fixes, and add import of DerivedCRS, EngineeringCRS, ParametricCRS and TemporalCRS
Diffstat (limited to 'data')
| -rw-r--r-- | data/crsjson.schema.json | 55 |
1 files changed, 52 insertions, 3 deletions
diff --git a/data/crsjson.schema.json b/data/crsjson.schema.json index e38f3038..10b17caa 100644 --- a/data/crsjson.schema.json +++ b/data/crsjson.schema.json @@ -37,11 +37,51 @@ "type": { "type": "string", "enum": ["Axis"] }, "name": { "type": "string" }, "abbreviation": { "type": "string" }, - "direction": { "type": "string" }, + "direction": { "type": "string", + "enum": [ "north", + "northNorthEast", + "northEast", + "eastNorthEast", + "east", + "eastSouthEast", + "southEast", + "southSouthEast", + "south", + "southSouthWest", + "southWest", + "westSouthWest", + "west", + "westNorthWest", + "northWest", + "northNorthWest", + "up", + "down", + "geocentricX", + "geocentricY", + "geocentricZ", + "columnPositive", + "columnNegative", + "rowPositive", + "rowNegative", + "displayRight", + "displayLeft", + "displayUp", + "displayDown", + "forward", + "aft", + "port", + "starboard", + "clockwise", + "counterClockwise", + "towards", + "awayFrom", + "future", + "past", + "unspecified" ] }, "unit": { "$ref": "#/definitions/unit" }, "id": { "$ref": "#/definitions/id" } }, - "required" : [ "name" ], + "required" : [ "name", "abbreviation", "direction" ], "additionalProperties": false }, @@ -135,7 +175,16 @@ "properties": { "type": { "type": "string", "enum": ["CoordinateSystem"] }, "name": { "type": "string" }, - "subtype": { "type": "string" }, + "subtype": { "type": "string", + "enum": ["Cartesian", + "spherical", + "ellipsoidal", + "vertical", + "ordinal", + "parametric", + "TemporalDateTime", + "TemporalCount", + "TemporalMeasure"] }, "axis": { "type": "array", "items": { "$ref": "#/definitions/axis" } |
