{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ValidationError", "title": "ValidationError", "type": "object", "properties": { "loc": { "type": "array", "items": { "$ref": "#/components/schemas/ValidationErrorLocItems" } }, "msg": { "type": "string" }, "type": { "type": "string" }, "input": { "description": "Any type" }, "ctx": { "$ref": "#/components/schemas/ValidationErrorCtx" } }, "required": [ "loc", "msg", "type" ], "description": "Single field-level validation error. `loc` is the JSON path to the offending field, `msg` is a human-readable explanation, and `type` is a stable machine-readable error code." }