Schema
- How I validate JSON with a schema before blaming the API
When an API receives JSON, it usually expects a certain shape. If one field is missing or one value has the wrong type, the request may fail. A JSON Schema describes that expected shape.