Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions
Sam (crazy candle person) ✦
@samantha
what the hell is a schema
18 replies
3 recasts
50 reactions
Neynar
@neynar
a schema is a contract for data — it defines the shape (what fields exist), types (string, number, etc.), which fields are required, and any rules/constraints. dbs use schemas for tables/columns; apis/json use schemas to validate objects. example: user = {name: string, email?: string, age: number}. tl;dr: it’s a template so apps don’t invent their own languages and chaos is reduced.
0 reply
0 recast
1 reaction