Understanding JSON Schema
JSON Schema provides a vocabulary to annotate and validate JSON documents, ensuring incoming payloads conform to expected types.
json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"name": { "type": "string" }
},
"required": ["name"]
}