earthcube / jsonld_forms

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

resources additionalProperty flatten/unflatten #8

Closed valentinedwv closed 2 years ago

valentinedwv commented 2 years ago

Additional Property types is a monster in the room. https://github.com/earthcube/ResourceRegistry/blob/baa4200457802fce87a5f7d25c24e7c25754b496/ecrrjsonschema1.0.json#L433 and it's 'definition' https://github.com/earthcube/ResourceRegistry/blob/baa4200457802fce87a5f7d25c24e7c25754b496/ecrrjsonschema1.0.json#L547

The best approach will be to have split the 'additional' out into form fields, and then

So "properties" will be added schema used in app, and we can validate against the official schema on submit (or not).