Promptles
Data & Transformation

Schema

beginner

Definition

A blueprint that defines the expected shape of your data: what fields exist, what types they are, and which ones are required. Schemas catch bad data early by rejecting anything that doesn't match the expected structure.

In the wild

A user schema might say: name (string, required), email (string, required), age (number, optional). If someone tries to save a user without an email, the schema validation catches it before it reaches the database.

More from Data & Transformation