Democracy Works · JSON-LD Context

Democracy Works Context

JSON-LD context defining the semantic vocabulary for Democracy Works from Democracy Works.

2 Classes 8 Properties 2 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
dw: https://schema.democracy.works/

Classes

Election Authority

Properties

Property Type Container
id
name schema:Text
description schema:Text
election_date schema:Date
registration_deadline schema:Date
ocd_id schema:Text
state schema:Text
url schema:URL

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "@vocab": "https://schema.democracy.works/",
    "schema": "https://schema.org/",
    "dw": "https://schema.democracy.works/",
    "Election": "schema:Event",
    "Authority": "schema:GovernmentOrganization",
    "id": {"@id": "schema:identifier"},
    "name": {"@id": "schema:name", "@type": "schema:Text"},
    "description": {"@id": "schema:description", "@type": "schema:Text"},
    "election_date": {"@id": "dw:electionDate", "@type": "schema:Date"},
    "registration_deadline": {"@id": "dw:registrationDeadline", "@type": "schema:Date"},
    "ocd_id": {"@id": "dw:ocdId", "@type": "schema:Text"},
    "state": {"@id": "schema:addressRegion", "@type": "schema:Text"},
    "url": {"@id": "schema:url", "@type": "schema:URL"}
  }
}