1. Define the contract
Outcome: Requests and responses have a stable typed shape.
Tasks
- →Define the input model
- →Create the output schema
- →Define validation errors
- →Add a correlation ID
Checks
- ✓Invalid responses never pass silently
- ✓The schema has unit tests