google-api-python-client 2.164.0__py2.py3-none-any.whl → 2.166.0__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. {google_api_python_client-2.164.0.dist-info → google_api_python_client-2.166.0.dist-info}/METADATA +4 -4
  2. {google_api_python_client-2.164.0.dist-info → google_api_python_client-2.166.0.dist-info}/RECORD +159 -157
  3. googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json +15 -1
  4. googleapiclient/discovery_cache/documents/addressvalidation.v1.json +8 -8
  5. googleapiclient/discovery_cache/documents/adsense.v2.json +9 -9
  6. googleapiclient/discovery_cache/documents/aiplatform.v1.json +60 -4
  7. googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +263 -8
  8. googleapiclient/discovery_cache/documents/alloydb.v1.json +74 -5
  9. googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +156 -5
  10. googleapiclient/discovery_cache/documents/alloydb.v1beta.json +156 -5
  11. googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json +7 -6
  12. googleapiclient/discovery_cache/documents/analyticsadmin.v1beta.json +7 -6
  13. googleapiclient/discovery_cache/documents/analyticshub.v1.json +7 -2
  14. googleapiclient/discovery_cache/documents/androidpublisher.v3.json +2 -2
  15. googleapiclient/discovery_cache/documents/apigee.v1.json +442 -1
  16. googleapiclient/discovery_cache/documents/appengine.v1.json +50 -1
  17. googleapiclient/discovery_cache/documents/appengine.v1beta.json +50 -1
  18. googleapiclient/discovery_cache/documents/backupdr.v1.json +8 -2
  19. googleapiclient/discovery_cache/documents/beyondcorp.v1.json +1 -206
  20. googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json +9 -262
  21. googleapiclient/discovery_cache/documents/bigquery.v2.json +41 -1
  22. googleapiclient/discovery_cache/documents/bigquerydatapolicy.v1.json +2 -2
  23. googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json +5 -1
  24. googleapiclient/discovery_cache/documents/bigtableadmin.v2.json +160 -1
  25. googleapiclient/discovery_cache/documents/binaryauthorization.v1.json +5 -1
  26. googleapiclient/discovery_cache/documents/chat.v1.json +9 -5
  27. googleapiclient/discovery_cache/documents/chromemanagement.v1.json +10 -22
  28. googleapiclient/discovery_cache/documents/civicinfo.v2.json +267 -267
  29. googleapiclient/discovery_cache/documents/cloudasset.v1.json +15 -1
  30. googleapiclient/discovery_cache/documents/cloudasset.v1beta1.json +15 -1
  31. googleapiclient/discovery_cache/documents/cloudasset.v1p1beta1.json +15 -1
  32. googleapiclient/discovery_cache/documents/cloudasset.v1p5beta1.json +15 -1
  33. googleapiclient/discovery_cache/documents/cloudasset.v1p7beta1.json +15 -1
  34. googleapiclient/discovery_cache/documents/cloudchannel.v1.json +8 -8
  35. googleapiclient/discovery_cache/documents/composer.v1.json +2 -2
  36. googleapiclient/discovery_cache/documents/composer.v1beta1.json +2 -2
  37. googleapiclient/discovery_cache/documents/compute.alpha.json +1454 -456
  38. googleapiclient/discovery_cache/documents/compute.beta.json +1385 -18
  39. googleapiclient/discovery_cache/documents/compute.v1.json +98 -19
  40. googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +185 -5
  41. googleapiclient/discovery_cache/documents/container.v1.json +369 -10
  42. googleapiclient/discovery_cache/documents/container.v1beta1.json +31 -10
  43. googleapiclient/discovery_cache/documents/containeranalysis.v1.json +95 -2
  44. googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json +95 -2
  45. googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json +44 -2
  46. googleapiclient/discovery_cache/documents/datacatalog.v1.json +2 -2
  47. googleapiclient/discovery_cache/documents/datacatalog.v1beta1.json +2 -2
  48. googleapiclient/discovery_cache/documents/dataflow.v1b3.json +16 -2
  49. googleapiclient/discovery_cache/documents/dataform.v1beta1.json +5 -5
  50. googleapiclient/discovery_cache/documents/dataplex.v1.json +58 -16
  51. googleapiclient/discovery_cache/documents/dataproc.v1.json +347 -5
  52. googleapiclient/discovery_cache/documents/datastream.v1.json +40 -4
  53. googleapiclient/discovery_cache/documents/dialogflow.v2.json +421 -7
  54. googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +421 -7
  55. googleapiclient/discovery_cache/documents/dialogflow.v3.json +193 -1
  56. googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json +394 -2
  57. googleapiclient/discovery_cache/documents/discoveryengine.v1.json +532 -18
  58. googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +413 -17
  59. googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +663 -17
  60. googleapiclient/discovery_cache/documents/displayvideo.v2.json +24 -8
  61. googleapiclient/discovery_cache/documents/displayvideo.v3.json +279 -62
  62. googleapiclient/discovery_cache/documents/displayvideo.v4.json +222 -52
  63. googleapiclient/discovery_cache/documents/dlp.v2.json +129 -1
  64. googleapiclient/discovery_cache/documents/documentai.v1.json +14 -8
  65. googleapiclient/discovery_cache/documents/documentai.v1beta3.json +18 -8
  66. googleapiclient/discovery_cache/documents/doubleclickbidmanager.v2.json +3 -3
  67. googleapiclient/discovery_cache/documents/eventarc.v1.json +8 -1
  68. googleapiclient/discovery_cache/documents/fcm.v1.json +2 -2
  69. googleapiclient/discovery_cache/documents/firebase.v1beta1.json +2 -2
  70. googleapiclient/discovery_cache/documents/firebaseappdistribution.v1alpha.json +2 -2
  71. googleapiclient/discovery_cache/documents/firebaseml.v2beta.json +23 -1
  72. googleapiclient/discovery_cache/documents/forms.v1.json +99 -2
  73. googleapiclient/discovery_cache/documents/gkebackup.v1.json +39 -1
  74. googleapiclient/discovery_cache/documents/gkehub.v1.json +11 -1
  75. googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +11 -1
  76. googleapiclient/discovery_cache/documents/gkehub.v1beta.json +11 -1
  77. googleapiclient/discovery_cache/documents/gkehub.v2.json +11 -1
  78. googleapiclient/discovery_cache/documents/gkehub.v2alpha.json +11 -1
  79. googleapiclient/discovery_cache/documents/gkehub.v2beta.json +11 -1
  80. googleapiclient/discovery_cache/documents/healthcare.v1beta1.json +11 -1
  81. googleapiclient/discovery_cache/documents/iam.v1.json +3 -3
  82. googleapiclient/discovery_cache/documents/integrations.v1.json +176 -14
  83. googleapiclient/discovery_cache/documents/language.v1.json +5 -3
  84. googleapiclient/discovery_cache/documents/language.v1beta2.json +5 -3
  85. googleapiclient/discovery_cache/documents/language.v2.json +5 -3
  86. googleapiclient/discovery_cache/documents/logging.v2.json +82 -1
  87. googleapiclient/discovery_cache/documents/looker.v1.json +1 -237
  88. googleapiclient/discovery_cache/documents/managedkafka.v1.json +1982 -0
  89. googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json +193 -24
  90. googleapiclient/discovery_cache/documents/merchantapi.conversions_v1beta.json +2 -2
  91. googleapiclient/discovery_cache/documents/merchantapi.datasources_v1beta.json +64 -2
  92. googleapiclient/discovery_cache/documents/merchantapi.inventories_v1beta.json +2 -2
  93. googleapiclient/discovery_cache/documents/merchantapi.lfp_v1beta.json +2 -2
  94. googleapiclient/discovery_cache/documents/merchantapi.notifications_v1beta.json +2 -2
  95. googleapiclient/discovery_cache/documents/merchantapi.products_v1beta.json +41 -2
  96. googleapiclient/discovery_cache/documents/merchantapi.promotions_v1beta.json +2 -2
  97. googleapiclient/discovery_cache/documents/merchantapi.quota_v1beta.json +2 -2
  98. googleapiclient/discovery_cache/documents/merchantapi.reports_v1beta.json +2 -2
  99. googleapiclient/discovery_cache/documents/merchantapi.reviews_v1beta.json +4 -4
  100. googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +3 -3
  101. googleapiclient/discovery_cache/documents/monitoring.v3.json +5 -1
  102. googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json +8 -8
  103. googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json +8 -8
  104. googleapiclient/discovery_cache/documents/mybusinessverifications.v1.json +8 -8
  105. googleapiclient/discovery_cache/documents/netapp.v1.json +2 -2
  106. googleapiclient/discovery_cache/documents/netapp.v1beta1.json +16 -2
  107. googleapiclient/discovery_cache/documents/networkconnectivity.v1.json +19 -3
  108. googleapiclient/discovery_cache/documents/networkmanagement.v1.json +3 -1
  109. googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json +3 -1
  110. googleapiclient/discovery_cache/documents/networksecurity.v1.json +86 -1
  111. googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json +160 -5
  112. googleapiclient/discovery_cache/documents/networkservices.v1.json +109 -7
  113. googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +113 -7
  114. googleapiclient/discovery_cache/documents/notebooks.v2.json +6 -1
  115. googleapiclient/discovery_cache/documents/observability.v1.json +588 -0
  116. googleapiclient/discovery_cache/documents/oracledatabase.v1.json +103 -1
  117. googleapiclient/discovery_cache/documents/oslogin.v1.json +2 -2
  118. googleapiclient/discovery_cache/documents/oslogin.v1alpha.json +2 -2
  119. googleapiclient/discovery_cache/documents/oslogin.v1beta.json +2 -2
  120. googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json +15 -15
  121. googleapiclient/discovery_cache/documents/places.v1.json +68 -6
  122. googleapiclient/discovery_cache/documents/playdeveloperreporting.v1alpha1.json +145 -1
  123. googleapiclient/discovery_cache/documents/playdeveloperreporting.v1beta1.json +145 -1
  124. googleapiclient/discovery_cache/documents/pubsub.v1.json +7 -2
  125. googleapiclient/discovery_cache/documents/redis.v1.json +17 -5
  126. googleapiclient/discovery_cache/documents/redis.v1beta1.json +17 -5
  127. googleapiclient/discovery_cache/documents/retail.v2.json +7 -3
  128. googleapiclient/discovery_cache/documents/retail.v2alpha.json +275 -3
  129. googleapiclient/discovery_cache/documents/retail.v2beta.json +7 -3
  130. googleapiclient/discovery_cache/documents/run.v1.json +6 -1
  131. googleapiclient/discovery_cache/documents/run.v2.json +18 -64
  132. googleapiclient/discovery_cache/documents/securitycenter.v1.json +121 -9
  133. googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +121 -9
  134. googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +121 -9
  135. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json +2 -2
  136. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json +2 -2
  137. googleapiclient/discovery_cache/documents/servicenetworking.v1.json +4 -4
  138. googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json +2 -2
  139. googleapiclient/discovery_cache/documents/serviceusage.v1.json +2 -2
  140. googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +2 -2
  141. googleapiclient/discovery_cache/documents/spanner.v1.json +93 -75
  142. googleapiclient/discovery_cache/documents/sqladmin.v1.json +582 -8
  143. googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json +582 -8
  144. googleapiclient/discovery_cache/documents/storage.v1.json +117 -2
  145. googleapiclient/discovery_cache/documents/sts.v1.json +166 -1
  146. googleapiclient/discovery_cache/documents/sts.v1beta.json +166 -1
  147. googleapiclient/discovery_cache/documents/tagmanager.v1.json +86 -190
  148. googleapiclient/discovery_cache/documents/tagmanager.v2.json +242 -308
  149. googleapiclient/discovery_cache/documents/tasks.v1.json +4 -4
  150. googleapiclient/discovery_cache/documents/tpu.v2alpha1.json +7 -1
  151. googleapiclient/discovery_cache/documents/verifiedaccess.v2.json +3 -2
  152. googleapiclient/discovery_cache/documents/walletobjects.v1.json +2 -2
  153. googleapiclient/discovery_cache/documents/workloadmanager.v1.json +20 -1
  154. googleapiclient/discovery_cache/documents/workstations.v1.json +6 -6
  155. googleapiclient/discovery_cache/documents/workstations.v1beta.json +7 -7
  156. googleapiclient/version.py +1 -1
  157. {google_api_python_client-2.164.0.dist-info → google_api_python_client-2.166.0.dist-info}/LICENSE +0 -0
  158. {google_api_python_client-2.164.0.dist-info → google_api_python_client-2.166.0.dist-info}/WHEEL +0 -0
  159. {google_api_python_client-2.164.0.dist-info → google_api_python_client-2.166.0.dist-info}/top_level.txt +0 -0
@@ -111,7 +111,7 @@
111
111
  },
112
112
  "path": "civicinfo/v2/divisionsByAddress",
113
113
  "response": {
114
- "$ref": "DivisionByAddressResponse"
114
+ "$ref": "CivicinfoApiprotosV2DivisionByAddressResponse"
115
115
  }
116
116
  },
117
117
  "search": {
@@ -129,7 +129,7 @@
129
129
  },
130
130
  "path": "civicinfo/v2/divisions",
131
131
  "response": {
132
- "$ref": "DivisionSearchResponse"
132
+ "$ref": "CivicinfoApiprotosV2DivisionSearchResponse"
133
133
  }
134
134
  }
135
135
  }
@@ -152,7 +152,7 @@
152
152
  },
153
153
  "path": "civicinfo/v2/elections",
154
154
  "response": {
155
- "$ref": "ElectionsQueryResponse"
155
+ "$ref": "CivicinfoApiprotosV2ElectionsQueryResponse"
156
156
  }
157
157
  },
158
158
  "voterInfoQuery": {
@@ -195,7 +195,7 @@
195
195
  },
196
196
  "path": "civicinfo/v2/voterinfo",
197
197
  "response": {
198
- "$ref": "VoterInfoResponse"
198
+ "$ref": "CivicinfoApiprotosV2VoterInfoResponse"
199
199
  }
200
200
  }
201
201
  }
@@ -285,7 +285,7 @@
285
285
  },
286
286
  "path": "civicinfo/v2/representatives",
287
287
  "response": {
288
- "$ref": "RepresentativeInfoResponse"
288
+ "$ref": "CivicinfoApiprotosV2RepresentativeInfoResponse"
289
289
  }
290
290
  },
291
291
  "representativeInfoByDivision": {
@@ -373,25 +373,240 @@
373
373
  },
374
374
  "path": "civicinfo/v2/representatives/{ocdId}",
375
375
  "response": {
376
- "$ref": "RepresentativeInfoData"
376
+ "$ref": "CivicinfoApiprotosV2RepresentativeInfoData"
377
377
  }
378
378
  }
379
379
  }
380
380
  }
381
381
  },
382
- "revision": "20240910",
382
+ "revision": "20250320",
383
383
  "rootUrl": "https://civicinfo.googleapis.com/",
384
384
  "schemas": {
385
- "AdministrationRegion": {
385
+ "CivicinfoApiprotosV2DivisionByAddressResponse": {
386
+ "id": "CivicinfoApiprotosV2DivisionByAddressResponse",
387
+ "properties": {
388
+ "divisions": {
389
+ "additionalProperties": {
390
+ "$ref": "CivicinfoSchemaV2GeographicDivision"
391
+ },
392
+ "type": "object"
393
+ },
394
+ "normalizedInput": {
395
+ "$ref": "CivicinfoSchemaV2SimpleAddressType",
396
+ "description": "The normalized version of the requested address."
397
+ }
398
+ },
399
+ "type": "object"
400
+ },
401
+ "CivicinfoApiprotosV2DivisionSearchResponse": {
402
+ "description": "The result of a division search query.",
403
+ "id": "CivicinfoApiprotosV2DivisionSearchResponse",
404
+ "properties": {
405
+ "kind": {
406
+ "default": "civicinfo#divisionSearchResponse",
407
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"civicinfo#divisionSearchResponse\".",
408
+ "type": "string"
409
+ },
410
+ "results": {
411
+ "items": {
412
+ "$ref": "CivicinfoApiprotosV2DivisionSearchResult"
413
+ },
414
+ "type": "array"
415
+ }
416
+ },
417
+ "type": "object"
418
+ },
419
+ "CivicinfoApiprotosV2DivisionSearchResult": {
420
+ "description": "Represents a political geographic division that matches the requested query.",
421
+ "id": "CivicinfoApiprotosV2DivisionSearchResult",
422
+ "properties": {
423
+ "aliases": {
424
+ "description": "Other Open Civic Data identifiers that refer to the same division -- for example, those that refer to other political divisions whose boundaries are defined to be coterminous with this one. For example, ocd-division/country:us/state:wy will include an alias of ocd-division/country:us/state:wy/cd:1, since Wyoming has only one Congressional district.",
425
+ "items": {
426
+ "type": "string"
427
+ },
428
+ "type": "array"
429
+ },
430
+ "name": {
431
+ "description": "The name of the division.",
432
+ "type": "string"
433
+ },
434
+ "ocdId": {
435
+ "description": "The unique Open Civic Data identifier for this division",
436
+ "type": "string"
437
+ }
438
+ },
439
+ "type": "object"
440
+ },
441
+ "CivicinfoApiprotosV2ElectionsQueryResponse": {
442
+ "description": "The list of elections available for this version of the API.",
443
+ "id": "CivicinfoApiprotosV2ElectionsQueryResponse",
444
+ "properties": {
445
+ "elections": {
446
+ "description": "A list of available elections",
447
+ "items": {
448
+ "$ref": "CivicinfoSchemaV2Election"
449
+ },
450
+ "type": "array"
451
+ },
452
+ "kind": {
453
+ "default": "civicinfo#electionsQueryResponse",
454
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"civicinfo#electionsQueryResponse\".",
455
+ "type": "string"
456
+ }
457
+ },
458
+ "type": "object"
459
+ },
460
+ "CivicinfoApiprotosV2RepresentativeInfoData": {
461
+ "id": "CivicinfoApiprotosV2RepresentativeInfoData",
462
+ "properties": {
463
+ "divisions": {
464
+ "additionalProperties": {
465
+ "$ref": "CivicinfoSchemaV2GeographicDivision"
466
+ },
467
+ "description": "A map of political geographic divisions that contain the requested address, keyed by the unique Open Civic Data identifier for this division.",
468
+ "type": "object"
469
+ },
470
+ "offices": {
471
+ "description": "Elected offices referenced by the divisions listed above. Will only be present if includeOffices was true in the request.",
472
+ "items": {
473
+ "$ref": "CivicinfoSchemaV2Office"
474
+ },
475
+ "type": "array"
476
+ },
477
+ "officials": {
478
+ "description": "Officials holding the offices listed above. Will only be present if includeOffices was true in the request.",
479
+ "items": {
480
+ "$ref": "CivicinfoSchemaV2Official"
481
+ },
482
+ "type": "array"
483
+ }
484
+ },
485
+ "type": "object"
486
+ },
487
+ "CivicinfoApiprotosV2RepresentativeInfoResponse": {
488
+ "description": "The result of a representative info lookup query.",
489
+ "id": "CivicinfoApiprotosV2RepresentativeInfoResponse",
490
+ "properties": {
491
+ "divisions": {
492
+ "additionalProperties": {
493
+ "$ref": "CivicinfoSchemaV2GeographicDivision"
494
+ },
495
+ "description": "A map of political geographic divisions that contain the requested address, keyed by the unique Open Civic Data identifier for this division.",
496
+ "type": "object"
497
+ },
498
+ "kind": {
499
+ "default": "civicinfo#representativeInfoResponse",
500
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"civicinfo#representativeInfoResponse\".",
501
+ "type": "string"
502
+ },
503
+ "normalizedInput": {
504
+ "$ref": "CivicinfoSchemaV2SimpleAddressType",
505
+ "description": "The normalized version of the requested address"
506
+ },
507
+ "offices": {
508
+ "description": "Elected offices referenced by the divisions listed above. Will only be present if includeOffices was true in the request.",
509
+ "items": {
510
+ "$ref": "CivicinfoSchemaV2Office"
511
+ },
512
+ "type": "array"
513
+ },
514
+ "officials": {
515
+ "description": "Officials holding the offices listed above. Will only be present if includeOffices was true in the request.",
516
+ "items": {
517
+ "$ref": "CivicinfoSchemaV2Official"
518
+ },
519
+ "type": "array"
520
+ }
521
+ },
522
+ "type": "object"
523
+ },
524
+ "CivicinfoApiprotosV2VoterInfoResponse": {
525
+ "description": "The result of a voter info lookup query.",
526
+ "id": "CivicinfoApiprotosV2VoterInfoResponse",
527
+ "properties": {
528
+ "contests": {
529
+ "description": "Contests that will appear on the voter's ballot.",
530
+ "items": {
531
+ "$ref": "CivicinfoSchemaV2Contest"
532
+ },
533
+ "type": "array"
534
+ },
535
+ "dropOffLocations": {
536
+ "description": "Locations where a voter is eligible to drop off a completed ballot. The voter must have received and completed a ballot prior to arriving at the location. The location may not have ballots available on the premises. These locations could be open on or before election day as indicated in the pollingHours field.",
537
+ "items": {
538
+ "$ref": "CivicinfoSchemaV2PollingLocation"
539
+ },
540
+ "type": "array"
541
+ },
542
+ "earlyVoteSites": {
543
+ "description": "Locations where the voter is eligible to vote early, prior to election day.",
544
+ "items": {
545
+ "$ref": "CivicinfoSchemaV2PollingLocation"
546
+ },
547
+ "type": "array"
548
+ },
549
+ "election": {
550
+ "$ref": "CivicinfoSchemaV2Election",
551
+ "description": "The election that was queried."
552
+ },
553
+ "kind": {
554
+ "default": "civicinfo#voterInfoResponse",
555
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"civicinfo#voterInfoResponse\".",
556
+ "type": "string"
557
+ },
558
+ "mailOnly": {
559
+ "description": "Specifies whether voters in the precinct vote only by mailing their ballots (with the possible option of dropping off their ballots as well).",
560
+ "type": "boolean"
561
+ },
562
+ "normalizedInput": {
563
+ "$ref": "CivicinfoSchemaV2SimpleAddressType",
564
+ "description": "The normalized version of the requested address"
565
+ },
566
+ "otherElections": {
567
+ "description": "When there are multiple elections for a voter address, the otherElections field is populated in the API response and there are two possibilities: 1. If the earliest election is not the intended election, specify the election ID of the desired election in a second API request using the electionId field. 2. If these elections occur on the same day, the API doesn?t return any polling location, contest, or election official information to ensure that an additional query is made. For user-facing applications, we recommend displaying these elections to the user to disambiguate. A second API request using the electionId field should be made for the election that is relevant to the user.",
568
+ "items": {
569
+ "$ref": "CivicinfoSchemaV2Election"
570
+ },
571
+ "type": "array"
572
+ },
573
+ "pollingLocations": {
574
+ "description": "Locations where the voter is eligible to vote on election day.",
575
+ "items": {
576
+ "$ref": "CivicinfoSchemaV2PollingLocation"
577
+ },
578
+ "type": "array"
579
+ },
580
+ "precinctId": {
581
+ "type": "string"
582
+ },
583
+ "precincts": {
584
+ "description": "The precincts that match this voter's address. Will only be returned for project IDs which have been allowlisted as \"partner projects\".",
585
+ "items": {
586
+ "$ref": "CivicinfoSchemaV2Precinct"
587
+ },
588
+ "type": "array"
589
+ },
590
+ "state": {
591
+ "description": "Local Election Information for the state that the voter votes in. For the US, there will only be one element in this array.",
592
+ "items": {
593
+ "$ref": "CivicinfoSchemaV2AdministrationRegion"
594
+ },
595
+ "type": "array"
596
+ }
597
+ },
598
+ "type": "object"
599
+ },
600
+ "CivicinfoSchemaV2AdministrationRegion": {
386
601
  "description": "Describes information about a regional election administrative area.",
387
- "id": "AdministrationRegion",
602
+ "id": "CivicinfoSchemaV2AdministrationRegion",
388
603
  "properties": {
389
604
  "electionAdministrationBody": {
390
- "$ref": "AdministrativeBody",
605
+ "$ref": "CivicinfoSchemaV2AdministrativeBody",
391
606
  "description": "The election administration body for this area."
392
607
  },
393
608
  "local_jurisdiction": {
394
- "$ref": "AdministrationRegion",
609
+ "$ref": "CivicinfoSchemaV2AdministrationRegion",
395
610
  "description": "The city or county that provides election information for this voter. This object can have the same elements as state."
396
611
  },
397
612
  "name": {
@@ -401,16 +616,16 @@
401
616
  "sources": {
402
617
  "description": "A list of sources for this area. If multiple sources are listed the data has been aggregated from those sources.",
403
618
  "items": {
404
- "$ref": "Source"
619
+ "$ref": "CivicinfoSchemaV2Source"
405
620
  },
406
621
  "type": "array"
407
622
  }
408
623
  },
409
624
  "type": "object"
410
625
  },
411
- "AdministrativeBody": {
626
+ "CivicinfoSchemaV2AdministrativeBody": {
412
627
  "description": "Information about an election administrative body (e.g. County Board of Elections).",
413
- "id": "AdministrativeBody",
628
+ "id": "CivicinfoSchemaV2AdministrativeBody",
414
629
  "properties": {
415
630
  "absenteeVotingInfoUrl": {
416
631
  "description": "A URL provided by this administrative body for information on absentee voting.",
@@ -421,7 +636,7 @@
421
636
  "type": "string"
422
637
  },
423
638
  "correspondenceAddress": {
424
- "$ref": "SimpleAddressType",
639
+ "$ref": "CivicinfoSchemaV2SimpleAddressType",
425
640
  "description": "The mailing address of this administrative body."
426
641
  },
427
642
  "electionInfoUrl": {
@@ -439,7 +654,7 @@
439
654
  "electionOfficials": {
440
655
  "description": "The election officials for this election administrative body.",
441
656
  "items": {
442
- "$ref": "ElectionOfficial"
657
+ "$ref": "CivicinfoSchemaV2ElectionOfficial"
443
658
  },
444
659
  "type": "array"
445
660
  },
@@ -464,7 +679,7 @@
464
679
  "type": "string"
465
680
  },
466
681
  "physicalAddress": {
467
- "$ref": "SimpleAddressType",
682
+ "$ref": "CivicinfoSchemaV2SimpleAddressType",
468
683
  "description": "The physical address of this administrative body."
469
684
  },
470
685
  "voter_services": {
@@ -481,9 +696,9 @@
481
696
  },
482
697
  "type": "object"
483
698
  },
484
- "Candidate": {
699
+ "CivicinfoSchemaV2Candidate": {
485
700
  "description": "Information about a candidate running for elected office.",
486
- "id": "Candidate",
701
+ "id": "CivicinfoSchemaV2Candidate",
487
702
  "properties": {
488
703
  "candidateUrl": {
489
704
  "description": "The URL for the candidate's campaign web site.",
@@ -492,7 +707,7 @@
492
707
  "channels": {
493
708
  "description": "A list of known (social) media channels for this candidate.",
494
709
  "items": {
495
- "$ref": "Channel"
710
+ "$ref": "CivicinfoSchemaV2Channel"
496
711
  },
497
712
  "type": "array"
498
713
  },
@@ -524,9 +739,9 @@
524
739
  },
525
740
  "type": "object"
526
741
  },
527
- "Channel": {
742
+ "CivicinfoSchemaV2Channel": {
528
743
  "description": "A social media or web channel for a candidate.",
529
- "id": "Channel",
744
+ "id": "CivicinfoSchemaV2Channel",
530
745
  "properties": {
531
746
  "id": {
532
747
  "description": "The unique public identifier for the candidate's channel.",
@@ -539,9 +754,9 @@
539
754
  },
540
755
  "type": "object"
541
756
  },
542
- "Contest": {
757
+ "CivicinfoSchemaV2Contest": {
543
758
  "description": "Information about a contest that appears on a voter's ballot.",
544
- "id": "Contest",
759
+ "id": "CivicinfoSchemaV2Contest",
545
760
  "properties": {
546
761
  "ballotPlacement": {
547
762
  "description": "A number specifying the position of this contest on the voter's ballot.",
@@ -555,12 +770,12 @@
555
770
  "candidates": {
556
771
  "description": "The candidate choices for this contest.",
557
772
  "items": {
558
- "$ref": "Candidate"
773
+ "$ref": "CivicinfoSchemaV2Candidate"
559
774
  },
560
775
  "type": "array"
561
776
  },
562
777
  "district": {
563
- "$ref": "ElectoralDistrict",
778
+ "$ref": "CivicinfoSchemaV2ElectoralDistrict",
564
779
  "description": "Information about the electoral district that this contest is in."
565
780
  },
566
781
  "electorateSpecifications": {
@@ -698,7 +913,7 @@
698
913
  "sources": {
699
914
  "description": "A list of sources for this contest. If multiple sources are listed, the data has been aggregated from those sources.",
700
915
  "items": {
701
- "$ref": "Source"
916
+ "$ref": "CivicinfoSchemaV2Source"
702
917
  },
703
918
  "type": "array"
704
919
  },
@@ -713,65 +928,9 @@
713
928
  },
714
929
  "type": "object"
715
930
  },
716
- "DivisionByAddressResponse": {
717
- "id": "DivisionByAddressResponse",
718
- "properties": {
719
- "divisions": {
720
- "additionalProperties": {
721
- "$ref": "GeographicDivision"
722
- },
723
- "type": "object"
724
- },
725
- "normalizedInput": {
726
- "$ref": "SimpleAddressType",
727
- "description": "The normalized version of the requested address."
728
- }
729
- },
730
- "type": "object"
731
- },
732
- "DivisionSearchResponse": {
733
- "description": "The result of a division search query.",
734
- "id": "DivisionSearchResponse",
735
- "properties": {
736
- "kind": {
737
- "default": "civicinfo#divisionSearchResponse",
738
- "description": "Identifies what kind of resource this is. Value: the fixed string \"civicinfo#divisionSearchResponse\".",
739
- "type": "string"
740
- },
741
- "results": {
742
- "items": {
743
- "$ref": "DivisionSearchResult"
744
- },
745
- "type": "array"
746
- }
747
- },
748
- "type": "object"
749
- },
750
- "DivisionSearchResult": {
751
- "description": "Represents a political geographic division that matches the requested query.",
752
- "id": "DivisionSearchResult",
753
- "properties": {
754
- "aliases": {
755
- "description": "Other Open Civic Data identifiers that refer to the same division -- for example, those that refer to other political divisions whose boundaries are defined to be coterminous with this one. For example, ocd-division/country:us/state:wy will include an alias of ocd-division/country:us/state:wy/cd:1, since Wyoming has only one Congressional district.",
756
- "items": {
757
- "type": "string"
758
- },
759
- "type": "array"
760
- },
761
- "name": {
762
- "description": "The name of the division.",
763
- "type": "string"
764
- },
765
- "ocdId": {
766
- "description": "The unique Open Civic Data identifier for this division",
767
- "type": "string"
768
- }
769
- },
770
- "type": "object"
771
- },
772
- "Election": {
931
+ "CivicinfoSchemaV2Election": {
773
932
  "description": "Information about the election that was queried.",
774
- "id": "Election",
933
+ "id": "CivicinfoSchemaV2Election",
775
934
  "properties": {
776
935
  "electionDay": {
777
936
  "description": "Day of the election in YYYY-MM-DD format.",
@@ -806,9 +965,9 @@
806
965
  },
807
966
  "type": "object"
808
967
  },
809
- "ElectionOfficial": {
968
+ "CivicinfoSchemaV2ElectionOfficial": {
810
969
  "description": "Information about individual election officials.",
811
- "id": "ElectionOfficial",
970
+ "id": "CivicinfoSchemaV2ElectionOfficial",
812
971
  "properties": {
813
972
  "emailAddress": {
814
973
  "description": "The email address of the election official.",
@@ -833,28 +992,9 @@
833
992
  },
834
993
  "type": "object"
835
994
  },
836
- "ElectionsQueryResponse": {
837
- "description": "The list of elections available for this version of the API.",
838
- "id": "ElectionsQueryResponse",
839
- "properties": {
840
- "elections": {
841
- "description": "A list of available elections",
842
- "items": {
843
- "$ref": "Election"
844
- },
845
- "type": "array"
846
- },
847
- "kind": {
848
- "default": "civicinfo#electionsQueryResponse",
849
- "description": "Identifies what kind of resource this is. Value: the fixed string \"civicinfo#electionsQueryResponse\".",
850
- "type": "string"
851
- }
852
- },
853
- "type": "object"
854
- },
855
- "ElectoralDistrict": {
995
+ "CivicinfoSchemaV2ElectoralDistrict": {
856
996
  "description": "Describes the geographic scope of a contest.",
857
- "id": "ElectoralDistrict",
997
+ "id": "CivicinfoSchemaV2ElectoralDistrict",
858
998
  "properties": {
859
999
  "id": {
860
1000
  "description": "An identifier for this district, relative to its scope. For example, the 34th State Senate district would have id \"34\" and a scope of stateUpper.",
@@ -903,9 +1043,9 @@
903
1043
  },
904
1044
  "type": "object"
905
1045
  },
906
- "GeographicDivision": {
1046
+ "CivicinfoSchemaV2GeographicDivision": {
907
1047
  "description": "Describes a political geography.",
908
- "id": "GeographicDivision",
1048
+ "id": "CivicinfoSchemaV2GeographicDivision",
909
1049
  "properties": {
910
1050
  "alsoKnownAs": {
911
1051
  "description": "Any other valid OCD IDs that refer to the same division.\\n\\nBecause OCD IDs are meant to be human-readable and at least somewhat predictable, there are occasionally several identifiers for a single division. These identifiers are defined to be equivalent to one another, and one is always indicated as the primary identifier. The primary identifier will be returned in ocd_id above, and any other equivalent valid identifiers will be returned in this list.\\n\\nFor example, if this division's OCD ID is ocd-division/country:us/district:dc, this will contain ocd-division/country:us/state:dc.",
@@ -929,9 +1069,9 @@
929
1069
  },
930
1070
  "type": "object"
931
1071
  },
932
- "Office": {
1072
+ "CivicinfoSchemaV2Office": {
933
1073
  "description": "Information about an Office held by one or more Officials.",
934
- "id": "Office",
1074
+ "id": "CivicinfoSchemaV2Office",
935
1075
  "properties": {
936
1076
  "divisionId": {
937
1077
  "description": "The OCD ID of the division with which this office is associated.",
@@ -1016,28 +1156,28 @@
1016
1156
  "sources": {
1017
1157
  "description": "A list of sources for this office. If multiple sources are listed, the data has been aggregated from those sources.",
1018
1158
  "items": {
1019
- "$ref": "Source"
1159
+ "$ref": "CivicinfoSchemaV2Source"
1020
1160
  },
1021
1161
  "type": "array"
1022
1162
  }
1023
1163
  },
1024
1164
  "type": "object"
1025
1165
  },
1026
- "Official": {
1166
+ "CivicinfoSchemaV2Official": {
1027
1167
  "description": "Information about a person holding an elected office.",
1028
- "id": "Official",
1168
+ "id": "CivicinfoSchemaV2Official",
1029
1169
  "properties": {
1030
1170
  "address": {
1031
1171
  "description": "Addresses at which to contact the official.",
1032
1172
  "items": {
1033
- "$ref": "SimpleAddressType"
1173
+ "$ref": "CivicinfoSchemaV2SimpleAddressType"
1034
1174
  },
1035
1175
  "type": "array"
1036
1176
  },
1037
1177
  "channels": {
1038
1178
  "description": "A list of known (social) media channels for this official.",
1039
1179
  "items": {
1040
- "$ref": "Channel"
1180
+ "$ref": "CivicinfoSchemaV2Channel"
1041
1181
  },
1042
1182
  "type": "array"
1043
1183
  },
@@ -1077,12 +1217,12 @@
1077
1217
  },
1078
1218
  "type": "object"
1079
1219
  },
1080
- "PollingLocation": {
1220
+ "CivicinfoSchemaV2PollingLocation": {
1081
1221
  "description": "A location where a voter can vote. This may be an early vote site, an election day voting location, or a drop off location for a completed ballot.",
1082
- "id": "PollingLocation",
1222
+ "id": "CivicinfoSchemaV2PollingLocation",
1083
1223
  "properties": {
1084
1224
  "address": {
1085
- "$ref": "SimpleAddressType",
1225
+ "$ref": "CivicinfoSchemaV2SimpleAddressType",
1086
1226
  "description": "The address of the location."
1087
1227
  },
1088
1228
  "endDate": {
@@ -1114,7 +1254,7 @@
1114
1254
  "sources": {
1115
1255
  "description": "A list of sources for this location. If multiple sources are listed the data has been aggregated from those sources.",
1116
1256
  "items": {
1117
- "$ref": "Source"
1257
+ "$ref": "CivicinfoSchemaV2Source"
1118
1258
  },
1119
1259
  "type": "array"
1120
1260
  },
@@ -1129,8 +1269,8 @@
1129
1269
  },
1130
1270
  "type": "object"
1131
1271
  },
1132
- "Precinct": {
1133
- "id": "Precinct",
1272
+ "CivicinfoSchemaV2Precinct": {
1273
+ "id": "CivicinfoSchemaV2Precinct",
1134
1274
  "properties": {
1135
1275
  "administrationRegionId": {
1136
1276
  "description": "ID of the AdministrationRegion message for this precinct. Corresponds to LocalityId xml tag.",
@@ -1210,73 +1350,9 @@
1210
1350
  },
1211
1351
  "type": "object"
1212
1352
  },
1213
- "RepresentativeInfoData": {
1214
- "id": "RepresentativeInfoData",
1215
- "properties": {
1216
- "divisions": {
1217
- "additionalProperties": {
1218
- "$ref": "GeographicDivision"
1219
- },
1220
- "description": "A map of political geographic divisions that contain the requested address, keyed by the unique Open Civic Data identifier for this division.",
1221
- "type": "object"
1222
- },
1223
- "offices": {
1224
- "description": "Elected offices referenced by the divisions listed above. Will only be present if includeOffices was true in the request.",
1225
- "items": {
1226
- "$ref": "Office"
1227
- },
1228
- "type": "array"
1229
- },
1230
- "officials": {
1231
- "description": "Officials holding the offices listed above. Will only be present if includeOffices was true in the request.",
1232
- "items": {
1233
- "$ref": "Official"
1234
- },
1235
- "type": "array"
1236
- }
1237
- },
1238
- "type": "object"
1239
- },
1240
- "RepresentativeInfoResponse": {
1241
- "description": "The result of a representative info lookup query.",
1242
- "id": "RepresentativeInfoResponse",
1243
- "properties": {
1244
- "divisions": {
1245
- "additionalProperties": {
1246
- "$ref": "GeographicDivision"
1247
- },
1248
- "description": "A map of political geographic divisions that contain the requested address, keyed by the unique Open Civic Data identifier for this division.",
1249
- "type": "object"
1250
- },
1251
- "kind": {
1252
- "default": "civicinfo#representativeInfoResponse",
1253
- "description": "Identifies what kind of resource this is. Value: the fixed string \"civicinfo#representativeInfoResponse\".",
1254
- "type": "string"
1255
- },
1256
- "normalizedInput": {
1257
- "$ref": "SimpleAddressType",
1258
- "description": "The normalized version of the requested address"
1259
- },
1260
- "offices": {
1261
- "description": "Elected offices referenced by the divisions listed above. Will only be present if includeOffices was true in the request.",
1262
- "items": {
1263
- "$ref": "Office"
1264
- },
1265
- "type": "array"
1266
- },
1267
- "officials": {
1268
- "description": "Officials holding the offices listed above. Will only be present if includeOffices was true in the request.",
1269
- "items": {
1270
- "$ref": "Official"
1271
- },
1272
- "type": "array"
1273
- }
1274
- },
1275
- "type": "object"
1276
- },
1277
- "SimpleAddressType": {
1353
+ "CivicinfoSchemaV2SimpleAddressType": {
1278
1354
  "description": "A simple representation of an address.",
1279
- "id": "SimpleAddressType",
1355
+ "id": "CivicinfoSchemaV2SimpleAddressType",
1280
1356
  "properties": {
1281
1357
  "city": {
1282
1358
  "description": "The city or town for the address.",
@@ -1309,9 +1385,9 @@
1309
1385
  },
1310
1386
  "type": "object"
1311
1387
  },
1312
- "Source": {
1388
+ "CivicinfoSchemaV2Source": {
1313
1389
  "description": "Contains information about the data source for the element containing it.",
1314
- "id": "Source",
1390
+ "id": "CivicinfoSchemaV2Source",
1315
1391
  "properties": {
1316
1392
  "name": {
1317
1393
  "description": "The name of the data source.",
@@ -1323,82 +1399,6 @@
1323
1399
  }
1324
1400
  },
1325
1401
  "type": "object"
1326
- },
1327
- "VoterInfoResponse": {
1328
- "description": "The result of a voter info lookup query.",
1329
- "id": "VoterInfoResponse",
1330
- "properties": {
1331
- "contests": {
1332
- "description": "Contests that will appear on the voter's ballot.",
1333
- "items": {
1334
- "$ref": "Contest"
1335
- },
1336
- "type": "array"
1337
- },
1338
- "dropOffLocations": {
1339
- "description": "Locations where a voter is eligible to drop off a completed ballot. The voter must have received and completed a ballot prior to arriving at the location. The location may not have ballots available on the premises. These locations could be open on or before election day as indicated in the pollingHours field.",
1340
- "items": {
1341
- "$ref": "PollingLocation"
1342
- },
1343
- "type": "array"
1344
- },
1345
- "earlyVoteSites": {
1346
- "description": "Locations where the voter is eligible to vote early, prior to election day.",
1347
- "items": {
1348
- "$ref": "PollingLocation"
1349
- },
1350
- "type": "array"
1351
- },
1352
- "election": {
1353
- "$ref": "Election",
1354
- "description": "The election that was queried."
1355
- },
1356
- "kind": {
1357
- "default": "civicinfo#voterInfoResponse",
1358
- "description": "Identifies what kind of resource this is. Value: the fixed string \"civicinfo#voterInfoResponse\".",
1359
- "type": "string"
1360
- },
1361
- "mailOnly": {
1362
- "description": "Specifies whether voters in the precinct vote only by mailing their ballots (with the possible option of dropping off their ballots as well).",
1363
- "type": "boolean"
1364
- },
1365
- "normalizedInput": {
1366
- "$ref": "SimpleAddressType",
1367
- "description": "The normalized version of the requested address"
1368
- },
1369
- "otherElections": {
1370
- "description": "When there are multiple elections for a voter address, the otherElections field is populated in the API response and there are two possibilities: 1. If the earliest election is not the intended election, specify the election ID of the desired election in a second API request using the electionId field. 2. If these elections occur on the same day, the API doesn?t return any polling location, contest, or election official information to ensure that an additional query is made. For user-facing applications, we recommend displaying these elections to the user to disambiguate. A second API request using the electionId field should be made for the election that is relevant to the user.",
1371
- "items": {
1372
- "$ref": "Election"
1373
- },
1374
- "type": "array"
1375
- },
1376
- "pollingLocations": {
1377
- "description": "Locations where the voter is eligible to vote on election day.",
1378
- "items": {
1379
- "$ref": "PollingLocation"
1380
- },
1381
- "type": "array"
1382
- },
1383
- "precinctId": {
1384
- "type": "string"
1385
- },
1386
- "precincts": {
1387
- "description": "The precincts that match this voter's address. Will only be returned for project IDs which have been allowlisted as \"partner projects\".",
1388
- "items": {
1389
- "$ref": "Precinct"
1390
- },
1391
- "type": "array"
1392
- },
1393
- "state": {
1394
- "description": "Local Election Information for the state that the voter votes in. For the US, there will only be one element in this array.",
1395
- "items": {
1396
- "$ref": "AdministrationRegion"
1397
- },
1398
- "type": "array"
1399
- }
1400
- },
1401
- "type": "object"
1402
1402
  }
1403
1403
  },
1404
1404
  "servicePath": "",