{
  "openapi": "3.1.0",
  "info": {
    "title": "Nevada Politicians API",
    "version": "1.0.0",
    "description": "Read-only public API for Nevada politician records. Sourced from NV SOS Aurora campaign-finance dataset, NELIS roll-call records, Ballotpedia officeholder pages, and the NPE auditor pipeline. All endpoints return static JSON (CDN-cacheable, 1h TTL). No auth required. Rate limit: respect Cache-Control.",
    "license": {
      "name": "Public records \u2014 Creative Commons Attribution",
      "url": "https://creativecommons.org/licenses/by/4.0/"
    },
    "contact": {
      "name": "Corrections + tips",
      "email": "corrections@nevadapoliticalestablishment.com"
    }
  },
  "servers": [
    {
      "url": "https://nevadapoliticalestablishment.com/api/v1"
    }
  ],
  "paths": {
    "/politicians/": {
      "get": {
        "summary": "List politicians (slim)",
        "description": "Returns slim representation of every politician on this portal.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/politicians/{slug}.json": {
      "get": {
        "summary": "Get one politician (full record)",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "example": "joseph-lombardo-5934"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {}
            }
          },
          "404": {
            "description": "No politician with that slug on this portal"
          }
        }
      }
    },
    "/scoreboards.json": {
      "get": {
        "summary": "Top fundraisers + spenders leaderboards",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  }
}