{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/referralcandy/main/json-schema/referralcandy-get-api-v22-rewards-json-response-schema.json",
  "title": "GetApiV22RewardsJsonResponse",
  "x-generated": "2026-10-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/referralcandy-openapi-generated.yml#/components/schemas/GetApiV22RewardsJsonResponse",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "A message indicating the outcome of the API call."
    },
    "rewards": {
      "type": "string",
      "description": "The first 200 matching rewards."
    },
    "since_id": {
      "type": "string",
      "description": "The value specified in the request if available."
    },
    "status": {
      "type": "string",
      "description": "The value specified in the request if available."
    },
    "type": {
      "type": "string",
      "description": "The value specified in the request if available."
    },
    "coupon_code": {
      "type": "string",
      "description": "The value specified in the request if available."
    },
    "coupon_code_expiry_timestamp": {
      "type": "string",
      "description": "The value specified in the request if available."
    },
    "coupon_code_data": {
      "type": "string",
      "description": "The value specified in the request if available."
    },
    "coupon_used": {
      "type": "string",
      "description": "Indicates whether this coupon has been used."
    }
  }
}