{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/perkville/json-schema/perkville-post-v2-perks-response-schema.json",
  "title": "PostV2PerksResponse",
  "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/PostV2PerksResponse",
  "type": "object",
  "properties": {
    "admin_flagged_as_invisible_to_customers": {
      "type": "boolean"
    },
    "business": {
      "type": "string"
    },
    "category": {
      "type": [
        "string",
        "null"
      ]
    },
    "classification": {
      "type": "string"
    },
    "connected_to_middle": {
      "type": "boolean"
    },
    "description": {
      "type": "string"
    },
    "eligible_at_all_locations": {
      "type": "boolean"
    },
    "eligible_locations": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "external_coupon_code": {
      "type": [
        "string",
        "null"
      ]
    },
    "fine_print": {
      "type": "string"
    },
    "initial_voucher_status": {
      "type": "string"
    },
    "instant_rewards": {
      "type": "array",
      "items": {}
    },
    "perk_id": {
      "type": "integer"
    },
    "points": {
      "type": "integer"
    },
    "redemption_instructions": {
      "type": "string"
    },
    "expiration_days": {
      "type": "integer"
    },
    "resource_uri": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "picture_card": {
      "type": [
        "string",
        "null"
      ]
    },
    "valid_customer_attributes": {
      "type": "array",
      "items": {}
    }
  }
}