{
  "type": "object",
  "description": "Detailed information about a specific error",
  "name": "ErrorDetail",
  "properties": {
    "message": {
      "type": "string",
      "description": "A human-readable message describing the specific error"
    },
    "code": {
      "type": "string",
      "description": "An error code for this specific error"
    },
    "in": {
      "type": "string",
      "description": "The field or parameter where the error occurred"
    },
    "subCategory": {
      "type": "string",
      "description": "A specific subcategory for this error"
    },
    "context": {
      "type": "object",
      "description": "Additional context for this error"
    }
  },
  "required": [
    "message"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}