{
    "@context": "https://schema.org",
    "@type": "DataCatalog",
    "name": "PollingSource Data Catalog",
    "description": "Machine-readable polling averages, race ratings, and recent public polls for U.S. Senate, Governor, and House races. Every scientific public poll is included (no pollster exclusions); the published average is the unweighted mean of the newest week of polls inside the last 30 days. One poll in that window sets the rating. Free to use with attribution.",
    "url": "https://pollingsource.com/api/v1",
    "publisher": {
        "@type": "Organization",
        "name": "PollingSource",
        "url": "https://pollingsource.com"
    },
    "license": "https://pollingsource.com/terms.php",
    "dataset": [
        {
            "@type": "Dataset",
            "name": "Race polling averages and ratings",
            "description": "Every race with polling data this cycle: Democratic/Republican averages, margin, rating (poll-derived, expert fallback), poll count, and freshness. Filter with ?race_type=senate|governor|house.",
            "url": "https://pollingsource.com/api/v1/races",
            "distribution": {
                "@type": "DataDownload",
                "contentUrl": "https://pollingsource.com/api/v1/races",
                "encodingFormat": "application/json"
            }
        },
        {
            "@type": "Dataset",
            "name": "Single-race detail",
            "description": "One race: average, rating, expert-rating comparison, the most recent 30 days of individual polls (pollster, dates, sample, MoE, numbers, source link), and a trailing chart. The published average is the newest week of polls inside the last 30 days. Pattern: /api/v1/race?race_type=senate&state=NC (house adds &district=N).",
            "url": "https://pollingsource.com/api/v1/race?race_type=senate&state=NC",
            "distribution": {
                "@type": "DataDownload",
                "contentUrl": "https://pollingsource.com/api/v1/race?race_type=senate&state=NC",
                "encodingFormat": "application/json"
            }
        }
    ],
    "usageInfo": "https://pollingsource.com/methodology",
    "citation": "Cite as: \"PollingSource average (pollingsource.com)\" with a link to the race page."
}