FixMyBerlin / rsv-dossier

FixMyCity's information website about planning and building cycle highways in Germany
https://radschnellverbindungen.info/
MIT License
4 stars 0 forks source link

Define `detail_level` as Enum Type in JSON schema #88

Closed rush42 closed 1 year ago

rush42 commented 2 years ago

Currently in the JSON schema the detail_level property is defined as string. IMHO we should define allowed values as an enum type, to limit the possibilities and allow fully defined mappings for e.g. a map legend. Until now we have the following values:

Maybe we could do something similar for the variant property.