數量

使用 CountStatus 報告各種項目的計票狀態,例如選票類型或手寫選票,以及計票作業是否正在進行中、尚未開始或已完成。ContestElectionGpUnit 實體包含 CountStatus

元素

下表說明 CountStatus 的元素:

元素 多重性 類型 說明
Status 1 CountItemStatus 計數的狀態。
Type 1 CountItemType 要計算的項目類型。如果 CountStatus 項目類型未列於 CountItemType 列舉中,請將 Type 設為 other,並在 OtherType 中加入自訂類型。
OtherType 0 或 1 string 如果 Typeother,則用來指定計數項目的狀態。

範例

XML

    <CountStatus>
      <Status>completed</Status>
      <Type>early</Type>
    </CountStatus>
    <CountStatus>
      <Status>in-process</Status>
      <Type>election-day</Type>
    </CountStatus>

JSON

    "CountStatus": [
      {
        "Status": "completed",
        "Type": "early"
      }
    ]
    "CountStatus": [
      {
        "Status": "in-process",
        "Type": "election-day"
      }
    ]