{
  "version": "2024-06-01T00:00:00.000Z",
  "orgId": "org_test",
  "projectId": "proj_test",
  "env": "production",
  "hashing": {
    "unitKey": "userId",
    "bucketCount": 1000
  },
  "parameters": [
    {
      "key": "ui.primaryColor",
      "type": "string",
      "default": "#000000",
      "layerId": "layer_ui",
      "namespace": "ui"
    },
    {
      "key": "pricing.discount",
      "type": "number",
      "default": 0,
      "layerId": "layer_pricing",
      "namespace": "pricing"
    },
    {
      "key": "feature.flag",
      "type": "boolean",
      "default": false,
      "layerId": "layer_naïve_日本_🎉",
      "namespace": "feature"
    }
  ],
  "layers": [
    {
      "id": "layer_ui",
      "policies": [
        {
          "id": "policy_ui",
          "state": "running",
          "kind": "static",
          "allocations": [
            {
              "id": "alloc_ui_control",
              "name": "control",
              "bucketRange": [0, 499],
              "overrides": { "ui.primaryColor": "#0000FF" }
            },
            {
              "id": "alloc_ui_treatment",
              "name": "treatment",
              "bucketRange": [500, 999],
              "overrides": { "ui.primaryColor": "#FF0000" }
            }
          ],
          "conditions": []
        }
      ]
    },
    {
      "id": "layer_pricing",
      "policies": [
        {
          "id": "policy_pricing",
          "state": "running",
          "kind": "static",
          "allocations": [
            {
              "id": "alloc_no_discount",
              "name": "no_discount",
              "bucketRange": [0, 599],
              "overrides": { "pricing.discount": 0 }
            },
            {
              "id": "alloc_discount",
              "name": "discount_10",
              "bucketRange": [600, 999],
              "overrides": { "pricing.discount": 10 }
            }
          ],
          "conditions": []
        }
      ]
    },
    {
      "id": "layer_naïve_日本_🎉",
      "policies": [
        {
          "id": "policy_feature",
          "state": "running",
          "kind": "static",
          "allocations": [
            {
              "id": "alloc_feature_off",
              "name": "off",
              "bucketRange": [0, 499],
              "overrides": { "feature.flag": false }
            },
            {
              "id": "alloc_feature_on",
              "name": "on",
              "bucketRange": [500, 999],
              "overrides": { "feature.flag": true }
            }
          ],
          "conditions": []
        }
      ]
    }
  ]
}
