GET /api/organisations/local-authority/MLN/1996-04-01/elections/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

[
    {
        "election_id": "local.midlothian.2017-05-04",
        "tmp_election_id": null,
        "election_title": "Midlothian Council local election",
        "poll_open_date": "2017-05-04",
        "election_type": {
            "name": "Local elections",
            "election_type": "local"
        },
        "election_subtype": null,
        "organisation": {
            "url": "http://elections.democracyclub.org.uk/api/organisations/local-authority/MLN/1996-04-01/?format=api",
            "official_identifier": "MLN",
            "organisation_type": "local-authority",
            "organisation_subtype": "CA",
            "official_name": "The Midlothian Council",
            "common_name": "Midlothian",
            "slug": "midlothian",
            "territory_code": "SCT",
            "election_name": "Midlothian local election",
            "start_date": "1996-04-01",
            "end_date": null,
            "created": "1996-04-01T00:00:00Z",
            "modified": "2021-10-11T14:59:26.370579Z"
        },
        "group": "local.2017-05-04",
        "group_type": "organisation",
        "identifier_type": "organisation",
        "children": [
            "local.midlothian.bonnyrigg.2017-05-04",
            "local.midlothian.dalkeith.2017-05-04",
            "local.midlothian.midlothian-east.2017-05-04",
            "local.midlothian.midlothian-south.2017-05-04",
            "local.midlothian.midlothian-west.2017-05-04",
            "local.midlothian.penicuik.2017-05-04"
        ],
        "elected_role": "Local Councillor",
        "seats_contested": null,
        "division": null,
        "voting_system": {
            "name": "Single Transferable Vote",
            "wikipedia_url": "https://en.wikipedia.org/wiki/Single_transferable_vote",
            "description": "The single transferable vote (STV) is a voting system designed to achieve proportional representation through ranked voting in multi-seat organizations or constituencies (voting districts).",
            "uses_party_lists": false,
            "slug": "STV"
        },
        "requires_voter_id": null,
        "current": false,
        "explanation": "On 4 May 2017 you will elect your local authority councillor(s) in a [single transferable vote](https://www.youtube.com/watch?v=P38Y4VG1Ibo) election. Your local authority is responsible for all services delivered at a local level, including:\r\n\r\n* Education\r\n* Transport\r\n* Planning\r\n* Fire and public safety\r\n* Social care\r\n* Libraries\r\n* Waste management\r\n* Trading standards\r\n* Rubbish collection\r\n* Recycling\r\n* Council Tax collections\r\n* Housing\r\n* Planning applications\r\n\r\nRead more about [local government in Scotland](http://www.gov.scot/Topics/Government/local-government).\r\n\r\nTo vote at Scottish council elections you must be:\r\n\r\n* 16 years of age or over on polling day\r\n* a British citizen or Irish citizen, or\r\n* a citizen of another European country, or\r\n* a Commonwealth citizen who has leave to remain in the UK or who does not require leave to remain in the UK",
        "metadata": null,
        "deleted": false,
        "cancelled": false,
        "cancellation_reason": null,
        "replaces": null,
        "replaced_by": null,
        "tags": {},
        "created": "2017-03-09T00:00:00Z",
        "modified": "2023-08-31T08:56:42.740730Z"
    },
    {
        "election_id": "local.midlothian.2018-03-22",
        "tmp_election_id": null,
        "election_title": "Midlothian local election",
        "poll_open_date": "2018-03-22",
        "election_type": {
            "name": "Local elections",
            "election_type": "local"
        },
        "election_subtype": null,
        "organisation": {
            "url": "http://elections.democracyclub.org.uk/api/organisations/local-authority/MLN/1996-04-01/?format=api",
            "official_identifier": "MLN",
            "organisation_type": "local-authority",
            "organisation_subtype": "CA",
            "official_name": "The Midlothian Council",
            "common_name": "Midlothian",
            "slug": "midlothian",
            "territory_code": "SCT",
            "election_name": "Midlothian local election",
            "start_date": "1996-04-01",
            "end_date": null,
            "created": "1996-04-01T00:00:00Z",
            "modified": "2021-10-11T14:59:26.370579Z"
        },
        "group": "local.2018-03-22",
        "group_type": "organisation",
        "identifier_type": "organisation",
        "children": [
            "local.midlothian.penicuik.by.2018-03-22"
        ],
        "elected_role": "Local Councillor",
        "seats_contested": null,
        "division": null,
        "voting_system": {
            "name": "Single Transferable Vote",
            "wikipedia_url": "https://en.wikipedia.org/wiki/Single_transferable_vote",
            "description": "The single transferable vote (STV) is a voting system designed to achieve proportional representation through ranked voting in multi-seat organizations or constituencies (voting districts).",
            "uses_party_lists": false,
            "slug": "STV"
        },
        "requires_voter_id": null,
        "current": false,
        "explanation": null,
        "metadata": null,
        "deleted": false,
        "cancelled": false,
        "cancellation_reason": null,
        "replaces": null,
        "replaced_by": null,
        "tags": {},
        "created": "2018-01-25T00:00:00Z",
        "modified": "2023-03-15T14:05:49.642005Z"
    },
    {
        "election_id": "local.midlothian.2021-03-25",
        "tmp_election_id": null,
        "election_title": "Midlothian local election",
        "poll_open_date": "2021-03-25",
        "election_type": {
            "name": "Local elections",
            "election_type": "local"
        },
        "election_subtype": null,
        "organisation": {
            "url": "http://elections.democracyclub.org.uk/api/organisations/local-authority/MLN/1996-04-01/?format=api",
            "official_identifier": "MLN",
            "organisation_type": "local-authority",
            "organisation_subtype": "CA",
            "official_name": "The Midlothian Council",
            "common_name": "Midlothian",
            "slug": "midlothian",
            "territory_code": "SCT",
            "election_name": "Midlothian local election",
            "start_date": "1996-04-01",
            "end_date": null,
            "created": "1996-04-01T00:00:00Z",
            "modified": "2021-10-11T14:59:26.370579Z"
        },
        "group": "local.2021-03-25",
        "group_type": "organisation",
        "identifier_type": "organisation",
        "children": [
            "local.midlothian.midlothian-east.by.2021-03-25"
        ],
        "elected_role": "Local Councillor",
        "seats_contested": null,
        "division": null,
        "voting_system": {
            "name": "Single Transferable Vote",
            "wikipedia_url": "https://en.wikipedia.org/wiki/Single_transferable_vote",
            "description": "The single transferable vote (STV) is a voting system designed to achieve proportional representation through ranked voting in multi-seat organizations or constituencies (voting districts).",
            "uses_party_lists": false,
            "slug": "STV"
        },
        "requires_voter_id": null,
        "current": false,
        "explanation": null,
        "metadata": null,
        "deleted": false,
        "cancelled": false,
        "cancellation_reason": null,
        "replaces": null,
        "replaced_by": null,
        "tags": {},
        "created": "2021-01-28T00:00:00Z",
        "modified": "2023-03-15T14:05:49.642005Z"
    },
    {
        "election_id": "local.midlothian.2022-05-05",
        "tmp_election_id": null,
        "election_title": "Midlothian local election",
        "poll_open_date": "2022-05-05",
        "election_type": {
            "name": "Local elections",
            "election_type": "local"
        },
        "election_subtype": null,
        "organisation": {
            "url": "http://elections.democracyclub.org.uk/api/organisations/local-authority/MLN/1996-04-01/?format=api",
            "official_identifier": "MLN",
            "organisation_type": "local-authority",
            "organisation_subtype": "CA",
            "official_name": "The Midlothian Council",
            "common_name": "Midlothian",
            "slug": "midlothian",
            "territory_code": "SCT",
            "election_name": "Midlothian local election",
            "start_date": "1996-04-01",
            "end_date": null,
            "created": "1996-04-01T00:00:00Z",
            "modified": "2021-10-11T14:59:26.370579Z"
        },
        "group": "local.2022-05-05",
        "group_type": "organisation",
        "identifier_type": "organisation",
        "children": [
            "local.midlothian.bonnyrigg.2022-05-05",
            "local.midlothian.dalkeith.2022-05-05",
            "local.midlothian.midlothian-east.2022-05-05",
            "local.midlothian.midlothian-south.2022-05-05",
            "local.midlothian.midlothian-west.2022-05-05",
            "local.midlothian.penicuik.2022-05-05"
        ],
        "elected_role": "Local Councillor",
        "seats_contested": null,
        "division": null,
        "voting_system": {
            "name": "Single Transferable Vote",
            "wikipedia_url": "https://en.wikipedia.org/wiki/Single_transferable_vote",
            "description": "The single transferable vote (STV) is a voting system designed to achieve proportional representation through ranked voting in multi-seat organizations or constituencies (voting districts).",
            "uses_party_lists": false,
            "slug": "STV"
        },
        "requires_voter_id": null,
        "current": false,
        "explanation": null,
        "metadata": null,
        "deleted": false,
        "cancelled": false,
        "cancellation_reason": null,
        "replaces": null,
        "replaced_by": null,
        "tags": {},
        "created": "2022-01-06T10:27:32.448019Z",
        "modified": "2023-03-15T14:05:49.642005Z"
    },
    {
        "election_id": "local.midlothian.bonnyrigg.2017-05-04",
        "tmp_election_id": null,
        "election_title": "Midlothian Council local election Bonnyrigg",
        "poll_open_date": "2017-05-04",
        "election_type": {
            "name": "Local elections",
            "election_type": "local"
        },
        "election_subtype": null,
        "organisation": {
            "url": "http://elections.democracyclub.org.uk/api/organisations/local-authority/MLN/1996-04-01/?format=api",
            "official_identifier": "MLN",
            "organisation_type": "local-authority",
            "organisation_subtype": "CA",
            "official_name": "The Midlothian Council",
            "common_name": "Midlothian",
            "slug": "midlothian",
            "territory_code": "SCT",
            "election_name": "Midlothian local election",
            "start_date": "1996-04-01",
            "end_date": null,
            "created": "1996-04-01T00:00:00Z",
            "modified": "2021-10-11T14:59:26.370579Z"
        },
        "group": "local.midlothian.2017-05-04",
        "group_type": null,
        "identifier_type": "ballot",
        "children": [],
        "elected_role": "Local Councillor",
        "seats_contested": null,
        "division": {
            "divisionset": {
                "start_date": "2017-05-04",
                "end_date": null,
                "legislation_url": "http://www.legislation.gov.uk/ssi/2016/280/contents/made",
                "consultation_url": "http://www.lgbc-scotland.gov.uk/reviews/5th_electoral/midlothian/",
                "short_title": "The Midlothian (Electoral Arrangements) Order 2016",
                "notes": ""
            },
            "name": "Bonnyrigg",
            "official_identifier": "gss:S13003019",
            "slug": "bonnyrigg",
            "division_type": "UTW",
            "division_subtype": "",
            "division_election_sub_type": "",
            "seats_total": 3,
            "territory_code": "SCT",
            "created": "2017-05-04T00:00:00Z",
            "modified": "2023-03-13T14:02:06.348373Z"
        },
        "voting_system": {
            "name": "Single Transferable Vote",
            "wikipedia_url": "https://en.wikipedia.org/wiki/Single_transferable_vote",
            "description": "The single transferable vote (STV) is a voting system designed to achieve proportional representation through ranked voting in multi-seat organizations or constituencies (voting districts).",
            "uses_party_lists": false,
            "slug": "STV"
        },
        "requires_voter_id": null,
        "current": false,
        "explanation": null,
        "metadata": null,
        "deleted": false,
        "cancelled": false,
        "cancellation_reason": null,
        "replaces": null,
        "replaced_by": null,
        "tags": {
            "NUTS1": {
                "key": "UKM",
                "value": "Scotland"
            }
        },
        "created": "2017-03-09T00:00:00Z",
        "modified": "2023-08-31T08:56:42.740730Z"
    },
    {
        "election_id": "local.midlothian.bonnyrigg.2022-05-05",
        "tmp_election_id": null,
        "election_title": "Midlothian local election Bonnyrigg",
        "poll_open_date": "2022-05-05",
        "election_type": {
            "name": "Local elections",
            "election_type": "local"
        },
        "election_subtype": null,
        "organisation": {
            "url": "http://elections.democracyclub.org.uk/api/organisations/local-authority/MLN/1996-04-01/?format=api",
            "official_identifier": "MLN",
            "organisation_type": "local-authority",
            "organisation_subtype": "CA",
            "official_name": "The Midlothian Council",
            "common_name": "Midlothian",
            "slug": "midlothian",
            "territory_code": "SCT",
            "election_name": "Midlothian local election",
            "start_date": "1996-04-01",
            "end_date": null,
            "created": "1996-04-01T00:00:00Z",
            "modified": "2021-10-11T14:59:26.370579Z"
        },
        "group": "local.midlothian.2022-05-05",
        "group_type": null,
        "identifier_type": "ballot",
        "children": [],
        "elected_role": "Local Councillor",
        "seats_contested": 3,
        "division": {
            "divisionset": {
                "start_date": "2017-05-04",
                "end_date": null,
                "legislation_url": "http://www.legislation.gov.uk/ssi/2016/280/contents/made",
                "consultation_url": "http://www.lgbc-scotland.gov.uk/reviews/5th_electoral/midlothian/",
                "short_title": "The Midlothian (Electoral Arrangements) Order 2016",
                "notes": ""
            },
            "name": "Bonnyrigg",
            "official_identifier": "gss:S13003019",
            "slug": "bonnyrigg",
            "division_type": "UTW",
            "division_subtype": "",
            "division_election_sub_type": "",
            "seats_total": 3,
            "territory_code": "SCT",
            "created": "2017-05-04T00:00:00Z",
            "modified": "2023-03-13T14:02:06.348373Z"
        },
        "voting_system": {
            "name": "Single Transferable Vote",
            "wikipedia_url": "https://en.wikipedia.org/wiki/Single_transferable_vote",
            "description": "The single transferable vote (STV) is a voting system designed to achieve proportional representation through ranked voting in multi-seat organizations or constituencies (voting districts).",
            "uses_party_lists": false,
            "slug": "STV"
        },
        "requires_voter_id": null,
        "current": false,
        "explanation": null,
        "metadata": null,
        "deleted": false,
        "cancelled": false,
        "cancellation_reason": null,
        "replaces": null,
        "replaced_by": null,
        "tags": {
            "NUTS1": {
                "key": "UKM",
                "value": "Scotland"
            }
        },
        "created": "2022-01-06T10:27:32.471540Z",
        "modified": "2023-03-15T14:05:49.642005Z"
    },
    {
        "election_id": "local.midlothian.dalkeith.2017-05-04",
        "tmp_election_id": null,
        "election_title": "Midlothian Council local election Dalkeith",
        "poll_open_date": "2017-05-04",
        "election_type": {
            "name": "Local elections",
            "election_type": "local"
        },
        "election_subtype": null,
        "organisation": {
            "url": "http://elections.democracyclub.org.uk/api/organisations/local-authority/MLN/1996-04-01/?format=api",
            "official_identifier": "MLN",
            "organisation_type": "local-authority",
            "organisation_subtype": "CA",
            "official_name": "The Midlothian Council",
            "common_name": "Midlothian",
            "slug": "midlothian",
            "territory_code": "SCT",
            "election_name": "Midlothian local election",
            "start_date": "1996-04-01",
            "end_date": null,
            "created": "1996-04-01T00:00:00Z",
            "modified": "2021-10-11T14:59:26.370579Z"
        },
        "group": "local.midlothian.2017-05-04",
        "group_type": null,
        "identifier_type": "ballot",
        "children": [],
        "elected_role": "Local Councillor",
        "seats_contested": null,
        "division": {
            "divisionset": {
                "start_date": "2017-05-04",
                "end_date": null,
                "legislation_url": "http://www.legislation.gov.uk/ssi/2016/280/contents/made",
                "consultation_url": "http://www.lgbc-scotland.gov.uk/reviews/5th_electoral/midlothian/",
                "short_title": "The Midlothian (Electoral Arrangements) Order 2016",
                "notes": ""
            },
            "name": "Dalkeith",
            "official_identifier": "gss:S13003020",
            "slug": "dalkeith",
            "division_type": "UTW",
            "division_subtype": "",
            "division_election_sub_type": "",
            "seats_total": 3,
            "territory_code": "SCT",
            "created": "2017-05-04T00:00:00Z",
            "modified": "2023-03-13T14:02:08.922646Z"
        },
        "voting_system": {
            "name": "Single Transferable Vote",
            "wikipedia_url": "https://en.wikipedia.org/wiki/Single_transferable_vote",
            "description": "The single transferable vote (STV) is a voting system designed to achieve proportional representation through ranked voting in multi-seat organizations or constituencies (voting districts).",
            "uses_party_lists": false,
            "slug": "STV"
        },
        "requires_voter_id": null,
        "current": false,
        "explanation": null,
        "metadata": null,
        "deleted": false,
        "cancelled": false,
        "cancellation_reason": null,
        "replaces": null,
        "replaced_by": null,
        "tags": {
            "NUTS1": {
                "key": "UKM",
                "value": "Scotland"
            }
        },
        "created": "2017-03-09T00:00:00Z",
        "modified": "2023-08-31T08:56:42.740730Z"
    },
    {
        "election_id": "local.midlothian.dalkeith.2022-05-05",
        "tmp_election_id": null,
        "election_title": "Midlothian local election Dalkeith",
        "poll_open_date": "2022-05-05",
        "election_type": {
            "name": "Local elections",
            "election_type": "local"
        },
        "election_subtype": null,
        "organisation": {
            "url": "http://elections.democracyclub.org.uk/api/organisations/local-authority/MLN/1996-04-01/?format=api",
            "official_identifier": "MLN",
            "organisation_type": "local-authority",
            "organisation_subtype": "CA",
            "official_name": "The Midlothian Council",
            "common_name": "Midlothian",
            "slug": "midlothian",
            "territory_code": "SCT",
            "election_name": "Midlothian local election",
            "start_date": "1996-04-01",
            "end_date": null,
            "created": "1996-04-01T00:00:00Z",
            "modified": "2021-10-11T14:59:26.370579Z"
        },
        "group": "local.midlothian.2022-05-05",
        "group_type": null,
        "identifier_type": "ballot",
        "children": [],
        "elected_role": "Local Councillor",
        "seats_contested": 3,
        "division": {
            "divisionset": {
                "start_date": "2017-05-04",
                "end_date": null,
                "legislation_url": "http://www.legislation.gov.uk/ssi/2016/280/contents/made",
                "consultation_url": "http://www.lgbc-scotland.gov.uk/reviews/5th_electoral/midlothian/",
                "short_title": "The Midlothian (Electoral Arrangements) Order 2016",
                "notes": ""
            },
            "name": "Dalkeith",
            "official_identifier": "gss:S13003020",
            "slug": "dalkeith",
            "division_type": "UTW",
            "division_subtype": "",
            "division_election_sub_type": "",
            "seats_total": 3,
            "territory_code": "SCT",
            "created": "2017-05-04T00:00:00Z",
            "modified": "2023-03-13T14:02:08.922646Z"
        },
        "voting_system": {
            "name": "Single Transferable Vote",
            "wikipedia_url": "https://en.wikipedia.org/wiki/Single_transferable_vote",
            "description": "The single transferable vote (STV) is a voting system designed to achieve proportional representation through ranked voting in multi-seat organizations or constituencies (voting districts).",
            "uses_party_lists": false,
            "slug": "STV"
        },
        "requires_voter_id": null,
        "current": false,
        "explanation": null,
        "metadata": null,
        "deleted": false,
        "cancelled": false,
        "cancellation_reason": null,
        "replaces": null,
        "replaced_by": null,
        "tags": {
            "NUTS1": {
                "key": "UKM",
                "value": "Scotland"
            }
        },
        "created": "2022-01-06T10:27:32.489900Z",
        "modified": "2023-03-15T14:05:49.642005Z"
    },
    {
        "election_id": "local.midlothian.midlothian-east.2017-05-04",
        "tmp_election_id": null,
        "election_title": "Midlothian Council local election Midlothian East",
        "poll_open_date": "2017-05-04",
        "election_type": {
            "name": "Local elections",
            "election_type": "local"
        },
        "election_subtype": null,
        "organisation": {
            "url": "http://elections.democracyclub.org.uk/api/organisations/local-authority/MLN/1996-04-01/?format=api",
            "official_identifier": "MLN",
            "organisation_type": "local-authority",
            "organisation_subtype": "CA",
            "official_name": "The Midlothian Council",
            "common_name": "Midlothian",
            "slug": "midlothian",
            "territory_code": "SCT",
            "election_name": "Midlothian local election",
            "start_date": "1996-04-01",
            "end_date": null,
            "created": "1996-04-01T00:00:00Z",
            "modified": "2021-10-11T14:59:26.370579Z"
        },
        "group": "local.midlothian.2017-05-04",
        "group_type": null,
        "identifier_type": "ballot",
        "children": [],
        "elected_role": "Local Councillor",
        "seats_contested": null,
        "division": {
            "divisionset": {
                "start_date": "2017-05-04",
                "end_date": null,
                "legislation_url": "http://www.legislation.gov.uk/ssi/2016/280/contents/made",
                "consultation_url": "http://www.lgbc-scotland.gov.uk/reviews/5th_electoral/midlothian/",
                "short_title": "The Midlothian (Electoral Arrangements) Order 2016",
                "notes": ""
            },
            "name": "Midlothian East",
            "official_identifier": "gss:S13003022",
            "slug": "midlothian-east",
            "division_type": "UTW",
            "division_subtype": "",
            "division_election_sub_type": "",
            "seats_total": 3,
            "territory_code": "SCT",
            "created": "2017-05-04T00:00:00Z",
            "modified": "2023-03-13T14:02:14.094969Z"
        },
        "voting_system": {
            "name": "Single Transferable Vote",
            "wikipedia_url": "https://en.wikipedia.org/wiki/Single_transferable_vote",
            "description": "The single transferable vote (STV) is a voting system designed to achieve proportional representation through ranked voting in multi-seat organizations or constituencies (voting districts).",
            "uses_party_lists": false,
            "slug": "STV"
        },
        "requires_voter_id": null,
        "current": false,
        "explanation": null,
        "metadata": null,
        "deleted": false,
        "cancelled": false,
        "cancellation_reason": null,
        "replaces": null,
        "replaced_by": null,
        "tags": {
            "NUTS1": {
                "key": "UKM",
                "value": "Scotland"
            }
        },
        "created": "2017-03-09T00:00:00Z",
        "modified": "2023-08-31T08:56:42.740730Z"
    },
    {
        "election_id": "local.midlothian.midlothian-east.2022-05-05",
        "tmp_election_id": null,
        "election_title": "Midlothian local election Midlothian East",
        "poll_open_date": "2022-05-05",
        "election_type": {
            "name": "Local elections",
            "election_type": "local"
        },
        "election_subtype": null,
        "organisation": {
            "url": "http://elections.democracyclub.org.uk/api/organisations/local-authority/MLN/1996-04-01/?format=api",
            "official_identifier": "MLN",
            "organisation_type": "local-authority",
            "organisation_subtype": "CA",
            "official_name": "The Midlothian Council",
            "common_name": "Midlothian",
            "slug": "midlothian",
            "territory_code": "SCT",
            "election_name": "Midlothian local election",
            "start_date": "1996-04-01",
            "end_date": null,
            "created": "1996-04-01T00:00:00Z",
            "modified": "2021-10-11T14:59:26.370579Z"
        },
        "group": "local.midlothian.2022-05-05",
        "group_type": null,
        "identifier_type": "ballot",
        "children": [],
        "elected_role": "Local Councillor",
        "seats_contested": 3,
        "division": {
            "divisionset": {
                "start_date": "2017-05-04",
                "end_date": null,
                "legislation_url": "http://www.legislation.gov.uk/ssi/2016/280/contents/made",
                "consultation_url": "http://www.lgbc-scotland.gov.uk/reviews/5th_electoral/midlothian/",
                "short_title": "The Midlothian (Electoral Arrangements) Order 2016",
                "notes": ""
            },
            "name": "Midlothian East",
            "official_identifier": "gss:S13003022",
            "slug": "midlothian-east",
            "division_type": "UTW",
            "division_subtype": "",
            "division_election_sub_type": "",
            "seats_total": 3,
            "territory_code": "SCT",
            "created": "2017-05-04T00:00:00Z",
            "modified": "2023-03-13T14:02:14.094969Z"
        },
        "voting_system": {
            "name": "Single Transferable Vote",
            "wikipedia_url": "https://en.wikipedia.org/wiki/Single_transferable_vote",
            "description": "The single transferable vote (STV) is a voting system designed to achieve proportional representation through ranked voting in multi-seat organizations or constituencies (voting districts).",
            "uses_party_lists": false,
            "slug": "STV"
        },
        "requires_voter_id": null,
        "current": false,
        "explanation": null,
        "metadata": null,
        "deleted": false,
        "cancelled": false,
        "cancellation_reason": null,
        "replaces": null,
        "replaced_by": null,
        "tags": {
            "NUTS1": {
                "key": "UKM",
                "value": "Scotland"
            }
        },
        "created": "2022-01-06T10:27:32.510569Z",
        "modified": "2023-03-15T14:05:49.642005Z"
    },
    {
        "election_id": "local.midlothian.midlothian-east.by.2021-03-25",
        "tmp_election_id": null,
        "election_title": "Midlothian local election Midlothian East by-election",
        "poll_open_date": "2021-03-25",
        "election_type": {
            "name": "Local elections",
            "election_type": "local"
        },
        "election_subtype": null,
        "organisation": {
            "url": "http://elections.democracyclub.org.uk/api/organisations/local-authority/MLN/1996-04-01/?format=api",
            "official_identifier": "MLN",
            "organisation_type": "local-authority",
            "organisation_subtype": "CA",
            "official_name": "The Midlothian Council",
            "common_name": "Midlothian",
            "slug": "midlothian",
            "territory_code": "SCT",
            "election_name": "Midlothian local election",
            "start_date": "1996-04-01",
            "end_date": null,
            "created": "1996-04-01T00:00:00Z",
            "modified": "2021-10-11T14:59:26.370579Z"
        },
        "group": "local.midlothian.2021-03-25",
        "group_type": null,
        "identifier_type": "ballot",
        "children": [],
        "elected_role": "Local Councillor",
        "seats_contested": 1,
        "division": {
            "divisionset": {
                "start_date": "2017-05-04",
                "end_date": null,
                "legislation_url": "http://www.legislation.gov.uk/ssi/2016/280/contents/made",
                "consultation_url": "http://www.lgbc-scotland.gov.uk/reviews/5th_electoral/midlothian/",
                "short_title": "The Midlothian (Electoral Arrangements) Order 2016",
                "notes": ""
            },
            "name": "Midlothian East",
            "official_identifier": "gss:S13003022",
            "slug": "midlothian-east",
            "division_type": "UTW",
            "division_subtype": "",
            "division_election_sub_type": "",
            "seats_total": 3,
            "territory_code": "SCT",
            "created": "2017-05-04T00:00:00Z",
            "modified": "2023-03-13T14:02:14.094969Z"
        },
        "voting_system": {
            "name": "Single Transferable Vote",
            "wikipedia_url": "https://en.wikipedia.org/wiki/Single_transferable_vote",
            "description": "The single transferable vote (STV) is a voting system designed to achieve proportional representation through ranked voting in multi-seat organizations or constituencies (voting districts).",
            "uses_party_lists": false,
            "slug": "STV"
        },
        "requires_voter_id": null,
        "current": false,
        "explanation": null,
        "metadata": null,
        "deleted": false,
        "cancelled": false,
        "cancellation_reason": null,
        "replaces": null,
        "replaced_by": null,
        "tags": {
            "NUTS1": {
                "key": "UKM",
                "value": "Scotland"
            }
        },
        "created": "2021-01-28T00:00:00Z",
        "modified": "2023-03-15T14:05:49.642005Z"
    },
    {
        "election_id": "local.midlothian.midlothian-south.2017-05-04",
        "tmp_election_id": null,
        "election_title": "Midlothian Council local election Midlothian South",
        "poll_open_date": "2017-05-04",
        "election_type": {
            "name": "Local elections",
            "election_type": "local"
        },
        "election_subtype": null,
        "organisation": {
            "url": "http://elections.democracyclub.org.uk/api/organisations/local-authority/MLN/1996-04-01/?format=api",
            "official_identifier": "MLN",
            "organisation_type": "local-authority",
            "organisation_subtype": "CA",
            "official_name": "The Midlothian Council",
            "common_name": "Midlothian",
            "slug": "midlothian",
            "territory_code": "SCT",
            "election_name": "Midlothian local election",
            "start_date": "1996-04-01",
            "end_date": null,
            "created": "1996-04-01T00:00:00Z",
            "modified": "2021-10-11T14:59:26.370579Z"
        },
        "group": "local.midlothian.2017-05-04",
        "group_type": null,
        "identifier_type": "ballot",
        "children": [],
        "elected_role": "Local Councillor",
        "seats_contested": null,
        "division": {
            "divisionset": {
                "start_date": "2017-05-04",
                "end_date": null,
                "legislation_url": "http://www.legislation.gov.uk/ssi/2016/280/contents/made",
                "consultation_url": "http://www.lgbc-scotland.gov.uk/reviews/5th_electoral/midlothian/",
                "short_title": "The Midlothian (Electoral Arrangements) Order 2016",
                "notes": ""
            },
            "name": "Midlothian South",
            "official_identifier": "gss:S13003023",
            "slug": "midlothian-south",
            "division_type": "UTW",
            "division_subtype": "",
            "division_election_sub_type": "",
            "seats_total": 3,
            "territory_code": "SCT",
            "created": "2017-05-04T00:00:00Z",
            "modified": "2023-03-13T14:02:14.099304Z"
        },
        "voting_system": {
            "name": "Single Transferable Vote",
            "wikipedia_url": "https://en.wikipedia.org/wiki/Single_transferable_vote",
            "description": "The single transferable vote (STV) is a voting system designed to achieve proportional representation through ranked voting in multi-seat organizations or constituencies (voting districts).",
            "uses_party_lists": false,
            "slug": "STV"
        },
        "requires_voter_id": null,
        "current": false,
        "explanation": null,
        "metadata": null,
        "deleted": false,
        "cancelled": false,
        "cancellation_reason": null,
        "replaces": null,
        "replaced_by": null,
        "tags": {
            "NUTS1": {
                "key": "UKM",
                "value": "Scotland"
            }
        },
        "created": "2017-03-09T00:00:00Z",
        "modified": "2023-08-31T08:56:42.740730Z"
    },
    {
        "election_id": "local.midlothian.midlothian-south.2022-05-05",
        "tmp_election_id": null,
        "election_title": "Midlothian local election Midlothian South",
        "poll_open_date": "2022-05-05",
        "election_type": {
            "name": "Local elections",
            "election_type": "local"
        },
        "election_subtype": null,
        "organisation": {
            "url": "http://elections.democracyclub.org.uk/api/organisations/local-authority/MLN/1996-04-01/?format=api",
            "official_identifier": "MLN",
            "organisation_type": "local-authority",
            "organisation_subtype": "CA",
            "official_name": "The Midlothian Council",
            "common_name": "Midlothian",
            "slug": "midlothian",
            "territory_code": "SCT",
            "election_name": "Midlothian local election",
            "start_date": "1996-04-01",
            "end_date": null,
            "created": "1996-04-01T00:00:00Z",
            "modified": "2021-10-11T14:59:26.370579Z"
        },
        "group": "local.midlothian.2022-05-05",
        "group_type": null,
        "identifier_type": "ballot",
        "children": [],
        "elected_role": "Local Councillor",
        "seats_contested": 3,
        "division": {
            "divisionset": {
                "start_date": "2017-05-04",
                "end_date": null,
                "legislation_url": "http://www.legislation.gov.uk/ssi/2016/280/contents/made",
                "consultation_url": "http://www.lgbc-scotland.gov.uk/reviews/5th_electoral/midlothian/",
                "short_title": "The Midlothian (Electoral Arrangements) Order 2016",
                "notes": ""
            },
            "name": "Midlothian South",
            "official_identifier": "gss:S13003023",
            "slug": "midlothian-south",
            "division_type": "UTW",
            "division_subtype": "",
            "division_election_sub_type": "",
            "seats_total": 3,
            "territory_code": "SCT",
            "created": "2017-05-04T00:00:00Z",
            "modified": "2023-03-13T14:02:14.099304Z"
        },
        "voting_system": {
            "name": "Single Transferable Vote",
            "wikipedia_url": "https://en.wikipedia.org/wiki/Single_transferable_vote",
            "description": "The single transferable vote (STV) is a voting system designed to achieve proportional representation through ranked voting in multi-seat organizations or constituencies (voting districts).",
            "uses_party_lists": false,
            "slug": "STV"
        },
        "requires_voter_id": null,
        "current": false,
        "explanation": null,
        "metadata": null,
        "deleted": false,
        "cancelled": false,
        "cancellation_reason": null,
        "replaces": null,
        "replaced_by": null,
        "tags": {
            "NUTS1": {
                "key": "UKM",
                "value": "Scotland"
            }
        },
        "created": "2022-01-06T10:27:32.529287Z",
        "modified": "2023-03-15T14:05:49.642005Z"
    },
    {
        "election_id": "local.midlothian.midlothian-west.2017-05-04",
        "tmp_election_id": null,
        "election_title": "Midlothian Council local election Midlothian West",
        "poll_open_date": "2017-05-04",
        "election_type": {
            "name": "Local elections",
            "election_type": "local"
        },
        "election_subtype": null,
        "organisation": {
            "url": "http://elections.democracyclub.org.uk/api/organisations/local-authority/MLN/1996-04-01/?format=api",
            "official_identifier": "MLN",
            "organisation_type": "local-authority",
            "organisation_subtype": "CA",
            "official_name": "The Midlothian Council",
            "common_name": "Midlothian",
            "slug": "midlothian",
            "territory_code": "SCT",
            "election_name": "Midlothian local election",
            "start_date": "1996-04-01",
            "end_date": null,
            "created": "1996-04-01T00:00:00Z",
            "modified": "2021-10-11T14:59:26.370579Z"
        },
        "group": "local.midlothian.2017-05-04",
        "group_type": null,
        "identifier_type": "ballot",
        "children": [],
        "elected_role": "Local Councillor",
        "seats_contested": null,
        "division": {
            "divisionset": {
                "start_date": "2017-05-04",
                "end_date": null,
                "legislation_url": "http://www.legislation.gov.uk/ssi/2016/280/contents/made",
                "consultation_url": "http://www.lgbc-scotland.gov.uk/reviews/5th_electoral/midlothian/",
                "short_title": "The Midlothian (Electoral Arrangements) Order 2016",
                "notes": ""
            },
            "name": "Midlothian West",
            "official_identifier": "gss:S13003021",
            "slug": "midlothian-west",
            "division_type": "UTW",
            "division_subtype": "",
            "division_election_sub_type": "",
            "seats_total": 3,
            "territory_code": "SCT",
            "created": "2017-05-04T00:00:00Z",
            "modified": "2023-03-13T14:02:14.103874Z"
        },
        "voting_system": {
            "name": "Single Transferable Vote",
            "wikipedia_url": "https://en.wikipedia.org/wiki/Single_transferable_vote",
            "description": "The single transferable vote (STV) is a voting system designed to achieve proportional representation through ranked voting in multi-seat organizations or constituencies (voting districts).",
            "uses_party_lists": false,
            "slug": "STV"
        },
        "requires_voter_id": null,
        "current": false,
        "explanation": null,
        "metadata": null,
        "deleted": false,
        "cancelled": false,
        "cancellation_reason": null,
        "replaces": null,
        "replaced_by": null,
        "tags": {
            "NUTS1": {
                "key": "UKM",
                "value": "Scotland"
            }
        },
        "created": "2017-03-09T00:00:00Z",
        "modified": "2023-08-31T08:56:42.740730Z"
    },
    {
        "election_id": "local.midlothian.midlothian-west.2022-05-05",
        "tmp_election_id": null,
        "election_title": "Midlothian local election Midlothian West",
        "poll_open_date": "2022-05-05",
        "election_type": {
            "name": "Local elections",
            "election_type": "local"
        },
        "election_subtype": null,
        "organisation": {
            "url": "http://elections.democracyclub.org.uk/api/organisations/local-authority/MLN/1996-04-01/?format=api",
            "official_identifier": "MLN",
            "organisation_type": "local-authority",
            "organisation_subtype": "CA",
            "official_name": "The Midlothian Council",
            "common_name": "Midlothian",
            "slug": "midlothian",
            "territory_code": "SCT",
            "election_name": "Midlothian local election",
            "start_date": "1996-04-01",
            "end_date": null,
            "created": "1996-04-01T00:00:00Z",
            "modified": "2021-10-11T14:59:26.370579Z"
        },
        "group": "local.midlothian.2022-05-05",
        "group_type": null,
        "identifier_type": "ballot",
        "children": [],
        "elected_role": "Local Councillor",
        "seats_contested": 3,
        "division": {
            "divisionset": {
                "start_date": "2017-05-04",
                "end_date": null,
                "legislation_url": "http://www.legislation.gov.uk/ssi/2016/280/contents/made",
                "consultation_url": "http://www.lgbc-scotland.gov.uk/reviews/5th_electoral/midlothian/",
                "short_title": "The Midlothian (Electoral Arrangements) Order 2016",
                "notes": ""
            },
            "name": "Midlothian West",
            "official_identifier": "gss:S13003021",
            "slug": "midlothian-west",
            "division_type": "UTW",
            "division_subtype": "",
            "division_election_sub_type": "",
            "seats_total": 3,
            "territory_code": "SCT",
            "created": "2017-05-04T00:00:00Z",
            "modified": "2023-03-13T14:02:14.103874Z"
        },
        "voting_system": {
            "name": "Single Transferable Vote",
            "wikipedia_url": "https://en.wikipedia.org/wiki/Single_transferable_vote",
            "description": "The single transferable vote (STV) is a voting system designed to achieve proportional representation through ranked voting in multi-seat organizations or constituencies (voting districts).",
            "uses_party_lists": false,
            "slug": "STV"
        },
        "requires_voter_id": null,
        "current": false,
        "explanation": null,
        "metadata": null,
        "deleted": false,
        "cancelled": false,
        "cancellation_reason": null,
        "replaces": null,
        "replaced_by": null,
        "tags": {
            "NUTS1": {
                "key": "UKM",
                "value": "Scotland"
            }
        },
        "created": "2022-01-06T10:27:32.548189Z",
        "modified": "2023-03-15T14:05:49.642005Z"
    },
    {
        "election_id": "local.midlothian.penicuik.2017-05-04",
        "tmp_election_id": null,
        "election_title": "Midlothian Council local election Penicuik",
        "poll_open_date": "2017-05-04",
        "election_type": {
            "name": "Local elections",
            "election_type": "local"
        },
        "election_subtype": null,
        "organisation": {
            "url": "http://elections.democracyclub.org.uk/api/organisations/local-authority/MLN/1996-04-01/?format=api",
            "official_identifier": "MLN",
            "organisation_type": "local-authority",
            "organisation_subtype": "CA",
            "official_name": "The Midlothian Council",
            "common_name": "Midlothian",
            "slug": "midlothian",
            "territory_code": "SCT",
            "election_name": "Midlothian local election",
            "start_date": "1996-04-01",
            "end_date": null,
            "created": "1996-04-01T00:00:00Z",
            "modified": "2021-10-11T14:59:26.370579Z"
        },
        "group": "local.midlothian.2017-05-04",
        "group_type": null,
        "identifier_type": "ballot",
        "children": [],
        "elected_role": "Local Councillor",
        "seats_contested": null,
        "division": {
            "divisionset": {
                "start_date": "2017-05-04",
                "end_date": null,
                "legislation_url": "http://www.legislation.gov.uk/ssi/2016/280/contents/made",
                "consultation_url": "http://www.lgbc-scotland.gov.uk/reviews/5th_electoral/midlothian/",
                "short_title": "The Midlothian (Electoral Arrangements) Order 2016",
                "notes": ""
            },
            "name": "Penicuik",
            "official_identifier": "gss:S13003018",
            "slug": "penicuik",
            "division_type": "UTW",
            "division_subtype": "",
            "division_election_sub_type": "",
            "seats_total": 3,
            "territory_code": "SCT",
            "created": "2017-05-04T00:00:00Z",
            "modified": "2023-03-13T14:02:15.728394Z"
        },
        "voting_system": {
            "name": "Single Transferable Vote",
            "wikipedia_url": "https://en.wikipedia.org/wiki/Single_transferable_vote",
            "description": "The single transferable vote (STV) is a voting system designed to achieve proportional representation through ranked voting in multi-seat organizations or constituencies (voting districts).",
            "uses_party_lists": false,
            "slug": "STV"
        },
        "requires_voter_id": null,
        "current": false,
        "explanation": null,
        "metadata": null,
        "deleted": false,
        "cancelled": false,
        "cancellation_reason": null,
        "replaces": null,
        "replaced_by": null,
        "tags": {
            "NUTS1": {
                "key": "UKM",
                "value": "Scotland"
            }
        },
        "created": "2017-03-09T00:00:00Z",
        "modified": "2023-08-31T08:56:42.740730Z"
    },
    {
        "election_id": "local.midlothian.penicuik.2022-05-05",
        "tmp_election_id": null,
        "election_title": "Midlothian local election Penicuik",
        "poll_open_date": "2022-05-05",
        "election_type": {
            "name": "Local elections",
            "election_type": "local"
        },
        "election_subtype": null,
        "organisation": {
            "url": "http://elections.democracyclub.org.uk/api/organisations/local-authority/MLN/1996-04-01/?format=api",
            "official_identifier": "MLN",
            "organisation_type": "local-authority",
            "organisation_subtype": "CA",
            "official_name": "The Midlothian Council",
            "common_name": "Midlothian",
            "slug": "midlothian",
            "territory_code": "SCT",
            "election_name": "Midlothian local election",
            "start_date": "1996-04-01",
            "end_date": null,
            "created": "1996-04-01T00:00:00Z",
            "modified": "2021-10-11T14:59:26.370579Z"
        },
        "group": "local.midlothian.2022-05-05",
        "group_type": null,
        "identifier_type": "ballot",
        "children": [],
        "elected_role": "Local Councillor",
        "seats_contested": 3,
        "division": {
            "divisionset": {
                "start_date": "2017-05-04",
                "end_date": null,
                "legislation_url": "http://www.legislation.gov.uk/ssi/2016/280/contents/made",
                "consultation_url": "http://www.lgbc-scotland.gov.uk/reviews/5th_electoral/midlothian/",
                "short_title": "The Midlothian (Electoral Arrangements) Order 2016",
                "notes": ""
            },
            "name": "Penicuik",
            "official_identifier": "gss:S13003018",
            "slug": "penicuik",
            "division_type": "UTW",
            "division_subtype": "",
            "division_election_sub_type": "",
            "seats_total": 3,
            "territory_code": "SCT",
            "created": "2017-05-04T00:00:00Z",
            "modified": "2023-03-13T14:02:15.728394Z"
        },
        "voting_system": {
            "name": "Single Transferable Vote",
            "wikipedia_url": "https://en.wikipedia.org/wiki/Single_transferable_vote",
            "description": "The single transferable vote (STV) is a voting system designed to achieve proportional representation through ranked voting in multi-seat organizations or constituencies (voting districts).",
            "uses_party_lists": false,
            "slug": "STV"
        },
        "requires_voter_id": null,
        "current": false,
        "explanation": null,
        "metadata": null,
        "deleted": false,
        "cancelled": false,
        "cancellation_reason": null,
        "replaces": null,
        "replaced_by": null,
        "tags": {
            "NUTS1": {
                "key": "UKM",
                "value": "Scotland"
            }
        },
        "created": "2022-01-06T10:27:32.569041Z",
        "modified": "2023-03-15T14:05:49.642005Z"
    },
    {
        "election_id": "local.midlothian.penicuik.by.2018-03-22",
        "tmp_election_id": null,
        "election_title": "Midlothian local election Penicuik by-election",
        "poll_open_date": "2018-03-22",
        "election_type": {
            "name": "Local elections",
            "election_type": "local"
        },
        "election_subtype": null,
        "organisation": {
            "url": "http://elections.democracyclub.org.uk/api/organisations/local-authority/MLN/1996-04-01/?format=api",
            "official_identifier": "MLN",
            "organisation_type": "local-authority",
            "organisation_subtype": "CA",
            "official_name": "The Midlothian Council",
            "common_name": "Midlothian",
            "slug": "midlothian",
            "territory_code": "SCT",
            "election_name": "Midlothian local election",
            "start_date": "1996-04-01",
            "end_date": null,
            "created": "1996-04-01T00:00:00Z",
            "modified": "2021-10-11T14:59:26.370579Z"
        },
        "group": "local.midlothian.2018-03-22",
        "group_type": null,
        "identifier_type": "ballot",
        "children": [],
        "elected_role": "Local Councillor",
        "seats_contested": null,
        "division": {
            "divisionset": {
                "start_date": "2017-05-04",
                "end_date": null,
                "legislation_url": "http://www.legislation.gov.uk/ssi/2016/280/contents/made",
                "consultation_url": "http://www.lgbc-scotland.gov.uk/reviews/5th_electoral/midlothian/",
                "short_title": "The Midlothian (Electoral Arrangements) Order 2016",
                "notes": ""
            },
            "name": "Penicuik",
            "official_identifier": "gss:S13003018",
            "slug": "penicuik",
            "division_type": "UTW",
            "division_subtype": "",
            "division_election_sub_type": "",
            "seats_total": 3,
            "territory_code": "SCT",
            "created": "2017-05-04T00:00:00Z",
            "modified": "2023-03-13T14:02:15.728394Z"
        },
        "voting_system": {
            "name": "Single Transferable Vote",
            "wikipedia_url": "https://en.wikipedia.org/wiki/Single_transferable_vote",
            "description": "The single transferable vote (STV) is a voting system designed to achieve proportional representation through ranked voting in multi-seat organizations or constituencies (voting districts).",
            "uses_party_lists": false,
            "slug": "STV"
        },
        "requires_voter_id": null,
        "current": false,
        "explanation": null,
        "metadata": null,
        "deleted": false,
        "cancelled": false,
        "cancellation_reason": null,
        "replaces": null,
        "replaced_by": null,
        "tags": {
            "NUTS1": {
                "key": "UKM",
                "value": "Scotland"
            }
        },
        "created": "2018-01-25T00:00:00Z",
        "modified": "2023-03-15T14:05:49.642005Z"
    }
]