# Looking for information on how to use the uischemas registry features

**URL:** <https://jsonforms.discourse.group/t/looking-for-information-on-how-to-use-the-uischemas-registry-features/702>\
**Category:** General\
**Created:** [April 4, 2022, 3:00pm UTC](https://jsonforms.discourse.group/t/looking-for-information-on-how-to-use-the-uischemas-registry-features/702 "2022-04-04T15:00:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbluer](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/rbluer/32/285_2.png) [@rbluer](https://jsonforms.discourse.group/u/rbluer)\
**Post date:** [April 4, 2022, 3:00pm UTC](https://jsonforms.discourse.group/t/looking-for-information-on-how-to-use-the-uischemas-registry-features/702/1 "2022-04-04T15:00:56Z")

</div>

I’m new to JSONForms and I’m trying to figure out how to use the `uischemas` registry features. It was mentioned in an answer that I found, but I have not been able to find any documentation on it’s usage. I also do not see a similar feature to import, as what exists with the `materialCells` and `materialRenderers` within the `@jsonformst/material-renderers`.

Are there any documents and examples that covers the `uischemas` registry feature?

I have a number of schemas that are being expanded with the use of $ref. One of the sub-schemas is repeated in all of the forms that I’m needing to implement, but instead of hard-coding the exact same fragment in all uischemas that I need to create, I’m wanting to define those six fields only once in a sub-uischema and then pull them in to the uischemas similarly as to how $ref works.

The existence of a `uischemas` registry feature was mentioned in suggestion number three in this question:  
[Mention of the uischemas registry feature](https://jsonforms.discourse.group/t/styling-of-unpredictable-deep-nested-elements/137)

> edit: I thought I found the full post on this forums, of which I was wrong. 😆 So here is the original URL that includes the replies and suggestions. So sorry about that…  
> [original URL: Mention of the uischemas registry feature](https://spectrum.chat/jsonforms/general/styling-of-unpredictable-deep-nested-elements~81b9b022-6015-4cf8-a0d0-2f1fce4f370b?m=MTYxNDc2MjA5ODA0NA==)

Thanks greatly to any help that you can provide!

---

<div class="post-metadata">

**Author:** ![sdirix](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/sdirix/32/1073_2.png) [@sdirix](https://jsonforms.discourse.group/u/sdirix)\
**Post date:** [April 5, 2022, 10:45am UTC](https://jsonforms.discourse.group/t/looking-for-information-on-how-to-use-the-uischemas-registry-features/702/2 "2022-04-05T10:45:34Z")

</div>

Hi @rbluer,

the `uischemas` registry is queried whenever we need to determine some kind of “sub” UI Schema, for example for arrays and objects.

There is no “import” for it, as we don’t provide any default UI Schemas this way. When no UI Schema exists then it’s generated on the fly.

The structure of this registry is exactly the same as for the other registries, i.e. it’s just an array of `tester`, `uischema` pairs. For this you can always check the used types, i.e. see [here](https://github.com/eclipsesource/jsonforms/blob/d65d7eb8a5050c6de7a4e086e01237bd2488f64c/packages/react/src/JsonForms.tsx#L182) and [here](https://github.com/eclipsesource/jsonforms/blob/d65d7eb8a5050c6de7a4e086e01237bd2488f64c/packages/core/src/reducers/uischemas.ts#L33-L42).

I would like to suggest to play around with this feature in the [JSON Forms React seed](https://github.com/eclipsesource/jsonforms-react-seed) until it works for you.

---

<div class="post-metadata">

**Author:** ![rbluer](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/rbluer/32/285_2.png) [@rbluer](https://jsonforms.discourse.group/u/rbluer)\
**Post date:** [April 5, 2022, 2:43pm UTC](https://jsonforms.discourse.group/t/looking-for-information-on-how-to-use-the-uischemas-registry-features/702/3 "2022-04-05T14:43:41Z")

</div>

Thanks so much for the speedy reply. I’ll work on this later tonight when I get some free time.

Thank also for suggesting the React Seed 🎉 since I did not consider exploring that as a test environment to get the details worked out.
