{
  "openapi": "3.1.0",
  "info": {
    "title": "Icecoast Public Data API",
    "version": "v1",
    "description": "Read-only external data API. Optional weather routes are marked x-availability. Application/session/admin routes are deliberately excluded. Examples are synthetic response excerpts, not live conditions."
  },
  "servers": [
    {
      "url": "https://api.icecoast.us"
    }
  ],
  "security": [
    {
      "ApiKey": []
    },
    {
      "BearerKey": []
    }
  ],
  "tags": [
    {
      "name": "mountains"
    },
    {
      "name": "trails"
    },
    {
      "name": "lifts"
    },
    {
      "name": "passes"
    },
    {
      "name": "history"
    },
    {
      "name": "reports"
    },
    {
      "name": "geography"
    },
    {
      "name": "status"
    },
    {
      "name": "feeds"
    },
    {
      "name": "weather"
    },
    {
      "name": "exports"
    }
  ],
  "paths": {
    "/api/v1/mountains": {
      "get": {
        "operationId": "mountains_list",
        "tags": [
          "mountains"
        ],
        "summary": "List mountains",
        "description": "Filters combine. Use countryCode and stateCode to avoid ambiguous names. This list does not default to published=true: specify it for public directories. region is exact; pass is a text match; pass_slug uses membership. ids is comma-separated. sortBy is a database column, not a validated enum: use name, created_at, updated_at, elevation or vertical. Invalid columns may return 500. fields selects recorded columns; id and slug remain. List/search add active total_trails_count and open_trails_count; detail does not guarantee those counts.",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Search term for name, location, city, state, or region",
            "schema": {
              "type": "string",
              "description": "Search term for name, location, city, state, or region"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "Filter by state/province name or code (e.g., Vermont, VT, Ontario, ON)",
            "schema": {
              "type": "string",
              "description": "Filter by state/province name or code (e.g., Vermont, VT, Ontario, ON)"
            }
          },
          {
            "name": "state_or_province",
            "in": "query",
            "required": false,
            "description": "Alias for state filter; supports full name or code",
            "schema": {
              "type": "string",
              "description": "Alias for state filter; supports full name or code"
            }
          },
          {
            "name": "province",
            "in": "query",
            "required": false,
            "description": "Alias for state filter; supports full name or code",
            "schema": {
              "type": "string",
              "description": "Alias for state filter; supports full name or code"
            }
          },
          {
            "name": "stateCode",
            "in": "query",
            "required": false,
            "description": "Filter by state/province code (e.g., VT, ON)",
            "schema": {
              "type": "string",
              "description": "Filter by state/province code (e.g., VT, ON)"
            }
          },
          {
            "name": "state_code",
            "in": "query",
            "required": false,
            "description": "Alias for stateCode",
            "schema": {
              "type": "string",
              "description": "Alias for stateCode"
            }
          },
          {
            "name": "state_or_province_code",
            "in": "query",
            "required": false,
            "description": "Alias for stateCode",
            "schema": {
              "type": "string",
              "description": "Alias for stateCode"
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "description": "Filter by country name or code (e.g., United States, US, Canada, CA)",
            "schema": {
              "type": "string",
              "description": "Filter by country name or code (e.g., United States, US, Canada, CA)"
            }
          },
          {
            "name": "countryCode",
            "in": "query",
            "required": false,
            "description": "Filter by country code (e.g., US, CA)",
            "schema": {
              "type": "string",
              "description": "Filter by country code (e.g., US, CA)"
            }
          },
          {
            "name": "country_code",
            "in": "query",
            "required": false,
            "description": "Alias for countryCode",
            "schema": {
              "type": "string",
              "description": "Alias for countryCode"
            }
          },
          {
            "name": "continent",
            "in": "query",
            "required": false,
            "description": "Filter by continent name (e.g., North America, Europe)",
            "schema": {
              "type": "string",
              "description": "Filter by continent name (e.g., North America, Europe)"
            }
          },
          {
            "name": "region",
            "in": "query",
            "required": false,
            "description": "Filter by region",
            "schema": {
              "type": "string",
              "description": "Filter by region"
            }
          },
          {
            "name": "pass",
            "in": "query",
            "required": false,
            "description": "Filter by text matching a pass name",
            "schema": {
              "type": "string",
              "description": "Filter by text matching a pass name"
            }
          },
          {
            "name": "pass_slug",
            "in": "query",
            "required": false,
            "description": "Filter strictly by pass slug",
            "schema": {
              "type": "string",
              "description": "Filter strictly by pass slug"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "Filter by operational status",
            "schema": {
              "type": "string",
              "description": "Filter by operational status"
            }
          },
          {
            "name": "access",
            "in": "query",
            "required": false,
            "description": "Filter by access type (e.g., IKON, EPIC)",
            "schema": {
              "type": "string",
              "description": "Filter by access type (e.g., IKON, EPIC)"
            }
          },
          {
            "name": "night",
            "in": "query",
            "required": false,
            "description": "Show mountains with night skiing",
            "schema": {
              "type": "boolean",
              "description": "Show mountains with night skiing"
            }
          },
          {
            "name": "t_parks",
            "in": "query",
            "required": false,
            "description": "Show mountains with terrain parks",
            "schema": {
              "type": "boolean",
              "description": "Show mountains with terrain parks"
            }
          },
          {
            "name": "published",
            "in": "query",
            "required": false,
            "description": "Show only published mountains",
            "schema": {
              "type": "boolean",
              "description": "Show only published mountains"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "required": false,
            "description": "Field to sort by (e.g., name, elevation)",
            "schema": {
              "type": "string",
              "description": "Field to sort by (e.g., name, elevation)",
              "default": "name"
            }
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "asc"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Pagination limit",
            "schema": {
              "type": "integer",
              "description": "Pagination limit",
              "default": 20
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Pagination offset",
            "schema": {
              "type": "integer",
              "description": "Pagination offset",
              "default": 0
            }
          },
          {
            "name": "includeTrails",
            "in": "query",
            "required": false,
            "description": "Include trails data. Can be true, false, or a comma-separated filter list (e.g., \"open,green\")",
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "string"
                }
              ],
              "description": "Include trails data. Can be true, false, or a comma-separated filter list (e.g., \"open,green\")",
              "default": false,
              "example": "open,green"
            }
          },
          {
            "name": "includeLifts",
            "in": "query",
            "required": false,
            "description": "Include lifts data. Can be true, false, or a comma-separated filter list (e.g., \"open,gondola\")",
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "string"
                }
              ],
              "description": "Include lifts data. Can be true, false, or a comma-separated filter list (e.g., \"open,gondola\")",
              "default": false,
              "example": "open,chair"
            }
          },
          {
            "name": "includePasses",
            "in": "query",
            "required": false,
            "description": "Include passes data in response",
            "schema": {
              "type": "boolean",
              "description": "Include passes data in response",
              "default": false
            }
          },
          {
            "name": "skipCache",
            "in": "query",
            "required": false,
            "description": "Bypass Redis cache",
            "schema": {
              "type": "boolean",
              "description": "Bypass Redis cache",
              "default": false
            }
          },
          {
            "name": "ids",
            "in": "query",
            "required": false,
            "description": "Comma-separated list of UUIDs to fetch",
            "schema": {
              "type": "string",
              "description": "Comma-separated list of UUIDs to fetch",
              "example": "uuid1,uuid2"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "required": false,
            "description": "Comma-separated specific fields to fetch",
            "schema": {
              "type": "string",
              "description": "Comma-separated specific fields to fetch",
              "example": "id,name,slug"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; data is an array of Mountain records.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Mountain"
                      }
                    },
                    "cached": {
                      "type": "boolean",
                      "description": "Shared payload-cache hit."
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        },
                        "total": {
                          "type": "integer"
                        },
                        "limit": {
                          "type": "integer"
                        },
                        "offset": {
                          "type": "integer"
                        },
                        "count": {
                          "type": "integer"
                        },
                        "hasMore": {
                          "type": "boolean"
                        },
                        "links": {
                          "type": "object",
                          "description": "Relative pagination URLs.",
                          "additionalProperties": true,
                          "properties": {
                            "next": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "prev": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": [
                        {
                          "id": "00000000-0000-4000-8000-000000000001",
                          "name": "Example Mountain",
                          "slug": "example-mountain",
                          "country": "United States",
                          "state": "Vermont",
                          "latitude": 44,
                          "longitude": -72,
                          "timezone": "America/New_York",
                          "no_trails_reported": false,
                          "no_lifts_reported": false,
                          "brand_palette_dark": [],
                          "brand_palette_dark_updated_at": null,
                          "brand_palette": [],
                          "brand_palette_updated_at": null,
                          "links": {
                            "website": "https://icecoast.us/mountain/example-mountain",
                            "self": {
                              "id": "/api/v1/mountains/id/00000000-0000-4000-8000-000000000001",
                              "slug": "/api/v1/mountains/slug/example-mountain"
                            },
                            "mountain_trails": {
                              "id": "/api/v1/trails?mountain=00000000-0000-4000-8000-000000000001",
                              "slug": "/api/v1/trails?mountain=example-mountain"
                            },
                            "mountain_lifts": {
                              "id": "/api/v1/lifts?mountain=00000000-0000-4000-8000-000000000001",
                              "slug": "/api/v1/lifts?mountain=example-mountain"
                            }
                          }
                        }
                      ],
                      "meta": {
                        "version": "v1",
                        "total": 1,
                        "limit": 20,
                        "offset": 0,
                        "count": 1,
                        "hasMore": false,
                        "links": {
                          "next": null,
                          "prev": null
                        }
                      },
                      "cached": false
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/mountains/list"
        }
      }
    },
    "/api/v1/mountains/search": {
      "get": {
        "operationId": "mountains_search",
        "tags": [
          "mountains"
        ],
        "summary": "Search mountains",
        "description": "Search returns published mountains only. q is required (maximum 200 characters); empty q returns an empty data array. include=places adds place discovery fields, including for blank q. Search is not offset-paginated; results are capped at 50.",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "description": "Query text to search for",
            "schema": {
              "type": "string",
              "maxLength": 200,
              "description": "Query text to search for"
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 100
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 100
            }
          },
          {
            "name": "stateCode",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 10
            }
          },
          {
            "name": "region",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 100
            }
          },
          {
            "name": "include",
            "in": "query",
            "required": false,
            "description": "Also return state/province and country suggestions and mountain facet counts",
            "schema": {
              "type": "string",
              "enum": [
                "places"
              ],
              "description": "Also return state/province and country suggestions and mountain facet counts"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; data is an array of Mountain records.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Mountain"
                      }
                    },
                    "places": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Place"
                      },
                      "description": "Only when include=places."
                    },
                    "facets": {
                      "type": "object",
                      "description": "Only when include=places: state, country and region count maps.",
                      "additionalProperties": true,
                      "properties": {}
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": [
                        {
                          "id": "00000000-0000-4000-8000-000000000001",
                          "name": "Example Mountain",
                          "slug": "example-mountain",
                          "country": "United States",
                          "state": "Vermont",
                          "latitude": 44,
                          "longitude": -72,
                          "timezone": "America/New_York",
                          "no_trails_reported": false,
                          "no_lifts_reported": false,
                          "brand_palette_dark": [],
                          "brand_palette_dark_updated_at": null,
                          "brand_palette": [],
                          "brand_palette_updated_at": null,
                          "links": {
                            "website": "https://icecoast.us/mountain/example-mountain",
                            "self": {
                              "id": "/api/v1/mountains/id/00000000-0000-4000-8000-000000000001",
                              "slug": "/api/v1/mountains/slug/example-mountain"
                            },
                            "mountain_trails": {
                              "id": "/api/v1/trails?mountain=00000000-0000-4000-8000-000000000001",
                              "slug": "/api/v1/trails?mountain=example-mountain"
                            },
                            "mountain_lifts": {
                              "id": "/api/v1/lifts?mountain=00000000-0000-4000-8000-000000000001",
                              "slug": "/api/v1/lifts?mountain=example-mountain"
                            }
                          }
                        }
                      ],
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/mountains/search"
        }
      }
    },
    "/api/v1/mountains/id/{id}": {
      "get": {
        "operationId": "mountains_by_id",
        "tags": [
          "mountains"
        ],
        "summary": "Get mountain by UUID",
        "description": "Request only needed relations. includeTrails/includeLifts accept booleans or filter tokens; see the inclusion guide. includePasses adds membership records, not full pass detail. Empty relations do not establish that a mountain has no real-world terrain. This endpoint does not derive whole-resort operational status.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Mountain UUID.",
              "format": "uuid"
            }
          },
          {
            "name": "includeTrails",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "string"
                }
              ],
              "default": false
            }
          },
          {
            "name": "includeLifts",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "string"
                }
              ],
              "default": false
            }
          },
          {
            "name": "includePasses",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "skipCache",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "$ref": "#/components/schemas/Mountain"
                    },
                    "cached": {
                      "type": "boolean",
                      "description": "Shared payload-cache hit."
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": {
                        "id": "00000000-0000-4000-8000-000000000001",
                        "name": "Example Mountain",
                        "slug": "example-mountain",
                        "country": "United States",
                        "state": "Vermont",
                        "latitude": 44,
                        "longitude": -72,
                        "timezone": "America/New_York",
                        "no_trails_reported": false,
                        "no_lifts_reported": false,
                        "brand_palette_dark": [],
                        "brand_palette_dark_updated_at": null,
                        "brand_palette": [],
                        "brand_palette_updated_at": null,
                        "links": {
                          "website": "https://icecoast.us/mountain/example-mountain",
                          "self": {
                            "id": "/api/v1/mountains/id/00000000-0000-4000-8000-000000000001",
                            "slug": "/api/v1/mountains/slug/example-mountain"
                          },
                          "mountain_trails": {
                            "id": "/api/v1/trails?mountain=00000000-0000-4000-8000-000000000001",
                            "slug": "/api/v1/trails?mountain=example-mountain"
                          },
                          "mountain_lifts": {
                            "id": "/api/v1/lifts?mountain=00000000-0000-4000-8000-000000000001",
                            "slug": "/api/v1/lifts?mountain=example-mountain"
                          }
                        }
                      },
                      "meta": {
                        "version": "v1"
                      },
                      "cached": false
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Mountain not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/mountains/by-id"
        }
      }
    },
    "/api/v1/mountains/slug/{slug}": {
      "get": {
        "operationId": "mountains_by_slug",
        "tags": [
          "mountains"
        ],
        "summary": "Get mountain by slug",
        "description": "Request only needed relations. includeTrails/includeLifts accept booleans or filter tokens; see the inclusion guide. includePasses adds membership records, not full pass detail. Empty relations do not establish that a mountain has no real-world terrain. This endpoint does not derive whole-resort operational status.",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Mountain slug."
            }
          },
          {
            "name": "includeTrails",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "string"
                }
              ],
              "default": false
            }
          },
          {
            "name": "includeLifts",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "string"
                }
              ],
              "default": false
            }
          },
          {
            "name": "includePasses",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "skipCache",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "$ref": "#/components/schemas/Mountain"
                    },
                    "cached": {
                      "type": "boolean",
                      "description": "Shared payload-cache hit."
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": {
                        "id": "00000000-0000-4000-8000-000000000001",
                        "name": "Example Mountain",
                        "slug": "example-mountain",
                        "country": "United States",
                        "state": "Vermont",
                        "latitude": 44,
                        "longitude": -72,
                        "timezone": "America/New_York",
                        "no_trails_reported": false,
                        "no_lifts_reported": false,
                        "brand_palette_dark": [],
                        "brand_palette_dark_updated_at": null,
                        "brand_palette": [],
                        "brand_palette_updated_at": null,
                        "links": {
                          "website": "https://icecoast.us/mountain/example-mountain",
                          "self": {
                            "id": "/api/v1/mountains/id/00000000-0000-4000-8000-000000000001",
                            "slug": "/api/v1/mountains/slug/example-mountain"
                          },
                          "mountain_trails": {
                            "id": "/api/v1/trails?mountain=00000000-0000-4000-8000-000000000001",
                            "slug": "/api/v1/trails?mountain=example-mountain"
                          },
                          "mountain_lifts": {
                            "id": "/api/v1/lifts?mountain=00000000-0000-4000-8000-000000000001",
                            "slug": "/api/v1/lifts?mountain=example-mountain"
                          }
                        }
                      },
                      "meta": {
                        "version": "v1"
                      },
                      "cached": false
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Mountain not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/mountains/by-slug"
        }
      }
    },
    "/api/v1/mountains/id/{id}/media": {
      "get": {
        "operationId": "mountains_media",
        "tags": [
          "mountains"
        ],
        "summary": "Mountain media",
        "description": "Returns associated media. Missing mountain/association may return an empty array rather than 404. Both media paths have identical behavior.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Mountain UUID.",
              "format": "uuid"
            }
          },
          {
            "name": "role",
            "in": "query",
            "required": false,
            "description": "Exact association role, such as logo_mountain or logo_mountain_dark.",
            "schema": {
              "type": "string",
              "description": "Exact association role, such as logo_mountain or logo_mountain_dark."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; data is an array of Media records.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Media"
                      }
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": [
                        {
                          "id": "00000000-0000-4000-8000-000000000001",
                          "path": "/example-logo.svg",
                          "role": "logo_mountain",
                          "sort_order": 0
                        }
                      ],
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/mountains/media"
        }
      }
    },
    "/api/v1/mountains/{id}/media": {
      "get": {
        "operationId": "mountains_media_alias",
        "tags": [
          "mountains"
        ],
        "summary": "Mountain media alias",
        "description": "Returns associated media. Missing mountain/association may return an empty array rather than 404. Both media paths have identical behavior.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Mountain UUID.",
              "format": "uuid"
            }
          },
          {
            "name": "role",
            "in": "query",
            "required": false,
            "description": "Exact association role, such as logo_mountain or logo_mountain_dark.",
            "schema": {
              "type": "string",
              "description": "Exact association role, such as logo_mountain or logo_mountain_dark."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; data is an array of Media records.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Media"
                      }
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": [
                        {
                          "id": "00000000-0000-4000-8000-000000000001",
                          "path": "/example-logo.svg",
                          "role": "logo_mountain",
                          "sort_order": 0
                        }
                      ],
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/mountains/media-alias"
        }
      }
    },
    "/api/v1/trails": {
      "get": {
        "operationId": "trails_list",
        "tags": [
          "trails"
        ],
        "summary": "List trails",
        "description": "mountain accepts UUID or slug. Only active, non-retired inventory is listed. open=false excludes unknown/null. rating accepts comma-separated case-insensitive substring matches. zone/area are exact; q is a name substring. fields selects recorded columns; id and mountain remain. Unknown column names can fail.",
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 100
            }
          },
          {
            "name": "mountain",
            "in": "query",
            "required": false,
            "description": "Filter by mountain ID",
            "schema": {
              "type": "string",
              "description": "Filter by mountain ID"
            }
          },
          {
            "name": "open",
            "in": "query",
            "required": false,
            "description": "Filter by open status",
            "schema": {
              "type": "boolean",
              "description": "Filter by open status"
            }
          },
          {
            "name": "rating",
            "in": "query",
            "required": false,
            "description": "Filter by rating",
            "schema": {
              "type": "string",
              "description": "Filter by rating"
            }
          },
          {
            "name": "groomed",
            "in": "query",
            "required": false,
            "description": "Filter by groomed status",
            "schema": {
              "type": "boolean",
              "description": "Filter by groomed status"
            }
          },
          {
            "name": "glade",
            "in": "query",
            "required": false,
            "description": "Filter by glade status",
            "schema": {
              "type": "boolean",
              "description": "Filter by glade status"
            }
          },
          {
            "name": "night_skiing",
            "in": "query",
            "required": false,
            "description": "Filter by night skiing status",
            "schema": {
              "type": "boolean",
              "description": "Filter by night skiing status"
            }
          },
          {
            "name": "zone",
            "in": "query",
            "required": false,
            "description": "Filter by zone",
            "schema": {
              "type": "string",
              "description": "Filter by zone"
            }
          },
          {
            "name": "area",
            "in": "query",
            "required": false,
            "description": "Filter by area",
            "schema": {
              "type": "string",
              "description": "Filter by area"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Search term for name",
            "schema": {
              "type": "string",
              "description": "Search term for name"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "required": false,
            "description": "Sort column. Unsupported columns fall back to the default.",
            "schema": {
              "type": "string",
              "description": "Sort column. Unsupported columns fall back to the default.",
              "default": "name",
              "enum": [
                "name",
                "rating",
                "open",
                "groomed",
                "zone",
                "area",
                "created_at"
              ]
            }
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "Sort direction.",
            "schema": {
              "type": "string",
              "description": "Sort direction.",
              "default": "asc",
              "enum": [
                "asc",
                "desc"
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Pagination limit",
            "schema": {
              "type": "integer",
              "description": "Pagination limit",
              "default": 50
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Pagination offset",
            "schema": {
              "type": "integer",
              "description": "Pagination offset",
              "default": 0
            }
          },
          {
            "name": "fields",
            "in": "query",
            "required": false,
            "description": "Comma-separated specific fields to fetch",
            "schema": {
              "type": "string",
              "description": "Comma-separated specific fields to fetch",
              "example": "name,rating,open"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; data is an array of Trail records.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Trail"
                      }
                    },
                    "cached": {
                      "type": "boolean",
                      "description": "Shared payload-cache hit."
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        },
                        "total": {
                          "type": "integer"
                        },
                        "limit": {
                          "type": "integer"
                        },
                        "offset": {
                          "type": "integer"
                        },
                        "count": {
                          "type": "integer"
                        },
                        "hasMore": {
                          "type": "boolean"
                        },
                        "links": {
                          "type": "object",
                          "description": "Relative pagination URLs.",
                          "additionalProperties": true,
                          "properties": {
                            "next": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "prev": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": [
                        {
                          "id": 123,
                          "mountain": "00000000-0000-4000-8000-000000000001",
                          "name": "Example Trail",
                          "open": null,
                          "rating": "blue",
                          "groomed": null,
                          "zone": "Main",
                          "links": {
                            "self": "/api/v1/trails/id/123"
                          }
                        }
                      ],
                      "meta": {
                        "version": "v1",
                        "total": 1,
                        "limit": 50,
                        "offset": 0,
                        "count": 1,
                        "hasMore": false,
                        "links": {
                          "next": null,
                          "prev": null
                        }
                      },
                      "cached": false
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/trails/list"
        }
      }
    },
    "/api/v1/trails/id/{id}": {
      "get": {
        "operationId": "trails_detail",
        "tags": [
          "trails"
        ],
        "summary": "Get a trail",
        "description": "Detail reads do not apply the list active-inventory filter. Known retired records may remain retrievable. Treat identifiers as opaque.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Canonical entity ID from a prior response; not a mountain UUID."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "$ref": "#/components/schemas/Trail"
                    },
                    "cached": {
                      "type": "boolean",
                      "description": "Shared payload-cache hit."
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": {
                        "id": 123,
                        "mountain": "00000000-0000-4000-8000-000000000001",
                        "name": "Example Trail",
                        "open": null,
                        "rating": "blue",
                        "groomed": null,
                        "zone": "Main",
                        "links": {
                          "self": "/api/v1/trails/id/123"
                        }
                      },
                      "meta": {
                        "version": "v1"
                      },
                      "cached": false
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Trail not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/trails/detail"
        }
      }
    },
    "/api/v1/lifts": {
      "get": {
        "operationId": "lifts_list",
        "tags": [
          "lifts"
        ],
        "summary": "List lifts",
        "description": "mountain accepts UUID or slug. Only active, non-retired inventory is listed. open=false excludes unknown/null. type accepts comma-separated case-insensitive substring matches. operating_status matches an exact detailed status. zone/area are exact; q is a name substring. fields selects recorded columns; id and mountain remain. Unknown column names can fail.",
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 100
            }
          },
          {
            "name": "mountain",
            "in": "query",
            "required": false,
            "description": "Filter by mountain ID or slug",
            "schema": {
              "type": "string",
              "description": "Filter by mountain ID or slug"
            }
          },
          {
            "name": "open",
            "in": "query",
            "required": false,
            "description": "Filter by open status",
            "schema": {
              "type": "boolean",
              "description": "Filter by open status"
            }
          },
          {
            "name": "operating_status",
            "in": "query",
            "required": false,
            "description": "Detailed lift status; open remains the legacy operating flag",
            "schema": {
              "type": "string",
              "enum": [
                "open",
                "closed",
                "delayed",
                "on_hold",
                "scheduled",
                "unknown"
              ],
              "description": "Detailed lift status; open remains the legacy operating flag"
            }
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "description": "Filter by lift type",
            "schema": {
              "type": "string",
              "description": "Filter by lift type"
            }
          },
          {
            "name": "zone",
            "in": "query",
            "required": false,
            "description": "Filter by zone",
            "schema": {
              "type": "string",
              "description": "Filter by zone"
            }
          },
          {
            "name": "area",
            "in": "query",
            "required": false,
            "description": "Filter by area",
            "schema": {
              "type": "string",
              "description": "Filter by area"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Search term for name",
            "schema": {
              "type": "string",
              "description": "Search term for name"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "required": false,
            "description": "Sort column. Unsupported columns fall back to the default.",
            "schema": {
              "type": "string",
              "description": "Sort column. Unsupported columns fall back to the default.",
              "default": "name",
              "enum": [
                "name",
                "type",
                "open",
                "zone",
                "area",
                "created_at",
                "open_time",
                "close_time"
              ]
            }
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "Sort direction.",
            "schema": {
              "type": "string",
              "description": "Sort direction.",
              "default": "asc",
              "enum": [
                "asc",
                "desc"
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Pagination limit",
            "schema": {
              "type": "integer",
              "description": "Pagination limit",
              "default": 50
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Pagination offset",
            "schema": {
              "type": "integer",
              "description": "Pagination offset",
              "default": 0
            }
          },
          {
            "name": "fields",
            "in": "query",
            "required": false,
            "description": "Comma-separated specific fields to fetch",
            "schema": {
              "type": "string",
              "description": "Comma-separated specific fields to fetch",
              "example": "name,type,open"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; data is an array of Lift records.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Lift"
                      }
                    },
                    "cached": {
                      "type": "boolean",
                      "description": "Shared payload-cache hit."
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        },
                        "total": {
                          "type": "integer"
                        },
                        "limit": {
                          "type": "integer"
                        },
                        "offset": {
                          "type": "integer"
                        },
                        "count": {
                          "type": "integer"
                        },
                        "hasMore": {
                          "type": "boolean"
                        },
                        "links": {
                          "type": "object",
                          "description": "Relative pagination URLs.",
                          "additionalProperties": true,
                          "properties": {
                            "next": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "prev": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": [
                        {
                          "id": 456,
                          "mountain": "00000000-0000-4000-8000-000000000001",
                          "name": "Example Chair",
                          "open": false,
                          "operating_status": "delayed",
                          "type": "chair",
                          "links": {
                            "self": "/api/v1/lifts/id/456"
                          }
                        }
                      ],
                      "meta": {
                        "version": "v1",
                        "total": 1,
                        "limit": 50,
                        "offset": 0,
                        "count": 1,
                        "hasMore": false,
                        "links": {
                          "next": null,
                          "prev": null
                        }
                      },
                      "cached": false
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/lifts/list"
        }
      }
    },
    "/api/v1/lifts/id/{id}": {
      "get": {
        "operationId": "lifts_detail",
        "tags": [
          "lifts"
        ],
        "summary": "Get a lift",
        "description": "Detail reads do not apply the list active-inventory filter. Known retired records may remain retrievable. Treat identifiers as opaque.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Canonical entity ID from a prior response; not a mountain UUID."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "$ref": "#/components/schemas/Lift"
                    },
                    "cached": {
                      "type": "boolean",
                      "description": "Shared payload-cache hit."
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": {
                        "id": 456,
                        "mountain": "00000000-0000-4000-8000-000000000001",
                        "name": "Example Chair",
                        "open": false,
                        "operating_status": "delayed",
                        "type": "chair",
                        "links": {
                          "self": "/api/v1/lifts/id/456"
                        }
                      },
                      "meta": {
                        "version": "v1"
                      },
                      "cached": false
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Lift not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/lifts/detail"
        }
      }
    },
    "/api/v1/passes": {
      "get": {
        "operationId": "passes_list",
        "tags": [
          "passes"
        ],
        "summary": "List passes",
        "description": "Pass routes have no query validation schema. Send lowercase true/false and positive pagination. No fixed pass_type enum is enforced. List includes return membership rows, unlike the expanded resorts in pass detail.",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Case-insensitive name, slug or description substring.",
            "schema": {
              "type": "string",
              "description": "Case-insensitive name, slug or description substring."
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "description": "Country name/code of an associated mountain.",
            "schema": {
              "type": "string",
              "description": "Country name/code of an associated mountain."
            }
          },
          {
            "name": "pass_type",
            "in": "query",
            "required": false,
            "description": "Exact stored category.",
            "schema": {
              "type": "string",
              "description": "Exact stored category."
            }
          },
          {
            "name": "is_active",
            "in": "query",
            "required": false,
            "description": "Match the active flag.",
            "schema": {
              "type": "boolean",
              "description": "Match the active flag."
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum records; send a positive integer.",
            "schema": {
              "type": "integer",
              "description": "Maximum records; send a positive integer.",
              "default": 20
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip; send a nonnegative integer.",
            "schema": {
              "type": "integer",
              "description": "Records to skip; send a nonnegative integer.",
              "default": 0
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "required": false,
            "description": "Sort column. Unsupported columns fall back to the default.",
            "schema": {
              "type": "string",
              "description": "Sort column. Unsupported columns fall back to the default.",
              "default": "name",
              "enum": [
                "name",
                "slug",
                "pass_type",
                "is_active",
                "created_at",
                "updated_at"
              ]
            }
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "Sort direction.",
            "schema": {
              "type": "string",
              "description": "Sort direction.",
              "default": "asc",
              "enum": [
                "asc",
                "desc"
              ]
            }
          },
          {
            "name": "includeMountains",
            "in": "query",
            "required": false,
            "description": "Include membership rows with mountain_name and mountain_slug.",
            "schema": {
              "type": "boolean",
              "description": "Include membership rows with mountain_name and mountain_slug.",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; data is an array of Pass records.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Pass"
                      }
                    },
                    "cached": {
                      "type": "boolean",
                      "description": "Shared payload-cache hit."
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        },
                        "total": {
                          "type": "integer"
                        },
                        "limit": {
                          "type": "integer"
                        },
                        "offset": {
                          "type": "integer"
                        },
                        "count": {
                          "type": "integer"
                        },
                        "hasMore": {
                          "type": "boolean"
                        },
                        "links": {
                          "type": "object",
                          "description": "Relative pagination URLs.",
                          "additionalProperties": true,
                          "properties": {
                            "next": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "prev": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": [
                        {
                          "id": "00000000-0000-4000-8000-000000000001",
                          "name": "Example Pass",
                          "slug": "example-pass",
                          "pass_type": null,
                          "is_active": true
                        }
                      ],
                      "meta": {
                        "version": "v1",
                        "total": 1,
                        "limit": 20,
                        "offset": 0,
                        "count": 1,
                        "hasMore": false,
                        "links": {
                          "next": null,
                          "prev": null
                        }
                      },
                      "cached": false
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/passes/list"
        }
      }
    },
    "/api/v1/passes/{slug}": {
      "get": {
        "operationId": "passes_detail",
        "tags": [
          "passes"
        ],
        "summary": "Get pass by slug or UUID",
        "description": "Always includes pass_tiers. includeMountains defaults true and may greatly expand the response; pass false for a lightweight read. The /slug/ form is a compatibility alias and also accepts UUIDs.",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Pass slug or UUID; both forms use polymorphic lookup."
            }
          },
          {
            "name": "includeMountains",
            "in": "query",
            "required": false,
            "description": "Include memberships and full mountains with trails/lifts.",
            "schema": {
              "type": "boolean",
              "description": "Include memberships and full mountains with trails/lifts.",
              "default": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "$ref": "#/components/schemas/Pass"
                    },
                    "cached": {
                      "type": "boolean",
                      "description": "Shared payload-cache hit."
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": {
                        "id": "00000000-0000-4000-8000-000000000001",
                        "name": "Example Pass",
                        "slug": "example-pass",
                        "pass_type": null,
                        "is_active": true
                      },
                      "meta": {
                        "version": "v1"
                      },
                      "cached": false
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Pass not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/passes/detail"
        }
      }
    },
    "/api/v1/passes/{slug}/mountains": {
      "get": {
        "operationId": "passes_mountains",
        "tags": [
          "passes"
        ],
        "summary": "Mountains on a pass",
        "description": "Returns all linked mountains and active trails/lifts in data, plus a top-level pass object. Not paginated; list-mountain filters do not apply. Resort rows come from expanded pass membership and differ from the standard mountain projection.",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Pass slug or UUID."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; data is an array of Mountain records.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Mountain"
                      }
                    },
                    "cached": {
                      "type": "boolean",
                      "description": "Shared payload-cache hit."
                    },
                    "pass": {
                      "$ref": "#/components/schemas/Pass"
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": [
                        {
                          "id": "00000000-0000-4000-8000-000000000001",
                          "name": "Example Mountain",
                          "slug": "example-mountain",
                          "country": "United States",
                          "state": "Vermont",
                          "latitude": 44,
                          "longitude": -72,
                          "timezone": "America/New_York",
                          "no_trails_reported": false,
                          "no_lifts_reported": false,
                          "brand_palette_dark": [],
                          "brand_palette_dark_updated_at": null,
                          "brand_palette": [],
                          "brand_palette_updated_at": null,
                          "links": {
                            "website": "https://icecoast.us/mountain/example-mountain",
                            "self": {
                              "id": "/api/v1/mountains/id/00000000-0000-4000-8000-000000000001",
                              "slug": "/api/v1/mountains/slug/example-mountain"
                            },
                            "mountain_trails": {
                              "id": "/api/v1/trails?mountain=00000000-0000-4000-8000-000000000001",
                              "slug": "/api/v1/trails?mountain=example-mountain"
                            },
                            "mountain_lifts": {
                              "id": "/api/v1/lifts?mountain=00000000-0000-4000-8000-000000000001",
                              "slug": "/api/v1/lifts?mountain=example-mountain"
                            }
                          }
                        }
                      ],
                      "meta": {
                        "version": "v1"
                      },
                      "cached": false,
                      "pass": {
                        "id": "00000000-0000-4000-8000-000000000001",
                        "name": "Example Pass",
                        "slug": "example-pass",
                        "pass_type": null,
                        "is_active": true
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Pass not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/passes/mountains"
        }
      }
    },
    "/api/v1/passes/{slug}/summary": {
      "get": {
        "operationId": "passes_summary",
        "tags": [
          "passes"
        ],
        "summary": "Pass summary",
        "description": "stats.total_resorts counts memberships; stats.open_resorts uses the legacy mountain status string exactly Open. It is not the freshness-qualified open count in /reports/overview and is not a current operational guarantee.",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Pass slug or UUID."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "$ref": "#/components/schemas/PassSummary"
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": {
                        "id": "00000000-0000-4000-8000-000000000001",
                        "name": "Example Pass",
                        "slug": "example-pass",
                        "pass_type": null,
                        "stats": {
                          "total_resorts": 1,
                          "open_resorts": 0
                        },
                        "website": null,
                        "logo_url": null
                      },
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Pass not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/passes/summary"
        }
      }
    },
    "/api/v1/passes/slug/{slug}": {
      "get": {
        "operationId": "passes_detail_alias",
        "tags": [
          "passes"
        ],
        "summary": "Get pass (slug alias)",
        "description": "Always includes pass_tiers. includeMountains defaults true and may greatly expand the response; pass false for a lightweight read. The /slug/ form is a compatibility alias and also accepts UUIDs.",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Pass slug or UUID; both forms use polymorphic lookup."
            }
          },
          {
            "name": "includeMountains",
            "in": "query",
            "required": false,
            "description": "Include memberships and full mountains with trails/lifts.",
            "schema": {
              "type": "boolean",
              "description": "Include memberships and full mountains with trails/lifts.",
              "default": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "$ref": "#/components/schemas/Pass"
                    },
                    "cached": {
                      "type": "boolean",
                      "description": "Shared payload-cache hit."
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": {
                        "id": "00000000-0000-4000-8000-000000000001",
                        "name": "Example Pass",
                        "slug": "example-pass",
                        "pass_type": null,
                        "is_active": true
                      },
                      "meta": {
                        "version": "v1"
                      },
                      "cached": false
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Pass not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/passes/detail-alias"
        }
      }
    },
    "/api/v1/passes/slug/{slug}/mountains": {
      "get": {
        "operationId": "passes_mountains_alias",
        "tags": [
          "passes"
        ],
        "summary": "Pass mountains (alias)",
        "description": "Returns all linked mountains and active trails/lifts in data, plus a top-level pass object. Not paginated; list-mountain filters do not apply. Resort rows come from expanded pass membership and differ from the standard mountain projection.",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Pass slug or UUID."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; data is an array of Mountain records.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Mountain"
                      }
                    },
                    "cached": {
                      "type": "boolean",
                      "description": "Shared payload-cache hit."
                    },
                    "pass": {
                      "$ref": "#/components/schemas/Pass"
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": [
                        {
                          "id": "00000000-0000-4000-8000-000000000001",
                          "name": "Example Mountain",
                          "slug": "example-mountain",
                          "country": "United States",
                          "state": "Vermont",
                          "latitude": 44,
                          "longitude": -72,
                          "timezone": "America/New_York",
                          "no_trails_reported": false,
                          "no_lifts_reported": false,
                          "brand_palette_dark": [],
                          "brand_palette_dark_updated_at": null,
                          "brand_palette": [],
                          "brand_palette_updated_at": null,
                          "links": {
                            "website": "https://icecoast.us/mountain/example-mountain",
                            "self": {
                              "id": "/api/v1/mountains/id/00000000-0000-4000-8000-000000000001",
                              "slug": "/api/v1/mountains/slug/example-mountain"
                            },
                            "mountain_trails": {
                              "id": "/api/v1/trails?mountain=00000000-0000-4000-8000-000000000001",
                              "slug": "/api/v1/trails?mountain=example-mountain"
                            },
                            "mountain_lifts": {
                              "id": "/api/v1/lifts?mountain=00000000-0000-4000-8000-000000000001",
                              "slug": "/api/v1/lifts?mountain=example-mountain"
                            }
                          }
                        }
                      ],
                      "meta": {
                        "version": "v1"
                      },
                      "cached": false,
                      "pass": {
                        "id": "00000000-0000-4000-8000-000000000001",
                        "name": "Example Pass",
                        "slug": "example-pass",
                        "pass_type": null,
                        "is_active": true
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Pass not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/passes/mountains-alias"
        }
      }
    },
    "/api/v1/passes/slug/{slug}/summary": {
      "get": {
        "operationId": "passes_summary_alias",
        "tags": [
          "passes"
        ],
        "summary": "Pass summary (alias)",
        "description": "stats.total_resorts counts memberships; stats.open_resorts uses the legacy mountain status string exactly Open. It is not the freshness-qualified open count in /reports/overview and is not a current operational guarantee.",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Pass slug or UUID."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "$ref": "#/components/schemas/PassSummary"
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": {
                        "id": "00000000-0000-4000-8000-000000000001",
                        "name": "Example Pass",
                        "slug": "example-pass",
                        "pass_type": null,
                        "stats": {
                          "total_resorts": 1,
                          "open_resorts": 0
                        },
                        "website": null,
                        "logo_url": null
                      },
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Pass not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/passes/summary-alias"
        }
      }
    },
    "/api/v1/trail-changes": {
      "get": {
        "operationId": "history_trail_changes",
        "tags": [
          "history"
        ],
        "summary": "List trail changes",
        "description": "Recorded changes are not a full time series of resort states. Unchanged observations need not create rows. No retention duration is guaranteed. Preserve the returned fields payload. Query validation bounds are not enforced.",
        "parameters": [
          {
            "name": "mountain",
            "in": "query",
            "required": false,
            "description": "Mountain UUID, exact; slug is not resolved.",
            "schema": {
              "type": "string",
              "description": "Mountain UUID, exact; slug is not resolved."
            }
          },
          {
            "name": "trail_name",
            "in": "query",
            "required": false,
            "description": "Exact recorded entity name.",
            "schema": {
              "type": "string",
              "description": "Exact recorded entity name."
            }
          },
          {
            "name": "zone",
            "in": "query",
            "required": false,
            "description": "Exact zone.",
            "schema": {
              "type": "string",
              "description": "Exact zone."
            }
          },
          {
            "name": "run_id",
            "in": "query",
            "required": false,
            "description": "Exact run ID.",
            "schema": {
              "type": "string",
              "description": "Exact run ID."
            }
          },
          {
            "name": "source",
            "in": "query",
            "required": false,
            "description": "Exact source label.",
            "schema": {
              "type": "string",
              "description": "Exact source label."
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum records; send a positive integer.",
            "schema": {
              "type": "integer",
              "description": "Maximum records; send a positive integer.",
              "default": 100
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip; send a nonnegative integer.",
            "schema": {
              "type": "integer",
              "description": "Records to skip; send a nonnegative integer.",
              "default": 0
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "required": false,
            "description": "Sort column. Unsupported columns fall back to the default.",
            "schema": {
              "type": "string",
              "description": "Sort column. Unsupported columns fall back to the default.",
              "default": "created_at",
              "enum": [
                "created_at",
                "trail_name",
                "zone"
              ]
            }
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "Sort direction.",
            "schema": {
              "type": "string",
              "description": "Sort direction.",
              "default": "desc",
              "enum": [
                "asc",
                "desc"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; data is an array of Change records.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Change"
                      }
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        },
                        "total": {
                          "type": "integer"
                        },
                        "limit": {
                          "type": "integer"
                        },
                        "offset": {
                          "type": "integer"
                        },
                        "count": {
                          "type": "integer"
                        },
                        "hasMore": {
                          "type": "boolean"
                        },
                        "links": {
                          "type": "object",
                          "description": "Relative pagination URLs.",
                          "additionalProperties": true,
                          "properties": {
                            "next": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "prev": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": [
                        {
                          "id": 123,
                          "mountain": "00000000-0000-4000-8000-000000000001",
                          "trail_name": "Example Trail",
                          "zone": "Main",
                          "fields": {
                            "open": {
                              "from": false,
                              "to": true
                            }
                          },
                          "run_id": null,
                          "source": "example",
                          "created_at": "2026-12-04T12:00:00.000Z"
                        }
                      ],
                      "meta": {
                        "version": "v1",
                        "total": 1,
                        "limit": 100,
                        "offset": 0,
                        "count": 1,
                        "hasMore": false,
                        "links": {
                          "next": null,
                          "prev": null
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/history/trail-changes"
        }
      }
    },
    "/api/v1/trail-changes/{id}": {
      "get": {
        "operationId": "history_trail_change",
        "tags": [
          "history"
        ],
        "summary": "Get a trail change",
        "description": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Change ID from the list endpoint."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "$ref": "#/components/schemas/Change"
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": {
                        "id": 123,
                        "mountain": "00000000-0000-4000-8000-000000000001",
                        "trail_name": "Example Trail",
                        "zone": "Main",
                        "fields": {
                          "open": {
                            "from": false,
                            "to": true
                          }
                        },
                        "run_id": null,
                        "source": "example",
                        "created_at": "2026-12-04T12:00:00.000Z"
                      },
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Trail change not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/history/trail-change"
        }
      }
    },
    "/api/v1/lift-changes": {
      "get": {
        "operationId": "history_lift_changes",
        "tags": [
          "history"
        ],
        "summary": "List lift changes",
        "description": "Recorded changes are not a full time series of resort states. Unchanged observations need not create rows. No retention duration is guaranteed. Preserve the returned fields payload. Query validation bounds are not enforced.",
        "parameters": [
          {
            "name": "mountain",
            "in": "query",
            "required": false,
            "description": "Mountain UUID, exact; slug is not resolved.",
            "schema": {
              "type": "string",
              "description": "Mountain UUID, exact; slug is not resolved."
            }
          },
          {
            "name": "lift_name",
            "in": "query",
            "required": false,
            "description": "Exact recorded entity name.",
            "schema": {
              "type": "string",
              "description": "Exact recorded entity name."
            }
          },
          {
            "name": "zone",
            "in": "query",
            "required": false,
            "description": "Exact zone.",
            "schema": {
              "type": "string",
              "description": "Exact zone."
            }
          },
          {
            "name": "run_id",
            "in": "query",
            "required": false,
            "description": "Exact run ID.",
            "schema": {
              "type": "string",
              "description": "Exact run ID."
            }
          },
          {
            "name": "source",
            "in": "query",
            "required": false,
            "description": "Exact source label.",
            "schema": {
              "type": "string",
              "description": "Exact source label."
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum records; send a positive integer.",
            "schema": {
              "type": "integer",
              "description": "Maximum records; send a positive integer.",
              "default": 100
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip; send a nonnegative integer.",
            "schema": {
              "type": "integer",
              "description": "Records to skip; send a nonnegative integer.",
              "default": 0
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "required": false,
            "description": "Sort column. Unsupported columns fall back to the default.",
            "schema": {
              "type": "string",
              "description": "Sort column. Unsupported columns fall back to the default.",
              "default": "created_at",
              "enum": [
                "created_at",
                "lift_name",
                "zone"
              ]
            }
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "Sort direction.",
            "schema": {
              "type": "string",
              "description": "Sort direction.",
              "default": "desc",
              "enum": [
                "asc",
                "desc"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; data is an array of Change records.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Change"
                      }
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        },
                        "total": {
                          "type": "integer"
                        },
                        "limit": {
                          "type": "integer"
                        },
                        "offset": {
                          "type": "integer"
                        },
                        "count": {
                          "type": "integer"
                        },
                        "hasMore": {
                          "type": "boolean"
                        },
                        "links": {
                          "type": "object",
                          "description": "Relative pagination URLs.",
                          "additionalProperties": true,
                          "properties": {
                            "next": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "prev": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": [
                        {
                          "id": 123,
                          "mountain": "00000000-0000-4000-8000-000000000001",
                          "zone": "Main",
                          "fields": {
                            "open": {
                              "from": false,
                              "to": true
                            }
                          },
                          "run_id": null,
                          "source": "example",
                          "created_at": "2026-12-04T12:00:00.000Z",
                          "lift_name": "Example Chair"
                        }
                      ],
                      "meta": {
                        "version": "v1",
                        "total": 1,
                        "limit": 100,
                        "offset": 0,
                        "count": 1,
                        "hasMore": false,
                        "links": {
                          "next": null,
                          "prev": null
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/history/lift-changes"
        }
      }
    },
    "/api/v1/lift-changes/{id}": {
      "get": {
        "operationId": "history_lift_change",
        "tags": [
          "history"
        ],
        "summary": "Get a lift change",
        "description": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Change ID from the list endpoint."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "$ref": "#/components/schemas/Change"
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": {
                        "id": 123,
                        "mountain": "00000000-0000-4000-8000-000000000001",
                        "zone": "Main",
                        "fields": {
                          "open": {
                            "from": false,
                            "to": true
                          }
                        },
                        "run_id": null,
                        "source": "example",
                        "created_at": "2026-12-04T12:00:00.000Z",
                        "lift_name": "Example Chair"
                      },
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Lift change not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/history/lift-change"
        }
      }
    },
    "/api/v1/changes": {
      "get": {
        "operationId": "history_grouped",
        "tags": [
          "history"
        ],
        "summary": "Grouped operational changes",
        "description": "Only open/groomed changes are included; other changed fields are stripped. Flat changes are paged by created_at descending before grouping by run_id (timestamp fallback). meta.total/count refer to flat records, not groups. Groups may cross page boundaries. This cannot reconstruct complete historical snapshots.",
        "parameters": [
          {
            "name": "mountain",
            "in": "query",
            "required": false,
            "description": "Mountain UUID, exact match.",
            "schema": {
              "type": "string",
              "description": "Mountain UUID, exact match."
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum records; send a positive integer.",
            "schema": {
              "type": "integer",
              "description": "Maximum records; send a positive integer.",
              "default": 100
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip; send a nonnegative integer.",
            "schema": {
              "type": "integer",
              "description": "Records to skip; send a nonnegative integer.",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; data is an array of GroupedChange records.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/GroupedChange"
                      }
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        },
                        "total": {
                          "type": "integer"
                        },
                        "limit": {
                          "type": "integer"
                        },
                        "offset": {
                          "type": "integer"
                        },
                        "count": {
                          "type": "integer"
                        },
                        "hasMore": {
                          "type": "boolean"
                        },
                        "links": {
                          "type": "object",
                          "description": "Relative pagination URLs.",
                          "additionalProperties": true,
                          "properties": {
                            "next": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "prev": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": [
                        {
                          "id": "2026-12-04T12:00:00.000Z",
                          "run_id": null,
                          "mountain": "00000000-0000-4000-8000-000000000001",
                          "created_at": "2026-12-04T12:00:00.000Z",
                          "changes": []
                        }
                      ],
                      "meta": {
                        "version": "v1",
                        "total": 1,
                        "limit": 100,
                        "offset": 0,
                        "count": 1,
                        "hasMore": false,
                        "links": {
                          "next": null,
                          "prev": null
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/history/grouped"
        }
      }
    },
    "/api/v1/reports/overview": {
      "get": {
        "operationId": "reports_overview",
        "tags": [
          "reports"
        ],
        "summary": "Current alpine overview",
        "description": "Reporting scope is US/Canada alpine resorts, not the global catalog. data.totals is global and not narrowed by country/state; data.tracked/summary follow the selected overview scope. Only complete known active rosters with accepted, fresh, healthy reporting contribute operational totals. meta.scope and meta.policy explain policy. Cache lasts at most 60 seconds, reduced at freshness expiry. Unknown/unclassified resorts are not counted as closed.",
        "security": [],
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "required": false,
            "description": "Supported reporting country.",
            "schema": {
              "type": "string",
              "description": "Supported reporting country.",
              "enum": [
                "US",
                "CA"
              ]
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "Case-insensitive state name/code.",
            "schema": {
              "type": "string",
              "description": "Case-insensitive state name/code.",
              "minLength": 1,
              "maxLength": 100
            }
          },
          {
            "name": "rank_limit",
            "in": "query",
            "required": false,
            "description": "Entries per ranking.",
            "schema": {
              "type": "integer",
              "description": "Entries per ranking.",
              "default": 5,
              "minimum": 1,
              "maximum": 20
            }
          },
          {
            "name": "min_trails",
            "in": "query",
            "required": false,
            "description": "Minimum trails for availability ranking.",
            "schema": {
              "type": "integer",
              "description": "Minimum trails for availability ranking.",
              "default": 20,
              "minimum": 1,
              "maximum": 500
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "$ref": "#/components/schemas/Overview"
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": {
                        "summary": {
                          "mountains": {
                            "total": 0,
                            "alpine_classified": 0,
                            "unclassified": 0,
                            "reporting": 0,
                            "open": 0,
                            "closed": 0,
                            "unknown": 0
                          },
                          "trails": {
                            "total": 0,
                            "open": 0,
                            "closed": 0,
                            "unknown": 0,
                            "availability_percent": null
                          },
                          "lifts": {
                            "total": 0,
                            "open": 0,
                            "closed": 0,
                            "unknown": 0,
                            "availability_percent": null
                          }
                        },
                        "tracked": {
                          "mountains": 0,
                          "trails": 0,
                          "lifts": 0
                        },
                        "recent_updates": [],
                        "difficulty": [
                          {
                            "key": "beginner",
                            "label": "Beginner",
                            "ratings": [
                              "green"
                            ],
                            "total": 0,
                            "open": 0,
                            "availability_percent": null
                          },
                          {
                            "key": "intermediate",
                            "label": "Intermediate",
                            "ratings": [
                              "blue",
                              "double blue"
                            ],
                            "total": 0,
                            "open": 0,
                            "availability_percent": null
                          },
                          {
                            "key": "advanced",
                            "label": "Advanced",
                            "ratings": [
                              "black"
                            ],
                            "total": 0,
                            "open": 0,
                            "availability_percent": null
                          },
                          {
                            "key": "expert",
                            "label": "Expert",
                            "ratings": [
                              "double black",
                              "triple black"
                            ],
                            "total": 0,
                            "open": 0,
                            "availability_percent": null
                          },
                          {
                            "key": "terrain_park",
                            "label": "Terrain park",
                            "ratings": [
                              "terrain park"
                            ],
                            "total": 0,
                            "open": 0,
                            "availability_percent": null
                          },
                          {
                            "key": "unknown",
                            "label": "Unclassified",
                            "ratings": [],
                            "total": 0,
                            "open": 0,
                            "availability_percent": null
                          }
                        ],
                        "rankings": {
                          "open_trails": [],
                          "trail_availability": [],
                          "open_lifts": [],
                          "beginner_terrain": [],
                          "expert_terrain": []
                        },
                        "geography": [],
                        "totals": {
                          "mountains": 0,
                          "trails": 0,
                          "lifts": 0
                        }
                      },
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/reports/overview"
        }
      }
    },
    "/api/v1/reports/summaries/top-open": {
      "get": {
        "operationId": "reports_top_open",
        "tags": [
          "reports"
        ],
        "summary": "Top open mountains",
        "description": "Legacy top-10 ranking of published mountains by percentage of stored trails with open=true. Includes stored trail rows without overview freshness/active-roster checks. Prefer overview rankings for current dashboards.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success; data is an array of TopOpen records.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/TopOpen"
                      }
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": [
                        {
                          "id": "00000000-0000-4000-8000-000000000001",
                          "name": "Example Mountain",
                          "slug": "example-mountain",
                          "total_trails": 10,
                          "open_trails": 5,
                          "percent_open": 50
                        }
                      ],
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/reports/top-open"
        }
      }
    },
    "/api/v1/reports/regions/{slug}/top-open": {
      "get": {
        "operationId": "reports_region_top_open",
        "tags": [
          "reports"
        ],
        "summary": "Top open mountains in a region",
        "description": "At most five mountains ranked by stored-trail open percentage. Missing region returns an empty array. This legacy endpoint does not enforce overview published/freshness/active-roster policies.",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Region label or basic hyphenated form; only the first hyphen is replaced with a space."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; data is an array of TopOpen records.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/TopOpen"
                      }
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": [
                        {
                          "id": "00000000-0000-4000-8000-000000000001",
                          "name": "Example Mountain",
                          "slug": "example-mountain",
                          "total_trails": 10,
                          "open_trails": 5,
                          "percent_open": 50
                        }
                      ],
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/reports/region-top-open"
        }
      }
    },
    "/api/v1/reports/summaries/changed-today": {
      "get": {
        "operationId": "reports_changed_today",
        "tags": [
          "reports"
        ],
        "summary": "Records changed today",
        "description": "Counts updated_at since midnight in the API process timezone, which is not guaranteed UTC or resort-local. This is a record-update count, not necessarily an operational change. recent_mountains is at most five records with no guaranteed ordering.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "$ref": "#/components/schemas/ChangedToday"
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": {
                        "mountains": 0,
                        "trails": 0,
                        "lifts": 0,
                        "recent_mountains": []
                      },
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "API-key/quota verification unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/reports/changed-today"
        }
      }
    },
    "/api/v1/geo/bounds": {
      "get": {
        "operationId": "geography_bounds",
        "tags": [
          "geography"
        ],
        "summary": "Trail geometry bounds",
        "description": "Returns GeoJSON directly, without success/data; global hooks can add meta.version. Coordinates use longitude, latitude order. Bounds intersect feature bounding boxes, so geometry can extend beyond the viewport. /bounds and /bounds/trail alias /bounds/trails. Dataset features are not guaranteed to share operational entity IDs. Geographic completeness and crossing-antimeridian handling are not guaranteed. Missing boundary parameters return 400.",
        "security": [],
        "parameters": [
          {
            "name": "ne_lng",
            "in": "query",
            "required": true,
            "description": "Northeast longitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Northeast longitude in degrees."
            }
          },
          {
            "name": "ne_lat",
            "in": "query",
            "required": true,
            "description": "Northeast latitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Northeast latitude in degrees."
            }
          },
          {
            "name": "sw_lng",
            "in": "query",
            "required": true,
            "description": "Southwest longitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Southwest longitude in degrees."
            }
          },
          {
            "name": "sw_lat",
            "in": "query",
            "required": true,
            "description": "Southwest latitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Southwest latitude in degrees."
            }
          },
          {
            "name": "complexity",
            "in": "query",
            "required": false,
            "description": "Geometry detail ratio: 1 preserves original; smaller positive values simplify. Zero falls back to 1.",
            "schema": {
              "type": "number",
              "default": 1,
              "description": "Geometry detail ratio: 1 preserves original; smaller positive values simplify. Zero falls back to 1."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeatureCollection"
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "type": "FeatureCollection",
                      "features": [],
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/geography/bounds"
        }
      }
    },
    "/api/v1/geo/bounds/trails": {
      "get": {
        "operationId": "geography_trails",
        "tags": [
          "geography"
        ],
        "summary": "Trail geometry",
        "description": "Returns GeoJSON directly, without success/data; global hooks can add meta.version. Coordinates use longitude, latitude order. Bounds intersect feature bounding boxes, so geometry can extend beyond the viewport. /bounds and /bounds/trail alias /bounds/trails. Dataset features are not guaranteed to share operational entity IDs. Geographic completeness and crossing-antimeridian handling are not guaranteed. Missing boundary parameters return 400.",
        "security": [],
        "parameters": [
          {
            "name": "ne_lng",
            "in": "query",
            "required": true,
            "description": "Northeast longitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Northeast longitude in degrees."
            }
          },
          {
            "name": "ne_lat",
            "in": "query",
            "required": true,
            "description": "Northeast latitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Northeast latitude in degrees."
            }
          },
          {
            "name": "sw_lng",
            "in": "query",
            "required": true,
            "description": "Southwest longitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Southwest longitude in degrees."
            }
          },
          {
            "name": "sw_lat",
            "in": "query",
            "required": true,
            "description": "Southwest latitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Southwest latitude in degrees."
            }
          },
          {
            "name": "complexity",
            "in": "query",
            "required": false,
            "description": "Geometry detail ratio: 1 preserves original; smaller positive values simplify. Zero falls back to 1.",
            "schema": {
              "type": "number",
              "default": 1,
              "description": "Geometry detail ratio: 1 preserves original; smaller positive values simplify. Zero falls back to 1."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeatureCollection"
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "type": "FeatureCollection",
                      "features": [],
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/geography/trails"
        }
      }
    },
    "/api/v1/geo/bounds/trail": {
      "get": {
        "operationId": "geography_trail_alias",
        "tags": [
          "geography"
        ],
        "summary": "Trail geometry alias",
        "description": "Returns GeoJSON directly, without success/data; global hooks can add meta.version. Coordinates use longitude, latitude order. Bounds intersect feature bounding boxes, so geometry can extend beyond the viewport. /bounds and /bounds/trail alias /bounds/trails. Dataset features are not guaranteed to share operational entity IDs. Geographic completeness and crossing-antimeridian handling are not guaranteed. Missing boundary parameters return 400.",
        "security": [],
        "parameters": [
          {
            "name": "ne_lng",
            "in": "query",
            "required": true,
            "description": "Northeast longitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Northeast longitude in degrees."
            }
          },
          {
            "name": "ne_lat",
            "in": "query",
            "required": true,
            "description": "Northeast latitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Northeast latitude in degrees."
            }
          },
          {
            "name": "sw_lng",
            "in": "query",
            "required": true,
            "description": "Southwest longitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Southwest longitude in degrees."
            }
          },
          {
            "name": "sw_lat",
            "in": "query",
            "required": true,
            "description": "Southwest latitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Southwest latitude in degrees."
            }
          },
          {
            "name": "complexity",
            "in": "query",
            "required": false,
            "description": "Geometry detail ratio: 1 preserves original; smaller positive values simplify. Zero falls back to 1.",
            "schema": {
              "type": "number",
              "default": 1,
              "description": "Geometry detail ratio: 1 preserves original; smaller positive values simplify. Zero falls back to 1."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeatureCollection"
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "type": "FeatureCollection",
                      "features": [],
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/geography/trail-alias"
        }
      }
    },
    "/api/v1/geo/bounds/areas": {
      "get": {
        "operationId": "geography_areas",
        "tags": [
          "geography"
        ],
        "summary": "Area geometry",
        "description": "Returns GeoJSON directly, without success/data; global hooks can add meta.version. Coordinates use longitude, latitude order. Bounds intersect feature bounding boxes, so geometry can extend beyond the viewport. /bounds and /bounds/trail alias /bounds/trails. Dataset features are not guaranteed to share operational entity IDs. Geographic completeness and crossing-antimeridian handling are not guaranteed. Missing boundary parameters return 400.",
        "security": [],
        "parameters": [
          {
            "name": "ne_lng",
            "in": "query",
            "required": true,
            "description": "Northeast longitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Northeast longitude in degrees."
            }
          },
          {
            "name": "ne_lat",
            "in": "query",
            "required": true,
            "description": "Northeast latitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Northeast latitude in degrees."
            }
          },
          {
            "name": "sw_lng",
            "in": "query",
            "required": true,
            "description": "Southwest longitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Southwest longitude in degrees."
            }
          },
          {
            "name": "sw_lat",
            "in": "query",
            "required": true,
            "description": "Southwest latitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Southwest latitude in degrees."
            }
          },
          {
            "name": "complexity",
            "in": "query",
            "required": false,
            "description": "Geometry detail ratio: 1 preserves original; smaller positive values simplify. Zero falls back to 1.",
            "schema": {
              "type": "number",
              "default": 1,
              "description": "Geometry detail ratio: 1 preserves original; smaller positive values simplify. Zero falls back to 1."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeatureCollection"
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "type": "FeatureCollection",
                      "features": [],
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/geography/areas"
        }
      }
    },
    "/api/v1/geo/bounds/combined": {
      "get": {
        "operationId": "geography_combined",
        "tags": [
          "geography"
        ],
        "summary": "Combined geographic features",
        "description": "Returns GeoJSON directly, without success/data; global hooks can add meta.version. Coordinates use longitude, latitude order. Bounds intersect feature bounding boxes, so geometry can extend beyond the viewport. /bounds and /bounds/trail alias /bounds/trails. Dataset features are not guaranteed to share operational entity IDs. Geographic completeness and crossing-antimeridian handling are not guaranteed. Missing boundary parameters return 400.",
        "security": [],
        "parameters": [
          {
            "name": "ne_lng",
            "in": "query",
            "required": true,
            "description": "Northeast longitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Northeast longitude in degrees."
            }
          },
          {
            "name": "ne_lat",
            "in": "query",
            "required": true,
            "description": "Northeast latitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Northeast latitude in degrees."
            }
          },
          {
            "name": "sw_lng",
            "in": "query",
            "required": true,
            "description": "Southwest longitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Southwest longitude in degrees."
            }
          },
          {
            "name": "sw_lat",
            "in": "query",
            "required": true,
            "description": "Southwest latitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Southwest latitude in degrees."
            }
          },
          {
            "name": "complexity",
            "in": "query",
            "required": false,
            "description": "Geometry detail ratio: 1 preserves original; smaller positive values simplify. Zero falls back to 1.",
            "schema": {
              "type": "number",
              "default": 1,
              "description": "Geometry detail ratio: 1 preserves original; smaller positive values simplify. Zero falls back to 1."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeatureCollection"
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "type": "FeatureCollection",
                      "features": [],
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/geography/combined"
        }
      }
    },
    "/api/v1/geo/custom-areas": {
      "get": {
        "operationId": "geography_custom",
        "tags": [
          "geography"
        ],
        "summary": "Custom area features",
        "description": "Returns GeoJSON directly, without success/data; global hooks can add meta.version. Coordinates use longitude, latitude order. Bounds intersect feature bounding boxes, so geometry can extend beyond the viewport. /bounds and /bounds/trail alias /bounds/trails. Dataset features are not guaranteed to share operational entity IDs. Geographic completeness and crossing-antimeridian handling are not guaranteed. Missing boundary parameters return 400.",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeatureCollection"
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "type": "FeatureCollection",
                      "features": [],
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/geography/custom"
        }
      }
    },
    "/api/v1/geo/custom-areas/bounds": {
      "get": {
        "operationId": "geography_custom_bounds",
        "tags": [
          "geography"
        ],
        "summary": "Custom area bounds",
        "description": "Returns GeoJSON directly, without success/data; global hooks can add meta.version. Coordinates use longitude, latitude order. Bounds intersect feature bounding boxes, so geometry can extend beyond the viewport. /bounds and /bounds/trail alias /bounds/trails. Dataset features are not guaranteed to share operational entity IDs. Geographic completeness and crossing-antimeridian handling are not guaranteed. Missing boundary parameters return 400.",
        "security": [],
        "parameters": [
          {
            "name": "ne_lng",
            "in": "query",
            "required": true,
            "description": "Northeast longitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Northeast longitude in degrees."
            }
          },
          {
            "name": "ne_lat",
            "in": "query",
            "required": true,
            "description": "Northeast latitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Northeast latitude in degrees."
            }
          },
          {
            "name": "sw_lng",
            "in": "query",
            "required": true,
            "description": "Southwest longitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Southwest longitude in degrees."
            }
          },
          {
            "name": "sw_lat",
            "in": "query",
            "required": true,
            "description": "Southwest latitude in degrees.",
            "schema": {
              "type": "number",
              "description": "Southwest latitude in degrees."
            }
          },
          {
            "name": "complexity",
            "in": "query",
            "required": false,
            "description": "Geometry detail ratio: 1 preserves original; smaller positive values simplify. Zero falls back to 1.",
            "schema": {
              "type": "number",
              "default": 1,
              "description": "Geometry detail ratio: 1 preserves original; smaller positive values simplify. Zero falls back to 1."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeatureCollection"
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "type": "FeatureCollection",
                      "features": [],
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "The resource could not be read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/geography/custom-bounds"
        }
      }
    },
    "/api/v1/status/summary": {
      "get": {
        "operationId": "status_summary",
        "tags": [
          "status"
        ],
        "summary": "Data verification summary",
        "description": "Anonymous. These endpoints share an in-process per-IP allowance of 60 requests per 60 seconds; 429 includes Retry-After. Successful responses advertise public Cache-Control of at most 30 seconds. Health is data verification, not skiing availability. Rates are null until at least five relevant samples exist within seven days. Mountain directory includes a 90-day UTC tracker; detail adds up to 20 recent executions and 20 publication events, not raw logs. Sources returns sanitized hostnames only.",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "$ref": "#/components/schemas/StatusSummary"
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": {
                        "overall_health": "untested",
                        "configured_sources": 1,
                        "configured_mountains": 1,
                        "source_health": {
                          "untested": 1
                        },
                        "mountain_health": {
                          "untested": 1
                        },
                        "fresh_mountains": 0,
                        "retaining_verified_conditions": 0
                      },
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Per-IP request allowance exceeded; inspect Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds before retry.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "503": {
            "description": "Verification status unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/status/summary"
        }
      }
    },
    "/api/v1/status/sources": {
      "get": {
        "operationId": "status_sources",
        "tags": [
          "status"
        ],
        "summary": "Reporting source directory",
        "description": "Anonymous. These endpoints share an in-process per-IP allowance of 60 requests per 60 seconds; 429 includes Retry-After. Successful responses advertise public Cache-Control of at most 30 seconds. Health is data verification, not skiing availability. Rates are null until at least five relevant samples exist within seven days. Mountain directory includes a 90-day UTC tracker; detail adds up to 20 recent executions and 20 publication events, not raw logs. Sources returns sanitized hostnames only.",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success; data is an array of Source records.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Source"
                      }
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": [
                        {
                          "mountain": {
                            "name": "Example Mountain",
                            "slug": "example-mountain",
                            "href": "/mountains/example-mountain"
                          },
                          "domains": [
                            "example.com"
                          ]
                        }
                      ],
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Per-IP request allowance exceeded; inspect Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds before retry.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "503": {
            "description": "Verification status unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/status/sources"
        }
      }
    },
    "/api/v1/status/mountains": {
      "get": {
        "operationId": "status_mountains",
        "tags": [
          "status"
        ],
        "summary": "Mountain verification directory",
        "description": "Anonymous. These endpoints share an in-process per-IP allowance of 60 requests per 60 seconds; 429 includes Retry-After. Successful responses advertise public Cache-Control of at most 30 seconds. Health is data verification, not skiing availability. Rates are null until at least five relevant samples exist within seven days. Mountain directory includes a 90-day UTC tracker; detail adds up to 20 recent executions and 20 publication events, not raw logs. Sources returns sanitized hostnames only.",
        "security": [],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Page size.",
            "schema": {
              "type": "integer",
              "description": "Page size.",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Offset.",
            "schema": {
              "type": "integer",
              "description": "Offset.",
              "default": 0,
              "minimum": 0,
              "maximum": 10000
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Case-insensitive mountain-name substring.",
            "schema": {
              "type": "string",
              "description": "Case-insensitive mountain-name substring.",
              "maxLength": 80
            }
          },
          {
            "name": "health",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "healthy",
                "degraded",
                "failed",
                "stale",
                "disabled",
                "off_season",
                "untested"
              ]
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "Exact stored state name.",
            "schema": {
              "type": "string",
              "description": "Exact stored state name.",
              "maxLength": 100
            }
          },
          {
            "name": "region",
            "in": "query",
            "required": false,
            "description": "Exact region.",
            "schema": {
              "type": "string",
              "description": "Exact region.",
              "maxLength": 100
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "description": "Exact stored country name.",
            "schema": {
              "type": "string",
              "description": "Exact stored country name.",
              "maxLength": 100
            }
          },
          {
            "name": "slug",
            "in": "query",
            "required": false,
            "description": "Exact slug.",
            "schema": {
              "type": "string",
              "description": "Exact slug.",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; data is an array of StatusMountain records.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/StatusMountain"
                      }
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        },
                        "total": {
                          "type": "integer"
                        },
                        "limit": {
                          "type": "integer"
                        },
                        "offset": {
                          "type": "integer"
                        },
                        "count": {
                          "type": "integer"
                        },
                        "hasMore": {
                          "type": "boolean"
                        },
                        "links": {
                          "type": "object",
                          "description": "Relative pagination URLs.",
                          "additionalProperties": true,
                          "properties": {
                            "next": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "prev": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": [
                        {
                          "mountain": {
                            "name": "Example Mountain",
                            "slug": "example-mountain",
                            "href": "/mountains/example-mountain",
                            "media": [],
                            "brand_palette_dark": [],
                            "brand_palette_dark_updated_at": null,
                            "brand_palette": [],
                            "brand_palette_updated_at": null,
                            "state": null,
                            "region": null,
                            "country": null
                          },
                          "health": "untested",
                          "last_attempt_at": null,
                          "last_verified_at": null,
                          "freshness": {
                            "age_seconds": null,
                            "expected_interval_seconds": 3600,
                            "stale": false
                          },
                          "retaining_verified_conditions": false,
                          "reliability": {
                            "completed_observations": 0,
                            "successful_executions": 0,
                            "failed_executions": 0,
                            "accepted_publications": 0,
                            "rejected_publications": 0,
                            "execution_sample_size": 0,
                            "publication_sample_size": 0,
                            "execution_success_percent": null,
                            "publication_acceptance_percent": null
                          },
                          "detection": {
                            "trails": null,
                            "lifts": null,
                            "quality_score": null
                          },
                          "explanations": []
                        }
                      ],
                      "meta": {
                        "version": "v1",
                        "total": 1,
                        "limit": 25,
                        "offset": 0,
                        "count": 1,
                        "hasMore": false,
                        "links": {
                          "next": null,
                          "prev": null
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Per-IP request allowance exceeded; inspect Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds before retry.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "503": {
            "description": "Verification status unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/status/mountains"
        }
      }
    },
    "/api/v1/status/mountains/{slug}": {
      "get": {
        "operationId": "status_detail",
        "tags": [
          "status"
        ],
        "summary": "Mountain verification status",
        "description": "Anonymous. These endpoints share an in-process per-IP allowance of 60 requests per 60 seconds; 429 includes Retry-After. Successful responses advertise public Cache-Control of at most 30 seconds. Health is data verification, not skiing availability. Rates are null until at least five relevant samples exist within seven days. Mountain directory includes a 90-day UTC tracker; detail adds up to 20 recent executions and 20 publication events, not raw logs. Sources returns sanitized hostnames only.",
        "security": [],
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Mountain slug.",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "$ref": "#/components/schemas/StatusMountain"
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": {
                        "mountain": {
                          "name": "Example Mountain",
                          "slug": "example-mountain",
                          "href": "/mountains/example-mountain",
                          "media": [],
                          "brand_palette_dark": [],
                          "brand_palette_dark_updated_at": null,
                          "brand_palette": [],
                          "brand_palette_updated_at": null,
                          "state": null,
                          "region": null,
                          "country": null
                        },
                        "health": "untested",
                        "last_attempt_at": null,
                        "last_verified_at": null,
                        "freshness": {
                          "age_seconds": null,
                          "expected_interval_seconds": 3600,
                          "stale": false
                        },
                        "retaining_verified_conditions": false,
                        "reliability": {
                          "completed_observations": 0,
                          "successful_executions": 0,
                          "failed_executions": 0,
                          "accepted_publications": 0,
                          "rejected_publications": 0,
                          "execution_sample_size": 0,
                          "publication_sample_size": 0,
                          "execution_success_percent": null,
                          "publication_acceptance_percent": null
                        },
                        "detection": {
                          "trails": null,
                          "lifts": null,
                          "quality_score": null
                        },
                        "explanations": []
                      },
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Mountain status not found.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Per-IP request allowance exceeded; inspect Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds before retry.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "503": {
            "description": "Verification status unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/status/detail"
        }
      }
    },
    "/api/v1/feeds/mountains.xml": {
      "get": {
        "operationId": "feeds_directory",
        "tags": [
          "feeds"
        ],
        "summary": "Mountain XML feed directory",
        "description": "Aggregate-only UTF-8 XML; no individual terrain statuses or history. Canonical website feeds: https://icecoast.us/feeds/mountains.xml and https://icecoast.us/mountains/{slug}/feed.xml. Unavailable values are omitted. Published mountains with slugs appear in the directory. Cache-Control: public, max-age=60, s-maxage=60. If-None-Match accepts ETag, weak ETag or wildcard and may return 304. Current source evidence is required for conditions; unknown roster statuses suppress open counts. Freshness: fresh, retained, stale or unavailable.",
        "security": [],
        "parameters": [
          {
            "name": "If-None-Match",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Previously received ETag."
          }
        ],
        "responses": {
          "200": {
            "description": "UTF-8 XML document.",
            "content": {
              "application/xml": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<mountain_feeds version=\"1\"><feed><id>00000000-0000-4000-8000-000000000001</id><name>Example Mountain</name><url>https://icecoast.us/mountains/example-mountain/feed.xml</url></feed></mountain_feeds>"
                  }
                }
              }
            },
            "headers": {
              "ETag": {
                "schema": {
                  "type": "string"
                },
                "description": "Content fingerprint."
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "ETag matches; no body."
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "description": "Feed temporarily unavailable.",
            "content": {
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/feeds/directory"
        }
      }
    },
    "/api/v1/feeds/mountains/{slug}.xml": {
      "get": {
        "operationId": "feeds_mountain",
        "tags": [
          "feeds"
        ],
        "summary": "Mountain XML feed",
        "description": "Aggregate-only UTF-8 XML; no individual terrain statuses or history. Canonical website feeds: https://icecoast.us/feeds/mountains.xml and https://icecoast.us/mountains/{slug}/feed.xml. Unavailable values are omitted. Published mountains with slugs appear in the directory. Cache-Control: public, max-age=60, s-maxage=60. If-None-Match accepts ETag, weak ETag or wildcard and may return 304. Current source evidence is required for conditions; unknown roster statuses suppress open counts. Freshness: fresh, retained, stale or unavailable.",
        "security": [],
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Published mountain slug.",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          },
          {
            "name": "If-None-Match",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Previously received ETag."
          }
        ],
        "responses": {
          "200": {
            "description": "UTF-8 XML document.",
            "content": {
              "application/xml": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<mountain_feed version=\"1\"><id>00000000-0000-4000-8000-000000000001</id><name>Example Mountain</name><freshness><status>unavailable</status></freshness></mountain_feed>"
                  }
                }
              }
            },
            "headers": {
              "ETag": {
                "schema": {
                  "type": "string"
                },
                "description": "Content fingerprint."
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "ETag matches; no body."
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Mountain not found",
            "content": {
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "description": "Feed temporarily unavailable.",
            "content": {
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/feeds/mountain"
        }
      }
    },
    "/api/v1/weather/{mountainId}": {
      "get": {
        "operationId": "weather_forecast",
        "tags": [
          "weather"
        ],
        "summary": "Mountain forecast",
        "description": "Optional resource, not enabled in every deployment; unavailable routes return 404. Stored reads never trigger collection. Successful responses: Cache-Control: public, max-age=60, stale-if-error=300. Forecast stale is true when age/data age exceeds 12 hours or a recent current forecast hour is absent. Reported weather is source evidence, separate from modeled forecasts; unknown source age or age over 24 hours is stale. History returns metadata only, with no offset pagination.",
        "x-availability": "Optional: registered only when weather reads are enabled.",
        "parameters": [
          {
            "name": "mountainId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Mountain UUID.",
              "format": "uuid"
            }
          },
          {
            "name": "role",
            "in": "query",
            "required": false,
            "description": "Forecast point role.",
            "schema": {
              "type": "string",
              "description": "Forecast point role.",
              "enum": [
                "resort",
                "base",
                "mid",
                "summit"
              ],
              "default": "resort"
            }
          },
          {
            "name": "model",
            "in": "query",
            "required": false,
            "description": "Stored model product; availability varies.",
            "schema": {
              "type": "string",
              "description": "Stored model product; availability varies.",
              "pattern": "^[a-z0-9_]{1,80}$",
              "default": "gfs_global"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "$ref": "#/components/schemas/Forecast"
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": {
                        "mountain_id": "00000000-0000-4000-8000-000000000001",
                        "snapshot_id": "example-snapshot",
                        "product": "gfs_global",
                        "point": "resort",
                        "fetched_at": "2026-12-04T12:00:00Z",
                        "first_fetched_at": "2026-12-04T12:00:00Z",
                        "initialized_at": null,
                        "age_seconds": 0,
                        "data_age_seconds": 0,
                        "stale": true,
                        "current": null,
                        "hourly": [],
                        "daily": [],
                        "metadata": {}
                      },
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Weather is not available for this mountain point.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "description": "Weather temporarily unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/weather/forecast"
        }
      }
    },
    "/api/v1/weather/{mountainId}/reported": {
      "get": {
        "operationId": "weather_reported",
        "tags": [
          "weather"
        ],
        "summary": "Resort-reported weather",
        "description": "Optional resource, not enabled in every deployment; unavailable routes return 404. Stored reads never trigger collection. Successful responses: Cache-Control: public, max-age=60, stale-if-error=300. Forecast stale is true when age/data age exceeds 12 hours or a recent current forecast hour is absent. Reported weather is source evidence, separate from modeled forecasts; unknown source age or age over 24 hours is stale. History returns metadata only, with no offset pagination.",
        "x-availability": "Optional: registered only when weather reads are enabled.",
        "parameters": [
          {
            "name": "mountainId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Mountain UUID.",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "$ref": "#/components/schemas/ReportedWeather"
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": {
                        "mountain_id": "00000000-0000-4000-8000-000000000001",
                        "reports": []
                      },
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Weather is not available for this mountain point.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "description": "Weather temporarily unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/weather/reported"
        }
      }
    },
    "/api/v1/weather/{mountainId}/history": {
      "get": {
        "operationId": "weather_history",
        "tags": [
          "weather"
        ],
        "summary": "Forecast snapshot history",
        "description": "Optional resource, not enabled in every deployment; unavailable routes return 404. Stored reads never trigger collection. Successful responses: Cache-Control: public, max-age=60, stale-if-error=300. Forecast stale is true when age/data age exceeds 12 hours or a recent current forecast hour is absent. Reported weather is source evidence, separate from modeled forecasts; unknown source age or age over 24 hours is stale. History returns metadata only, with no offset pagination.",
        "x-availability": "Optional: registered only when weather reads are enabled.",
        "parameters": [
          {
            "name": "mountainId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Mountain UUID.",
              "format": "uuid"
            }
          },
          {
            "name": "role",
            "in": "query",
            "required": false,
            "description": "Forecast point role.",
            "schema": {
              "type": "string",
              "description": "Forecast point role.",
              "enum": [
                "resort",
                "base",
                "mid",
                "summit"
              ],
              "default": "resort"
            }
          },
          {
            "name": "model",
            "in": "query",
            "required": false,
            "description": "Stored model product; availability varies.",
            "schema": {
              "type": "string",
              "description": "Stored model product; availability varies.",
              "pattern": "^[a-z0-9_]{1,80}$",
              "default": "gfs_global"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Snapshot metadata limit.",
            "schema": {
              "type": "integer",
              "description": "Snapshot metadata limit.",
              "default": 20,
              "minimum": 1,
              "maximum": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; data is an array of ForecastHistory records.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ForecastHistory"
                      }
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": [
                        {
                          "snapshot_id": "example-snapshot",
                          "fetched_at": "2026-12-04T12:00:00Z",
                          "valid_from": "2026-12-04T00:00:00Z",
                          "valid_to": "2026-12-05T00:00:00Z",
                          "snapshot_kind": "forecast",
                          "content_hash": "example-fingerprint"
                        }
                      ],
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Weather is not available for this mountain point.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "description": "Weather temporarily unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/weather/history"
        }
      }
    },
    "/api/v1/exports/mountains": {
      "get": {
        "operationId": "exports_catalog",
        "tags": [
          "exports"
        ],
        "summary": "Mountain export catalog",
        "description": "Exports are deployment-dependent. Public mode allows anonymous reads; private mode requires a secret API key for external integrations and rejects public keys. An unconfigured service returns 503. The catalog links to download-metadata routes. Download routes return JSON with data.url, never ZIP bytes or a redirect; retrieve the archive from that URL. Private URLs expire at expires_at; do not share or log them. Public URLs have expires_at=null. Archive contents are captured snapshots, not live source reads. 409 means the eligible catalog changed and archives need refreshing; retry later. Successful metadata uses public, max-age=0, must-revalidate in public mode and private, no-store in private mode.",
        "security": [
          {},
          {
            "ApiKey": []
          },
          {
            "BearerKey": []
          }
        ],
        "x-access-mode": "Anonymous in public mode; secret key required in private mode.",
        "parameters": [
          {
            "name": "scope",
            "in": "query",
            "required": false,
            "description": "Export coverage.",
            "schema": {
              "type": "string",
              "description": "Export coverage.",
              "enum": [
                "all",
                "us-ca"
              ],
              "default": "all"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "$ref": "#/components/schemas/ExportCatalog"
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": {
                        "schema_version": 1,
                        "captured_at": "2026-12-04T12:00:00Z",
                        "generated_at": "2026-12-04T12:01:00Z",
                        "scope": "all",
                        "count": 0,
                        "mountains": [],
                        "dataset_download": "/api/v1/exports/datasets/all/download"
                      },
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "The export catalog is being refreshed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "description": "Dataset exports are unconfigured or temporarily unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/exports/catalog"
        }
      }
    },
    "/api/v1/exports/mountains/{identifier}/download": {
      "get": {
        "operationId": "exports_mountain",
        "tags": [
          "exports"
        ],
        "summary": "Mountain ZIP metadata",
        "description": "Exports are deployment-dependent. Public mode allows anonymous reads; private mode requires a secret API key for external integrations and rejects public keys. An unconfigured service returns 503. The catalog links to download-metadata routes. Download routes return JSON with data.url, never ZIP bytes or a redirect; retrieve the archive from that URL. Private URLs expire at expires_at; do not share or log them. Public URLs have expires_at=null. Archive contents are captured snapshots, not live source reads. 409 means the eligible catalog changed and archives need refreshing; retry later. Successful metadata uses public, max-age=0, must-revalidate in public mode and private, no-store in private mode.",
        "security": [
          {},
          {
            "ApiKey": []
          },
          {
            "BearerKey": []
          }
        ],
        "x-access-mode": "Anonymous in public mode; secret key required in private mode.",
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Published mountain UUID or slug.",
              "pattern": "^[a-z0-9][a-z0-9-]{0,159}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "$ref": "#/components/schemas/ExportDownload"
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": {
                        "url": "https://example.com/example-mountain.zip",
                        "expires_at": null,
                        "sha256": "0000000000000000000000000000000000000000000000000000000000000000",
                        "bytes": 1024,
                        "filename": "example-mountain.zip",
                        "content_type": "application/zip",
                        "captured_at": "2026-12-04T12:00:00Z"
                      },
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Export not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "The export catalog is being refreshed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "description": "Dataset exports are unconfigured or temporarily unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/exports/mountain"
        }
      }
    },
    "/api/v1/exports/datasets/{scope}/download": {
      "get": {
        "operationId": "exports_dataset",
        "tags": [
          "exports"
        ],
        "summary": "Dataset ZIP metadata",
        "description": "Exports are deployment-dependent. Public mode allows anonymous reads; private mode requires a secret API key for external integrations and rejects public keys. An unconfigured service returns 503. The catalog links to download-metadata routes. Download routes return JSON with data.url, never ZIP bytes or a redirect; retrieve the archive from that URL. Private URLs expire at expires_at; do not share or log them. Public URLs have expires_at=null. Archive contents are captured snapshots, not live source reads. 409 means the eligible catalog changed and archives need refreshing; retry later. Successful metadata uses public, max-age=0, must-revalidate in public mode and private, no-store in private mode.",
        "security": [
          {},
          {
            "ApiKey": []
          },
          {
            "BearerKey": []
          }
        ],
        "x-access-mode": "Anonymous in public mode; secret key required in private mode.",
        "parameters": [
          {
            "name": "scope",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Dataset scope.",
              "enum": [
                "all",
                "us-ca"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success; see response fields below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Success response.",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": true
                    },
                    "data": {
                      "$ref": "#/components/schemas/ExportDownload"
                    },
                    "meta": {
                      "type": "object",
                      "description": "API metadata.",
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "const": "v1"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "illustrative": {
                    "summary": "Synthetic excerpt, not live conditions.",
                    "value": {
                      "success": true,
                      "data": {
                        "url": "https://example.com/example-mountain.zip",
                        "expires_at": null,
                        "sha256": "0000000000000000000000000000000000000000000000000000000000000000",
                        "bytes": 1024,
                        "filename": "example-mountain.zip",
                        "content_type": "application/zip",
                        "captured_at": "2026-12-04T12:00:00Z"
                      },
                      "meta": {
                        "version": "v1"
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters where validated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, expired or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Origin/IP restriction or endpoint key-type restriction denied the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Export not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "The export catalog is being refreshed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Monthly API allowance exhausted when a key is used.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Monthly request allowance.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Remaining monthly requests after reservation.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "description": "Dataset exports are unconfigured or temporarily unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "success": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://icecoast.us/docs/reference/exports/dataset"
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key",
        "description": "Secret server key or origin-restricted public key."
      },
      "BearerKey": {
        "type": "http",
        "scheme": "bearer",
        "description": "Icecoast API key; use an icecoast_sk_ or icecoast_pk_ key."
      }
    },
    "schemas": {
      "Mountain": {
        "type": "object",
        "description": "Standard mountain projection. Relations are optional and fields can narrow the projection.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string",
            "description": "Mountain UUID.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "Mountain name."
          },
          "slug": {
            "type": "string",
            "description": "URL-friendly lookup identifier."
          },
          "state": {
            "type": [
              "string",
              "null"
            ],
            "description": "State/province name."
          },
          "country": {
            "type": [
              "string",
              "null"
            ],
            "description": "Country name."
          },
          "city": {
            "type": [
              "string",
              "null"
            ],
            "description": "City/locality."
          },
          "region": {
            "description": "Stored region classification."
          },
          "latitude": {
            "type": [
              "number",
              "string",
              "null"
            ],
            "description": "Latitude in degrees; numeric database values can be strings."
          },
          "longitude": {
            "type": [
              "number",
              "string",
              "null"
            ],
            "description": "Longitude in degrees."
          },
          "website": {
            "type": [
              "string",
              "null"
            ],
            "description": "Official resort website."
          },
          "elevation": {
            "description": "Stored elevation; no unit is guaranteed by this endpoint."
          },
          "vertical": {
            "description": "Stored vertical; no unit is guaranteed by this endpoint."
          },
          "timezone": {
            "type": [
              "string",
              "null"
            ],
            "description": "Resort timezone when recorded."
          },
          "published": {
            "type": "boolean"
          },
          "no_trails_reported": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Reporting unavailable flag, not a closed status."
          },
          "no_lifts_reported": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Reporting unavailable flag, not a closed status."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Metadata creation time."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Metadata update time, not a conditions timestamp."
          },
          "media": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Logo reference.",
              "additionalProperties": true,
              "properties": {
                "path": {
                  "type": "string",
                  "description": "Asset path."
                },
                "role": {
                  "type": "string",
                  "description": "Logo role."
                }
              }
            }
          },
          "brand_palette": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "brand_palette_dark": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "brand_palette_updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Palette timestamp."
          },
          "brand_palette_dark_updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Dark palette timestamp."
          },
          "brand_palette_override": {},
          "brand_palette_source": {
            "type": "string",
            "description": "automatic or manual."
          },
          "total_trails_count": {
            "type": [
              "integer",
              "string"
            ],
            "description": "Active trail count, added to list/search; not guaranteed on detail."
          },
          "open_trails_count": {
            "type": [
              "integer",
              "string"
            ],
            "description": "Active trails with open=true on list/search."
          },
          "trails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Trail"
            }
          },
          "lifts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Lift"
            }
          },
          "passes": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Pass membership with pass_name, pass_slug, pass_type and logo_url.",
              "additionalProperties": true,
              "properties": {}
            }
          },
          "links": {
            "type": "object",
            "description": "Resource URLs. See link compatibility note in response concepts.",
            "additionalProperties": true,
            "properties": {}
          }
        }
      },
      "Trail": {
        "type": "object",
        "description": "Canonical trail record; standalone reads also add parent name/slug and links.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": [
              "integer",
              "string"
            ],
            "description": "Opaque canonical trail ID, not a mountain UUID."
          },
          "mountain": {
            "type": "string",
            "description": "Mountain UUID.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "Trail name."
          },
          "open": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "true=open; false=not open; null=unknown."
          },
          "rating": {
            "type": [
              "string",
              "null"
            ],
            "description": "Stored difficulty, not a universal international scale."
          },
          "groomed": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Reported grooming; null is unknown."
          },
          "glade": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Glade classification."
          },
          "night_skiing": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Night-skiing classification."
          },
          "zone": {
            "type": [
              "string",
              "null"
            ],
            "description": "Source grouping."
          },
          "area": {
            "type": [
              "string",
              "null"
            ],
            "description": "Source grouping."
          },
          "last_observed_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Observation time when present."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Record update time when present."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Record creation time."
          },
          "mountain_name": {
            "type": "string",
            "description": "Parent mountain name."
          },
          "mountain_slug": {
            "type": "string",
            "description": "Parent slug on standalone trail reads."
          },
          "links": {
            "type": "object",
            "description": "Related resources.",
            "additionalProperties": true,
            "properties": {}
          }
        }
      },
      "Lift": {
        "type": "object",
        "description": "Canonical lift record. Prefer detailed operating_status when present.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": [
              "integer",
              "string"
            ],
            "description": "Opaque canonical lift ID."
          },
          "mountain": {
            "type": "string",
            "description": "Mountain UUID.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "Lift name."
          },
          "open": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Legacy operating flag; unknown differs from false."
          },
          "operating_status": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "open",
              "closed",
              "delayed",
              "on_hold",
              "scheduled",
              "unknown",
              null
            ],
            "description": "Detailed status when available."
          },
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "Source lift type; not a fixed enum."
          },
          "zone": {
            "type": [
              "string",
              "null"
            ],
            "description": "Source grouping."
          },
          "area": {
            "type": [
              "string",
              "null"
            ],
            "description": "Source grouping."
          },
          "open_time": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reported opening time; interpret with resort timezone."
          },
          "close_time": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reported closing time."
          },
          "last_observed_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Observation time when present."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Record creation time."
          },
          "mountain_name": {
            "type": "string",
            "description": "Parent name."
          },
          "links": {
            "type": "object",
            "description": "Related resources.",
            "additionalProperties": true,
            "properties": {}
          }
        }
      },
      "Pass": {
        "type": "object",
        "description": "Pass catalog record.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string",
            "description": "Pass UUID."
          },
          "name": {
            "type": "string",
            "description": "Name."
          },
          "slug": {
            "type": "string",
            "description": "Slug."
          },
          "pass_type": {
            "type": [
              "string",
              "null"
            ],
            "description": "Stored category, not a fixed enum."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description."
          },
          "website": {
            "type": [
              "string",
              "null"
            ],
            "description": "Website."
          },
          "logo_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "Logo."
          },
          "is_active": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Catalog active flag."
          },
          "pass_tiers": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Tier record.",
              "additionalProperties": true,
              "properties": {}
            },
            "description": "Always included on detail."
          },
          "pass_mountains": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Membership record.",
              "additionalProperties": true,
              "properties": {}
            },
            "description": "Detail with includes."
          },
          "mountains": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "List: membership rows with names/slugs. Detail: full resorts and terrain.",
              "additionalProperties": true,
              "properties": {}
            }
          }
        }
      },
      "Media": {
        "type": "object",
        "description": "Associated media record.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string",
            "description": "Media identifier."
          },
          "path": {
            "type": "string",
            "description": "Asset path."
          },
          "role": {
            "type": "string",
            "description": "Association role."
          },
          "sort_order": {
            "type": [
              "integer",
              "null"
            ]
          }
        }
      },
      "Change": {
        "type": "object",
        "description": "Recorded entity change.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": [
              "integer",
              "string"
            ]
          },
          "mountain": {
            "type": "string",
            "description": "Mountain UUID.",
            "format": "uuid"
          },
          "trail_name": {
            "type": "string",
            "description": "Trail name, on trail changes."
          },
          "lift_name": {
            "type": "string",
            "description": "Lift name, on lift changes."
          },
          "zone": {
            "type": [
              "string",
              "null"
            ],
            "description": "Zone."
          },
          "fields": {
            "type": "object",
            "description": "Changed-field payload; preserve its returned structure.",
            "additionalProperties": true,
            "properties": {}
          },
          "run_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Associated ingestion run if recorded."
          },
          "source": {
            "type": [
              "string",
              "null"
            ],
            "description": "Recorded source label."
          },
          "created_at": {
            "type": "string",
            "description": "Change-record timestamp."
          }
        }
      },
      "GroupedChange": {
        "type": "object",
        "description": "Group from a page of flat changes.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string",
            "description": "Run ID or timestamp."
          },
          "run_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Run ID."
          },
          "created_at": {
            "type": "string",
            "description": "Timestamp."
          },
          "mountain": {
            "type": "string",
            "description": "Mountain UUID.",
            "format": "uuid"
          },
          "changes": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Flat change with name, type (trail/lift), fields (open/groomed only), run_id, source, zone, id, mountain and created_at.",
              "additionalProperties": true,
              "properties": {}
            }
          }
        }
      },
      "PassSummary": {
        "type": "object",
        "description": "Legacy pass summary.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string",
            "description": "Pass UUID."
          },
          "name": {
            "type": "string",
            "description": "Name."
          },
          "slug": {
            "type": "string",
            "description": "Slug."
          },
          "pass_type": {
            "type": [
              "string",
              "null"
            ],
            "description": "Category."
          },
          "stats": {
            "type": "object",
            "description": "Membership counts.",
            "additionalProperties": true,
            "properties": {
              "total_resorts": {
                "type": "integer"
              },
              "open_resorts": {
                "type": "integer",
                "description": "Mountains with status exactly Open; not the freshness-qualified overview."
              }
            }
          },
          "website": {
            "type": [
              "string",
              "null"
            ],
            "description": "Website."
          },
          "logo_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "Logo."
          }
        }
      },
      "FeatureCollection": {
        "type": "object",
        "required": [
          "type",
          "features"
        ],
        "properties": {
          "type": {
            "const": "FeatureCollection"
          },
          "features": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "GeoJSON Feature.",
              "additionalProperties": true,
              "properties": {
                "type": {
                  "const": "Feature"
                },
                "geometry": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "additionalProperties": true
                },
                "properties": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "meta": {
            "type": "object",
            "description": "Global API metadata.",
            "additionalProperties": true,
            "properties": {}
          }
        }
      },
      "StatusMountain": {
        "type": "object",
        "description": "Data verification, not resort operational status.",
        "additionalProperties": true,
        "properties": {
          "mountain": {
            "type": "object",
            "description": "Public name, slug, href, country, state, region and branding.",
            "additionalProperties": true,
            "properties": {}
          },
          "health": {
            "enum": [
              "healthy",
              "degraded",
              "failed",
              "stale",
              "disabled",
              "off_season",
              "untested"
            ]
          },
          "last_attempt_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Latest attempted update."
          },
          "last_verified_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Latest accepted publication."
          },
          "freshness": {
            "type": "object",
            "description": "Freshness assessment.",
            "additionalProperties": true,
            "properties": {
              "age_seconds": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "expected_interval_seconds": {
                "type": "number"
              },
              "stale": {
                "type": "boolean"
              }
            }
          },
          "retaining_verified_conditions": {
            "type": "boolean"
          },
          "reliability": {
            "type": "object",
            "description": "Execution/publication counts and rates; rates null below five samples.",
            "additionalProperties": true,
            "properties": {}
          },
          "detection": {
            "type": "object",
            "description": "Trail/lift completeness and optional quality score.",
            "additionalProperties": true,
            "properties": {}
          },
          "explanations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tracker": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Directory only: 90-day UTC tracker.",
              "additionalProperties": true,
              "properties": {}
            }
          },
          "recent_executions": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Detail: up to 20 recent public execution summaries.",
              "additionalProperties": true,
              "properties": {}
            }
          },
          "history": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Detail: up to 20 publication outcomes/explanations.",
              "additionalProperties": true,
              "properties": {}
            }
          }
        }
      },
      "StatusSummary": {
        "type": "object",
        "description": "Verification overview.",
        "additionalProperties": true,
        "properties": {
          "overall_health": {
            "type": "string"
          },
          "configured_sources": {
            "type": "integer"
          },
          "configured_mountains": {
            "type": "integer"
          },
          "source_health": {
            "type": "object",
            "description": "Counts by health.",
            "additionalProperties": true,
            "properties": {}
          },
          "mountain_health": {
            "type": "object",
            "description": "Counts by health.",
            "additionalProperties": true,
            "properties": {}
          },
          "reliability": {
            "type": "object",
            "description": "Execution/publication counts and rates.",
            "additionalProperties": true,
            "properties": {}
          },
          "fresh_mountains": {
            "type": "integer"
          },
          "retaining_verified_conditions": {
            "type": "integer"
          },
          "facets": {
            "type": "object",
            "description": "Geographic facet values.",
            "additionalProperties": true,
            "properties": {}
          },
          "recent_executions": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Public execution summary.",
              "additionalProperties": true,
              "properties": {}
            }
          }
        }
      },
      "Source": {
        "type": "object",
        "description": "Public source directory entry.",
        "additionalProperties": true,
        "properties": {
          "mountain": {
            "type": "object",
            "description": "Public mountain identity/branding.",
            "additionalProperties": true,
            "properties": {}
          },
          "domains": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Sanitized hostnames, not request URLs."
          }
        }
      },
      "Overview": {
        "type": "object",
        "description": "Freshness-qualified alpine overview.",
        "additionalProperties": true,
        "properties": {
          "summary": {
            "type": "object",
            "description": "See overview field guide.",
            "additionalProperties": true,
            "properties": {}
          },
          "tracked": {
            "type": "object",
            "description": "See overview field guide.",
            "additionalProperties": true,
            "properties": {}
          },
          "rankings": {
            "type": "object",
            "description": "See overview field guide.",
            "additionalProperties": true,
            "properties": {}
          },
          "totals": {
            "type": "object",
            "description": "See overview field guide.",
            "additionalProperties": true,
            "properties": {}
          },
          "difficulty": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "See overview field guide.",
              "additionalProperties": true,
              "properties": {}
            }
          },
          "geography": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "See overview field guide.",
              "additionalProperties": true,
              "properties": {}
            }
          },
          "recent_updates": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "See overview field guide.",
              "additionalProperties": true,
              "properties": {}
            }
          }
        }
      },
      "TopOpen": {
        "type": "object",
        "description": "Legacy stored-trail ranking.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string",
            "description": "Mountain UUID.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "Name."
          },
          "slug": {
            "type": "string",
            "description": "Slug."
          },
          "total_trails": {
            "type": "integer"
          },
          "open_trails": {
            "type": "integer"
          },
          "percent_open": {
            "type": "number"
          }
        }
      },
      "ChangedToday": {
        "type": "object",
        "description": "Record updates since API-process local midnight.",
        "additionalProperties": true,
        "properties": {
          "mountains": {
            "type": "integer"
          },
          "trails": {
            "type": "integer"
          },
          "lifts": {
            "type": "integer"
          },
          "recent_mountains": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Up to five records, no guaranteed order.",
              "additionalProperties": true,
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Mountain UUID.",
                  "format": "uuid"
                },
                "name": {
                  "type": "string",
                  "description": "Name."
                },
                "slug": {
                  "type": "string",
                  "description": "Slug."
                }
              }
            }
          }
        }
      },
      "Forecast": {
        "type": "object",
        "description": "Stored forecast; not a live station observation.",
        "additionalProperties": true,
        "properties": {
          "mountain_id": {
            "type": "string",
            "description": "Mountain UUID.",
            "format": "uuid"
          },
          "snapshot_id": {
            "type": [
              "string",
              "integer"
            ]
          },
          "product": {
            "type": "string",
            "description": "Stored model product."
          },
          "point": {
            "type": "string",
            "description": "resort/base/mid/summit."
          },
          "location": {
            "type": "object",
            "description": "Forecast location.",
            "additionalProperties": true,
            "properties": {}
          },
          "fetched_at": {
            "type": "string",
            "description": "Latest retrieval."
          },
          "first_fetched_at": {
            "type": "string",
            "description": "First retrieval of this snapshot."
          },
          "initialized_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Provider initialization."
          },
          "data_age_seconds": {
            "type": "integer"
          },
          "age_seconds": {
            "type": "integer"
          },
          "stale": {
            "type": "boolean"
          },
          "current": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true
          },
          "hourly": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Forecast hour.",
              "additionalProperties": true,
              "properties": {}
            }
          },
          "daily": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Forecast day.",
              "additionalProperties": true,
              "properties": {}
            }
          },
          "metadata": {
            "type": "object",
            "description": "Provider/collection metadata.",
            "additionalProperties": true,
            "properties": {}
          }
        }
      },
      "ReportedWeather": {
        "type": "object",
        "description": "Latest resort receipts by source.",
        "additionalProperties": true,
        "properties": {
          "mountain_id": {
            "type": "string",
            "description": "Mountain UUID.",
            "format": "uuid"
          },
          "reports": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Receipt with source_reported_at, received_at, source_age_seconds, stale, type=resort_report and values.",
              "additionalProperties": true,
              "properties": {
                "values": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "description": "Measurement: variable, point_role, value, value_min, value_max, unit, reported_window, period_start, period_end, quality, method and raw_value.",
                    "additionalProperties": true,
                    "properties": {}
                  }
                }
              }
            }
          }
        }
      },
      "ForecastHistory": {
        "type": "object",
        "description": "Snapshot metadata only.",
        "additionalProperties": true,
        "properties": {
          "snapshot_id": {
            "type": [
              "integer",
              "string"
            ]
          },
          "fetched_at": {
            "type": "string",
            "description": "Retrieval time."
          },
          "valid_from": {
            "type": "string",
            "description": "Validity start."
          },
          "valid_to": {
            "type": "string",
            "description": "Validity end."
          },
          "snapshot_kind": {
            "type": "string",
            "description": "Snapshot category."
          },
          "content_hash": {
            "type": "string",
            "description": "Content fingerprint."
          }
        }
      },
      "ExportCatalog": {
        "type": "object",
        "description": "Published snapshot catalog.",
        "additionalProperties": true,
        "properties": {
          "schema_version": {
            "type": "integer"
          },
          "captured_at": {
            "type": "string",
            "description": "Consistent source snapshot time."
          },
          "generated_at": {
            "type": "string",
            "description": "Archive generation time."
          },
          "scope": {
            "enum": [
              "all",
              "us-ca"
            ]
          },
          "count": {
            "type": "integer"
          },
          "mountains": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Downloadable mountain.",
              "additionalProperties": true,
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Mountain UUID.",
                  "format": "uuid"
                },
                "slug": {
                  "type": "string",
                  "description": "Slug."
                },
                "name": {
                  "type": "string",
                  "description": "Name."
                },
                "country": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Country."
                },
                "revision": {
                  "type": "string",
                  "description": "Snapshot revision."
                },
                "bytes": {
                  "type": "integer"
                },
                "sha256": {
                  "type": "string",
                  "description": "Archive checksum."
                },
                "download": {
                  "type": "string",
                  "description": "Relative metadata endpoint, not the ZIP itself."
                }
              }
            }
          },
          "dataset_download": {
            "type": "string",
            "description": "Relative bulk-download metadata endpoint."
          }
        }
      },
      "ExportDownload": {
        "type": "object",
        "description": "Metadata pointing to a ZIP, not ZIP bytes.",
        "additionalProperties": true,
        "properties": {
          "url": {
            "type": "string",
            "description": "Download URL. Private-mode URLs are temporary bearer credentials; keep them out of logs."
          },
          "expires_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Expiry, or null for public URLs."
          },
          "sha256": {
            "type": "string",
            "description": "SHA-256 checksum."
          },
          "bytes": {
            "type": "integer"
          },
          "filename": {
            "type": "string",
            "description": "Archive filename."
          },
          "content_type": {
            "const": "application/zip"
          },
          "captured_at": {
            "type": "string",
            "description": "Snapshot capture time."
          },
          "mountain_id": {
            "type": "string",
            "description": "Mountain UUID.",
            "format": "uuid"
          },
          "revision": {
            "type": "string",
            "description": "Mountain revision, on single-mountain downloads."
          },
          "scope": {
            "enum": [
              "all",
              "us-ca"
            ]
          }
        }
      },
      "Place": {
        "type": "object",
        "description": "Geographic discovery suggestion.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string",
            "description": "Opaque suggestion ID."
          },
          "type": {
            "enum": [
              "state",
              "country"
            ]
          },
          "name": {
            "type": "string",
            "description": "Place name."
          },
          "code": {
            "type": [
              "string",
              "null"
            ],
            "description": "Place code when recorded."
          },
          "country": {
            "type": [
              "string",
              "null"
            ],
            "description": "Country name."
          },
          "country_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "Country code."
          },
          "mountain_count": {
            "type": "integer"
          },
          "filters": {
            "type": "object",
            "description": "Country/state values for a follow-up query.",
            "additionalProperties": true,
            "properties": {}
          }
        }
      }
    }
  }
}
