{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/snowsure-ai/json-schema/snowsure-ai-resort-detail-response-schema.json",
  "title": "ResortDetailResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snowsure-ai-openapi.json#/components/schemas/ResortDetailResponse",
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "source": {
          "type": "string"
        },
        "timestamp": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "data": {
      "allOf": [
        {
          "$ref": "#/$defs/Resort"
        },
        {
          "type": "object",
          "properties": {
            "description": {
              "type": "string",
              "description": "Resort description"
            },
            "forecast": {
              "type": "object",
              "properties": {
                "snowLevel": {
                  "type": "object",
                  "description": "SS-W-2528: where rain turns to snow at this resort, by local day and every 3 hours, from the maps run's blend at the resort's own point: the height where the upper-air wet bulb crosses 1 °C (`method: wbz1`). In shadow until the layer launches (`shadow: true`); served to Pro, or on a resort in My Mountains or a guest's default. Absent when off or before the first run.",
                  "required": [
                    "shadow",
                    "method",
                    "statistic",
                    "runAt",
                    "stale",
                    "validFrom",
                    "stepHours",
                    "timezone",
                    "days",
                    "series"
                  ],
                  "properties": {
                    "shadow": {
                      "type": "boolean",
                      "const": true
                    },
                    "method": {
                      "type": "string",
                      "description": "`wbz0`: the top of the uppermost layer whose wet bulb is above 0 °C."
                    },
                    "statistic": {
                      "type": "string",
                      "description": "How each day's figure is read, in words."
                    },
                    "runAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "stale": {
                      "type": "boolean",
                      "description": "The run is more than 12 hours old (four runs a day): labelled, never hidden."
                    },
                    "validFrom": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "stepHours": {
                      "type": "integer"
                    },
                    "timezone": {
                      "type": "string",
                      "description": "The IANA zone the local days are in."
                    },
                    "days": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "date",
                          "basis",
                          "at",
                          "snowLevelM",
                          "snowLevelFt",
                          "aboveProfile",
                          "snowLevelRangeM",
                          "dry",
                          "steps"
                        ],
                        "properties": {
                          "date": {
                            "type": "string",
                            "format": "date",
                            "description": "The resort's local date."
                          },
                          "basis": {
                            "type": "string",
                            "enum": [
                              "wettest",
                              "midday"
                            ],
                            "description": "Read at the day's wettest 3-hour step, or at the step nearest local noon on a dry day."
                          },
                          "at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "snowLevelM": {
                            "type": [
                              "integer",
                              "null"
                            ],
                            "description": "Metres above sea level. Null when no model reached the point, or when `aboveProfile`."
                          },
                          "snowLevelFt": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "aboveProfile": {
                            "type": "boolean",
                            "description": "No snow anywhere in the column (~5.5 km and up)."
                          },
                          "snowLevelRangeM": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "integer"
                            },
                            "minItems": 2,
                            "maxItems": 2,
                            "description": "[low, high] over the day's steps with a height."
                          },
                          "dry": {
                            "type": "boolean",
                            "description": "No step of the day reaches 0.1 mm."
                          },
                          "steps": {
                            "type": "integer",
                            "description": "3-hour steps of this local day the run covers."
                          }
                        }
                      }
                    },
                    "series": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "t",
                          "m",
                          "aboveProfile",
                          "precipMm"
                        ],
                        "properties": {
                          "t": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "m": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "aboveProfile": {
                            "type": "boolean"
                          },
                          "precipMm": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "The blend's precipitation in the 3 hours to `t`."
                          }
                        }
                      }
                    }
                  }
                },
                "total7dCm": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "SnowSure’s blended total (cm, 1 dp) over the next seven days from the resort’s local today — the free window, the same figure every list publishes as forecast7dCm (SS-W-369)."
                },
                "forecastHorizonDays": {
                  "type": "integer",
                  "enum": [
                    7,
                    14
                  ],
                  "description": "The span of `daily` and of `total14dCm` for THIS caller (SS-W-318, SS-W-378): 14 for an entitled caller, 7 otherwise. Always present, so a consumer never has to infer the window from the row count."
                },
                "forecastPoint": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "description": "The one elevation every forecast figure here was made at (SS-W-2268): metres, feet and the band — the same object on the detail, the lists, the mobile app and every MCP forecast tool. Print this height beside a total; never derive one from the resort's base and summit. null when the snapshot carries no height.",
                  "properties": {
                    "elevationM": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Metres above sea level."
                    },
                    "elevationFt": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "description": "The same height in feet, rounded."
                    },
                    "band": {
                      "type": "string",
                      "enum": [
                        "base",
                        "mid",
                        "summit",
                        "mid-upper"
                      ],
                      "description": "Which reporting height the point is; `mid-upper` only on snapshots written between 2026-10-13 and 2026-10-18."
                    }
                  },
                  "required": [
                    "elevationM",
                    "elevationFt",
                    "band"
                  ]
                },
                "bands": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "description": "The forecast at the resort's three reporting heights, the freezing level by day and the run they came from, as one object (SS-W-2269) — the same block `/api/v1/resorts/{slug}/forecast-bands` returns and the mobile detail and MCP carry. The band the headline was published at (`forecastPoint.band`: the summit, or mid under SS-W-2316) IS the `daily` rows beside it, so its `total7dCm` equals the headline 7-day total by construction; every band is the same blend at the same weights over its own run (SS-W-2333). `horizonDays` is this caller's (7, or 14 with Pro or the resort in My Mountains); `totalCm` spans `horizonDays` and equals `total7dCm` at 7. `runAt` is the snapshot's `captured_at`; `modelRunAt` is null until a provider publishes an init time.",
                  "properties": {
                    "runAt": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "modelRunAt": {
                      "type": "null"
                    },
                    "horizonDays": {
                      "type": "integer",
                      "enum": [
                        7,
                        14
                      ]
                    },
                    "forecastPoint": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "elevationM": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "elevationFt": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "band": {
                          "type": "string",
                          "enum": [
                            "base",
                            "mid",
                            "summit",
                            "mid-upper"
                          ]
                        }
                      }
                    },
                    "bands": {
                      "type": "object",
                      "properties": {
                        "base": {
                          "$ref": "#/$defs/ForecastBandBlock"
                        },
                        "mid": {
                          "$ref": "#/$defs/ForecastBandBlock"
                        },
                        "summit": {
                          "$ref": "#/$defs/ForecastBandBlock"
                        }
                      }
                    },
                    "inversions": {
                      "type": "array",
                      "description": "A band forecasting more snow than the summit over the first seven days, by more than 1 cm and 10% (SS-W-2333). Almost always empty. Each item is `{ band: 'base' | 'mid', bandCm, summitCm, aboveSummitCm }`. The band totals above stand as made; this says the inversion is in the forecast, not a bug.",
                      "items": {
                        "type": "object"
                      }
                    },
                    "freezingLevel": {
                      "type": "object",
                      "properties": {
                        "unit": {
                          "type": "string",
                          "enum": [
                            "m"
                          ]
                        },
                        "reference": {
                          "type": "string",
                          "enum": [
                            "above_sea_level"
                          ]
                        },
                        "baseElevationM": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "summitElevationM": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "daily": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "date": {
                                "type": "string",
                                "format": "date"
                              },
                              "freezingLevelM": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "The day's freezing level, metres above sea level. Null when not known, and null when only a bound is known (see freezingLevelAtOrBelowM)."
                              },
                              "freezingLevelSource": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "derived",
                                  "model",
                                  "estimated",
                                  null
                                ]
                              },
                              "freezingLevelAtOrBelowM": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Set when the reference elevation (the base for derived, the elevation the model was asked at for model) was at or below 0 °C: the freezing level is at or below this many metres above sea level, not at it. Null when the day has a height or nothing (SS-W-2779)."
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "pointElevationM": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Metres. The elevation the headline series (`daily`, `snowsureDaily`, `total14dCm`) was made at: the resort's summit, the top of its highest lift, on data published since 2026-10-18 (SS-W-1995); the mid-upper forecast point, base + 0.67 × vertical, between 2026-10-13 and then (SS-W-1780); the summit, or the base where no summit height is known, before that. Read with `pointBand`."
                },
                "pointBand": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "mid-upper",
                    "summit",
                    "mid",
                    "base",
                    null
                  ],
                  "description": "What `pointElevationM` is on this mountain: `summit` (the top of the highest lift) on data published since 2026-10-18; `mid-upper`, the forecast point, between 2026-10-13 and then; `base` where no summit height is known. The three bands resorts report at are served per band under `snowsureDailyByBand`."
                },
                "total14dCm": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Sum over the forecast horizon the caller is entitled to; equals `total7dCm` when `forecastHorizonDays` is 7 (anonymous and free callers). Read `forecastHorizonDays` before calling this a 14-day total: the name is historical, and kept so a shipped consumer keeps reading a number (SS-W-1460). SnowSure’s blended total (cm, 1 dp) over the window `forecastHorizonDays` states — the sum of `daily[].snowfall`. For a caller without the fortnight that is the seven served days, and the value equals `total7dCm`; the key keeps its name so existing consumers keep reading a number. It can legitimately exceed every per-model total in `models`, because a model that stops before a storm contributes nothing to the days it does not reach. Carries the orographic factor k when `forecastContract.data.orographic.applied` is true, as do `daily[].snowfall` and the per-model totals; `forecastContract.data.orographic.unliftedTotalCm` is the total without it. Null when no model reported."
                },
                "peak": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "description": "Added SS-W-207. Biggest single snowfall day of the SAME window total14dCm covers — the rows in `daily`. Distinct from conditions.forecastPeak, which is the biggest day of the forward 7 only; both carry windowDays, so the two can be told apart. null when no snow is forecast.",
                  "required": [
                    "date",
                    "snowfallCm",
                    "windowDays"
                  ],
                  "properties": {
                    "date": {
                      "type": "string",
                      "format": "date"
                    },
                    "snowfallCm": {
                      "type": "number",
                      "description": "Blended snowfall on that day (cm, 1 dp) — the same value that day carries in `daily`."
                    },
                    "windowDays": {
                      "type": "integer",
                      "description": "How many forward days this peak was the biggest of — the length of `daily`: 14 for an entitled caller, 7 for one without the fortnight (see `forecastHorizonDays`)."
                    }
                  }
                },
                "models": {
                  "type": "object",
                  "description": "Per-model snowfall totals (cm), each summed over only the days that model covers (see modelCoverageDays). A model with no covered day is null, never 0: a model that never reached the window did not forecast no snow. The mobile resort detail’s forecast.total14d.<model> follows the same rule.",
                  "additionalProperties": false,
                  "properties": {
                    "ecmwf": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "gfs": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "gem": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "jma": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "icon": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "meteoFrance": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "metNorway": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "ukmo": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "nbm": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "nam": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "hrrr": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "meteoSwiss": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "icon2i": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  }
                },
                "byModel": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "description": "Only present with `include=byModel`. The per-model DAILY series behind `models` — the seven models the SnowSure blend is made of — keyed by the same model keys. `total` is the identical number `models.<key>` carries, so the series and the headline cannot disagree, including the rule that a model with no covered day is null. `snowfall: null` is a day that model does not cover and is never flattened to 0. Null when SnowSure holds no per-model series for the resort.",
                  "additionalProperties": false,
                  "properties": {
                    "ecmwf": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "total": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Identical to `models.<key>` — this model’s own-horizon total (cm), or null for no coverage."
                        },
                        "forecasts": {
                          "type": "array",
                          "description": "This model’s daily snowfall, in date order.",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "date": {
                                "type": "string",
                                "format": "date"
                              },
                              "snowfall": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Snowfall this model forecasts for the day (cm). Null = the model does not cover the day."
                              }
                            }
                          }
                        }
                      }
                    },
                    "gfs": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "total": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Identical to `models.<key>` — this model’s own-horizon total (cm), or null for no coverage."
                        },
                        "forecasts": {
                          "type": "array",
                          "description": "This model’s daily snowfall, in date order.",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "date": {
                                "type": "string",
                                "format": "date"
                              },
                              "snowfall": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Snowfall this model forecasts for the day (cm). Null = the model does not cover the day."
                              }
                            }
                          }
                        }
                      }
                    },
                    "gem": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "total": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Identical to `models.<key>` — this model’s own-horizon total (cm), or null for no coverage."
                        },
                        "forecasts": {
                          "type": "array",
                          "description": "This model’s daily snowfall, in date order.",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "date": {
                                "type": "string",
                                "format": "date"
                              },
                              "snowfall": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Snowfall this model forecasts for the day (cm). Null = the model does not cover the day."
                              }
                            }
                          }
                        }
                      }
                    },
                    "jma": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "total": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Identical to `models.<key>` — this model’s own-horizon total (cm), or null for no coverage."
                        },
                        "forecasts": {
                          "type": "array",
                          "description": "This model’s daily snowfall, in date order.",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "date": {
                                "type": "string",
                                "format": "date"
                              },
                              "snowfall": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Snowfall this model forecasts for the day (cm). Null = the model does not cover the day."
                              }
                            }
                          }
                        }
                      }
                    },
                    "icon": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "total": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Identical to `models.<key>` — this model’s own-horizon total (cm), or null for no coverage."
                        },
                        "forecasts": {
                          "type": "array",
                          "description": "This model’s daily snowfall, in date order.",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "date": {
                                "type": "string",
                                "format": "date"
                              },
                              "snowfall": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Snowfall this model forecasts for the day (cm). Null = the model does not cover the day."
                              }
                            }
                          }
                        }
                      }
                    },
                    "meteoFrance": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "total": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Identical to `models.<key>` — this model’s own-horizon total (cm), or null for no coverage."
                        },
                        "forecasts": {
                          "type": "array",
                          "description": "This model’s daily snowfall, in date order.",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "date": {
                                "type": "string",
                                "format": "date"
                              },
                              "snowfall": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Snowfall this model forecasts for the day (cm). Null = the model does not cover the day."
                              }
                            }
                          }
                        }
                      }
                    },
                    "metNorway": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "total": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Identical to `models.<key>` — this model’s own-horizon total (cm), or null for no coverage."
                        },
                        "forecasts": {
                          "type": "array",
                          "description": "This model’s daily snowfall, in date order.",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "date": {
                                "type": "string",
                                "format": "date"
                              },
                              "snowfall": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Snowfall this model forecasts for the day (cm). Null = the model does not cover the day."
                              }
                            }
                          }
                        }
                      }
                    },
                    "ukmo": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "total": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Identical to `models.<key>` — this model’s own-horizon total (cm), or null for no coverage."
                        },
                        "forecasts": {
                          "type": "array",
                          "description": "This model’s daily snowfall, in date order.",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "date": {
                                "type": "string",
                                "format": "date"
                              },
                              "snowfall": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Snowfall this model forecasts for the day (cm). Null = the model does not cover the day."
                              }
                            }
                          }
                        }
                      }
                    },
                    "nbm": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "total": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Identical to `models.<key>` — this model’s own-horizon total (cm), or null for no coverage."
                        },
                        "forecasts": {
                          "type": "array",
                          "description": "This model’s daily snowfall, in date order.",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "date": {
                                "type": "string",
                                "format": "date"
                              },
                              "snowfall": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Snowfall this model forecasts for the day (cm). Null = the model does not cover the day."
                              }
                            }
                          }
                        }
                      }
                    },
                    "nam": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "total": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Identical to `models.<key>` — this model’s own-horizon total (cm), or null for no coverage."
                        },
                        "forecasts": {
                          "type": "array",
                          "description": "This model’s daily snowfall, in date order.",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "date": {
                                "type": "string",
                                "format": "date"
                              },
                              "snowfall": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Snowfall this model forecasts for the day (cm). Null = the model does not cover the day."
                              }
                            }
                          }
                        }
                      }
                    },
                    "hrrr": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "total": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Identical to `models.<key>` — this model’s own-horizon total (cm), or null for no coverage."
                        },
                        "forecasts": {
                          "type": "array",
                          "description": "This model’s daily snowfall, in date order.",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "date": {
                                "type": "string",
                                "format": "date"
                              },
                              "snowfall": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Snowfall this model forecasts for the day (cm). Null = the model does not cover the day."
                              }
                            }
                          }
                        }
                      }
                    },
                    "meteoSwiss": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "total": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Identical to `models.<key>` — this model’s own-horizon total (cm), or null for no coverage."
                        },
                        "forecasts": {
                          "type": "array",
                          "description": "This model’s daily snowfall, in date order.",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "date": {
                                "type": "string",
                                "format": "date"
                              },
                              "snowfall": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Snowfall this model forecasts for the day (cm). Null = the model does not cover the day."
                              }
                            }
                          }
                        }
                      }
                    },
                    "icon2i": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "total": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Identical to `models.<key>` — this model’s own-horizon total (cm), or null for no coverage."
                        },
                        "forecasts": {
                          "type": "array",
                          "description": "This model’s daily snowfall, in date order.",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "date": {
                                "type": "string",
                                "format": "date"
                              },
                              "snowfall": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Snowfall this model forecasts for the day (cm). Null = the model does not cover the day."
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "modelHorizonDays": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "description": "Days in the window the per-model totals in `models` are cut to. Null when the per-model daily series is unavailable."
                },
                "modelCoverageDays": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "description": "Days of `modelHorizonDays` each per-model total in `models` actually covers, keyed like `models`; a value is null when the model covers none. A model whose horizon ends early has a shorter total, not a forecast of no snow on the days it does not reach. Null when the per-model daily series is unavailable.",
                  "additionalProperties": false,
                  "properties": {
                    "ecmwf": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "gfs": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "gem": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "jma": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "icon": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "meteoFrance": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "metNorway": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "ukmo": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "nbm": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "nam": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "hrrr": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "meteoSwiss": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "icon2i": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  }
                },
                "comparableWindow": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "description": "Like-for-like model comparison: totals over the first `days` days, which every listed model covers, plus the SnowSure blend over the same days. `confidence.spreadCm`/`meanCm`/`modelCount` are measured over this window. Null when no two models share a day.",
                  "additionalProperties": false,
                  "properties": {
                    "days": {
                      "type": "integer"
                    },
                    "models": {
                      "type": "array",
                      "description": "The models compared, by model key.",
                      "items": {
                        "type": "string",
                        "enum": [
                          "ecmwf",
                          "gfs",
                          "gem",
                          "jma",
                          "icon",
                          "meteoFrance",
                          "metNorway",
                          "ukmo",
                          "nbm",
                          "nam",
                          "hrrr",
                          "meteoSwiss",
                          "icon2i"
                        ]
                      }
                    },
                    "modelTotalsCm": {
                      "type": "object",
                      "description": "Each listed model’s total (cm) over the same `days` days. Keyed by model key; only the models in `models` appear.",
                      "additionalProperties": {
                        "type": "number"
                      },
                      "propertyNames": {
                        "enum": [
                          "ecmwf",
                          "gfs",
                          "gem",
                          "jma",
                          "icon",
                          "meteoFrance",
                          "metNorway",
                          "ukmo",
                          "nbm",
                          "nam",
                          "hrrr",
                          "meteoSwiss",
                          "icon2i"
                        ]
                      }
                    },
                    "ensembleTotalCm": {
                      "type": "number",
                      "description": "The SnowSure blend over those same `days` days (cm)."
                    }
                  }
                },
                "confidence": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "description": "How much the models agree, calibrated by SnowSure’s verified skill for the resort’s region. Null when fewer than two models reported, and (SS-W-2622) when no model forecasts any snow over the window — ten dead feeds reporting 0 are not agreement. Measured over `comparableWindow` when there is one, so a short-horizon model cannot manufacture disagreement; `basis` names the days.",
                  "additionalProperties": false,
                  "properties": {
                    "score": {
                      "type": "number",
                      "description": "0–1; higher is more trustworthy (agreement × regional skill)."
                    },
                    "label": {
                      "type": "string",
                      "enum": [
                        "high",
                        "medium",
                        "low"
                      ]
                    },
                    "spreadCm": {
                      "type": "number",
                      "description": "max − min across the compared model totals (cm)."
                    },
                    "meanCm": {
                      "type": "number",
                      "description": "Mean of the compared model totals (cm)."
                    },
                    "modelCount": {
                      "type": "integer",
                      "description": "How many models the spread and mean are measured over."
                    },
                    "regionSkill": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Verified regional skill folded in (0–1), or null when SnowSure has no verified corpus for the region."
                    },
                    "calibrated": {
                      "type": "boolean",
                      "description": "True when verified regional skill was applied, rather than agreement alone."
                    },
                    "basis": {
                      "type": "string",
                      "description": "One sentence naming what the figure was computed from."
                    },
                    "windowDays": {
                      "type": "integer",
                      "description": "Days the spread/mean/count are measured over. Absent when the payload carries no comparable window."
                    },
                    "windowFromDay": {
                      "type": "integer",
                      "description": "First day (1-based) of the window the spread/mean/count are measured over — 1 here, the day after this window on `confidenceWeek2`. Absent with windowDays (SS-W-2622)."
                    },
                    "windowToDay": {
                      "type": "integer",
                      "description": "Last day (1-based) of that window. Absent with windowDays (SS-W-2622)."
                    }
                  }
                },
                "confidenceWeek2": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "description": "The same measure over the days AFTER the window `confidence` covers (`windowFromDay`–`windowToDay`, chosen by the same rule over the remainder), so a storm only the long-range models see is scored where it is rather than averaged into the first week (SS-W-2622). Null without a blend, when fewer than two models share a day of the remainder, when the first window already runs the whole horizon, or when every model calls those days dry. Gated like `confidence`.",
                  "additionalProperties": false,
                  "properties": {
                    "score": {
                      "type": "number",
                      "description": "0–1; higher is more trustworthy (agreement × regional skill)."
                    },
                    "label": {
                      "type": "string",
                      "enum": [
                        "high",
                        "medium",
                        "low"
                      ]
                    },
                    "spreadCm": {
                      "type": "number",
                      "description": "max − min across the compared model totals (cm)."
                    },
                    "meanCm": {
                      "type": "number",
                      "description": "Mean of the compared model totals (cm)."
                    },
                    "modelCount": {
                      "type": "integer",
                      "description": "How many models the spread and mean are measured over."
                    },
                    "regionSkill": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Verified regional skill folded in (0–1), or null when SnowSure has no verified corpus for the region."
                    },
                    "calibrated": {
                      "type": "boolean",
                      "description": "True when verified regional skill was applied, rather than agreement alone."
                    },
                    "basis": {
                      "type": "string",
                      "description": "One sentence naming what the figure was computed from."
                    },
                    "windowDays": {
                      "type": "integer",
                      "description": "Days the spread/mean/count are measured over. Absent when the payload carries no comparable window."
                    },
                    "windowFromDay": {
                      "type": "integer",
                      "description": "First day (1-based) of the window the spread/mean/count are measured over — 1 here, the day after this window on `confidenceWeek2`. Absent with windowDays (SS-W-2622)."
                    },
                    "windowToDay": {
                      "type": "integer",
                      "description": "Last day (1-based) of that window. Absent with windowDays (SS-W-2622)."
                    }
                  }
                },
                "daily": {
                  "type": "array",
                  "description": "The blended daily forecast, in date order — fourteen rows for an entitled caller, the seven served days otherwise (`forecastHorizonDays`). `snowfall` is the per-day mean over the models covering that day; the envelope fields are present only for days inside the blend.",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "date": {
                        "type": "string",
                        "format": "date"
                      },
                      "tempMax": {
                        "type": "number",
                        "description": "Daily maximum temperature (°C)."
                      },
                      "tempMin": {
                        "type": "number",
                        "description": "Daily minimum temperature (°C)."
                      },
                      "snowfall": {
                        "type": "number",
                        "description": "Blended snowfall for the day (cm) — the mean over the models that cover it."
                      },
                      "snowfallLoCm": {
                        "type": "number",
                        "description": "Lowest snowfall (cm) any contributing model puts on this day. Absent for days outside the blend window — no envelope rather than a fabricated one. Pair with modelCount: at 1 this collapses onto snowfall and is one model’s opinion, not agreement."
                      },
                      "snowfallHiCm": {
                        "type": "number",
                        "description": "Highest snowfall (cm) any contributing model puts on this day. Absent for days outside the blend window."
                      },
                      "modelCount": {
                        "type": "integer",
                        "description": "How many models cover this day — the day’s denominator. Absent for days outside the blend window."
                      },
                      "precip": {
                        "type": "number",
                        "description": "Total precipitation for the day (mm water)."
                      },
                      "precipProb": {
                        "type": "number",
                        "description": "Probability of precipitation for the day (%)."
                      },
                      "wind": {
                        "type": "number",
                        "description": "Daily maximum wind speed (km/h)."
                      },
                      "code": {
                        "type": "integer",
                        "description": "WMO weather interpretation code for the day."
                      },
                      "conditions": {
                        "type": "string",
                        "description": "The day in words, led by the snowfall amount when there is one."
                      },
                      "desc": {
                        "type": "string",
                        "description": "Same sentence as `conditions`; kept for older readers."
                      },
                      "sunrise": {
                        "type": "string",
                        "description": "Local sunrise, ISO 8601. Absent when upstream did not supply it."
                      },
                      "sunset": {
                        "type": "string",
                        "description": "Local sunset, ISO 8601. Absent when upstream did not supply it."
                      }
                    }
                  }
                }
              },
              "description": "SnowSure's multi-model snow forecast. `daily` and `total14dCm` are the blend — the per-day mean over the models covering each day, summed. `models` are the per-model totals, each over only the days that model reaches (`modelCoverageDays`), so they are not comparable with one another until `comparableWindow` cuts them to a shared window. Every model-keyed object here uses the same seven keys: ecmwf, gfs, gem, jma, icon, meteoFrance, metNorway."
            },
            "historic": {
              "type": "object",
              "properties": {
                "fiveYearAverage": {
                  "type": "number",
                  "description": "5-year average seasonal snowfall (cm)"
                },
                "thirtyYearAverage": {
                  "type": "number",
                  "description": "30-year average seasonal snowfall (cm)"
                },
                "trend": {
                  "type": "string",
                  "description": "Historical trend summary"
                }
              }
            },
            "snow": {
              "type": "object",
              "description": "Resolved snow depths and recent accumulation, with the source and tier behind each number.",
              "properties": {
                "depthCm": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Headline depth (cm). Base-band by default. Since SS-W-201 a fresh measured station/operator reading at mid or summit leads over a modelled base; depthElevationBand, depthSource and depthSourceLabel say which. Rank on baseDepthCm, not this."
                },
                "depthIn": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "depth": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Display-formatted depth"
                },
                "depthSource": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "station",
                    "operator",
                    "manual",
                    "resort",
                    "model",
                    null
                  ],
                  "description": "Lane behind depthCm: station (measured network), operator/manual (resort-entered), resort (resort's published report), model (Open-Meteo). Precedence: a fresh station/operator reading leads over a model base; otherwise the base-band lane."
                },
                "depthSourceLabel": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Public name of that lane: DGA, SNOTEL, Snowy Hydro, SLF, GHCN, Resort Reported, Open-Meteo."
                },
                "depthElevationBand": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "base",
                    "mid",
                    "summit",
                    null
                  ],
                  "description": "Band depthCm was measured or modelled at. base unless a measured mid/summit leads."
                },
                "depthElevationM": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Elevation (m) of the depthCm reading: the station's own for a station, else the band's resort elevation. Null when unknown."
                },
                "depthStationName": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Station behind a station-sourced depthCm."
                },
                "baseDepthCm": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Base-band depth (cm) — what 'deepest base' rankings and the SnowSure score use. Equals depthCm unless a measured mid/summit leads."
                },
                "depthVsAvgPct": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "depthCm as % of the stored historical depth average. Published only when depthCm is base-band (the average's band) and no depthDisagreement; see depthVsAvgBasis."
                },
                "depthVsAvgBasis": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "description": "What depthVsAvgPct is computed against, or why it is null.",
                  "properties": {
                    "averageCm": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "averageBand": {
                      "type": "string",
                      "enum": [
                        "base",
                        "mid",
                        "summit"
                      ]
                    },
                    "readingBand": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "base",
                        "mid",
                        "summit",
                        null
                      ]
                    },
                    "readingSource": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "suppressedReason": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "no_depth",
                        "no_average",
                        "average_too_small",
                        "ratio_unbounded",
                        "band_mismatch",
                        "depth_disagreement",
                        null
                      ]
                    }
                  }
                },
                "depthDisagreement": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "description": "Set when a modelled base is under 50% of a measured mid/summit, or a measured base is deeper than the modelled summit. The measured lead is kept and depthVsAvgPct is withheld.",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "model_base_below_half_measured_upper",
                        "measured_base_above_model_summit"
                      ]
                    },
                    "measured": {
                      "type": "object",
                      "properties": {
                        "band": {
                          "type": "string"
                        },
                        "cm": {
                          "type": "number"
                        },
                        "source": {
                          "type": "string"
                        }
                      }
                    },
                    "model": {
                      "type": "object",
                      "properties": {
                        "band": {
                          "type": "string"
                        },
                        "cm": {
                          "type": "number"
                        }
                      }
                    },
                    "ratio": {
                      "type": "number"
                    },
                    "note": {
                      "type": "string"
                    }
                  }
                },
                "reportedDepth": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Operator-reported depth (cm)"
                },
                "modelDepth": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Modelled depth (cm)"
                },
                "depthBySource": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "additionalProperties": true
                },
                "depthSources": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": "string"
                  }
                },
                "last24hCm": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "last24hIn": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "last24h": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "last24hUnknownReason": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "no_snow_data",
                    "pending_after_forecast_snow",
                    null
                  ],
                  "description": "Why last24hCm / last24hIn / last24h.cm are null: no_snow_data (no 24h reading at all) or pending_after_forecast_snow (the lane read 0 cm while 20 cm or more of forecast snow was due in the window). null whenever the 24h carries a figure (SS-W-2134)."
                },
                "last24hSource": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "resortReport": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "description": "When the resort filed its newest report, by the feed's own time (SnoCountry reportDateTime, MtnPowder LastUpdate), never our sync time; its age; and whether it is stale (more than 24 hours old). Null when no feed stated a time. While stale, the resort's 24 h figure is not served as last24hSource 'resort' (SS-W-3207).",
                  "properties": {
                    "reportedAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "ageHours": {
                      "type": "integer"
                    },
                    "stale": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "reportedAt",
                    "ageHours",
                    "stale"
                  ]
                },
                "last48hCm": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "last48hIn": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "last7dCm": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            },
            "currentConditions": {
              "type": [
                "object",
                "null"
              ],
              "description": "Latest weather at the resort, at one height: see elevationM and band.",
              "properties": {
                "temperature": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "conditions": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "windSpeed": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "humidity": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "lastUpdated": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "description": "When the data behind these conditions was captured: the later of the weather snapshot's capture time and its lift-data update time. Never the request time or the time the conditions were resolved, and never a time in the future. Equal to conditions.lastUpdated for the same resort on /api/v1/resorts. null when the snapshot carries neither time. Per-field observation times are on data.conditions."
                },
                "elevationM": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "description": "The height, in metres, this reading was taken at: temperature, wind, humidity and the conditions label all describe this one point. The summit, or the base where the resort has no summit on file. null when the resort has no elevation on file. Compare it with forecast.forecastPoint.elevationM before reading the label against the forecast."
                },
                "band": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "summit",
                    "base",
                    null
                  ],
                  "description": "Which band elevationM is: summit, or base where the resort has no summit on file."
                }
              },
              "additionalProperties": true
            },
            "conditionsByElevation": {
              "type": [
                "object",
                "null"
              ],
              "description": "Conditions split by mountain band. Each band carries its own conditions label (SS-W-3096).",
              "properties": {
                "base": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "conditions": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "This band's own conditions label, e.g. \"Light rain\", \"Moderate wet snow\", \"Heavy snow\", or the sky (\"Overcast\") when under 0.1 mm fell in the past hour. Decided from this band's own temperature and humidity through the wet bulb, never from the model's grid-cell weather code. null where the band has no reading of its own."
                    },
                    "phase": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "snow",
                        "wet_snow",
                        "rain",
                        "dry",
                        null
                      ],
                      "description": "snow: wet bulb at or below 0 °C. wet_snow: above 0 and at or below 1 °C, which the published forecast still counts as snow. rain: above 1 °C. dry: under 0.1 mm in the past hour."
                    },
                    "intensity": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "light",
                        "moderate",
                        "heavy",
                        null
                      ],
                      "description": "From the past hour's water. Rain: under 2.5, under 7.6, then heavy (mm). Snow and wet snow: under 0.5, under 2, then heavy (mm of water). null when dry."
                    },
                    "wetBulbC": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "The wet bulb at this band, °C, from its temperature, humidity and height."
                    }
                  },
                  "additionalProperties": true
                },
                "mid": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "conditions": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "This band's own conditions label, e.g. \"Light rain\", \"Moderate wet snow\", \"Heavy snow\", or the sky (\"Overcast\") when under 0.1 mm fell in the past hour. Decided from this band's own temperature and humidity through the wet bulb, never from the model's grid-cell weather code. null where the band has no reading of its own."
                    },
                    "phase": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "snow",
                        "wet_snow",
                        "rain",
                        "dry",
                        null
                      ],
                      "description": "snow: wet bulb at or below 0 °C. wet_snow: above 0 and at or below 1 °C, which the published forecast still counts as snow. rain: above 1 °C. dry: under 0.1 mm in the past hour."
                    },
                    "intensity": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "light",
                        "moderate",
                        "heavy",
                        null
                      ],
                      "description": "From the past hour's water. Rain: under 2.5, under 7.6, then heavy (mm). Snow and wet snow: under 0.5, under 2, then heavy (mm of water). null when dry."
                    },
                    "wetBulbC": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "The wet bulb at this band, °C, from its temperature, humidity and height."
                    }
                  },
                  "additionalProperties": true
                },
                "summit": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "conditions": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "This band's own conditions label, e.g. \"Light rain\", \"Moderate wet snow\", \"Heavy snow\", or the sky (\"Overcast\") when under 0.1 mm fell in the past hour. Decided from this band's own temperature and humidity through the wet bulb, never from the model's grid-cell weather code. null where the band has no reading of its own."
                    },
                    "phase": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "snow",
                        "wet_snow",
                        "rain",
                        "dry",
                        null
                      ],
                      "description": "snow: wet bulb at or below 0 °C. wet_snow: above 0 and at or below 1 °C, which the published forecast still counts as snow. rain: above 1 °C. dry: under 0.1 mm in the past hour."
                    },
                    "intensity": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "light",
                        "moderate",
                        "heavy",
                        null
                      ],
                      "description": "From the past hour's water. Rain: under 2.5, under 7.6, then heavy (mm). Snow and wet snow: under 0.5, under 2, then heavy (mm of water). null when dry."
                    },
                    "wetBulbC": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "The wet bulb at this band, °C, from its temperature, humidity and height."
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "operations": {
              "type": [
                "object",
                "null"
              ],
              "description": "Lift and terrain opening counts.",
              "properties": {
                "liftsOpen": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "liftsTotal": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "liftPercentOpen": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "runsOpen": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "runsTotal": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "terrainPercentOpen": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "acreageOpen": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "groomedRuns": {
                  "type": [
                    "integer",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            },
            "operatorReport": {
              "type": [
                "object",
                "null"
              ],
              "description": "The operator's own published report, when SnowSure has verified it. Null when no operator report is available.",
              "properties": {
                "verified": {
                  "type": "boolean"
                },
                "source": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "updatedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "baseDepthCm": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "summitDepthCm": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "liftsOpen": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "liftsTotal": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "attributionLabel": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            },
            "temporaryHold": {
              "type": [
                "object",
                "null"
              ],
              "description": "Set when the resort is open for the season but not operating right now (weather hold, closure by the resort, etc.). Null when there is no hold.",
              "properties": {
                "kind": {
                  "type": "string"
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "label": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "since": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "until": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "source": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "note": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            },
            "seasonDates": {
              "type": [
                "object",
                "null"
              ],
              "description": "Season opening/closing rows for display, with an estimate caveat flag.",
              "properties": {
                "rows": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                },
                "showEstimateNote": {
                  "type": "boolean"
                }
              }
            },
            "seasonOpeningDate": {
              "type": [
                "string",
                "null"
              ],
              "format": "date",
              "description": "Effective season opening date."
            },
            "activeOperatingPeriod": {
              "type": [
                "object",
                "null"
              ],
              "description": "Named operating window currently in effect (e.g. a summer glacier or spring session). Null outside such a window.",
              "properties": {
                "label": {
                  "type": "string"
                },
                "accessNote": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            },
            "webcams": {
              "type": "array",
              "description": "Webcams for the resort. The dedicated /webcams endpoint returns the same cameras with absolute thumbnail URLs.",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  },
                  "type": {
                    "type": "string"
                  },
                  "credit": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "thumbnailUrl": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                }
              }
            },
            "gallery": {
              "type": "array",
              "description": "Licensed resort photography.",
              "items": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "credit": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                }
              }
            },
            "booking": {
              "type": "array",
              "description": "Booking and lift-ticket partner links.",
              "items": {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string"
                  },
                  "partner": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  },
                  "note": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                }
              }
            },
            "forecastContract": {
              "type": [
                "object",
                "null"
              ],
              "description": "The versioned forecast envelope — the forecast counterpart to the conditions contract, self-describing via its own `schema` field (https://www.snowsure.ai/.well-known/schemas/resort-forecast-v1.json). `schemaVersion` versions this payload independently of `info.version`. Since 1.4.0, `data.orographic` says whether its snowfall figures carry the orographic factor k (the extra precipitation a mountain wrings out at the forecast point's height, applied since 14 Oct 2026), k's value and source, and the total without it. Since 1.5.0, each `data.daily[]` row may carry `freezingLevelM` (metres above sea level, null when not known) and `freezingLevelSource`.",
              "properties": {
                "schemaVersion": {
                  "type": "string"
                },
                "schema": {
                  "type": "string",
                  "format": "uri"
                },
                "meta": {
                  "type": "object",
                  "additionalProperties": true
                },
                "data": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            },
            "statusLabel": {
              "type": [
                "string",
                "null"
              ],
              "description": "Human-readable status sentence, e.g. \"Projected to open November 15, 2026\" or \"Open for the season · Closed today\". Null when the plain `status` needs no qualification."
            },
            "operatingToday": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "Whether the resort is actually operating today. Distinct from `isOpen` (in-season): a resort can be open for the season but not operating today. Null when unknown."
            },
            "recommendableToday": {
              "type": "boolean",
              "description": "Whether SnowSure would recommend skiing here today — requires both operating status and adequate conditions."
            },
            "apresSki": {
              "type": [
                "object",
                "null"
              ],
              "description": "Après-ski highlights.",
              "properties": {
                "top": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            }
          }
        }
      ]
    }
  },
  "$defs": {
    "ForecastBandBlock": {
      "type": [
        "object",
        "null"
      ],
      "description": "One reporting height's forecast (SS-W-2269).",
      "properties": {
        "band": {
          "type": "string",
          "enum": [
            "base",
            "mid",
            "summit"
          ]
        },
        "elevationM": {
          "type": [
            "number",
            "null"
          ],
          "description": "Metres above sea level the band's runs were made at."
        },
        "elevationFt": {
          "type": [
            "integer",
            "null"
          ]
        },
        "total7dCm": {
          "type": [
            "number",
            "null"
          ],
          "description": "Over the first seven local days, 0.1 cm; null when the band has no series."
        },
        "totalCm": {
          "type": [
            "number",
            "null"
          ],
          "description": "Over `horizonDays` — the week for a free reader, the fortnight with SnowSure Pro or the resort in My Mountains; equals `total7dCm` when `horizonDays` is 7."
        },
        "daily": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "date": {
                "type": "string",
                "format": "date"
              },
              "snowCm": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "null on a day no model covers, never 0."
              }
            }
          }
        }
      }
    },
    "ForecastBandWeek": {
      "type": [
        "object",
        "null"
      ],
      "description": "One reporting height's free seven days on a list row (SS-W-2343). null when the band has no run (fewer than two models, or no height for it) — never 0.",
      "properties": {
        "band": {
          "type": "string",
          "enum": [
            "base",
            "mid",
            "summit"
          ]
        },
        "elevationM": {
          "type": [
            "number",
            "null"
          ],
          "description": "Metres above sea level the band's run was made at."
        },
        "elevationFt": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The same height in feet, rounded."
        },
        "total7dCm": {
          "type": "number",
          "description": "Forward seven-day total (cm, 1 dp) of this band's per-height run, from the resort's local today with Today starting at 6am — the same figure `/api/v1/resorts/{slug}` serves as `forecast.bands.bands.<band>.total7dCm`. 0 is a forecast of no snow."
        }
      },
      "required": [
        "band",
        "elevationM",
        "elevationFt",
        "total7dCm"
      ]
    },
    "Resort": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Resort name"
        },
        "slug": {
          "type": "string",
          "description": "URL-friendly identifier"
        },
        "aliases": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Alternate slugs that resolve to this resort on /api/v1/resorts/{slug}. The list emits only canonical slugs, so match against slug AND aliases before concluding a resort is absent."
        },
        "country": {
          "type": "string",
          "description": "Country where the resort is located"
        },
        "region": {
          "type": "string",
          "description": "Geographic region"
        },
        "coordinates": {
          "type": "object",
          "properties": {
            "lat": {
              "type": "number",
              "description": "Latitude"
            },
            "lng": {
              "type": "number",
              "description": "Longitude"
            }
          }
        },
        "elevation": {
          "type": "object",
          "properties": {
            "summit": {
              "type": "integer",
              "description": "Summit elevation in meters"
            },
            "base": {
              "type": "integer",
              "description": "Base elevation in meters"
            },
            "vertical": {
              "type": "integer",
              "description": "Vertical drop in meters"
            }
          }
        },
        "stats": {
          "type": "object",
          "properties": {
            "runs": {
              "type": "integer",
              "description": "Number of ski runs"
            },
            "lifts": {
              "type": "integer",
              "description": "Number of lifts"
            },
            "skiableAcres": {
              "type": "integer",
              "description": "Skiable terrain in acres"
            },
            "pisteKm": {
              "type": [
                "number",
                "null"
              ],
              "description": "Total marked piste length in km, as the resort publishes it. A length, never an area. Null when unknown. Detail response only."
            },
            "annualSnowfall": {
              "type": "string",
              "description": "Average annual snowfall"
            }
          }
        },
        "conditions": {
          "type": "object",
          "properties": {
            "snowDepthCm": {
              "type": "number",
              "description": "Current BASE-band snow depth in centimeters — the value sort=depth ranks on. A measured mid/summit headline is on /resorts/{slug} only, so the board stays like-for-like."
            },
            "snowDepthElevationBand": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "base",
                null
              ],
              "description": "Always base when snowDepthCm is set (SS-W-201 ranking rule)."
            },
            "snowfall24hCm": {
              "type": [
                "number",
                "null"
              ],
              "description": "Snowfall in last 24 hours (cm). null when it is not yet known; snowfall24hUnknownReason says why. A missing reading is never published as 0 (SS-W-2134)."
            },
            "snowfall24hUnknownReason": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "no_snow_data",
                "pending_after_forecast_snow",
                null
              ],
              "description": "Why snowfall24hCm is null: no_snow_data (the row carries no 24h reading at all) or pending_after_forecast_snow (the lane read 0 cm while 20 cm or more of forecast snow was due in the window, so the day has not filled in yet). null whenever snowfall24hCm carries a figure (SS-W-2134)."
            },
            "snowfall7dCm": {
              "type": "number",
              "description": "Snowfall in the PAST 7 days (cm). Not to be confused with forecast7dCm, which is the week ahead."
            },
            "forecastPoint": {
              "type": [
                "object",
                "null"
              ],
              "description": "The one elevation every forecast figure here was made at (SS-W-2268): metres, feet and the band — the same object on the detail, the lists, the mobile app and every MCP forecast tool. Print this height beside a total; never derive one from the resort's base and summit. null when the snapshot carries no height.",
              "properties": {
                "elevationM": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Metres above sea level."
                },
                "elevationFt": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "description": "The same height in feet, rounded."
                },
                "band": {
                  "type": "string",
                  "enum": [
                    "base",
                    "mid",
                    "summit",
                    "mid-upper"
                  ],
                  "description": "Which reporting height the point is; `mid-upper` only on snapshots written between 2026-10-13 and 2026-10-18."
                }
              },
              "required": [
                "elevationM",
                "elevationFt",
                "band"
              ]
            },
            "forecast7dBands": {
              "type": [
                "object",
                "null"
              ],
              "description": "The free seven days at each reporting height (SS-W-2343), with the elevation each run was made at. Rain at the base can be snow at the summit on the same day, so a single forward-week number hides the difference that matters; print the height beside each figure. Each band is the per-height run's own week (not the headline blend), so under an ML-promoted headline the summit can differ from `forecast7dCm`. Not gated: seven days is the free window. null when the row carries no band (a resort with no runs, or a snapshot written before the columns).",
              "properties": {
                "base": {
                  "$ref": "#/$defs/ForecastBandWeek"
                },
                "mid": {
                  "$ref": "#/$defs/ForecastBandWeek"
                },
                "summit": {
                  "$ref": "#/$defs/ForecastBandWeek"
                }
              },
              "required": [
                "base",
                "mid",
                "summit"
              ]
            },
            "forecast7dCm": {
              "type": [
                "number",
                "null"
              ],
              "description": "FORWARD 7-day blended snowfall forecast (cm) — the industry comparison window, and the field sort=forecast7d ranks on. Equals the sum of the first 7 daily rows from the forecast endpoint, to 0.1cm. null (never 0) when the blend has no data for this resort; 0 means a forecast of no snow."
            },
            "forecastPeak": {
              "type": [
                "object",
                "null"
              ],
              "description": "The single biggest snowfall day inside the forward 7-day window — forecast7dCm's window, NOT forecast14dCm's. null when no snow is forecast. Since SS-W-207 the object carries windowDays so the pair can never be read against the wrong total.",
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date"
                },
                "cm": {
                  "type": "number"
                },
                "windowDays": {
                  "type": "integer",
                  "description": "How many forward days this peak was the biggest of. Always 7 on this object. For the biggest day of a 14-day total, read forecast.peak on /api/v1/resorts/{slug}, which is chosen from the daily rows that endpoint serves and carries its own windowDays."
                }
              }
            },
            "forecastHorizonDays": {
              "type": "integer",
              "enum": [
                7,
                14
              ],
              "description": "How many forward days `forecast14dCm` covers for THIS caller (SS-W-318, SS-W-378). 14 for an entitled caller — SnowSure Pro, or a resort in a signed-in reader's My Mountains; 7 otherwise, and then `forecast14dCm` holds the seven-day total, the same figure as `forecast7dCm`. Read this before naming the number: a seven-day total must never be labelled as a fortnight."
            },
            "forecast14dCm": {
              "type": [
                "number",
                "null"
              ],
              "description": "Sum over the forecast horizon the caller is entitled to; equals `forecast7dCm` when `forecastHorizonDays` is 7 (anonymous and free callers). Read `forecastHorizonDays` before calling this a 14-day total (SS-W-1460). The blended forecast total (cm, 1 dp) over the window `forecastHorizonDays` states: the forward 14 days for an entitled caller, or the free seven days — equal to `forecast7dCm` — for one without the fortnight. The key keeps its name so existing consumers keep reading a number. For an entitled caller it is the same value as forecast.total14dCm on /api/v1/resorts/{slug}. A per-day blend over the models covering each day, so it can sit outside the per-model totals, which each cover only their own model's horizon. null (never 0) when the blend has no data."
            },
            "temperature": {
              "type": "number",
              "description": "Current temperature in Celsius"
            },
            "weatherConditions": {
              "type": "string",
              "description": "Current weather description"
            }
          }
        },
        "snowSure": {
          "type": "object",
          "properties": {
            "score": {
              "type": "integer",
              "description": "SnowSure Score (0-100)",
              "minimum": 0,
              "maximum": 100
            },
            "rating": {
              "type": [
                "string",
                "null"
              ],
              "description": "Rating label for `score`, from SnowSure's score bands. null when the resort is unscored, or when the rating is withheld because the resort is not operating today.",
              "enum": [
                "Outstanding",
                "Superb",
                "Excellent",
                "Good",
                "Solid",
                "Fair",
                "Limited",
                null
              ]
            },
            "ratingColor": {
              "type": [
                "string",
                "null"
              ],
              "description": "Hex colour of `rating`'s band, from the same SnowSure score bands as the label. Every band has its own colour: Outstanding #0ea5e9 · Superb #22c55e · Excellent #10b981 · Good #14b8a6 · Solid #0d9488 · Fair #f59e0b · Limited #94a3b8 (each is at least 4.5:1 against a slate-900 #0f172a background). Render this colour rather than mapping labels to colours yourself, so a change to the bands reaches every partner at once. null exactly when `rating` is null.",
              "enum": [
                "#0ea5e9",
                "#22c55e",
                "#10b981",
                "#14b8a6",
                "#0d9488",
                "#f59e0b",
                "#94a3b8",
                null
              ]
            },
            "tagline": {
              "type": [
                "string",
                "null"
              ],
              "description": "SnowSure's published condition summary. On /api/v1/resorts it is the same value as snowSure.tagline on /api/v1/resorts/{slug}, and null when the detail publishes no snowSure block (closed, pre-season or post-season)."
            },
            "trend": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "improving",
                "stable",
                "declining",
                null
              ],
              "description": "SnowSure's published trend. On /api/v1/resorts it is the same value as snowSure.trend on /api/v1/resorts/{slug}; null when that detail block is null."
            }
          }
        },
        "links": {
          "type": "object",
          "description": "Official resort links. Every field except `snowsure` is nullable: a value is only returned when it validates as a real URL, so absence means \"not known\" rather than \"not applicable\". Coverage of 445 resorts as of 2026-07-28 — website 429, instagram 364, trailMap 429, webcamPage 413, trailMapPdf 10.",
          "properties": {
            "website": {
              "type": [
                "string",
                "null"
              ],
              "format": "uri",
              "description": "Resort official website"
            },
            "instagram": {
              "type": [
                "string",
                "null"
              ],
              "format": "uri",
              "description": "Canonical profile URL, always in the form https://instagram.com/<handle> regardless of how it is stored"
            },
            "trailMap": {
              "type": [
                "string",
                "null"
              ],
              "format": "uri",
              "description": "Trail map image or page URL"
            },
            "trailMapPdf": {
              "type": [
                "string",
                "null"
              ],
              "format": "uri",
              "description": "Trail map PDF, when one is published separately from trailMap"
            },
            "trailMaps": {
              "type": [
                "array",
                "null"
              ],
              "description": "Additional named trail maps, when the resort publishes more than one",
              "items": {
                "type": "object",
                "properties": {
                  "title": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string",
                    "format": "uri"
                  }
                }
              }
            },
            "webcamPage": {
              "type": [
                "string",
                "null"
              ],
              "format": "uri",
              "description": "Resort webcam landing page"
            },
            "snowsure": {
              "type": "string",
              "format": "uri",
              "description": "SnowSure resort page URL"
            }
          }
        },
        "apresSki": {
          "type": "object",
          "description": "Après-ski editorial. Generated prose, not a measured fact — deliberately separate from `links` and from `stats`.",
          "properties": {
            "top": {
              "type": [
                "string",
                "null"
              ],
              "description": "Leading après-ski venue and a short description of it"
            }
          }
        },
        "heroImage": {
          "type": "string",
          "format": "uri",
          "description": "Resort hero image URL"
        },
        "isOpen": {
          "type": "boolean",
          "description": "True if the resort is currently open for skiing today. Year-round glacier resorts (Matterhorn Ski Paradise, Saas-Fee, Hintertux, Cervinia) always return true regardless of seasonClosingDate."
        },
        "status": {
          "type": [
            "string",
            "null"
          ],
          "description": "Editorial status from CMS: typically 'Live', 'Active', 'Data Collection', or 'Archived'. Anything other than the first three is treated as closed."
        },
        "seasonClosingDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date",
          "description": "Scheduled or operator-confirmed end-of-season date (YYYY-MM-DD). Resorts past this date are treated as closed unless flagged as year-round."
        },
        "closure": {
          "type": [
            "object",
            "null"
          ],
          "description": "Closure metadata, null when the resort is open. /api/v1/resorts serves the same object as /api/v1/resorts/{slug}: isClosed true for a closed season, false (with a reason and label) for a resort that is not open but not season-ended.",
          "properties": {
            "isClosed": {
              "type": "boolean"
            },
            "reason": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "editorial",
                "season-end",
                "pre-season",
                "out-of-season",
                "not-operating",
                "unknown",
                null
              ],
              "description": "Why the resort is not open. 'season-end' = past seasonClosingDate; 'pre-season' = before its opening; 'editorial' = status not operational; 'out-of-season' = hemisphere off-season; 'not-operating' = in its window but not operating; 'unknown' = no season dates and no operating signal."
            },
            "label": {
              "type": [
                "string",
                "null"
              ],
              "description": "Human-readable close label, e.g. 'Closed for the season since May 3'."
            }
          }
        }
      }
    }
  }
}