> For the complete documentation index, see [llms.txt](https://docs.rhinofcp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rhinofcp.com/data-schemas/editing-a-data-schema.md).

# Editing a Data Schema

To edit a data schema, complete the following steps.

{% stepper %}
{% step %}

### Select Data Schemas

Select **Data Schemas** from the menu on the left.
{% endstep %}

{% step %}

### Select the data schema

Select the Data Schema that you want to edit.

![](/files/a87ec71a264046a6216afdf1f6c603bdc6fcae7f)
{% endstep %}

{% step %}

### Open the editor

A screen that shows the data schema appears. Click the **Edit Data Schema** button.

![](/files/7ba2855248819633e068834d1230ddf66bf83270)
{% endstep %}

{% step %}

### Confirm the new version

A note appears indicating that editing the schema will automatically create a new version. Select **Edit**.

![](/files/e010fdd2b3140218e241f66707102f52344137b8)
{% endstep %}

{% step %}

### Edit the fields

Edit the fields as needed. Note that the fields are marked as required or optional. (By default, all fields are set as required.)

To make the field required, push the slider to the right ("Yes" will appear). To make the field optional, push the slider to the left ("No" will appear).

![](/files/c9a9d4ef3a7393cad610d2ad69c310af9667ea45)
{% endstep %}

{% step %}

### Save your changes

After you've made the changes, select **Save** in the upper right corner of the screen.
{% endstep %}

{% step %}

### Review the new version

A new version of the data schema appears.

![](/files/644068499f7edaa275404dd9e82206ee1f75bf99)
{% endstep %}
{% endstepper %}

{% hint style="info" %}
If you import a dataset with a specific data schema (not “Auto-generate schema from data”) and if any optional field does not exist in the data, this will not fail the import and will not generate any warning. If you import a dataset with an inferred data schema (“Auto-generate schema from data”), all fields in the generated schema will be set as required.
{% endhint %}
