{
  "schema": "shopify.functions.cart-checkout-validation.v1",
  "shop": "demo-store.myshopify.com",
  "enabled": true,
  "active_rules_count": 4,
  "rules": [
    {
      "id": "rule-step-pack-6",
      "t": "step_multiple",
      "scope": "product",
      "tid": "gid://shopify/Product/501",
      "seg": "all",
      "tag": "",
      "min": null,
      "max": null,
      "step": 6,
      "msg": "{item_title} ships only in sealed case packs of {step} units (current cart: {current} \u2014 add {shortfall} more)."
    },
    {
      "id": "rule-drop-max-2",
      "t": "item_quantity",
      "scope": "product",
      "tid": "gid://shopify/Product/502",
      "seg": "retail_only",
      "tag": "b2b",
      "min": 1.0,
      "max": 2.0,
      "step": null,
      "msg": "{item_title} is limited to {max} units per retail customer (you have {current} in cart)."
    },
    {
      "id": "rule-b2b-min-subtotal",
      "t": "cart_value",
      "scope": "all",
      "tid": "all",
      "seg": "b2b_only",
      "tag": "wholesale",
      "min": 250.0,
      "max": 15000.0,
      "step": null,
      "msg": "Wholesale accounts require a minimum order subtotal of \u20ac{min} (current subtotal: \u20ac{current} \u2014 add \u20ac{shortfall})."
    },
    {
      "id": "rule-samples-cap",
      "t": "collection_limit",
      "scope": "collection",
      "tid": "col-sample-kits",
      "seg": "all",
      "tag": "",
      "min": 1.0,
      "max": 4.0,
      "step": null,
      "msg": "Customers may order up to {max} units from '{target_title}' per order (current: {current})."
    }
  ]
}