Các thực thể BallotMeasureScope được dùng để mô tả một biện pháp bỏ phiếu đang được bỏ phiếu trong một ElectionEvent.
Thành phần
| Phần tử | Số bội | Loại | Mô tả |
|---|---|---|---|
DebugName |
0 hoặc 1 | string |
Tên mô tả được dùng cho biện pháp trong lá phiếu. |
LocationLevel |
1 | OfficeLevel |
Cấp vị trí của dự luật cần bỏ phiếu: Country cho quốc gia, Administrative Area 1 cho tiểu bang hoặc tỉnh, v.v. |
LocationOcdId |
0 hoặc 1 | string |
Mã nhận dạng OCD của vị trí biện pháp trên lá phiếu. |
TitleOrTopic |
1 | string |
Tiêu đề của dự luật ghi trên lá phiếu (nếu có). Nếu không, hãy mô tả ngắn gọn về chủ đề. |
Ví dụ
Ví dụ sau đây là một Feed chứa ElectionEvent có BallotMeasureScope. Điều này cho biết Feed chứa dữ liệu về một biện pháp bỏ phiếu sẽ được tổ chức ở California:
XML
<BallotMeasureScope> <DebugName>California state Ballot measures</DebugName> <LocationLevel>Administrative Area 1</LocationLevel> <LocationOcdId>ocd-division/country:us/state:ca</LocationOcdId> <TitleOrTopic>Remove Voter Approval Requirement for Public Low-Rent Housing Projects Amendment</TitleOrTopic> </BallotMeasureScope>
JSON
{ "BallotMeasureScope": { "DebugName": "California state Ballot measures", "LocationLevel": "Administrative Area 1", "LocationOcdId": "ocd-division/country:us/state:ca", "TitleOrTopic": "Remove Voter Approval Requirement for Public Low-Rent Housing Projects Amendment" } }