{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "httperrors.ErrorResponse",
  "properties": {
    "code": {
      "description": "String representation of the status code",
      "type": "string"
    },
    "context": {
      "additionalProperties": {},
      "description": "Optional context information",
      "type": "object"
    },
    "error": {
      "description": "HTTP status code",
      "type": "integer"
    },
    "exception": {
      "description": "Error message",
      "type": "string"
    },
    "exceptionId": {
      "description": "Unique error ID for tracking",
      "type": "string"
    },
    "status": {
      "description": "Always \"error\"",
      "type": "string"
    },
    "trace": {
      "description": "Stack trace information if debug mode",
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "type": "object"
}