{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/albertsons/refs/heads/main/json-structure/retail-media-api-error-response-structure.json",
  "name": "Error Response",
  "description": "Standard error response object.",
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Error code identifier.",
      "example": "UNAUTHORIZED"
    },
    "message": {
      "type": "string",
      "description": "Human-readable error message.",
      "example": "Invalid or missing bearer token."
    },
    "statusCode": {
      "type": "integer",
      "description": "HTTP status code.",
      "example": 401
    }
  }
}