{
  "type": "object",
  "description": "Detailed information about a specific error.",
  "name": "ErrorDetail",
  "properties": {
    "message": {
      "type": "string",
      "description": "Human-readable error message"
    },
    "code": {
      "type": "string",
      "description": "Error code"
    },
    "subCategory": {
      "type": "string",
      "description": "Error subcategory"
    },
    "in": {
      "type": "string",
      "description": "Location where error occurred"
    },
    "context": {
      "type": "object"
    }
  },
  "required": [
    "message"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}