{
 "openapi": "3.1.0",
 "info": {
  "title": "Boat Rental Amsterdam API",
  "version": "1.0.0",
  "description": "The data and tools are read-only: they never reserve or charge. Send the customer to booking_url on this site. The customer fills in the details, agrees to the terms, confirms and pays there. The contract is with the company in contract_with. Boats with own_group true are run by labels of the Mokumboot group."
 },
 "servers": [
  {
   "url": "https://rentalboatsinamsterdam.com"
  }
 ],
 "paths": {
  "/api/v1/boats.json": {
   "get": {
    "operationId": "listBoats",
    "summary": "All boats with rates, boarding points and booking links",
    "responses": {
     "200": {
      "description": "Boats",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/availability.php": {
   "servers": [
    {
     "url": "https://mokumboot.nl"
    }
   ],
   "get": {
    "operationId": "checkAvailability",
    "summary": "Live free departure times, for self-drive-boat-8-people",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "format": "date"
      }
     },
     {
      "name": "duration",
      "in": "query",
      "required": true,
      "description": "Minutes",
      "schema": {
       "type": "integer",
       "enum": [
        120,
        180,
        240
       ]
      }
     },
     {
      "name": "persons",
      "in": "query",
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 200
      }
     },
     {
      "name": "lang",
      "in": "query",
      "schema": {
       "type": "string",
       "enum": [
        "en",
        "nl",
        "de",
        "fr",
        "es",
        "it"
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Free times per dock with price and booking_url",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  }
 }
}