To edit a data schema, complete the following steps.
- Select Data Schemas from the menu on the left.
- Select the Data Schema that you want to edit.
- A screen that shows the data schema appears. Click the Edit Data Schema button.
- A note appears indicating that editing the schema will automatically create a new version. Select Edit.
- 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).
- After you've made the changes, select Save in the upper right corner of the screen.
- A new version of the data schema appears.
NOTE: 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.