opengeospatial / 2D-Tile-Matrix-Set

OGC 2D Tile Matrix Set & TileSet Metadata standard
https://www.ogc.org/standards/tms
Apache License 2.0
8 stars 10 forks source link

Make `dataType` an extensible list rather than a restricted enum #57

Closed jerstlouis closed 2 years ago

jerstlouis commented 2 years ago

In JSON Schema, enums are not extensible, but we foresee additional data types beyond map, vector and coverage and should not restrict these. Additional values are already being discussed for e.g. 3D models and point clouds.

In OGC API - Styles ( opengeospatial/ogcapi-styles#30 ) we changed the enum to examples.

For dataType remove the enum and move the values to examples. This is not a final, definitive list. Add point cloud, mesh.

joanma747 commented 2 years ago

Why about trying to create an open list by using oneOf(enum+string).

jerstlouis commented 2 years ago

@joanma747 We wanted to review the XML/XSD enum extensibility aspect for this before closing the issue, can we close it now at this stage?

joanma747 commented 2 years ago

Fixed in the XSD schema