Skip to content

Commit

Permalink
Update schema to use an enum instead of a pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr authored Aug 25, 2024
1 parent 2c991ed commit 6871514
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion format-specs/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6871514

Please sign in to comment.