{
  "version": "2024-01-01T00:00:00.000Z",
  "orgId": "org_test",
  "projectId": "proj_test",
  "env": "production",
  "hashing": {
    "unitKey": "userId",
    "bucketCount": 1000
  },
  "parameters": [
    {
      "key": "ui.theme",
      "type": "string",
      "default": "light",
      "layerId": "layer_user_ui",
      "namespace": "ui"
    },
    {
      "key": "pricing.merchantDiscount",
      "type": "number",
      "default": 0,
      "layerId": "layer_merchant_pricing",
      "namespace": "pricing"
    }
  ],
  "layers": [
    {
      "id": "layer_user_ui",
      "policies": [
        {
          "id": "policy_ui_theme",
          "state": "running",
          "kind": "static",
          "allocations": [
            {
              "name": "control",
              "bucketRange": [0, 499],
              "overrides": {
                "ui.theme": "light"
              }
            },
            {
              "name": "dark_mode",
              "bucketRange": [500, 999],
              "overrides": {
                "ui.theme": "dark"
              }
            }
          ],
          "conditions": []
        }
      ]
    },
    {
      "id": "layer_merchant_pricing",
      "unitKey": "merchantId",
      "policies": [
        {
          "id": "policy_merchant_discount",
          "state": "running",
          "kind": "static",
          "allocations": [
            {
              "name": "no_discount",
              "bucketRange": [0, 499],
              "overrides": {
                "pricing.merchantDiscount": 0
              }
            },
            {
              "name": "discount_15",
              "bucketRange": [500, 999],
              "overrides": {
                "pricing.merchantDiscount": 15
              }
            }
          ],
          "conditions": []
        }
      ]
    }
  ]
}
