{ "type": "object", "description": "Detailed error information for specific validation failures", "properties": { "message": { "type": "string", "description": "Specific error message", "example": "flagState is required" }, "code": { "type": "string", "description": "Error code", "example": "REQUIRED_FIELD" }, "subCategory": { "type": "string", "description": "Error sub-category", "example": "MISSING_FIELD" }, "in": { "type": "string", "description": "Location of the error (e.g., path, body, query)", "example": "body" }, "context": { "type": "object", "description": "Additional context for the error", "example": { "key": "value" } } }, "required": [ "message" ], "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ErrorDetail" }