From 68715146415addca99a1819455fe44d60fa49f95 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Sun, 25 Aug 2024 16:53:26 +0200 Subject: [PATCH] Update schema to use an enum instead of a pattern --- format-specs/schema.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/format-specs/schema.json b/format-specs/schema.json index 03fdf74..802714e 100644 --- a/format-specs/schema.json +++ b/format-specs/schema.json @@ -23,7 +23,15 @@ "properties": { "encoding": { "type": "string", - "pattern": "^(WKB|point|linestring|polygon|multipoint|multilinestring|multipolygon)$" + "enum": [ + "WKB", + "point", + "linestring", + "polygon", + "multipoint", + "multilinestring", + "multipolygon" + ] }, "geometry_types": { "type": "array",