{
  "$ref": "#/definitions/DtTableVotesRow",
  "definitions": {
    "DtTableVotesRow": {
      "type": "object",
      "properties": {
        "vote_event_id": {
          "type": "string",
          "description": "ID of the vote-event this vote belongs to."
        },
        "voter_id": {
          "type": "string",
          "description": "ID of the voter (person or organization)."
        },
        "voter_type": {
          "type": "string",
          "enum": [
            "person",
            "organization"
          ],
          "description": "Disambiguates whether voter_id refers to a person or an organization."
        },
        "option": {
          "type": "string",
          "description": "Vote option. Recommended: yes, no, abstain, not voting, absent, secret, unknown. Other values allowed."
        },
        "role": {
          "type": "string"
        },
        "note": {
          "type": "string"
        }
      },
      "required": [
        "vote_event_id",
        "voter_id",
        "option"
      ],
      "additionalProperties": false,
      "description": "Tabular storage contract for votes (CSV/Parquet). One row per vote."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}