From 8876897defdc0d01b8233a10d014ffdbc89a75b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Dukai?= Date: Tue, 9 Apr 2024 10:21:28 +0200 Subject: [PATCH] Add support for compound CRS as CURIEs --- schemas/metadata.schema.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/schemas/metadata.schema.json b/schemas/metadata.schema.json index 334dc8d..a63df44 100644 --- a/schemas/metadata.schema.json +++ b/schemas/metadata.schema.json @@ -91,8 +91,20 @@ "maxItems": 6 }, "referenceSystem": { - "type": "string", - "pattern": "^(http|https)://www.opengis.net/def/crs/" + "anyOf": [ + { + "type": "string", + "pattern": "^(http|https)://www.opengis.net/def/crs/" + }, + { + "type": "array", + "items": { + "type": "string", + "pattern": "^\\[[a-zA-Z]+:[a-zA-Z0-9]+\\]$" + }, + "minItems": 1 + } + ] } }, "additionalProperties": false