# How to create schema ui from exiting json schema

**URL:** <https://jsonforms.discourse.group/t/how-to-create-schema-ui-from-exiting-json-schema/1140>\
**Category:** General\
**Created:** [November 18, 2022, 9:04am UTC](https://jsonforms.discourse.group/t/how-to-create-schema-ui-from-exiting-json-schema/1140 "2022-11-18T09:04:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kanitpatjim](https://avatars.discourse-cdn.com/v4/letter/k/6a8cbe/32.png) [@kanitpatjim](https://jsonforms.discourse.group/u/kanitpatjim)\
**Post date:** [November 18, 2022, 9:04am UTC](https://jsonforms.discourse.group/t/how-to-create-schema-ui-from-exiting-json-schema/1140/1 "2022-11-18T09:04:56Z")

</div>

{  
“$schema”: “[http://json-schema.org/draft-07/schema#](http://json-schema.org/draft-07/schema#)”,  
“description”: “test factory deploy”,  
“oneOf”: [  
{ “$ref”: “#/definitions/a” },  
{ “$ref”: “#/definitions/b” },  
{ “$ref”: “#/definitions/c” }  
]

,  
“definitions”: {  
“a”: {  
“required”: [“notification”],  
“properties”: {  
“notification”: {  
“type”: “object”,  
“description”: “send email.”,  
“enum”: [  
“email”,  
“line”,  
“msteam”  
]  
},  
“env”: {  
“type”: “string”,  
“description”: “. i.e. if the template is in ./custom\_template/content.html, the resulting documentation will have the html extension.”  
}

```
}

```

},  
“b”: { “$ref”: “combining\_not.json” },  
“c”: {}  
}  
}

---

<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:** [November 18, 2022, 11:23am UTC](https://jsonforms.discourse.group/t/how-to-create-schema-ui-from-exiting-json-schema/1140/2 "2022-11-18T11:23:22Z")

</div>

Hi @kanitpatjim,

JSON Forms does not require a UI Schema to be set. If none is handed over we will just auto-generate one. If you want to generate it manually then you can use

```auto
import { Generate } from `@jsonforms/core`.

const uischema = Generate.uiSchema(schema);

```
