Validate input for UISchema: is there a JSON Schema for UI Schemas?

Hey !

I would like to validate programmatically an input that is expected to be a UI Schema. It should raise if such input does not comply with the UI Schema specifications.

Do we have a JSON Schema of UI Schemas for such validation?

I saw that file, but I am not sure it has the intended scope as it lives under the vue–vuetify/dev folder. jsonforms/packages/vue-vuetify/dev/core/jsonschema/specification/uischema.json at master · eclipsesource/jsonforms · GitHub

I saw that: Json Schema for UI schema exists?

So I suspect the answer is no. Is that still the case?

Hi @thibaut.miquel,

Yes, that’s still the case. We did not yet need a JSON Schema of the UI Schema ourselves, so we did not develop it.

Hi @sdirix ,

Thanks for the reply!

Noob question, but why wouldn’t that JSON Schema answer my use case here? jsonforms/packages/vue-vuetify/dev/core/jsonschema/specification/uischema.json at d1e562e49c3f0851ef010ee50221af1f47045e78 · eclipsesource/jsonforms · GitHub

Additional note: it seems to look fine as a smoke test. In order to mirror what I see as behavior in JSONForms Editor, I need to unset the “additionalProperty”: false keys.

Kindly following up here on this question :). Maybe @sdirix ?

Hi @thibaut.miquel,

You are right, this is a full JSON Schema for the UI Schema. The JSON Schema was contributed by the community (thanks @kchobantonov) as part of the Vuetify dev application.