Open codedust opened 1 year ago
JsonSchemaForm supports labels - i think we should at least offer a jsonschemaform version as it allows us to be relatively close to xdatenfelder. We maybe should also offer a JsonSchema Version.
In contrast, https://github.com/rjsf-team/react-jsonschema-form only seems to support labels via UISchema. Maybe supporting three different output formats is the way to go. :+1:
Labels are represented as fields of type
label
in XDatenfelder. However, in JSON Schema, there does not exist an equivalent since JSON schema describes data, not forms.Example:
JSON-Schema:
This would imply an attribute called "F00000439" in the data that is represented by this JSON schema.
Thus, my proposal would be to completely ignore labels when generating the JSON schema.
What do you think?