コンテスト

Contest を使用してコンテストの説明を指定し、コンテストを関連する候補者や団体にリンクします。

このドキュメントでは、Contest とそのサブエンティティについて説明します。

  • Contest
    • CandidateContest
    • PartyContest
    • BallotMeasureContest

コンテスト

Contest は、コンテストの種類に応じて 3 つの型を持つ抽象要素です。

  • CandidateContest: Contest にオフィスの 1 人以上の候補者が関係している場合は、このタイプを使用します。
  • PartyContest: Contest が投票で政党リストを選択している場合は、このタイプを使用します。
  • BallotMeasureContest: Contest に 1 つ以上の投票法案が含まれる場合に、このタイプを使用します。

選挙の結果が報告されたら、フィードを更新して、出口調査や推定選挙などのさまざまな段階の結果を表示できます。Google では、予想される選挙段階と選挙結果タイプに関するガイダンスを提供しています。Google は 1 つまたは複数のステージを要求できます。これらのステージタイプの値は、選挙日の夜中に変更される可能性があります。最初のフィード値を、最初に使用するステージに設定します。詳しくは、要素セクションの ExternalIdentifiers をご覧ください。

属性

次の表に、Contest の属性を示します。

属性 必須かどうか タイプ 説明
objectId 必須 ID 他の要素がこの要素を参照するために使用する一意の内部 ID。

要素

次の表に、Contest の要素を示します。

要素 重複 タイプ 説明
Abbreviation 0 または 1 string コンテストの略称。
BallotSelection 0 以上 BallotSelection

投票用紙の選出結果をコンテストに関連付けます。Contest の候補者または政党の順序は、BallotSelection の順序と同じでなければなりません。

BallotSelection.SequenceOrder がすべての項目に存在する場合、選択項目のデフォルトの順序として使用されます。

BallotSubTitle 0 または 1 InternationalizedText コンテストのサブタイトル。投票者の投票用紙の表記と一致している必要があります。
BallotTitle 0 または 1 InternationalizedText コンテストのタイトル。投票者の投票用紙の表記と一致している必要があります。
BallotTitle 0 または 1 InternationalizedText コンテストのタイトル。投票者の投票用紙の表記と一致している必要があります。
ComposingContestIds 0 以上 IDREFS

ロールアップ コンテストの定義に使用します。たとえば米国大統領総選挙では、州レベルの選挙ごとにコンテスト ID を作成する国レベルのコンテストがあります。

ComposingContest は、親コンテストよりも狭い範囲に属し、選挙の同じラウンド内で行われる必要があります。

ContestDateStatus 0 または 1 DateStatus

この要素は、選挙の更新のスケジュール設定を示します。デフォルト値は confirmed です。ほとんどの場合、ContestDateStatus 値はそれを含む ElectionElectionDateStatus と一致させるのが最適です。

ElectoralDistrictId 1 IDREF

GpUnit 要素の一意の識別子。コンテストの地理的範囲(地区など)を示す報告単位にコンテストを関連付けます。

たとえば、特定のコンテストについて、ElectoralDistrictId は、そのコンテストに関連する学区に定義されている ReportingUnit を参照することがあります。Office には、同じ目的を果たすオプションのリファレンスも含まれています。たとえば全国コンテストでは、その国で定義されているのと同じ GpUnit を再利用できます。

ExternalIdentifiers 1 ExternalIdentifiers ID をコンテストに関連付けます。固定 ID が必要です。フィードで報告される選挙結果の段階を指定するには、OtherTypeContestStage の値を設定します。
HasRotation 0 または 1 boolean コンテストの出品物がローテーションされるかどうかを示します。この要素が存在しない場合、デフォルト値は false です。
Name 1 string 結果レポートに記載されているコンテスト名。必ずしも投票用紙に記載されているわけではありません。
SequenceOrder 0 または 1 integer

結果を表示するための Contest 要素のデフォルトの順序。コンテストは次のルールに従って表示されます。

  • 2 つのコンテストが同じ値を持つ場合、未定義の順序で開催される可能性があります。
  • SequenceOrder が指定されているコンテストは、この順序ですべて表示されます。その後に、SequenceOrder の値のないコンテストが、未定義の順序で実施されます。

SequenceOrder を使用して、表示される結果を並べ替えることができます。たとえば、100 は地域コンテストを示し、200 は地域コンテストを示すことができます。SequenceOrder を投票順序として使用することは適切ではありません。各投票順序は、BallotStyle エンティティを使用して保持できます。このエンティティは、投票スタイルとそれに対応する地政学的単位を関連付けます。

SubsequentContestId 0 または 1 IDREF

同じ関連セット内の別のコンテストを指すために使用されます。たとえば米国の選挙の場合、通常は予備選挙から関連する総選挙を指し示します。総選挙から決選投票を指す場合もあります。

SubsequentContest のスコープは通常、前のコンテストと同じです。

SubUnitsReported 0 または 1 integer このコンテストの投票報告を完了した有権者などのサブユニットの数。
SummaryCounts 0 以上 SummaryCounts コンテストに関連するその他の数の概要を提供します。これには、当該コンテストを含む投票総数と、放棄数、反対票数、過少投票数、書き込み数の合計が含まれます。概要数は、コンテスト全体に関連付けることも、SummaryCounts を複数回使用して下位レベルの報告ユニットに関連付けることもできます。
TotalSubUnits 0 または 1 integer このコンテストの投票権がある有権者などの下位区分の合計数。
VoteVariation 0 または 1 VoteVariation コンテストに関連付けられている投票のバリエーションの種類(n-of-m など)。
OtherVoteVariation 0 または 1 string VoteVariationother の場合にカスタム値を指定するために使用されます。
StartDate 0 または 1 PartialDate カレンダーでコンテストの開始日。ポーリングを開始する日付(2022-11-08 など)を使用します。開始日は、Contest の開始日と終了日が Election の開始日と終了日と異なる場合にのみ設定する必要があります。
EndDate 0 または 1 PartialDate カレンダーでコンテストの終了日。ポーリングを終了する日付(2022-11-08 など)を使用します。終了日は、Contest の開始日と終了日が Election の開始日と終了日と異なる場合にのみ設定する必要があります。
CountingDate 0 または 1 PartialDate 選挙戦の投票日は投票後日です。投票日が投票最終日と異なる場合のみ指定します(インドの Lok Sabha 選挙など)。一般的なケースとして、集計は投票最終日(選挙の EndDate)と同じ日に行われます。

CandidateContest

CandidateContest を使用して、1 人以上の候補者の選択を伴うコンテストを記述します。

このエンティティは、必要に応じて ID で Office または Party を参照できます。同じコンテストに参加している候補者のチケットを複数表示することはできません。参照できる Office は 1 つのみです。たとえば、大統領と副大統領のチケットの場合、Candidate のコンテストが 2 回必要になります。それぞれ異なるオフィスを参照しています。

要素

次の表に、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="cc1-001">
      <Abbreviation>KENYAPRES</Abbreviation>
      <BallotSelection xsi:type="CandidateSelection" objectId="cs1-001-kenyatta">...</BallotSelection>
      <BallotSelection xsi:type="CandidateSelection" objectId="cs1-001-odinga">...</BallotSelection>
      <BallotSelection xsi:type="CandidateSelection" objectId="cs1-001-mudavadi">...</BallotSelection>
      <BallotSelection xsi:type="CandidateSelection" objectId="cs1-001-kenneth">...</BallotSelection>
      <BallotSelection xsi:type="CandidateSelection" objectId="cs1-001-dida">...</BallotSelection>
      <BallotSelection xsi:type="CandidateSelection" objectId="cs1-001-karua">...</BallotSelection>
      <BallotSelection xsi:type="CandidateSelection" objectId="cs1-001-kiyiapi">...</BallotSelection>
      <BallotSelection xsi:type="CandidateSelection" objectId="cs1-001-muite">...</BallotSelection>
      <BallotTitle>
        <Text language="en">President of Kenya</Text>
        <Text language="es">Presidente de Kenya</Text>
        <Text language="fr">Président du Kenya</Text>
        <Text language="id">Presiden Kenya</Text>
      </BallotTitle>
      <CountStatus>...</CountStatus>
      <CountingDate>2022-08-11</CountingDate>
      <ElectoralDistrictId>...</ElectoralDistrictId>
      <EndDate>2022-08-09</EndDate>
      <Name>President of Kenya</Name>
      <StartDate>2022-08-09</StartDate>
      <SubUnitsReported>48</SubUnitsReported>
      <SummaryCounts>...</SummaryCounts>
      <TotalSubUnits>48</TotalSubUnits>
      <VoteVariation>1-of-m</VoteVariation>
      <NumberElected>1</NumberElected>
      <OfficeIds>off9999a</OfficeIds>
      <VotesAllowed>1</VotesAllowed>
      <Type>general</Type>
    </Contest>

JSON

    "Contest": [
      {
        "@type": "CandidateContest",
        "objectId": "cc1-001",
        "Abbreviation": "KENYAPRES",
        "BallotSelection": [
          {
            "@type": "CandidateSelection",
            "objectId": "cs1-001-kenyatta",
            ...
          },
          {
            "@type": "CandidateSelection",
            "objectId": "cs1-001-odinga",
            ...
          },
          {
            "@type": "CandidateSelection",
            "objectId": "cs1-001-mudavadi",
            ...
          },
          {
            "@type": "CandidateSelection",
            "objectId": "cs1-001-kenneth",
            ...
          },
          {
            "@type": "CandidateSelection",
            "objectId": "cs1-001-dida",
            ...
          },
          {
            "@type": "CandidateSelection",
            "objectId": "cs1-001-karua",
            ...
          },
          {
            "@type": "CandidateSelection",
            "objectId": "cs1-001-kiyiapi",
            ...
          },
          {
            "@type": "CandidateSelection",
            "objectId": "cs1-001-muite",
            ...
          }
        ],
        "BallotTitle": {
          "Text": [
            {
              "value": "President and Vice-President of Kenya",
              "language": "en"
            },
            {
              "value": "Presidente y Vice-Presidente de Kenya",
              "language": "es"
            },
            {
              "value": "Président et vice-président du Kenya",
              "language": "fr"
            },
            {
              "value": "Presiden dan Wakil Presiden Kenya",
              "language": "id"
            },
            {
              "value": "राष्ट्रपति और केन्या के उपराष्ट्रपति",
              "language": "hi"
            },
            {
              "value": "Rais na Makamu wa Rais of Kenya",
              "language": "sw"
            }
          ]
        },
        "CountStatus": "...",
        "ElectoralDistrictId": "...",
        "Name": "President of Kenya",
        "SubUnitsReported": 48,
        "SummaryCounts": "...",
        "TotalSubUnits": 48,
        "VoteVariation": "1-of-m",
        "NumberElected": 1,
        "VotesAllowed": 1,
        "Type": "general"
      }
    ]

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="pc20001">
      <BallotSelection objectId="ps10132" xsi:type="PartySelection">
        <PartyIds>par10132 par10133</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>off9999a</OfficeIds>
      <Type>general</Type>
      <VotesAllowed>1</VotesAllowed>
    </Contest>

JSON

    "Contest": [
      {
        "@type": "PartyContest",
        "objectId": "pc20001",
        "BallotSelection": [
          {
            "@type": "PartySelection",
            "objectId": "ps10132",
            "PartyIds": [
              "par10132", "par10133"
            ]
          }
        ],
        "BallotTitle": {
          "Text": [
            {
              "value": "Ballot title example",
              "language": "en"
            }
          ]
        },
        "ContestDateStatus": "confirmed",
        "CountingDate": "2022-08-11",
        "ElectoralDistrictId": "...",
        "EndDate": "2022-08-09",
        "ExternalIdentifiers": [
          ...
        ],
        "Name": "Contest name example",
        "StartDate": "2022-08-09",
        "VoteVariation": "1-of-m",
        "OfficeIds": "off9999a",
        "Type": "general",
        "VotesAllowed": 1
      }
    ]

BallotMeasureContest

投票法案を含むコンテストの場合は BallotMeasureContest を使用します。

要素

次の表に、BallotMeasureContest の要素を示します。

要素 重複 タイプ 説明
BallotTitle 1 InternationalizedText

投票用紙の正式なタイトル(Nevada Renewable Energy Standards Initiative など)。BallotTitle が一意であることを確認してください。

住民投票には、複数の番号付きの質問からなる 1 つの共通タイトルが付くものもあります。このような場合、各質問に対して作成された BallotMeasureContest エンティティを区別するために、タイトルに質問番号を含めることができます。

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 文字未満で、フィード ファイルに無効な書式が含まれていない場合は、そのテキストを FullText に含めます。また、アノテーション付き URI fulltext を持つ InfoUri を含めます。それ以外の場合は、fulltext アノテーション付きの URI のみを含めます。

InfoUri 0 または 1 AnnotatedUri

他の場所に記載されているアノテーションではなく、次のアノテーションを受け入れるアノテーション付き URI。

  • wikipedia: 投票法案に関する Wikipedia のページ
  • ballotpedia: 投票法案に関する投票ページ。例: https://ballotpedia.org/Nevada_Renewable_Energy_Standards_Initiative_(2020)
  • official-website: 投票法案の公式ウェブサイト
  • fulltext: 提案された法律の写しなど、投票用紙に記載されたテキストよりも多くのテキストがある場合、追加テキスト全体の URI になります。以下に例を示します。 https://www.nvsos.gov/sos/home/showdocument?id=5330
  • logo-uri: ロゴの画像
SummaryText 0 または 1 InternationalizedText

投票法案の概要。1 ~ 2 の短い段落で構成され、パートナーが投票用紙の全文を要約するために生成できます。次に例を示します。

Requires utilities to acquire 50 percent of their electricity from renewable resources by 2030

Official Summary:

EXPLANATION—This ballot measure proposes to amend Article 4 of the Nevada Constitution to require all providers of electric utility services that sell electricity to retail customers for consumption in Nevada to meet a Renewable Portfolio Standard (RPS) that would go into effect beginning in calendar year 2022 and increase gradually until the RPS reaches 50 percent in calendar year 2030. According to the Public Utilities Commission of Nevada, an RPS establishes the percentage of electricity sold by an electric utility to retail customers that must come from renewable sources.

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 投票対象法案に対する「いいえ」の投票の意味を説明する声明。measure に対する議論ではない。例: 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 投票法案の列挙型。管轄区域の投票法案に最も近い値を選択してください。

XML

     <Contest objectId="bmc0" xsi:type="BallotMeasureContest">
        <BallotSelection objectId="bms00" xsi:type="BallotMeasureSelection">
          <ExternalIdentifiers>
            <ExternalIdentifier>
              <Type>other</Type>
              <OtherType>stable</OtherType>
              <Value>bmc0_yes</Value>
            </ExternalIdentifier>
          </ExternalIdentifiers>
          <Selection>
            <Text language="en">Yes</Text>
          </Selection>
        </BallotSelection>
        <BallotSelection objectId="bms01" xsi:type="BallotMeasureSelection">
          <ExternalIdentifiers>
            <ExternalIdentifier>
              <Type>other</Type>
              <OtherType>stable</OtherType>
              <Value>bmc0_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>bmc0</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>
        <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>

JSON

    "Contest": [
      {
        "@type": "BallotMeasureContest",
        "objectId": "bmc0",
        "BallotSelection": [
          {
            "@type": "BallotMeasureSelection",
            "objectId": "bms00",
            "ExternalIdentifiers": {
              "ExternalIdentifier" : [
                {
                  "Type": "other",
                  "OtherType": "stable",
                  "Value": "bmc0_yes"
                }
              ]
            }
          }
            "Text": [
              {
                "value": "Yes",
                "language": "en"
              },
            ]
        ],
        "BallotSelection": [
          {
            "@type": "BallotMeasureSelection",
            "objectId": "bms01",
            "ExternalIdentifiers": {
              "ExternalIdentifier" : [
                {
                  "Type": "other",
                  "OtherType": "stable",
                  "Value": "bmc0_no"
                }
              ]
            }
          }
            "Text": [
              {
                "value": "No",
                "language": "en"
              },
            ]
        ],
        "BallotSubTitle": {
          "Text": [
            {
              "value": "Farm Animal Confinement Initiative",
              "language": "en"
            }
          ]
        },
        "BallotTitle": {
          "Text": [
            {
              "value": "California Proposition 12, Farm Animal Confinement Initiative (2018)",
              "language": "en"
            }
          ]
        },
        "ElectoralDistrictId": "ru_ca_1"
        "ExternalIdentifiers": {
          "ExternalIdentifier" : [
            {
              "Type": "other",
              "OtherType": "stable",
              "Value": "bmc0"
            }
          ]
        },
        "Name": "California Proposition 12, Farm Animal Confinement Initiative (2018)",
        "BallotText": [
          "Text": [
            {
              "value": "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.",
              "language": "en"
            }
          ]
        ],
        "ConStatement": [
          "Text": [
            {
              "value": "No means the measure will not be enacted",
              "language": "en"
            }
          ]
        ],
        "InfoUri": [
          {
            "value": "https://example-government.gov/ballot-measures/California_Proposition_12_2018",
            "annotation": "fulltext"
          }
        ],
        "InfoUri": [
          {
            "value": "https://en.wikipedia.org/wiki/2018_California_Proposition_12",
            "annotation": "wikipedia"
          }
        ],
        "ProStatement": [
          "Text": [
            {
              "value": "Yes means the measure will be enacted",
              "language": "en"
            }
          ]
        ],
        "SummaryText": [
          "Text": [
            {
              "value": "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.",
              "language": "en"
            }
          ]
        ],
        "Type": "ballot-measure",
      }
    ]