{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.demiton.io/registers/platform_weather/v2.json",
  "title": "platform_weather contract v2",
  "type": "object",
  "required": [
    "geohash",
    "jurisdiction_code",
    "observed_at",
    "region_code",
    "source_dataset",
    "temperature_c"
  ],
  "properties": {
    "geohash": {
      "type": "string",
      "description": "BOM 6-character region identity; the shelf's geographic key and the `geographic_area` create-anchor.",
      "x-demiton-requiredness": "required"
    },
    "conditions": {
      "type": "string",
      "description": "Free-text sky/condition summary.",
      "x-demiton-requiredness": "optional"
    },
    "observed_at": {
      "type": "string",
      "description": "When the reading was taken; the event time and freshness ordering.",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "ISO 8601",
      "format": "date-time",
      "x-demiton-type": "datetime"
    },
    "region_code": {
      "type": "jurisdiction",
      "description": "The required REGION_CODE axis; resolves the fact's region and its partition bucket.",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "AU state/territory code (e.g. `QLD`, `NSW`)"
    },
    "region_name": {
      "type": "string",
      "description": "Human-readable region label to accompany `region_code`.",
      "x-demiton-requiredness": "optional"
    },
    "feels_like_c": {
      "type": "number",
      "description": "Apparent temperature.",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "°C"
    },
    "humidity_pct": {
      "type": "number",
      "description": "Relative humidity.",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "%"
    },
    "station_name": {
      "type": "string",
      "description": "BOM station label for the observation.",
      "x-demiton-requiredness": "optional"
    },
    "temperature_c": {
      "type": "number",
      "description": "Air temperature — the reading that makes a weather observation useful.",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "°C"
    },
    "source_dataset": {
      "type": "string",
      "description": "Producer identity, labels the fact origin.",
      "x-demiton-requiredness": "required"
    },
    "wind_direction": {
      "type": "string",
      "description": "Wind direction as BOM publishes it.",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "compass point"
    },
    "wind_speed_kmh": {
      "type": "number",
      "description": "Wind speed at the station.",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "km/h"
    },
    "rain_probability": {
      "type": "number",
      "description": "Probability of precipitation.",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "%"
    },
    "jurisdiction_code": {
      "type": "jurisdiction",
      "description": "Jurisdiction the observation is published for; drives the partition bucket.",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "ISO 3166-2 AU state code"
    },
    "rain_since_9am_mm": {
      "type": "number",
      "description": "Rainfall since 9am local — BOM's own rainfall convention.",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "mm"
    }
  },
  "x-demiton-register-type": "platform_weather",
  "x-demiton-contract-version": "2.0.2",
  "x-demiton-store": "platform",
  "x-demiton-axes": [
    {
      "axis": "region_code",
      "requirement": "required",
      "role": "context"
    }
  ],
  "x-demiton-measures": [],
  "x-demiton-provenance": {
    "standards": [
      {
        "code": "GDA2020",
        "title": "Geocentric Datum of Australia 2020",
        "access": "public_summary",
        "region": "Australia",
        "edition": "GDA2020 (Determination 2017)",
        "checked_on": "2026-09-14"
      }
    ]
  },
  "description": "Current Bureau of Meteorology observations by region.",
  "x-demiton-contract-url": "https://docs.demiton.io/registers/platform_weather/",
  "x-demiton-register-catalog": "https://docs.demiton.io/concepts/register-catalog"
}