A schema defines fields; a record supplies values
How consistent schemas organize tabular and time-series records into defined fields, independently of storage location or whether the data is labeled. · foundational
Structured data organizes information into defined fields with consistent meanings. A schema describes those fields and their data types, such as text, number, or timestamp. This gives applications a shared way to interpret the data.
A record is one instance of that structure. In a sensor dataset, each record might contain a device identifier, the time of a reading, and a temperature. The temperature values can differ between records, but the field still means the same thing: temperature in degrees Celsius.
A schema can also define rules, such as requiring a timestamp or allowing a missing temperature. Consistency means records follow the same definitions and rules—not that every record contains identical values. These definitions make it possible to filter readings or calculate an average without guessing what each value means.
| Field | Data type | Meaning |
|---|---|---|
| device_id | Text | Device identifier |
| observed_at | Timestamp | Time of reading |
| temperature_c | Number | Temperature in Celsius |