schema-first
adjectiveUK /ˈskiːmə fɜːst/
US /ˈskiːmə fɜːrst/
Planning the shape of your data before you write the code.
The team took a schema-first approach, designing the database tables before writing any application code.
OTHER MEANINGS
2. An API development style where the interface contract is defined before implementation.
Their schema-first API workflow let frontend and backend teams work in parallel.
3. A programming practice of declaring types or structures upfront to catch errors early.
Schema-first development in GraphQL means writing the type definitions first.
4. An approach in which validation rules are defined before the logic that uses them.
With schema-first validation, the form rules are set before any input handling code.