PublicDataResponse

ElectionsPublic RecordsData APICampaign FinanceGovernmentPolitical Data

Properties

Name Type Description
data object
citation object
View JSON Schema on GitHub

JSON Schema

election-org-public-data-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/election-org/main/json-schema/election-org-public-data-response-schema.json",
  "title": "PublicDataResponse",
  "x-generated": "2026-10-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/election-org-openapi-openapi.json#/components/schemas/PublicDataResponse",
  "type": "object",
  "required": [
    "data",
    "citation"
  ],
  "properties": {
    "data": {},
    "citation": {
      "$ref": "#/$defs/Citation"
    }
  },
  "additionalProperties": true,
  "$defs": {
    "Citation": {
      "type": "object",
      "description": "Suggested attribution, not a forced backlink or new license. Collection sources are not necessarily evidence for every returned record. Dates are not request generation times.",
      "required": [
        "suggested_credit",
        "record_url",
        "record_urls",
        "credit_url",
        "original_sources",
        "updated_at",
        "verified_at",
        "guidance_url",
        "rights_note"
      ],
      "properties": {
        "suggested_credit": {
          "type": "string"
        },
        "record_url": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "record_urls": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uri"
          }
        },
        "credit_url": {
          "type": "string",
          "format": "uri"
        },
        "original_sources": {
          "type": "array",
          "description": "Returned-data source references. References explicitly marked applies_to_returned_records: false remain in response sources but are excluded here.",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "url": {
                "type": "string",
                "format": "uri"
              },
              "updated_at": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "verified_at": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "record_date": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Date on the cited record, not a source check or dataset update"
              }
            }
          }
        },
        "updated_at": {
          "type": [
            "string",
            "null"
          ],
          "description": "Explicit dataset update date, or null when unspecified"
        },
        "verified_at": {
          "type": [
            "string",
            "null"
          ],
          "description": "Latest stated source check; does not establish freshness of every record"
        },
        "dates_note": {
          "type": "string"
        },
        "source_scope": {
          "type": "string"
        },
        "source_summary_truncated": {
          "type": "boolean"
        },
        "guidance_url": {
          "type": "string",
          "format": "uri"
        },
        "rights_note": {
          "type": "string"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/election-org-public-data-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.