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