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