{
    "@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 (fabricated-data firms are listed on /methodology); the published average is the unweighted mean of the last three polls. One poll sets the rating when it ended in the last 30 days. 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 last three polls. 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."
}