{
  "openapi": "3.1.0",
  "info": {
    "title": "Firstline Restoration free tools",
    "version": "1.0.0",
    "description": "Read-only GET endpoints that return the same answers as the free tool pages at https://firstlinerestoration.com/tools/. General guides, not inspections. The same tools are also available as a stateless MCP server (JSON-RPC 2.0 over Streamable HTTP, POST) at https://firstlinerestoration.com/mcp."
  },
  "servers": [
    {
      "url": "https://firstlinerestoration.com"
    }
  ],
  "paths": {
    "/api/tools/": {
      "get": {
        "operationId": "listTools",
        "summary": "List every free tool with its parameters",
        "parameters": [
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "text",
                "json"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Tool catalogue",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/tools/sump-pump-vs-backwater-valve": {
      "get": {
        "operationId": "sumpPumpVsBackwaterValve",
        "summary": "Sump pump vs backwater valve",
        "description": "Compare what a sump pump and backwater valve do, and prepare questions for a basement flood assessment. Result also available on the page https://firstlinerestoration.com/sump-pump-vs-backwater-valve/ . Free quote: https://firstlinerestoration.com/sump-pump-vs-backwater-valve/#audience-quote",
        "parameters": [
          {
            "name": "observation",
            "in": "query",
            "required": true,
            "description": "Where water appeared, or whether you are planning ahead.",
            "schema": {
              "type": "string",
              "enum": [
                "drain",
                "foundation",
                "both",
                "unsure"
              ]
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "description": "text (default) or json.",
            "schema": {
              "type": "string",
              "enum": [
                "text",
                "json"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The tailored answer, with source and links back to the tool page and the free quote form.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not allowed. The body lists the accepted parameters and an example URL.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/tools/water-damage-checker": {
      "get": {
        "operationId": "waterDamageChecker",
        "summary": "Water damage checker",
        "description": "Likely water damage category (1, 2 or 3), the mould risk window, first safety steps and what to record for an insurer. Result also available on the page https://firstlinerestoration.com/water-damage-checker/ . Free quote: https://firstlinerestoration.com/water-damage-checker/#audience-quote",
        "parameters": [
          {
            "name": "source",
            "in": "query",
            "required": true,
            "description": "Where the water came from.",
            "schema": {
              "type": "string",
              "enum": [
                "supply",
                "appliance",
                "roof",
                "ground",
                "sewer",
                "toilet"
              ]
            }
          },
          {
            "name": "hours",
            "in": "query",
            "required": true,
            "description": "How long the water has been there. The page offers 12 (under 24 hours), 36 (24 to 48), 60 (48 to 72) and 96 (over 72); any number of hours works. Unit: hours.",
            "schema": {
              "type": "number",
              "minimum": 0,
              "maximum": 10000
            }
          },
          {
            "name": "area",
            "in": "query",
            "required": true,
            "description": "How large the affected area is.",
            "schema": {
              "type": "string",
              "enum": [
                "one",
                "several",
                "floor"
              ]
            }
          },
          {
            "name": "materials",
            "in": "query",
            "required": false,
            "description": "What is wet. Comma separated, optional.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "description": "text (default) or json.",
            "schema": {
              "type": "string",
              "enum": [
                "text",
                "json"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The tailored answer, with source and links back to the tool page and the free quote form.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not allowed. The body lists the accepted parameters and an example URL.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/tools/mould-size-checker": {
      "get": {
        "operationId": "mouldSizeChecker",
        "summary": "Mould size checker",
        "description": "Whether mould patches are a small, medium or large area under Health Canada guidance, and when a professional is recommended. Result also available on the page https://firstlinerestoration.com/mould-size-checker/ . Free quote: https://firstlinerestoration.com/mould-size-checker/#audience-quote",
        "parameters": [
          {
            "name": "unit",
            "in": "query",
            "required": false,
            "description": "Unit for largest and total.",
            "schema": {
              "type": "string",
              "enum": [
                "m2",
                "ft2"
              ],
              "default": "m2"
            }
          },
          {
            "name": "patches",
            "in": "query",
            "required": true,
            "description": "Number of separate patches.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 99
            }
          },
          {
            "name": "largest",
            "in": "query",
            "required": true,
            "description": "Area of the largest single patch, in the chosen unit.",
            "schema": {
              "type": "number",
              "minimum": 0
            }
          },
          {
            "name": "total",
            "in": "query",
            "required": true,
            "description": "Total area of all patches combined, in the chosen unit (raised to the largest patch if smaller).",
            "schema": {
              "type": "number",
              "minimum": 0
            }
          },
          {
            "name": "flags",
            "in": "query",
            "required": false,
            "description": "Anything that applies. Comma separated, optional.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "description": "text (default) or json.",
            "schema": {
              "type": "string",
              "enum": [
                "text",
                "json"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The tailored answer, with source and links back to the tool page and the free quote form.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not allowed. The body lists the accepted parameters and an example URL.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/tools/sewage-backup-checker": {
      "get": {
        "operationId": "sewageBackupChecker",
        "summary": "Sewage backup checker",
        "description": "First steps after a sewage backup, health precautions, and which affected items can be cleaned and disinfected or must be thrown away. Result also available on the page https://firstlinerestoration.com/sewage-backup-checker/ . Free quote: https://firstlinerestoration.com/sewage-backup-checker/#audience-quote",
        "parameters": [
          {
            "name": "home_type",
            "in": "query",
            "required": true,
            "description": "What kind of home it is.",
            "schema": {
              "type": "string",
              "enum": [
                "municipal",
                "private",
                "tenant"
              ]
            }
          },
          {
            "name": "electrical_hazard",
            "in": "query",
            "required": true,
            "description": "Is there standing water near outlets, appliances or wiring?",
            "schema": {
              "type": "string",
              "enum": [
                "yes",
                "no",
                "unsure"
              ]
            }
          },
          {
            "name": "household",
            "in": "query",
            "required": false,
            "description": "Does anyone at home fall into these groups? Comma separated, optional.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "affected_items",
            "in": "query",
            "required": false,
            "description": "What the sewage water reached. Comma separated, optional.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "description": "text (default) or json.",
            "schema": {
              "type": "string",
              "enum": [
                "text",
                "json"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The tailored answer, with source and links back to the tool page and the free quote form.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not allowed. The body lists the accepted parameters and an example URL.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/tools/frozen-pipe-checker": {
      "get": {
        "operationId": "frozenPipeChecker",
        "summary": "Frozen pipe checker",
        "description": "Which City of Toronto frozen pipe risk factors apply, what to do tonight, and how to thaw a pipe safely. Result also available on the page https://firstlinerestoration.com/frozen-pipe-checker/ . Free quote: https://firstlinerestoration.com/frozen-pipe-checker/#audience-quote",
        "parameters": [
          {
            "name": "overnight_low",
            "in": "query",
            "required": true,
            "description": "The overnight low forecast.",
            "schema": {
              "type": "string",
              "enum": [
                "mild",
                "cold"
              ]
            }
          },
          {
            "name": "pipe_area_warm",
            "in": "query",
            "required": true,
            "description": "Do the rooms where the pipes run stay above 8 C?",
            "schema": {
              "type": "string",
              "enum": [
                "yes",
                "no",
                "unsure"
              ]
            }
          },
          {
            "name": "occupancy",
            "in": "query",
            "required": true,
            "description": "Is the home occupied and heated?",
            "schema": {
              "type": "string",
              "enum": [
                "home",
                "away"
              ]
            }
          },
          {
            "name": "pipe_locations",
            "in": "query",
            "required": false,
            "description": "Where the pipes run. Comma separated, optional.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "description": "text (default) or json.",
            "schema": {
              "type": "string",
              "enum": [
                "text",
                "json"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The tailored answer, with source and links back to the tool page and the free quote form.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not allowed. The body lists the accepted parameters and an example URL.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/tools/after-a-fire-checklist": {
      "get": {
        "operationId": "afterAFireChecklist",
        "summary": "After a fire checklist",
        "description": "A tailored checklist for after a house or building fire: when it is safe to go in, securing the property, food and smoke cautions, and what to record for an insurer. Result also available on the page https://firstlinerestoration.com/after-a-fire-checklist/ . Free quote: https://firstlinerestoration.com/after-a-fire-checklist/#audience-quote",
        "parameters": [
          {
            "name": "cleared",
            "in": "query",
            "required": true,
            "description": "Has the fire department or your insurer said it is safe to go in?",
            "schema": {
              "type": "string",
              "enum": [
                "yes",
                "no"
              ]
            }
          },
          {
            "name": "can_stay",
            "in": "query",
            "required": true,
            "description": "Can you stay in the home?",
            "schema": {
              "type": "string",
              "enum": [
                "yes",
                "no"
              ]
            }
          },
          {
            "name": "items_left",
            "in": "query",
            "required": false,
            "description": "What was left in the home. Comma separated, optional.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "description": "text (default) or json.",
            "schema": {
              "type": "string",
              "enum": [
                "text",
                "json"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The tailored answer, with source and links back to the tool page and the free quote form.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not allowed. The body lists the accepted parameters and an example URL.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/tools/insurance-claim-checklist": {
      "get": {
        "operationId": "insuranceClaimChecklist",
        "summary": "Insurance claim document checklist",
        "description": "A tailored checklist of the photos, lists, receipts and records to collect after water, fire or storm damage. Result also available on the page https://firstlinerestoration.com/insurance-claim-checklist/ . Free quote: https://firstlinerestoration.com/insurance-claim-checklist/#audience-quote",
        "parameters": [
          {
            "name": "loss_type",
            "in": "query",
            "required": true,
            "description": "What happened.",
            "schema": {
              "type": "string",
              "enum": [
                "water",
                "fire",
                "storm"
              ]
            }
          },
          {
            "name": "can_stay",
            "in": "query",
            "required": true,
            "description": "Can you stay in the home?",
            "schema": {
              "type": "string",
              "enum": [
                "yes",
                "no"
              ]
            }
          },
          {
            "name": "insurer_contacted",
            "in": "query",
            "required": true,
            "description": "Have you spoken to your insurer yet?",
            "schema": {
              "type": "string",
              "enum": [
                "yes",
                "no"
              ]
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "description": "text (default) or json.",
            "schema": {
              "type": "string",
              "enum": [
                "text",
                "json"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The tailored answer, with source and links back to the tool page and the free quote form.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not allowed. The body lists the accepted parameters and an example URL.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/tools/dehumidifier-size-calculator": {
      "get": {
        "operationId": "dehumidifierSizeCalculator",
        "summary": "Dehumidifier size calculator",
        "description": "Dehumidifier capacity in pints per day for a room or basement, from its floor area and how damp it is, using the ENERGY STAR sizing table. Result also available on the page https://firstlinerestoration.com/dehumidifier-size-calculator/ . Free quote: https://firstlinerestoration.com/dehumidifier-size-calculator/#audience-quote",
        "parameters": [
          {
            "name": "unit",
            "in": "query",
            "required": false,
            "description": "Unit for area.",
            "schema": {
              "type": "string",
              "enum": [
                "ft2",
                "m2"
              ],
              "default": "ft2"
            }
          },
          {
            "name": "area",
            "in": "query",
            "required": true,
            "description": "Floor area of the space to dry, in the chosen unit.",
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 100000
            }
          },
          {
            "name": "dampness",
            "in": "query",
            "required": true,
            "description": "How damp the space is without a dehumidifier.",
            "schema": {
              "type": "string",
              "enum": [
                "mild",
                "damp",
                "wet"
              ]
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "description": "text (default) or json.",
            "schema": {
              "type": "string",
              "enum": [
                "text",
                "json"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The tailored answer, with source and links back to the tool page and the free quote form.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not allowed. The body lists the accepted parameters and an example URL.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/tools/sump-pump-size-calculator": {
      "get": {
        "operationId": "sumpPumpSizeCalculator",
        "summary": "Sump pump size calculator",
        "description": "Litres per minute of rain that could reach a sump pit from a roof and paved area, using Environment and Climate Change Canada rainfall data for Toronto City or Toronto Pearson. Result also available on the page https://firstlinerestoration.com/sump-pump-size-calculator/ . Free quote: https://firstlinerestoration.com/sump-pump-size-calculator/#audience-quote",
        "parameters": [
          {
            "name": "station",
            "in": "query",
            "required": true,
            "description": "Which rainfall station is nearer to the property.",
            "schema": {
              "type": "string",
              "enum": [
                "toronto_city",
                "toronto_pearson"
              ]
            }
          },
          {
            "name": "unit",
            "in": "query",
            "required": false,
            "description": "Unit for the areas.",
            "schema": {
              "type": "string",
              "enum": [
                "m2",
                "ft2"
              ],
              "default": "m2"
            }
          },
          {
            "name": "roof_area",
            "in": "query",
            "required": true,
            "description": "Roof area (plan view, as seen from above) draining toward the pit, in the chosen unit.",
            "schema": {
              "type": "number",
              "minimum": 0,
              "maximum": 100000
            }
          },
          {
            "name": "paved_area",
            "in": "query",
            "required": false,
            "description": "Paved area draining toward the pit, in the chosen unit. Optional.",
            "schema": {
              "type": "number",
              "minimum": 0,
              "maximum": 100000,
              "default": 0
            }
          },
          {
            "name": "return_period",
            "in": "query",
            "required": true,
            "description": "How rare a storm to plan for, in years.",
            "schema": {
              "type": "string",
              "enum": [
                "5",
                "10",
                "25",
                "50",
                "100"
              ]
            }
          },
          {
            "name": "storm",
            "in": "query",
            "required": true,
            "description": "Storm length.",
            "schema": {
              "type": "string",
              "enum": [
                "15min",
                "30min",
                "1h",
                "2h",
                "6h"
              ]
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "description": "text (default) or json.",
            "schema": {
              "type": "string",
              "enum": [
                "text",
                "json"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The tailored answer, with source and links back to the tool page and the free quote form.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not allowed. The body lists the accepted parameters and an example URL.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/tools/indoor-humidity-target-by-outdoor-temp": {
      "get": {
        "operationId": "indoorHumidityTargetByOutdoorTemp",
        "summary": "Indoor humidity target by outdoor temperature",
        "description": "The highest indoor relative humidity that limits window condensation at a given outdoor temperature, with a check against the Health Canada 30 to 50 per cent range. Result also available on the page https://firstlinerestoration.com/indoor-humidity-target-by-outdoor-temp/ . Free quote: https://firstlinerestoration.com/indoor-humidity-target-by-outdoor-temp/#audience-quote",
        "parameters": [
          {
            "name": "outdoor_temp",
            "in": "query",
            "required": true,
            "description": "Outdoor air temperature in degrees Celsius (negative for below zero). Unit: C.",
            "schema": {
              "type": "number",
              "minimum": -50,
              "maximum": 40
            }
          },
          {
            "name": "current_rh",
            "in": "query",
            "required": false,
            "description": "Your current indoor relative humidity reading, in per cent. Optional. Unit: per cent.",
            "schema": {
              "type": "number",
              "minimum": 0,
              "maximum": 100
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "description": "text (default) or json.",
            "schema": {
              "type": "string",
              "enum": [
                "text",
                "json"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The tailored answer, with source and links back to the tool page and the free quote form.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not allowed. The body lists the accepted parameters and an example URL.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/tools/smoke-alarm-placement-checker": {
      "get": {
        "operationId": "smokeAlarmPlacementChecker",
        "summary": "Smoke alarm placement checker",
        "description": "Where smoke alarms go in an Ontario home and the least number needed, from the storeys, bedrooms and building type, with maintenance duties for owners and tenants. Result also available on the page https://firstlinerestoration.com/smoke-alarm-placement-checker/ . Free quote: https://firstlinerestoration.com/smoke-alarm-placement-checker/#audience-quote",
        "parameters": [
          {
            "name": "building",
            "in": "query",
            "required": true,
            "description": "Type of building.",
            "schema": {
              "type": "string",
              "enum": [
                "part9",
                "larger"
              ]
            }
          },
          {
            "name": "storeys",
            "in": "query",
            "required": true,
            "description": "Storeys in your home or suite, counting a basement.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 4
            }
          },
          {
            "name": "sleeping_storeys",
            "in": "query",
            "required": true,
            "description": "How many of those storeys have bedrooms.",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4
            }
          },
          {
            "name": "bedrooms",
            "in": "query",
            "required": true,
            "description": "Number of bedrooms (sleeping rooms) in the home or suite.",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 12
            }
          },
          {
            "name": "shared_egress",
            "in": "query",
            "required": false,
            "description": "Is the house one with a secondary suite, such as a basement apartment, that shares an interior exit or common area?",
            "schema": {
              "type": "string",
              "enum": [
                "no",
                "yes"
              ],
              "default": "no"
            }
          },
          {
            "name": "tenure",
            "in": "query",
            "required": false,
            "description": "Your position.",
            "schema": {
              "type": "string",
              "enum": [
                "owner",
                "tenant",
                "landlord"
              ],
              "default": "owner"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "description": "text (default) or json.",
            "schema": {
              "type": "string",
              "enum": [
                "text",
                "json"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The tailored answer, with source and links back to the tool page and the free quote form.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not allowed. The body lists the accepted parameters and an example URL.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/tools/basement-flooding-subsidy-eligibility": {
      "get": {
        "operationId": "basementFloodingSubsidyEligibility",
        "summary": "Toronto basement flooding subsidy eligibility",
        "description": "Which items of the City of Toronto Basement Flooding Protection Subsidy Program apply to a home, which program conditions are met or need checking, and what to keep for the application. No dollar figures. Result also available on the page https://firstlinerestoration.com/basement-flooding-subsidy-eligibility/ . Free quote: https://firstlinerestoration.com/basement-flooding-subsidy-eligibility/#audience-quote",
        "parameters": [
          {
            "name": "location",
            "in": "query",
            "required": true,
            "description": "Where the property is.",
            "schema": {
              "type": "string",
              "enum": [
                "toronto",
                "other"
              ]
            }
          },
          {
            "name": "property_type",
            "in": "query",
            "required": true,
            "description": "Type of property.",
            "schema": {
              "type": "string",
              "enum": [
                "single",
                "duplex",
                "triplex",
                "fourplex",
                "other"
              ]
            }
          },
          {
            "name": "ownership",
            "in": "query",
            "required": true,
            "description": "Are you the registered owner?",
            "schema": {
              "type": "string",
              "enum": [
                "owner",
                "not_owner"
              ]
            }
          },
          {
            "name": "downspouts",
            "in": "query",
            "required": true,
            "description": "Are the eavestrough downspouts disconnected from the City sewer?",
            "schema": {
              "type": "string",
              "enum": [
                "disconnected",
                "exempt",
                "not_disconnected",
                "unsure"
              ]
            }
          },
          {
            "name": "paving",
            "in": "query",
            "required": true,
            "description": "Do paved areas in the front yard, including parking pads, follow the City zoning by-law?",
            "schema": {
              "type": "string",
              "enum": [
                "none",
                "complies",
                "unsure",
                "not_complies"
              ]
            }
          },
          {
            "name": "debts",
            "in": "query",
            "required": true,
            "description": "Do you owe the City any taxes or debts?",
            "schema": {
              "type": "string",
              "enum": [
                "none",
                "owing",
                "unsure"
              ]
            }
          },
          {
            "name": "work",
            "in": "query",
            "required": true,
            "description": "Work you have done or plan to do. Comma separated.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "timing",
            "in": "query",
            "required": true,
            "description": "When was or will the work be done?",
            "schema": {
              "type": "string",
              "enum": [
                "planned",
                "done_after",
                "done_before"
              ]
            }
          },
          {
            "name": "months_since",
            "in": "query",
            "required": false,
            "description": "Months since the work was finished. Only for work already done. Optional. Unit: months.",
            "schema": {
              "type": "number",
              "minimum": 0,
              "maximum": 600
            }
          },
          {
            "name": "licence",
            "in": "query",
            "required": true,
            "description": "Does the contractor who did or will do the work hold a valid City of Toronto business licence?",
            "schema": {
              "type": "string",
              "enum": [
                "yes",
                "no",
                "unsure"
              ]
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "description": "text (default) or json.",
            "schema": {
              "type": "string",
              "enum": [
                "text",
                "json"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The tailored answer, with source and links back to the tool page and the free quote form.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not allowed. The body lists the accepted parameters and an example URL.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}