{
  "type": "object",
  "description": "Detailed information about a specific error",
  "name": "ErrorDetail",
  "properties": {
    "message": {
      "type": "string",
      "description": "Human-readable error message"
    },
    "code": {
      "type": "string",
      "description": "Machine-readable error code"
    },
    "subCategory": {
      "type": "string",
      "description": "Specific error subcategory"
    },
    "in": {
      "type": "string",
      "description": "Location where the error occurred (e.g., query, path, body)"
    },
    "context": {
      "type": "object",
      "description": "Additional context about the specific error"
    }
  },
  "required": [
    "message"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}