A data schema defines the fields a dataset contains, the type each field should hold, and any constraints on valid values. It is the contract that lets software process every record the same way without manual interpretation.

Example

A schema for a dataset of datasets products might define name as text, price as a number, and license_options as an array of approved values.

Related Terms