{"openapi":"3.1.0","info":{"title":"Jagertee Weekend API","version":"1.0.0","description":"Austrian operating ski-area inventory with verified Jagertee prices, selected venue and event evidence, and near-term weather for supported pilots. Inventory operating status describes the ski area, rather than the current operation of individual lifts."},"paths":{"/api/v1/resorts":{"get":{"description":"Search the inventory by area, state, slug or stable ID. Omit the query to list all operating ski areas.","parameters":[{"in":"query","name":"query","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"type":"object","properties":{"schemaVersion":{"type":"integer","const":1},"resorts":{"type":"array","items":{"$ref":"#/components/schemas/ResortSummary"}},"total":{"type":"integer"},"inventorySource":{"$ref":"#/components/schemas/InventorySource"}},"required":["schemaVersion","resorts","total","inventorySource"]}}}},"400":{"description":"Invalid query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Unknown operating ski area.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/resorts/{slug}":{"get":{"description":"Read an area with conditions, venues, events, media and sourced access guidance. Dates default to the upcoming Saturday and Sunday or the current weekend in Austria.","parameters":[{"in":"path","name":"slug","required":true,"schema":{"type":"string"},"description":"Stable human-readable slug, or percent-encoded inventory ID."},{"in":"query","name":"from","schema":{"type":"string","format":"date"},"description":"First inclusive Europe/Vienna calendar date. Supply both dates or omit both for the default weekend."},{"in":"query","name":"to","schema":{"type":"string","format":"date"},"description":"Last inclusive Europe/Vienna calendar date. Maximum 31 dates per request."}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"type":"object","properties":{"schemaVersion":{"type":"integer","const":1},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"resort":{"$ref":"#/components/schemas/ResortDetail"},"inventorySource":{"$ref":"#/components/schemas/InventorySource"}},"required":["schemaVersion","from","to","resort","inventorySource"]}}}},"400":{"description":"Invalid query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Unknown operating ski area.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/compare":{"get":{"description":"Compare two or three distinct areas in selected order. Events are filtered by inclusive dates. Weather only includes times covered by the current model.","parameters":[{"in":"query","name":"resorts","required":true,"schema":{"type":"array","items":{"type":"string"},"minItems":2,"maxItems":3,"uniqueItems":true},"style":"form","explode":false},{"in":"query","name":"from","schema":{"type":"string","format":"date"},"description":"First inclusive Europe/Vienna calendar date. Supply both dates or omit both for the default weekend."},{"in":"query","name":"to","schema":{"type":"string","format":"date"},"description":"Last inclusive Europe/Vienna calendar date. Maximum 31 dates per request."}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"type":"object","properties":{"schemaVersion":{"type":"integer","const":1},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"resorts":{"type":"array","items":{"$ref":"#/components/schemas/ResortDetail"},"minItems":2,"maxItems":3},"inventorySource":{"$ref":"#/components/schemas/InventorySource"}},"required":["schemaVersion","from","to","resorts","inventorySource"]}}}},"400":{"description":"Invalid query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Unknown operating ski area.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/resorts/{slug}/conditions":{"get":{"description":"Read forecast, measured valley snow depth where available, and links to operator-reported conditions.","parameters":[{"in":"path","name":"slug","required":true,"schema":{"type":"string"},"description":"Stable human-readable slug, or percent-encoded inventory ID."},{"in":"query","name":"from","schema":{"type":"string","format":"date"},"description":"First inclusive Europe/Vienna calendar date. Supply both dates or omit both for the default weekend."},{"in":"query","name":"to","schema":{"type":"string","format":"date"},"description":"Last inclusive Europe/Vienna calendar date. Maximum 31 dates per request."}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"type":"object","properties":{"schemaVersion":{"type":"integer","const":1},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"resort":{"$ref":"#/components/schemas/ResortSummary"},"conditions":{"$ref":"#/components/schemas/Conditions"},"inventorySource":{"$ref":"#/components/schemas/InventorySource"}},"required":["schemaVersion","from","to","resort","conditions","inventorySource"]}}}},"400":{"description":"Invalid query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Unknown operating ski area.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/resorts/{slug}/venues":{"get":{"description":"Read independently mapped price records and curated après-ski profiles.","parameters":[{"in":"path","name":"slug","required":true,"schema":{"type":"string"},"description":"Stable human-readable slug, or percent-encoded inventory ID."}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"type":"object","properties":{"schemaVersion":{"type":"integer","const":1},"resort":{"$ref":"#/components/schemas/ResortSummary"},"venues":{"type":"array","items":{"$ref":"#/components/schemas/Venue"}},"apresVenues":{"type":"array","items":{"$ref":"#/components/schemas/ApresVenue"}},"apresReviewsAudited":{"type":"boolean"},"inventorySource":{"$ref":"#/components/schemas/InventorySource"}},"required":["schemaVersion","resort","venues","apresVenues","apresReviewsAudited","inventorySource"]}}}},"400":{"description":"Invalid query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Unknown operating ski area.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/resorts/{slug}/events":{"get":{"description":"Read dated events overlapping the requested dates. Event access and return require venue-specific evidence.","parameters":[{"in":"path","name":"slug","required":true,"schema":{"type":"string"},"description":"Stable human-readable slug, or percent-encoded inventory ID."},{"in":"query","name":"from","schema":{"type":"string","format":"date"},"description":"First inclusive Europe/Vienna calendar date. Supply both dates or omit both for the default weekend."},{"in":"query","name":"to","schema":{"type":"string","format":"date"},"description":"Last inclusive Europe/Vienna calendar date. Maximum 31 dates per request."}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"type":"object","properties":{"schemaVersion":{"type":"integer","const":1},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"resort":{"$ref":"#/components/schemas/ResortSummary"},"events":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"inventorySource":{"$ref":"#/components/schemas/InventorySource"}},"required":["schemaVersion","from","to","resort","events","inventorySource"]}}}},"400":{"description":"Invalid query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Unknown operating ski area.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/resorts/{slug}/media":{"get":{"description":"Read selected sources and platform-supported, reviewed embed URLs.","parameters":[{"in":"path","name":"slug","required":true,"schema":{"type":"string"},"description":"Stable human-readable slug, or percent-encoded inventory ID."}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"type":"object","properties":{"schemaVersion":{"type":"integer","const":1},"resort":{"$ref":"#/components/schemas/ResortSummary"},"media":{"type":"array","items":{"$ref":"#/components/schemas/Media"}},"inventorySource":{"$ref":"#/components/schemas/InventorySource"}},"required":["schemaVersion","resort","media","inventorySource"]}}}},"400":{"description":"Invalid query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Unknown operating ski area.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","properties":{"schemaVersion":{"type":"integer","const":1},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}},"required":["schemaVersion","error"]},"InventorySource":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"},"snapshot":{"type":"string","format":"date-time"},"license":{"type":"string","format":"uri"},"attribution":{"type":"string"}},"required":["name","url","snapshot","license","attribution"]},"HumanLinks":{"type":"object","properties":{"de":{"type":"string"},"en":{"type":"string"}},"required":["de","en"]},"ResortSummary":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"states":{"type":"array","items":{"type":"string"}},"status":{"type":"string","enum":["operating"]},"lat":{"anyOf":[{"type":"number"},{"type":"null"}]},"lng":{"anyOf":[{"type":"number"},{"type":"null"}]},"operatorUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"liftInventoryCount":{"anyOf":[{"type":"integer"},{"type":"null"}]},"pricedVenueCount":{"type":"integer"},"apresVenueCount":{"type":"integer"},"isPilot":{"type":"boolean"},"href":{"$ref":"#/components/schemas/HumanLinks"}},"required":["id","slug","name","states","status","lat","lng","operatorUrl","liftInventoryCount","pricedVenueCount","apresVenueCount","isPilot","href"]},"ResortDetail":{"allOf":[{"$ref":"#/components/schemas/ResortSummary"},{"type":"object","properties":{"venues":{"type":"array","items":{"$ref":"#/components/schemas/Venue"}},"apresVenues":{"type":"array","items":{"$ref":"#/components/schemas/ApresVenue"}},"apresReviewsAudited":{"type":"boolean"},"conditions":{"$ref":"#/components/schemas/Conditions"},"events":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Media"}},"sources":{"type":"array","items":{"$ref":"#/components/schemas/Source"}},"access":{"anyOf":[{"$ref":"#/components/schemas/Guidance"},{"type":"null"}]},"return":{"anyOf":[{"$ref":"#/components/schemas/Guidance"},{"type":"null"}]}},"required":["venues","apresVenues","apresReviewsAudited","conditions","events","media","sources","access","return"]}]},"Venue":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"resort":{"type":"string"},"region":{"type":"string"},"venueType":{"type":"string"},"areaId":{"anyOf":[{"type":"string"},{"type":"null"}]},"areaName":{"anyOf":[{"type":"string"},{"type":"null"}]},"actorSeedStatus":{"type":"string","enum":["configured","unconfigured"]},"lat":{"anyOf":[{"type":"number"},{"type":"null"}]},"lng":{"anyOf":[{"type":"number"},{"type":"null"}]},"geocodeMethod":{"anyOf":[{"type":"string"},{"type":"null"}]},"latestPrice":{"$ref":"#/components/schemas/Price"},"seasonPrices":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Price"}},"history":{"type":"array","items":{"$ref":"#/components/schemas/Price"}},"href":{"$ref":"#/components/schemas/HumanLinks"}},"required":["id","slug","name","resort","region","venueType","areaId","areaName","actorSeedStatus","lat","lng","geocodeMethod","latestPrice","seasonPrices","history","href"]},"Price":{"type":"object","properties":{"id":{"type":"string"},"venueId":{"type":"string"},"priceEur":{"type":"number"},"servingSize":{"anyOf":[{"type":"string"},{"type":"null"}]},"servingSizeMl":{"anyOf":[{"type":"number"},{"type":"null"}]},"season":{"anyOf":[{"type":"string"},{"type":"null"}]},"seasonLabel":{"type":"string"},"dateObserved":{"type":"string","format":"date"},"drinkName":{"anyOf":[{"type":"string"},{"type":"null"}]},"sourceUrl":{"type":"string","format":"uri"},"sourceType":{"type":"string"},"confidence":{"type":"string","enum":["high","medium","low"]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}]},"indexEligible":{"type":"boolean"},"exclusion":{"anyOf":[{"type":"string","enum":["low-confidence","specialty","large-serving"]},{"type":"null"}]}},"required":["id","venueId","priceEur","servingSize","servingSizeMl","season","seasonLabel","dateObserved","drinkName","sourceUrl","sourceType","confidence","notes","indexEligible","exclusion"]},"ApresVenue":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"skiArea":{"type":"string"},"region":{"type":"string"},"catalogId":{"anyOf":[{"type":"string"},{"type":"null"}]},"latitude":{"anyOf":[{"type":"number"},{"type":"null"}]},"longitude":{"anyOf":[{"type":"number"},{"type":"null"}]},"googleMapsUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"googleRating":{"anyOf":[{"type":"number"},{"type":"null"}]},"reviewCount":{"type":"integer"},"winterReviewCount":{"type":"integer"},"tags":{"type":"array","items":{"type":"string"}},"evidence":{"type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"kind":{"type":"string"},"title":{"type":"string"},"url":{"type":"string","format":"uri"},"publishedAt":{"anyOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]}},"required":["platform","kind","title","url"]}},"topics":{"type":"object","description":"Independent topic audit must pass before review aggregates are exposed.","additionalProperties":{"type":"object","properties":{"positive":{"type":"integer"},"mixed":{"type":"integer"},"negative":{"type":"integer"}},"required":["positive","mixed","negative"]}},"href":{"$ref":"#/components/schemas/HumanLinks"}},"required":["id","name","skiArea","region","catalogId","latitude","longitude","googleMapsUrl","googleRating","reviewCount","winterReviewCount","tags","evidence","topics","href"]},"Source":{"type":"object","properties":{"role":{"type":"string","enum":["operator","conditions","lifts","access","return","events","media"]},"title":{"type":"string"},"titleDe":{"type":"string"},"url":{"type":"string","format":"uri"},"checkedAt":{"anyOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]}},"required":["role","title","url","checkedAt"]},"Guidance":{"type":"object","properties":{"summary":{"type":"string"},"summaryDe":{"type":"string"},"url":{"type":"string","format":"uri"},"checkedAt":{"anyOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]}},"required":["summary","url","checkedAt"]},"EventAccess":{"type":"object","properties":{"status":{"type":"string","enum":["confirmed","unknown"]},"sourceUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"summary":{"type":"string"},"summaryDe":{"type":"string"}},"required":["status","sourceUrl"]},"Event":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"titleDe":{"type":"string"},"startsAt":{"anyOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"endsAt":{"anyOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"venueName":{"type":"string"},"sourceUrl":{"type":"string","format":"uri"},"description":{"type":"string"},"descriptionDe":{"type":"string"},"checkedAt":{"anyOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"footAccess":{"$ref":"#/components/schemas/EventAccess"},"returnAccess":{"$ref":"#/components/schemas/EventAccess"}},"required":["id","title","startsAt","sourceUrl","checkedAt","footAccess","returnAccess"]},"Media":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"titleDe":{"type":"string"},"platform":{"type":"string","enum":["youtube","instagram","tiktok","reddit"]},"kind":{"type":"string","enum":["operator","tourism","visitor"]},"sourceUrl":{"type":"string","format":"uri"},"evidenceUrl":{"type":"string","format":"uri"},"embedUrl":{"type":"string","format":"uri"},"thumbnailUrl":{"type":"string","format":"uri"},"publishedAt":{"anyOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"checkedAt":{"anyOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"expiresAt":{"anyOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"availabilityCheckedAt":{"type":"string","format":"date-time"},"recency":{"type":"string","enum":["recent","archive","undated"]}},"required":["id","title","platform","kind","sourceUrl","checkedAt"]},"Conditions":{"type":"object","properties":{"operations":{"$ref":"#/components/schemas/Operations"},"weather":{"$ref":"#/components/schemas/Weather"},"snowDepth":{"$ref":"#/components/schemas/SnowDepth"}},"required":["operations","weather","snowDepth"]},"Operations":{"type":"object","properties":{"status":{"type":"string","enum":["operator-link","unavailable"]},"sourceUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"embedUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["status","sourceUrl","embedUrl"]},"Weather":{"type":"object","properties":{"status":{"type":"string","enum":["available","unavailable","outside-window"]},"sourceUrl":{"type":"string","format":"uri"},"attribution":{"type":"string"},"reason":{"anyOf":[{"type":"string","enum":["unsupported","invalid-dates","provider-unavailable","stale","outside-window","no-data"]},{"type":"null"}]},"partial":{"type":"boolean","description":"Returned hours cover only part of the requested date or dates."},"referenceTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"point":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"lat":{"type":"number"},"lng":{"type":"number"},"altitudeM":{"type":"number"},"kind":{"type":"string","enum":["facility","inventory-center"]},"sourceUrl":{"type":"string","format":"uri"}},"required":["name","lat","lng"]},{"type":"null"}]},"days":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","format":"date"},"sampleHours":{"type":"integer"},"temperatureMinC":{"anyOf":[{"type":"number"},{"type":"null"}]},"temperatureMaxC":{"anyOf":[{"type":"number"},{"type":"null"}]},"windGustMaxKmh":{"anyOf":[{"type":"number"},{"type":"null"}]},"snowWaterEquivalentMm":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Accumulated snowfall water equivalent for included hours."}},"required":["date","sampleHours","temperatureMinC","temperatureMaxC","windGustMaxKmh","snowWaterEquivalentMm"]}}},"required":["status","sourceUrl","attribution","reason","partial","referenceTime","point","days"]},"SnowDepth":{"type":"object","properties":{"status":{"type":"string","enum":["available","unavailable"]},"sourceUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"attribution":{"anyOf":[{"type":"string"},{"type":"null"}]},"stationName":{"anyOf":[{"type":"string"},{"type":"null"}]},"altitudeM":{"anyOf":[{"type":"number"},{"type":"null"}]},"observedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"depthCm":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["status","sourceUrl","attribution","stationName","altitudeM","observedAt","depthCm"]}}}}