Dynamic schema and UI schema fields

Hi @sf17,

in JSON Forms we have a UI Schema generator which produces a UI Schema for a JSON Schema. Many users rely on this mechanism and some global configuration instead of providing a UI Schema for each form. The generator is relatively simplistic and will just generate a vertically aligned form with a “control” for each property in the JSON Schema.

Nested schemas (i.e. nested objects and arrays) are then handled by the respective Object or Array renderer. Typically they just use the generator again, and repeat the process for their subschema.

Depending on your exact requirements you can either generate the full UI schema beforehand, for example by reusing the generator or copying and modifying it (see this question for more information), use the UI Schema registry to pass in your detailed UI Schemas, or register custom renderers which adapt to your country specific needs.