cityjson / specs

Specifications for CityJSON, a JSON-based encoding for 3D city models
https://cityjson.org
Creative Commons Zero v1.0 Universal
107 stars 25 forks source link

Extension's extraCityObjects schema does not reflect the specs #139

Open balazsdukai opened 1 year ago

balazsdukai commented 1 year ago

The specs declare 6 rules to follow to define new CityObjects, but according to the schema anything is allowed in a CityObject:

https://github.com/cityjson/specs/blob/9760902df98e05a1051d76bdfce1f8c5d18eb734/extensions/extension.schema.json#L92

Shouldn't the extraCityObjects validation schema be more specific?

hugoledoux commented 1 year ago

it should, but not sure how/what to validate... it's not so simple I'm afraid.

We could verify if the part is a valid json schema, but I wouldn't know how... Help appreciated here!