{
 "openapi": "3.1.0",
 "info": {
  "title": "Battery Payback data",
  "version": "1.0.0",
  "description": "Read-only, static JSON. Every fact carries quote, source_url and read_on.",
  "contact": {
   "email": "daniel@batterypayback.co.uk"
  }
 },
 "servers": [
  {
   "url": "https://batterypayback.co.uk"
  }
 ],
 "paths": {
  "/api/v1/index.json": {
   "get": {
    "summary": "List of data files",
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  },
  "/api/v1/facts.json": {
   "get": {
    "summary": "Checked rules and tariff facts with quotes",
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  },
  "/api/v1/batteries.json": {
   "get": {
    "summary": "Battery specifications from manufacturer datasheets",
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  },
  "/api/v1/seg-rates.json": {
   "get": {
    "summary": "Smart Export Guarantee rates by supplier",
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  },
  "/api/v1/calculator.json": {
   "get": {
    "summary": "Calculator model, inputs and sourced defaults",
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  },
  "/api/v1/test-cases.json": {
   "get": {
    "summary": "Worked test cases with hand-calculated expected results",
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  }
 }
}