{
 "openapi": "3.1.0",
 "info": {
  "title": "PartAnswers Fridge Water Filter API",
  "version": "1.0.0",
  "description": "Free, read only, no key. Which genuine water filter a refrigerator model takes (from the appliance maker page) and how replacement filters compare on public NSF, IAPMO R&T and WQA certification listings by exact model. Compared, not lab tested. CC BY 4.0, attribution: PartAnswers (partanswers.com). 60 requests per minute.",
  "contact": {
   "url": "https://partanswers.com/contact/"
  },
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 },
 "servers": [
  {
   "url": "https://partanswers.com/api/v1"
  }
 ],
 "paths": {
  "/models/{model_number}": {
   "get": {
    "operationId": "findFilterForModel",
    "summary": "Find the genuine water filter for a refrigerator model and compare replacements",
    "parameters": [
     {
      "name": "model_number",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "example": "RF28R7351SR"
     }
    ],
    "responses": {
     "200": {
      "description": "Match with fit source and comparison"
     },
     "404": {
      "description": "Model not in checked data"
     }
    }
   }
  },
  "/parts/{oem_part}": {
   "get": {
    "operationId": "getPart",
    "summary": "Full record for a genuine filter part number",
    "parameters": [
     {
      "name": "oem_part",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "example": "HAF-QIN"
     }
    ],
    "responses": {
     "200": {
      "description": "Part record"
     },
     "404": {
      "description": "Unknown part"
     }
    }
   }
  },
  "/compare/{oem_part}": {
   "get": {
    "operationId": "compareFilters",
    "summary": "Genuine vs replacement comparison and verdict",
    "parameters": [
     {
      "name": "oem_part",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "example": "LT1000P"
     }
    ],
    "responses": {
     "200": {
      "description": "Comparison"
     }
    }
   }
  },
  "/search": {
   "get": {
    "operationId": "search",
    "summary": "Search part numbers and model numbers",
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Results"
     }
    }
   }
  }
 }
}