Election.org Public Data API · JSON-LD Context

Election Org Context

JSON-LD context defining the semantic vocabulary for Election Org from Election.org Public Data API.

2 Classes 14 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
election: https://election.org/schema#

Classes

Citation PublicDataResponse

Properties

Property Type Container
suggested_credit string
record_url reference
record_urls list
credit_url reference
original_sources list
updated_at string
verified_at string
dates_note string
source_scope string
source_summary_truncated boolean
guidance_url reference
rights_note string
data
citation reference

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://election.org/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "election": "https://election.org/schema#",
    "Citation": "election:Citation",
    "suggested_credit": {
      "@id": "election:suggested_credit",
      "@type": "xsd:string"
    },
    "record_url": {
      "@id": "election:record_url",
      "@type": "@id"
    },
    "record_urls": {
      "@id": "election:record_urls",
      "@container": "@list"
    },
    "credit_url": {
      "@id": "election:credit_url",
      "@type": "@id"
    },
    "original_sources": {
      "@id": "election:original_sources",
      "@container": "@list"
    },
    "updated_at": {
      "@id": "election:updated_at",
      "@type": "xsd:string"
    },
    "verified_at": {
      "@id": "election:verified_at",
      "@type": "xsd:string"
    },
    "dates_note": {
      "@id": "election:dates_note",
      "@type": "xsd:string"
    },
    "source_scope": {
      "@id": "election:source_scope",
      "@type": "xsd:string"
    },
    "source_summary_truncated": {
      "@id": "election:source_summary_truncated",
      "@type": "xsd:boolean"
    },
    "guidance_url": {
      "@id": "election:guidance_url",
      "@type": "@id"
    },
    "rights_note": {
      "@id": "election:rights_note",
      "@type": "xsd:string"
    },
    "PublicDataResponse": "election:PublicDataResponse",
    "data": {
      "@id": "election:data"
    },
    "citation": {
      "@id": "election:citation",
      "@type": "@id"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Election.org Public Data API API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Election.org Public Data API's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-10-11) from openapi/_original/election-org-openapi-openapi.json.",
  "dcterms:created": "2026-10-11",
  "dcterms:source": [
    "openapi/_original/election-org-openapi-openapi.json"
  ]
}