Contest を使用して、選挙を記述し、選挙を関連する候補者や政党にリンクします。
このドキュメントでは、Contest とそのサブエンティティについて説明します。
ContestCandidateContestPartyContestBallotMeasureContestRetentionContest
型
Contest は、コンテストの種類に応じて使用される 3 つのタイプを持つ抽象要素です。
CandidateContest:Contestに 1 人以上の候補者が含まれる場合は、このタイプを使用します。PartyContest:Contestに投票用紙に政党 リストの選択肢がある場合は、このタイプを使用します。これは、より小さなコンテストのより大きなセットの概要である仮想コンテストとしても使用できます。BallotMeasureContest:Contestに 1 つ以上の投票施策が含まれる場合は、このタイプを使用します。RetentionContest:Contestに、選出された公職者が職にとどまるべきか、解任されるべきかを決定する国民投票が含まれる場合は、このタイプを使用します。
選挙結果が報告されると、フィードを更新して、出口調査や予測など、さまざまな段階の結果を表示できます。Google は、想定される選挙の段階と結果の種類に関するガイダンスを提供しています。Google は 1 つまたは複数のステージをリクエストできます。これらのステージタイプの値は、選挙当日に変更される可能性があります。初期フィード値を、開始するステージに設定します。詳細については、要素セクションの CurrentResultsReportingStage と ResultsReportingStageCollection をご覧ください。
属性
次の表に、Contest の属性を示します。
| 属性 | 必須かどうか | 種類 | 説明 |
|---|---|---|---|
objectId |
必須 | ID |
他の要素がこの要素を参照するために使用する一意の内部識別子。 |
要素
次の表に、Contest の要素を示します。
| 要素 | 重複 | タイプ | 説明 |
|---|---|---|---|
Abbreviation |
0 または 1 | string |
コンテストの略称。 |
AggregateBallotSelection |
0 または 1 | SpecialBallotSelection |
複数の候補者を「その他」に集計するなど、投票数の集計のための投票用紙の選択。 |
BallotSelection |
0 以上 | BallotSelection |
投票用紙の選択肢をコンテストに関連付けます。 すべてのアイテムに |
BallotSubTitle |
0 または 1 | InternationalizedText |
選挙のサブタイトル。投票用紙に記載されているものと一致している必要があります。 |
BallotTitle |
0 または 1 | InternationalizedText |
コンテストのタイトル。タイトル テキストは構文ガイドに準拠している必要があります。 投票法案のコンテストの場合、タイトルは投票用紙の文言と一致している必要があります。 |
BlankBallotSelection |
0 または 1 | SpecialBallotSelection |
白紙投票の投票用紙の選択。 |
ComposingContestIds |
0 以上 | IDREFS |
ロールアップ コンテストを定義するために使用されます。たとえば、米国大統領選挙では、州レベルの選挙ごとにコンテスト ID を構成する全国レベルのコンテストがあります。
|
ContestDateStatus |
0 または 1 |
DateStatus
|
この要素は、選挙のスケジュールの更新を示します。デフォルト値は |
ContestDateType |
0 または 1 |
ElectionDateType
|
この要素は、コンテストをカレンダーに追加する方法を示します。
省略した場合、デフォルト値は、囲んでいる |
CountingDate |
0 または 1 | PartialDate |
選挙の投票後に集計が行われる日付。
これは、インドのローク サバー選挙など、開票日が投票の最終日と異なる場合にのみ含める必要があります。一般的なケースでは、投票の最終日、つまり選挙の EndDate に集計が行われます。 |
CurrentResultsReportingStage |
1 | ResultsReportingStageType |
コンテストの結果報告の現在のステージ。 |
EarliestPollsClose |
0 または 1 | dateTime |
最初の投票が締め切られたとき。 |
ElectoralDistrictId |
1 | IDREF |
たとえば、特定のコンテストの場合、 |
ExternalIdentifiers |
1 | ExternalIdentifiers |
コンテストに ID を関連付けます。安定した識別子が必要です。 |
EndDate |
0 または 1 | PartialDate |
コンテストの終了日。ポーリングが終了する日付(2022-11-08 など)を使用します。終了日は、Contest の開始日と終了日が Election の開始日と終了日と異なる場合にのみ設定する必要があります。
|
EstimatedExpectedVotePercentage |
0 または 1 | float |
EEVP と略されることが多く、このコンテストで報告された予想総投票数の推定割合を 0 ~ 100 の数値で表したものです。 たとえば、24.2% は |
FilingDeadline |
0 または 1 | PartialDate |
候補者が選挙に立候補を届け出る期限。 |
HasRotation |
0 または 1 | boolean |
コンテストの選択肢がローテーションされるかどうかを示します。この要素が存在しない場合、デフォルト値は false です。 |
IsNotable |
0 または 1 | boolean |
エンティティが注目に値すると見なされるかどうか。指定しない場合は false と見なされます。
|
InternationalizedAbbreviation |
0 または 1 | InternationalizedText |
コンテストの略称(Proposition 12 などの投票施策の指定など)。Abbreviation を置き換えます。 |
LatestPollsClose |
0 または 1 | dateTime |
最後の投票が締め切られたとき。 |
Name |
1 | string |
これは、英語の BallotTitle と一致し、タイトル構文に対応している必要があります。 |
NoneOfTheAboveBallotSelection |
0 または 1 | SpecialBallotSelection |
投票用紙の「上記のいずれでもない」または「なし」、「これらのいずれでもない」、「未定」などの同等の選択肢に投票するための投票用紙の選択。 |
NullBallotSelection |
0 または 1 | SpecialBallotSelection |
無効票または破損票の投票用紙の選択。これらは、投票が適切に集計されないようにマークされた投票用紙です。無効票の例としては、破れている、汚れている、マークが多すぎる、マークが少なすぎる、投票者を特定できるようなマークが付けられている、などがあります。 |
OutcomeDetermined |
0 または 1 | boolean |
選挙の結果が確定しているかどうか。
|
Seat |
0 または 1 | string |
コンテストの対象となる特定のシート。 |
SequenceOrder |
0 または 1 | integer |
結果を表示するための
|
StartDate |
0 または 1 | PartialDate |
コンテストの開始日。ポーリングが開始される日付(2022-11-08 など)を使用します。開始日は、Contest の開始日と終了日が Election の開始日と終了日と異なる場合にのみ設定する必要があります。
|
SubsequentContestId |
0 または 1 | IDREF |
同じ関連セット内の後のコンテストを指すために使用されます。たとえば、米国の選挙では、通常、予備選挙から関連する本選挙を指します。また、一般選挙から決選投票を指すこともできます。
|
SubUnitsReported |
0 または 1 | integer |
このコンテストの投票結果の報告を完了したサブユニットの数。 |
SummaryCounts |
0 以上 | SummaryCounts |
コンテストに関連するさまざまな数の概要を示します。これには、コンテストを含む投票の総数、棄権、過剰投票、過少投票、記入投票の総数が含まれます。SummaryCounts を複数回使用することで、集計数をコンテスト全体に関連付けることも、下位レベルのレポート単位に関連付けることもできます。 |
TotalSeats |
0 または 1 | integer |
このコンテストの選挙区がその役職に保持できる議席の合計数。これは、改選議席数 + 持ち越し議席数 + 空席数に相当します。 |
TotalSubUnits |
0 または 1 | integer |
このコンテストが投票用紙に記載されているサブユニットの合計数。 |
VoteVariation |
0 または 1 | VoteVariation |
コンテストに関連付けられている投票バリエーションのタイプ(n-of-m など)。 |
OtherVoteVariation |
0 または 1 | string |
VoteVariation が other の場合にカスタム値を指定するために使用されます。 |
ResultsEmbargoEnd |
0 または 1 | dateTime |
選挙結果の公表に関する禁止期間が終了したとき。 |
ResultsExpected |
0 または 1 | dateTime |
最初の得票数集計結果がフィードに表示される予定の時刻。 |
ResultsLastUpdated |
0 または 1 | dateTime |
コンテストの結果が最後に更新された日時。 |
ResultsReportingStageCollection |
0 または 1 | なし |
構成コンテスト(親コンテストの |
CandidateContest
CandidateContest を使用して、1 人以上の候補者の選出を伴うコンテストを記述します。
このエンティティは、必要に応じて Office または Party を ID で参照できます。同じ選挙の候補者のチケットの表現はサポートされていません。参照できる Office は 1 つだけです。たとえば、大統領と副大統領の候補者の場合、2 つの Candidate コンテストが必要になります。それぞれが異なるオフィスを参照します。
要素
次の表に、CandidateContest の要素を示します。
| 要素 | 重複 | タイプ | 説明 |
|---|---|---|---|
NumberElected |
0 または 1 | integer |
コンテストで選出される候補者の数。n-of-m コンテストの n。NumberElected がフィードに存在しない場合は、デフォルト値の 1 が使用されます。 |
OfficeIds |
1 | IDREFS |
1 つ以上の Office 要素の固有識別子。オフィスの説明をコンテストに関連付けます。 |
PrimaryPartyIds |
0 以上 | IDREFS |
1 つ以上の Party 要素の固有識別子。Contest が政党予備選挙の一部であることを示します。PrimaryPartyId は予備選挙でのみ意味を持ちます。 |
VotesAllowed |
1 | integer |
このコンテストで有権者 1 人あたりに許可される投票または記入の最大数。VotesAllowed がフィードに存在しない場合は、デフォルト値の 1 が使用されます。 |
Type |
0 以上 | ElectionType |
選挙の列挙型(予備選挙、本選挙など)。Contest のタイプは、Election のタイプと異なる場合にのみ設定する必要があります。 |
例
XML
<Contest xsi:type="CandidateContest" objectId="c-1-001"> <BallotSelection xsi:type="CandidateSelection" objectId="cs-1-001-kenyatta">...</BallotSelection> <BallotSelection xsi:type="CandidateSelection" objectId="cs-1-001-odinga">...</BallotSelection> <BallotSelection xsi:type="CandidateSelection" objectId="cs-1-001-mudavadi">...</BallotSelection> <BallotSelection xsi:type="CandidateSelection" objectId="cs-1-001-kenneth">...</BallotSelection> <BallotSelection xsi:type="CandidateSelection" objectId="cs-1-001-dida">...</BallotSelection> <BallotSelection xsi:type="CandidateSelection" objectId="cs-1-001-karua">...</BallotSelection> <BallotSelection xsi:type="CandidateSelection" objectId="cs-1-001-kiyiapi">...</BallotSelection> <BallotSelection xsi:type="CandidateSelection" objectId="cs-1-001-muite">...</BallotSelection> <BallotTitle> <Text language="en">2022 Kenya Presidential election</Text> <Text language="es">2022 Elecciones presidenciales de Kenia</Text> <Text language="fr">2022 Élection présidentielle au Kenya</Text> </BallotTitle> <CountStatus>...</CountStatus> <CountingDate>2022-08-11</CountingDate> <ElectoralDistrictId>...</ElectoralDistrictId> <EndDate>2022-08-09</EndDate> <Name>2022 Kenya Presidential election</Name> <StartDate>2022-08-09</StartDate> <SubUnitsReported>48</SubUnitsReported> <SummaryCounts>...</SummaryCounts> <TotalSubUnits>48</TotalSubUnits> <VoteVariation>1-of-m</VoteVariation> <NumberElected>1</NumberElected> <OfficeIds>off-9999a</OfficeIds> <VotesAllowed>1</VotesAllowed> <Type>general</Type> </Contest>
PartyContest
PartyContest は、投票者が投票用紙で政党を選択する選挙に使用します。
これは、集計データを伝達するための仮想的な要約選挙として、選挙結果フィードでも使用できます(例: 選挙区の選挙結果を集計する州レベルの政党選挙)。
要素
次の表に、PartyContest の要素を示します。
| 要素 | 重複 | タイプ | 説明 |
|---|---|---|---|
NumberElected |
0 または 1 | integer |
コンテストで選出された候補者の数。n-of-m コンテストの n。NumberElected がフィードに存在しない場合は、デフォルト値の 1 が使用されます。 |
VotesAllowed |
0 または 1 | integer |
このコンテストで有権者 1 人あたりに許可される投票または記入の最大数。VotesAllowed がフィードに存在しない場合は、デフォルト値の 1 が使用されます。 |
OfficeIds |
1 | IDREFS |
1 つ以上の Office 要素の固有識別子。オフィスの説明をコンテストに関連付けます。 |
Type |
0 以上 | ElectionType |
選挙の列挙型(予備選挙、本選挙など)。Contest のタイプは、Election のタイプと異なる場合にのみ設定する必要があります。 |
例
XML
<Contest xsi:type="PartyContest" objectId="c-20001"> <BallotSelection objectId="ps-101321" xsi:type="PartySelection"> <PartyIds>par-10132</PartyIds> </BallotSelection> <BallotSelection objectId="ps-101322" xsi:type="PartySelection"> <PartyIds>par-10133</PartyIds> </BallotSelection> <BallotTitle> <Text language="en">Ballot title example</Text> </BallotTitle> <ContestDateStatus>confirmed</ContestDateStatus> <CountingDate>2022-08-11</CountingDate> <ElectoralDistrictId>...</ElectoralDistrictId> <EndDate>2022-08-09</EndDate> <ExternalIdentifiers>...</ExternalIdentifiers> <Name>Contest name example</Name> <StartDate>2022-08-09</StartDate> <VoteVariation>1-of-m</VoteVariation> <OfficeIds>off-9999a</OfficeIds> <Type>general</Type> <VotesAllowed>1</VotesAllowed> </Contest>
BallotMeasureContest
投票法案を含む選挙には BallotMeasureContest を使用します。
要素
次の表に、BallotMeasureContest の要素を示します。
| 要素 | 重複 | タイプ | 説明 |
|---|---|---|---|
BallotTitle |
1 | InternationalizedText |
投票の正式なタイトル( 国民投票によっては、1 つのタイトルに複数の番号付きの質問が含まれている場合があります。このような場合、タイトルに質問番号を含めて、各質問に対して作成された |
BallotSubTitle |
0 または 1 | InternationalizedText |
投票用紙のサブタイトル(存在する場合)。 |
BallotText |
1 | InternationalizedText |
投票用紙に表示されるテキスト。例: Shall
Article 4 of the Nevada Constitution be amended to require, beginning in
calendar year 2022, that all providers of electric utility services who
sell electricity... in Nevada comes from renewable energy
resources? |
FullText |
0 または 1 | InternationalizedText |
投票施策の全文のコピー。投票用紙自体に含まれていない追加のテキストがある場合は、この要素を指定します。30,000 文字まで。 投票項目の全文が 30,000 文字未満で、フィード ファイルで無効となる書式設定が含まれていない場合は、 |
InfoUri |
0 または 1 | AnnotatedUri |
以下のアノテーションを受け入れるアノテーション付き URI(他の場所に記載されているアノテーションは受け入れません)。
|
SummaryText |
0 または 1 | InternationalizedText |
住民投票法案の概要。1 ~ 2 つの短い段落で構成され、パートナーが投票用紙の全文を要約するために生成できます。次に例を示します。
|
ProStatement |
0 または 1 | InternationalizedText |
この投票項目で賛成票を投じることの意味を説明する文。これは、この指標を支持する議論ではありません。例: A "yes" vote supports this initiative to require electric
utilities to acquire 50 percent of their electricity from renewable
resources by 2030. |
ConStatement |
0 または 1 | InternationalizedText |
この投票法案に対する「反対」票の意味を説明する文。これは、この指標に反対する議論ではありません。例: A
"no" vote opposes this initiative, thus keeping the existing requirement
that electric utilities acquire 25 percent of their electricity from
renewable resources by 2025. |
Type |
0 または 1 | BallotMeasureType |
住民投票法案の列挙型。管轄区域の投票項目に最も適した値を選択します。 |
PassageThreshold |
0 または 1 | string |
動議が可決されるために必要な最低得票率。 |
例
XML
<Contest objectId="c-0" xsi:type="BallotMeasureContest"> <InternationalizedAbbreviation> <Text language="en">Proposition 12</Text> </InternationalizedAbbreviation> <BallotSelection objectId="bms-00" xsi:type="BallotMeasureSelection"> <ExternalIdentifiers> <ExternalIdentifier> <Type>other</Type> <OtherType>stable</OtherType> <Value>bms-00-yes</Value> </ExternalIdentifier> </ExternalIdentifiers> <Selection> <Text language="en">Yes</Text> </Selection> </BallotSelection> <BallotSelection objectId="bms-01" xsi:type="BallotMeasureSelection"> <ExternalIdentifiers> <ExternalIdentifier> <Type>other</Type> <OtherType>stable</OtherType> <Value>bms-01-no</Value> </ExternalIdentifier> </ExternalIdentifiers> <Selection> <Text language="en">No</Text> </Selection> </BallotSelection> <BallotSubTitle> <Text language="en">Farm Animal Confinement Initiative</Text> </BallotSubTitle> <BallotTitle> <Text language="en"> California Proposition 12, Farm Animal Confinement Initiative (2018) </Text> </BallotTitle> <ElectoralDistrictId>ru-ca-1</ElectoralDistrictId> <ExternalIdentifiers> <ExternalIdentifier> <Type>other</Type> <OtherType>stable</OtherType> <Value>c-0</Value> </ExternalIdentifier> </ExternalIdentifiers> <Name> California Proposition 12, Farm Animal Confinement Initiative (2018) </Name> <BallotText> <Text language="en"> Establishes minimum requirements for confining certain farm animals. Prohibits sales of meat and egg products from animals confined in noncomplying manner. Fiscal Impact: Potential decrease in state income tax revenues from farm businesses, likely not more than several million dollars annually. State costs up to $10 million annually to enforce the measure. </Text> </BallotText> <ConStatement> <Text language="en">No means the measure will not be enacted </Text> </ConStatement> <InfoUri Annotation="fulltext"> https://example-government.gov/ballot-measures/California_Proposition_12_2018 </InfoUri> <InfoUri Annotation="wikipedia"> https://en.wikipedia.org/wiki/2018_California_Proposition_12 </InfoUri> <PassageThreshold> <Text language="en">50.01%</Text> </PassageThreshold> <ProStatement> <Text language="en">Yes means the measure will be enacted </Text> </ProStatement> <SummaryText> <Text language="en"> The proposition establishes new minimum requirements on farmers to provide more space for egg-laying hens, breeding pigs, and calves raised for veal. California businesses will be banned from selling eggs or uncooked pork or veal that came from animals housed in ways that did not meet these requirements. </Text> </SummaryText> <Type>ballot-measure</Type> </Contest>
RetentionContest
Contest に、選出された公職者が職にとどまるべきか、解任されるべきかを決定する国民投票が含まれる場合に使用します。
これには、米国のいくつかの州で行われる、裁判官の任期を延長するかどうかを決定する司法保持コンテストなどのケースが含まれます。また、任期満了前に公職者を解職するかどうかを決定するリコール選挙にも適用されます。
要素
BallotMeasureContest のすべての要素は RetentionContest にも適用されます。
| 要素 | 重複 | タイプ | 説明 |
|---|---|---|---|
CandidateId |
1 | IDREF | 現在その役職に就いている役職者を表す候補者の ID |
OfficeId |
0 または 1 | IDREF | 公職者が現在就いている公職の ID |
例
XML
<Contest objectId="c-40001" xsi:type="RetentionContest"> <!-- Retention contest selections are actually BallotMeasureSelection objects, and should use the 'bms-' objectId prefix.--> <BallotSelection objectId="bms-40001a" xsi:type="BallotMeasureSelection"> <ExternalIdentifiers> <ExternalIdentifier> <Type>other</Type> <OtherType>stable</OtherType> <Value>bms-40001a</Value> </ExternalIdentifier> </ExternalIdentifiers> <Selection label="bms-40001at"> <Text language="en">Yes</Text> </Selection> </BallotSelection> <BallotSelection objectId="bms-40001b" xsi:type="BallotMeasureSelection"> <ExternalIdentifiers> <ExternalIdentifier> <Type>other</Type> <OtherType>stable</OtherType> <Value>bms-40001b</Value> </ExternalIdentifier> </ExternalIdentifiers> <Selection label="bms-40001bt"> <Text language="en">No</Text> </Selection> </BallotSelection> <BallotTitle> <Text language="en">Retention of Supreme Court Justice</Text> </BallotTitle> <ElectoralDistrictId>ru-0002</ElectoralDistrictId> <ExternalIdentifiers> <ExternalIdentifier> <Type>other</Type> <OtherType>stable</OtherType> <Value>c-vageneral-2013-va16-country-us</Value> </ExternalIdentifier> </ExternalIdentifiers> <Name>Judicial Retention, Supreme Court</Name> <CandidateId>can-12345</CandidateId> <OfficeId>off-20006</OfficeId> </Contest>