{
  "_comment": "Ko-fi Product Mapping Template for Paper Dynasty",
  "_instructions": "1. Copy this template to n8n → Settings → Variables → Create Variable 'KOFI_PRODUCT_MAP'",
  "_instructions_2": "2. Update product codes to match your Ko-fi shop 'direct_link_code' values",
  "_instructions_3": "3. Set pack_type_id according to Paper Dynasty pack types (see pack_types reference below)",
  "_instructions_4": "4. Use pack_cardset_id for cardset-specific packs (or null for current/default cardset)",

  "_pack_types_reference": {
    "1": "Standard",
    "2": "Starter",
    "3": "Premium",
    "4": "Check-In Player",
    "5": "MVP",
    "6": "All Star",
    "7": "Mario",
    "8": "Team Choice (1 card, choice of 4 from selected MLB club)",
    "9": "Promo Choice"
  },

  "_naming_conventions": {
    "format": "pack-{tier}-{quantity}",
    "examples": [
      "pack-standard-5 (5 standard packs)",
      "pack-premium-10 (10 premium packs)",
      "pack-team-choice (1 team choice pack)",
      "pack-mvp-bundle (special bundle)",
      "sub-monthly-5packs (monthly subscription with 5 packs)"
    ],
    "best_practices": [
      "Use lowercase with hyphens",
      "Be descriptive but concise",
      "Include quantity in name if variable",
      "Use consistent prefixes (pack-, sub-, card-)"
    ]
  },

  "pack-standard-5": {
    "name": "5-Pack Standard Bundle",
    "description": "Five standard packs",
    "pack_type_id": 1,
    "quantity": 5,
    "pack_cardset_id": null,
    "price_usd": 5.00
  },

  "pack-standard-10": {
    "name": "10-Pack Standard Bundle",
    "description": "Ten standard packs - Best Value!",
    "pack_type_id": 1,
    "quantity": 10,
    "pack_cardset_id": null,
    "price_usd": 9.00
  },

  "pack-premium-5": {
    "name": "5-Pack Premium Bundle",
    "description": "Five premium packs with better odds",
    "pack_type_id": 3,
    "quantity": 5,
    "pack_cardset_id": null,
    "price_usd": 10.00
  },

  "pack-premium-10": {
    "name": "10-Pack Premium Bundle",
    "description": "Ten premium packs - Maximum Value!",
    "pack_type_id": 3,
    "quantity": 10,
    "pack_cardset_id": null,
    "price_usd": 18.00
  },

  "pack-team-choice": {
    "name": "Team Choice Pack",
    "description": "One card, choice of 4 from your favorite MLB team",
    "pack_type_id": 8,
    "quantity": 1,
    "pack_cardset_id": 27,
    "price_usd": 3.00
  },

  "pack-mvp-special": {
    "name": "MVP Special Pack",
    "description": "Special MVP rarity pack",
    "pack_type_id": 5,
    "quantity": 1,
    "pack_cardset_id": null,
    "price_usd": 15.00
  },

  "pack-allstar-bundle": {
    "name": "All-Star 3-Pack Bundle",
    "description": "Three All-Star rarity packs",
    "pack_type_id": 6,
    "quantity": 3,
    "pack_cardset_id": null,
    "price_usd": 12.00
  },

  "sub-monthly-standard": {
    "name": "Monthly Subscription - Standard",
    "description": "Monthly subscription with 5 standard packs",
    "pack_type_id": 1,
    "quantity": 5,
    "pack_cardset_id": null,
    "price_usd": 5.00,
    "subscription": true,
    "subscription_period": "monthly"
  },

  "sub-monthly-premium": {
    "name": "Monthly Subscription - Premium",
    "description": "Monthly subscription with 5 premium packs",
    "pack_type_id": 3,
    "quantity": 5,
    "pack_cardset_id": null,
    "price_usd": 10.00,
    "subscription": true,
    "subscription_period": "monthly"
  },

  "_example_seasonal_products": {
    "pack-2005-throwback": {
      "name": "2005 Throwback Pack",
      "description": "Limited edition 2005 season packs",
      "pack_type_id": 1,
      "quantity": 3,
      "pack_cardset_id": 27,
      "price_usd": 7.00,
      "limited_edition": true
    },

    "pack-holiday-2025": {
      "name": "Holiday Special 2025",
      "description": "Holiday bundle with 10 mixed packs",
      "pack_type_id": 3,
      "quantity": 10,
      "pack_cardset_id": null,
      "price_usd": 20.00,
      "limited_edition": true,
      "available_until": "2025-12-31"
    }
  },

  "_usage_examples": {
    "simple_product": {
      "code": "pack-simple",
      "config": {
        "pack_type_id": 1,
        "quantity": 5,
        "pack_cardset_id": null
      }
    },

    "cardset_specific": {
      "code": "pack-2005-special",
      "config": {
        "pack_type_id": 1,
        "quantity": 3,
        "pack_cardset_id": 27
      }
    },

    "with_metadata": {
      "code": "pack-promo-code",
      "config": {
        "pack_type_id": 1,
        "quantity": 5,
        "pack_cardset_id": null,
        "promo_code": "WELCOME2025",
        "tracking": {
          "source": "email_campaign",
          "campaign_id": "welcome-2025-q1"
        }
      }
    }
  }
}
