---
updatedAt: 2026-10-07T18:44:04.000Z
agentTools:
  projectIndex: https://docs.superwise.ai/llms.txt
---

# Schema

How SUPERWISE discovers, creates, and edits dataset schemas

Schemas are automatically discovered by SUPERWISE® once the initial bulk of data is sent to the [dataset](https://docs.superwise.ai/docs/dataset-1). They can also be created manually via the UI or SDK.

Regardless of the discover/create mechanism used initially, schema may be edited by users at any time. However, note that changes, especially to data types, may result in historical data loss.

Once a schema exists, SUPERWISE® enforces it for any new data ingested into the dataset to ensure that:

* Any undefined field is ignored.
* Field type mismatches trigger errors (registered as Events).
* Omitted fields from the schema are inserted with their default values.

<Image align="center" alt="Superwise schema page showing dataset field settings with options to add name, type, and default value." border={false} src="https://files.readme.io/8604ad6-schema_fields.png" />