> 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.

![](https://content.gitbook.com/content/ydySyCBmy6F7NnGn4bPa/blobs/NzEtpmbGvRzycpeHDSm4/32674419658909)
{% endstep %}

{% step %}

### Open the editor

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

![](https://content.gitbook.com/content/ydySyCBmy6F7NnGn4bPa/blobs/SgVjs9it3Zm4cgRyu3Ko/32674419660189)
{% endstep %}

{% step %}

### Confirm the new version

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

![](https://content.gitbook.com/content/ydySyCBmy6F7NnGn4bPa/blobs/NOsB7G0O10aTSeSU33yd/32674450855453)
{% 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).

![](https://content.gitbook.com/content/ydySyCBmy6F7NnGn4bPa/blobs/sZSOnSCPYm1OZkf3yZnf/32674419663261)
{% 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.

![](https://content.gitbook.com/content/ydySyCBmy6F7NnGn4bPa/blobs/6sSdCzkUKm2MmqQHvojw/32674419664029)
{% 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 %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.rhinofcp.com/data-schemas/editing-a-data-schema.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
