{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://publicschema.org/elections/VoterRegistration.schema.json",
  "title": "VoterRegistration",
  "description": "The recognition by an electoral authority that a person is entered in its register of electors for a jurisdiction. Being registered does not by itself mean the person may vote in every election.",
  "type": "object",
  "properties": {
    "registered_subject": {
      "type": "string",
      "format": "uri",
      "description": "The URI of the person, organization, asset or other thing that the registration recognizes. On an authorization it is the holder of the permission, and an installation, asset or site the permission covers is the authorized object. An asset registration, such as a vehicle registration, recognizes the asset; its keeper is recorded as an asset party role."
    },
    "registration_authority": {
      "oneOf": [
        {
          "$ref": "https://publicschema.org/Organization.schema.json"
        },
        {
          "type": "string",
          "description": "URI or identifier reference"
        }
      ],
      "description": "The organization that confers the recognition."
    },
    "registration_jurisdiction": {
      "oneOf": [
        {
          "$ref": "https://publicschema.org/Location.schema.json"
        },
        {
          "type": "string",
          "description": "URI or identifier reference"
        }
      ],
      "description": "The area within which the recognition applies."
    },
    "registration_purpose": {
      "type": "string",
      "description": "The administrative purpose or category of the recognition, stated as text. It does not imply eligibility for a benefit."
    },
    "valid_from": {
      "type": "string",
      "format": "date",
      "description": "The first calendar day on which the registration, permission, certification or other stated fact applies, as its source states it, when known. A later suspension, withdrawal or correction is recorded separately and does not overwrite this date."
    },
    "valid_to": {
      "type": "string",
      "format": "date",
      "description": "The last calendar day on which the registration, permission, certification or other stated fact applies, as its source states it. A later suspension, withdrawal or correction is recorded separately and does not overwrite this date. If absent, the end is unknown, not unlimited."
    },
    "evidence_assertions": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/EvidenceAssertion.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "Statements identifying sources that support or contradict this statement."
      }
    },
    "electoral_districts": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/Location.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "The electoral areas the registration places the person in, such as a constituency, ward or precinct, one for each kind of election where they differ. Being placed in a district does not by itself mean the person may vote in every election held there."
      }
    },
    "polling_service_point": {
      "oneOf": [
        {
          "$ref": "https://publicschema.org/ServicePoint.schema.json"
        },
        {
          "type": "string",
          "description": "URI or identifier reference"
        }
      ],
      "description": "The polling station assigned to the person for voting in person, when the register records one. It can reveal the neighbourhood where the person lives."
    }
  }
}
