{
  "openapi": "3.1.0",
  "info": {
    "title": "High Country Motel public information",
    "version": "1.0.0",
    "description": "High Country Motel availability and property facts. Rates from $115 a night, $600 a week, $1,490 a month, plus applicable taxes. Subject to availability. Front desk (208) 721-0067; office (208) 733-2010. Request: https://highcountrymotelid.com/reserve.html. The reservation form calculates an estimated price from the published starting rates for stays of 1 to 30 nights, including each applicable room tax. The front desk will confirm your exact rate and total, including all applicable taxes, before your stay. No payment is taken online. The refundable pet deposit is separate and collected at the front desk."
  },
  "servers": [
    {
      "url": "https://highcountrymotelid.com"
    }
  ],
  "paths": {
    "/data/availability.json": {
      "get": {
        "operationId": "getEstimateInputs",
        "summary": "Starting rates and tax breakdown for estimated reservation totals",
        "responses": {
          "200": {
            "description": "from nightly/weekly/monthly rates, property.rates overrides when published, taxRatePercent, taxParts, taxAppliesTo, reservationCapDays, petDeposit, estimateVersion and estimateRateSource. Complete seven-night weeks use the lower of weekly or seven nightly rates; each run of 1 to 6 leftover nights, including a stay shorter than a week, costs the lower of its nightly total or the weekly rate. Use the monthly rate whenever cheaper for up to 30 nights. Round each tax line to cents before adding. Staff confirm the exact rate and total."
          }
        }
      }
    },
    "/.netlify/functions/inventory": {
      "get": {
        "operationId": "checkAvailability",
        "summary": "Check dated availability after booking holds; staff confirm the stay",
        "parameters": [
          {
            "name": "checkin",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "checkout",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Dated availability: state, stateReason, checkin, checkout, byRoomType, roomsFree, open, live minimum stays and staff rate confirmation. Unreadable storage returns unknown counts."
          }
        }
      }
    },
    "/data/rates.json": {
      "get": {
        "operationId": "getRates",
        "summary": "Rate publication state and room information",
        "responses": {
          "200": {
            "description": "Published starting rates; staff confirm the exact rate for your dates"
          }
        }
      }
    }
  }
}
