{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/perkville/json-schema/perkville-get-v2-redeeming-response-schema.json",
  "title": "GetV2RedeemingResponse",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/perkville-openapi-generated.yml#/components/schemas/GetV2RedeemingResponse",
  "type": "object",
  "properties": {
    "business": {
      "type": "string"
    },
    "can_redeem": {
      "type": "boolean"
    },
    "category": {
      "type": "object",
      "properties": {
        "category_id": {
          "type": "integer"
        },
        "category_name": {
          "type": "string"
        },
        "display_order": {
          "type": "integer"
        }
      }
    },
    "description": {
      "type": "string"
    },
    "display_order": {
      "type": "integer"
    },
    "external_reward_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "fine_print": {
      "type": "string"
    },
    "from_date": {
      "type": [
        "string",
        "null"
      ]
    },
    "loc_id": {
      "type": "integer"
    },
    "must_redeem_at_home_location": {
      "type": "boolean"
    },
    "perk_id": {
      "type": "integer"
    },
    "picture_card": {
      "type": [
        "string",
        "null"
      ]
    },
    "points": {
      "type": "integer"
    },
    "redemption_instructions": {
      "type": "string"
    },
    "redemption_limit_count": {
      "type": "integer"
    },
    "redemption_limit_interval": {
      "type": "string"
    },
    "redemption_limit_interval_count": {
      "type": "integer"
    },
    "required_level": {
      "type": [
        "string",
        "null"
      ]
    },
    "title": {
      "type": "string"
    },
    "to_date": {
      "type": [
        "string",
        "null"
      ]
    },
    "type": {
      "type": "string"
    },
    "user_redemption_limit_info": {
      "type": "object",
      "properties": {
        "has_met_limit": {
          "type": "boolean"
        },
        "next_redemption_opportunity": {
          "type": "string",
          "format": "date"
        },
        "redemptions_remaining": {
          "type": "integer"
        }
      }
    },
    "valid_customer_attributes": {
      "type": "array",
      "items": {}
    }
  }
}