diff options
Diffstat (limited to 'schemas/v0.2/projjson.schema.json')
| -rw-r--r-- | schemas/v0.2/projjson.schema.json | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/schemas/v0.2/projjson.schema.json b/schemas/v0.2/projjson.schema.json index 0a4015ce..c8e213e3 100644 --- a/schemas/v0.2/projjson.schema.json +++ b/schemas/v0.2/projjson.schema.json @@ -756,7 +756,7 @@ "$schema" : { "type": "string" }, "type": { "type": "string", "enum": ["PrimeMeridian"] }, "name": { "type": "string" }, - "longitude": { "$ref": "#/definitions/value_and_unit" }, + "longitude": { "$ref": "#/definitions/value_in_degree_or_value_and_unit" }, "id": { "$ref": "#/definitions/id" }, "ids": { "$ref": "#/definitions/ids" } }, @@ -912,6 +912,13 @@ "additionalProperties": false }, + "value_in_degree_or_value_and_unit": { + "oneOf": [ + { "type": "number" }, + { "$ref": "#/definitions/value_and_unit" } + ] + }, + "value_in_metre_or_value_and_unit": { "oneOf": [ { "type": "number" }, |
