The docs for voterInfoQuery say that pollingLocations will have a "id" of type "string" (see here:
https://developers.google.com/civic-information/docs/v2/elections/voterInfoQuery). I was planning on using this foreign-key to update any changes or insert new locations to my database. I just noticed that the VA election data was launched today, but noticed there is no "id" for the pollingLocations. Please see json response below.
Has anyone noticed this issue? Do I need to plan on not having any pollingLocations civic-data-id's available for me? .... hopefully not, that would make it much tougher to maintain over multiple requests.
{
"election": {
"id": "7000",
"name": "US 2020 General Election",
"electionDay": "2020-11-03",
"ocdDivisionId": "ocd-division/country:us"
},
"normalizedInput": {
"line1": "1407 Sherwood Avenue",
"city": "Richmond",
"state": "VA",
"zip": "23220"
},
"pollingLocations": [
{
"address": {
"locationName": "HERMITAGE METHODIST HOME",
"line1": "1601 Palmyra Avenue",
"city": "Richmond",
"state": "VA",
"zip": "23227"
},
"pollingHours": "Tue, Nov 3: 6 am - 7 pm",
"latitude": 37.5796757,
"longitude": -77.4591882,
"startDate": "2020-11-03",
"endDate": "2020-11-03",
"sources": [
{
"name": "Voting Information Project",
"official": true
}
]
}
],
...
}