changedOutput schema / properties / resorts / items / properties / score / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "components": {
- "additionalProperties": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "date": {
- "description": "YYYY-MM-DD the score is for.",
- "type": "string"
- },
- "rating": {
- "anyOf": [
- {
- "enum": [
- "great",
- "good",
- "fair",
- "poor"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "score": {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- "scoredBy": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Scorer version, e.g. `score-v1`."
- }
- },
- "required": [
- "date",
- "score",
- "rating",
- "components",
- "scoredBy"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "components": {
+ "additionalProperties": false,
+ "properties": {
+ "depthVsNormal": {
+ "additionalProperties": false,
+ "description": "30: snowpack against the station's 1991–2020 median (SWE); without a normal, base depth on a fixed scale capped at 27.",
+ "properties": {
+ "basis": {
+ "description": "One line saying what the points rest on, quotable as is.",
+ "type": "string"
+ },
+ "max": {
+ "description": "The component's weight; the five maximums add to 100.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "points": {
+ "description": "Points earned, one decimal.",
+ "minimum": 0,
+ "type": "number"
+ },
+ "source": {
+ "enum": [
+ "snotel",
+ "model",
+ "operator",
+ "profile",
+ "derived",
+ "none"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "points",
+ "max",
+ "basis",
+ "source"
+ ],
+ "type": "object"
+ },
+ "forecast7d": {
+ "additionalProperties": false,
+ "description": "20: the blended next-7-day forecast total (20 in is full marks).",
+ "properties": {
+ "basis": {
+ "description": "One line saying what the points rest on, quotable as is.",
+ "type": "string"
+ },
+ "max": {
+ "description": "The component's weight; the five maximums add to 100.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "points": {
+ "description": "Points earned, one decimal.",
+ "minimum": 0,
+ "type": "number"
+ },
+ "source": {
+ "enum": [
+ "snotel",
+ "model",
+ "operator",
+ "profile",
+ "derived",
+ "none"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "points",
+ "max",
+ "basis",
+ "source"
+ ],
+ "type": "object"
+ },
+ "operatingStatus": {
+ "additionalProperties": false,
+ "description": "10: OPEN full, PRE_SEASON and CLOSED_TODAY half, OFF_SEASON and UNKNOWN none.",
+ "properties": {
+ "basis": {
+ "description": "One line saying what the points rest on, quotable as is.",
+ "type": "string"
+ },
+ "max": {
+ "description": "The component's weight; the five maximums add to 100.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "points": {
+ "description": "Points earned, one decimal.",
+ "minimum": 0,
+ "type": "number"
+ },
+ "source": {
+ "enum": [
+ "snotel",
+ "model",
+ "operator",
+ "profile",
+ "derived",
+ "none"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "points",
+ "max",
+ "basis",
+ "source"
+ ],
+ "type": "object"
+ },
+ "recentSnow7d": {
+ "additionalProperties": false,
+ "description": "25: measured or modelled new snow over the last 7 days (24 in is full marks).",
+ "properties": {
+ "basis": {
+ "description": "One line saying what the points rest on, quotable as is.",
+ "type": "string"
+ },
+ "max": {
+ "description": "The component's weight; the five maximums add to 100.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "points": {
+ "description": "Points earned, one decimal.",
+ "minimum": 0,
+ "type": "number"
+ },
+ "source": {
+ "enum": [
+ "snotel",
+ "model",
+ "operator",
+ "profile",
+ "derived",
+ "none"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "points",
+ "max",
+ "basis",
+ "source"
+ ],
+ "type": "object"
+ },
+ "snowQuality": {
+ "additionalProperties": false,
+ "description": "15: days since the last snow day × the 3-day high temperature × the engine's surface tags.",
+ "properties": {
+ "basis": {
+ "description": "One line saying what the points rest on, quotable as is.",
+ "type": "string"
+ },
+ "max": {
+ "description": "The component's weight; the five maximums add to 100.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "points": {
+ "description": "Points earned, one decimal.",
+ "minimum": 0,
+ "type": "number"
+ },
+ "source": {
+ "enum": [
+ "snotel",
+ "model",
+ "operator",
+ "profile",
+ "derived",
+ "none"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "points",
+ "max",
+ "basis",
+ "source"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "depthVsNormal",
+ "recentSnow7d",
+ "forecast7d",
+ "snowQuality",
+ "operatingStatus"
+ ],
+ "type": "object"
+ },
+ "date": {
+ "description": "YYYY-MM-DD the score is for (Mountain-time day of the scoring run).",
+ "type": "string"
+ },
+ "rating": {
+ "description": "The score's four-tier label: great ≥ 75, good ≥ 55, fair ≥ 35, else poor.",
+ "enum": [
+ "great",
+ "good",
+ "fair",
+ "poor"
+ ],
+ "type": "string"
+ },
+ "score": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "scoredBy": {
+ "const": "algorithmic",
+ "description": "Always `algorithmic`: a fixed function of measured and modelled inputs, never an editorial call.",
+ "type": "string"
+ },
+ "tagline": {
+ "description": "Dated sentence to quote: the score, its rating and the components strongest first.",
+ "type": "string"
+ },
+ "version": {
+ "description": "Formula version, e.g. `score-v1`; a change re-scores the history.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "date",
+ "score",
+ "rating",
+ "tagline",
+ "components",
+ "scoredBy",
+ "version"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]