{
  "name": "Arbor Analytics quote calculator",
  "currency": "AUD",
  "tax": {
    "label": "GST",
    "rate": 0.1,
    "pricingDisplay": "Estimates are shown ex GST with an inc GST comparison in the calculator UI."
  },
  "notes": [
    "Indicative only; final pricing depends on site conditions, scope, and council area.",
    "CAD drawings are quoted separately.",
    "Not sure selections require a manual quote."
  ],
  "fields": [
    {
      "key": "service",
      "label": "Job type",
      "type": "radio",
      "requiredForEstimate": true,
      "options": [
        {
          "label": "Tree health & safety assessment",
          "value": "health"
        },
        {
          "label": "Preliminary assessment",
          "value": "preliminary"
        },
        {
          "label": "Impact assessment",
          "value": "impact"
        },
        {
          "label": "Tree Protection Management Plan (TPMP)",
          "value": "tpmp"
        },
        {
          "label": "Council permit report (Pruning)",
          "value": "permit-pruning"
        },
        {
          "label": "Council permit report (Removal)",
          "value": "permit-removal"
        },
        {
          "label": "Not sure",
          "value": "unknown",
          "manualQuoteRequired": true
        }
      ]
    },
    {
      "key": "turnaround",
      "label": "Turnaround",
      "type": "radio",
      "options": [
        {
          "label": "Standard (2-5 days)",
          "value": "standard"
        },
        {
          "label": "Priority (48 hours)",
          "value": "priority"
        }
      ]
    },
    {
      "key": "trees",
      "label": "Number of trees",
      "type": "radio",
      "requiredForEstimate": true,
      "options": [
        {
          "label": "1",
          "value": "1"
        },
        {
          "label": "2-5",
          "value": "2-5"
        },
        {
          "label": "6-10",
          "value": "6-10"
        },
        {
          "label": "11-20",
          "value": "11-20"
        },
        {
          "label": "20+",
          "value": "20+"
        }
      ]
    },
    {
      "key": "risk",
      "label": "Risk assessment",
      "type": "checkbox",
      "note": "Included for Tree health & safety assessment."
    },
    {
      "key": "cad",
      "label": "CAD drawings",
      "type": "checkbox",
      "note": "Quoted separately."
    }
  ],
  "pricing": {
    "basePrices": {
      "permit-pruning": {
        "1": [
          550,
          550
        ],
        "2-5": [
          650,
          700
        ],
        "6-10": [
          700,
          850
        ],
        "11-20": [
          900,
          1100
        ],
        "20+": [
          1100,
          1350
        ]
      },
      "permit-removal": {
        "1": [
          600,
          700
        ],
        "2-5": [
          800,
          950
        ],
        "6-10": [
          950,
          1150
        ],
        "11-20": [
          1250,
          1550
        ],
        "20+": [
          1750,
          2000
        ]
      },
      "health": {
        "1": [
          700,
          700
        ],
        "2-5": [
          800,
          900
        ],
        "6-10": [
          900,
          1150
        ],
        "11-20": [
          1150,
          1350
        ],
        "20+": [
          1400,
          1650
        ]
      },
      "preliminary": {
        "1": [
          850,
          850
        ],
        "2-5": [
          950,
          1050
        ],
        "6-10": [
          1050,
          1250
        ],
        "11-20": [
          1250,
          1400
        ],
        "20+": [
          1400,
          1600
        ]
      },
      "impact": {
        "1": [
          850,
          850
        ],
        "2-5": [
          900,
          980
        ],
        "6-10": [
          980,
          1200
        ],
        "11-20": [
          1200,
          1450
        ],
        "20+": [
          1450,
          1750
        ]
      },
      "tpmp": {
        "1": [
          900,
          950
        ],
        "2-5": [
          1050,
          1250
        ],
        "6-10": [
          1250,
          1500
        ],
        "11-20": [
          1500,
          1800
        ],
        "20+": [
          1800,
          2200
        ]
      }
    },
    "priorityAddons": {
      "1": [
        250,
        250
      ],
      "2-5": [
        300,
        450
      ],
      "6-10": [
        450,
        550
      ],
      "11-20": [
        650,
        750
      ],
      "20+": [
        850,
        1000
      ]
    },
    "riskAddons": {
      "1": [
        50,
        50
      ],
      "2-5": [
        100,
        150
      ],
      "6-10": [
        200,
        250
      ],
      "11-20": [
        300,
        400
      ],
      "20+": [
        450,
        550
      ]
    },
    "manualQuoteServices": [
      "unknown"
    ]
  },
  "calculationRules": [
    "Select a service and number of trees to calculate an estimate.",
    "Start with the base price range for the selected service and number of trees.",
    "If Priority (48 hours) is selected, add the priority add-on range for the selected number of trees.",
    "If Risk assessment is selected, add the risk assessment add-on range unless the selected service is Tree health & safety assessment, where risk assessment is included.",
    "If CAD drawings is selected, show CAD drawings as quoted separately and do not add a fixed amount.",
    "If Not sure is selected, request a manual quote instead of showing an estimate."
  ],
  "examples": [
    {
      "label": "1 tree pruning permit report, standard turnaround, no add-ons",
      "selection": {
        "service": "permit-pruning",
        "turnaround": "standard",
        "trees": "1",
        "risk": false,
        "cad": false
      },
      "estimate": {
        "range": [
          550,
          550
        ],
        "breakdownItems": [
          {
            "label": "Base: Council permit report (Pruning)",
            "range": [
              550,
              550
            ]
          }
        ]
      }
    },
    {
      "label": "2-5 tree removal permit report, priority turnaround, risk assessment",
      "selection": {
        "service": "permit-removal",
        "turnaround": "priority",
        "trees": "2-5",
        "risk": true,
        "cad": false
      },
      "estimate": {
        "range": [
          1200,
          1550
        ],
        "breakdownItems": [
          {
            "label": "Base: Council permit report (Removal)",
            "range": [
              800,
              950
            ]
          },
          {
            "label": "Priority (48 hours)",
            "range": [
              300,
              450
            ]
          },
          {
            "label": "Risk assessment",
            "range": [
              100,
              150
            ]
          }
        ]
      }
    },
    {
      "label": "1 tree health and safety assessment, standard turnaround",
      "selection": {
        "service": "health",
        "turnaround": "standard",
        "trees": "1",
        "risk": true,
        "cad": false
      },
      "estimate": {
        "range": [
          700,
          700
        ],
        "breakdownItems": [
          {
            "label": "Base: Tree health & safety assessment",
            "range": [
              700,
              700
            ]
          },
          {
            "label": "Risk assessment",
            "note": "Included"
          }
        ]
      }
    },
    {
      "label": "6-10 tree impact assessment, priority turnaround, CAD drawings",
      "selection": {
        "service": "impact",
        "turnaround": "priority",
        "trees": "6-10",
        "risk": false,
        "cad": true
      },
      "estimate": {
        "range": [
          1430,
          1750
        ],
        "breakdownItems": [
          {
            "label": "Base: Impact assessment",
            "range": [
              980,
              1200
            ]
          },
          {
            "label": "Priority (48 hours)",
            "range": [
              450,
              550
            ]
          },
          {
            "label": "CAD drawings",
            "note": "Quoted separately"
          }
        ]
      }
    }
  ]
}