Convex schema validator Produces a that types every document, indexes every query path, and passes validation against the data already in the database. The one rule: every in a function needs a matching here, named after its fields, queried in field order. When to reach for this - Creating a new table or adding a field to an existing one - A query uses and needs an index instead - Deciding whether to embed an object or link with - Modeling a document that comes in several shapes - fails with a schema validation error Schema skeleton takes either an object of field validators or a single of va…