{
  "description": "Участник уровня «Золото» получает процент своего уровня (5 % вместо базовых 3 %), а удвоение баллов умножает именно его.",
  "calculation": [
    "Базовое начисление уровня: 100 000 × 5 % = 5000 коп. = 50 баллов (без уровня было бы 30).",
    "Удвоение даёт ещё ⌊100 000 × 5 % × (2 − 1) / 100⌋ = 50. Итого 100."
  ],
  "rules": {
    "schema": 1,
    "program_id": "01900000-0000-7000-8000-000000000001",
    "timezone": "Europe/Moscow",
    "points": {
      "point_type_id": "01900000-0000-7000-8000-000000000002",
      "precision": 0,
      "value_minor": 100
    },
    "accrual": {
      "percent_bp": 300
    },
    "redemption": {
      "max_share_bp": 10000,
      "min_unit_remainder_minor": 0,
      "min_receipt_minor": 0,
      "confirmation": "weak_identifiers"
    },
    "lifecycle": {
      "activation_delay_days": null,
      "expiration_policy": "after_days",
      "expiration_days": null,
      "expiration_date": null,
      "expiration_years": null
    },
    "returns": {
      "spent_points_policy": "ignore",
      "restore_into_new_lot": false
    },
    "campaigns": [
      {
        "id": "double-points",
        "version": 1,
        "title": "Двойные баллы",
        "priority": 0,
        "members_only": true,
        "requires_code": false,
        "exclusive": false,
        "stacking": null,
        "schedule": {
          "starts_at": null,
          "ends_at": null,
          "weekdays": [],
          "time_from": null,
          "time_to": null
        },
        "channels": [],
        "locations": [],
        "condition": null,
        "target": null,
        "effect": {
          "type": "points_multiplier",
          "multiplier_bp": 20000
        },
        "member_limit": null,
        "budget": null
      }
    ],
    "tiers": {
      "levels": [
        {
          "code": "silver",
          "title": "Серебро",
          "min_amount": 0,
          "min_purchases": 0,
          "accrual_percent_bp": 300
        },
        {
          "code": "gold",
          "title": "Золото",
          "min_amount": 3000000,
          "min_purchases": 0,
          "accrual_percent_bp": 500
        }
      ],
      "window": "rolling",
      "window_days": 365,
      "retention_days": 365
    },
    "bonuses": {
      "welcome": null,
      "birthday": null,
      "referral": null
    },
    "stamp_cards": []
  },
  "basket": {
    "purchased_at": "2026-10-03T12:00:00+03:00",
    "redeem_points": 0,
    "redeem_maximum": false,
    "lines": [
      {
        "id": "1",
        "sku": "SUIT",
        "quantity": 1000,
        "amount": 100000
      }
    ]
  },
  "member": {
    "member_id": "m-1",
    "spendable_points": 0,
    "can_redeem": true,
    "can_accrue": true,
    "tier": "gold"
  },
  "expected": {
    "total": 100000,
    "discount": 0,
    "redeemed_money": 0,
    "redeemed_points": 0,
    "points_earned": 100,
    "payable": 100000,
    "max_redeemable_points": 0,
    "lines": [
      {
        "id": "1",
        "amount": 100000,
        "discount": 0,
        "redeemed_money": 0,
        "redeemed_points": 0,
        "points_earned": 100,
        "payable": 100000
      }
    ],
    "campaigns": [
      {
        "campaign_id": "double-points",
        "version": 1,
        "title": "Двойные баллы",
        "effect": "points_multiplier",
        "discount": 0,
        "points": 50,
        "promo_code": null,
        "limited_by_budget": false,
        "lines": [
          {
            "id": "1",
            "discount": 0,
            "points": 50
          }
        ]
      }
    ],
    "stamps": [],
    "trace": [
      {
        "code": "redemption.limit",
        "data": {
          "eligible_total": 100000,
          "capacity": 100000,
          "max_share_bp": 10000,
          "balance": 0,
          "max_points": 0
        }
      },
      {
        "code": "accrual.base",
        "data": {
          "base": 100000,
          "percent_bp": 500,
          "points": 50,
          "tier": "gold"
        }
      },
      {
        "code": "campaign.applied",
        "data": {
          "campaign": "double-points",
          "points": 50,
          "budget_limited": false
        }
      }
    ]
  }
}
