← Files Climate Preference CompareARCHIVED FILE

EXAMPLE.json

1.06 KB · Nov 3, 2026 · 12:12 UTC

↓ Download file

{
  "input": {
    "minTemperature": 18,
    "maxTemperature": 28,
    "maxRainfall": 100,
    "observations": [
      {
        "id": "OptionA",
        "month": 1,
        "temperature": 25,
        "rainfall": 50
      },
      {
        "id": "OptionA",
        "month": 2,
        "temperature": 30,
        "rainfall": 140
      }
    ]
  },
  "expected": {
    "summary": "1 of 2 supplied option-months match your ranges.",
    "rows": [
      {
        "optionRef": "OptionA",
        "month": 1,
        "temperature": 25,
        "rainfall": 50,
        "temperatureDeviation": 0,
        "rainfallExcess": 0,
        "matchesPreference": true
      },
      {
        "optionRef": "OptionA",
        "month": 2,
        "temperature": 30,
        "rainfall": 140,
        "temperatureDeviation": 2,
        "rainfallExcess": 40,
        "matchesPreference": false
      }
    ],
    "warnings": [
      "Monthly figures are supplied, unverified and may use different source periods. Missing months are not filled; this is not a forecast or health assessment."
    ]
  }
}

SHA-256: d671b4e2dee5f8cb99dbcb9100ffa550908fa7d9e7d8f00c4c1fcbca242cb4c6