Federal Statistical Office

Example files

This page provides downloadable XML files that serve as fully valid examples of the specified format. These sample files are intended to illustrate correct structure, element usage, and formatting, offering a practical reference for developers during implementation.

The supporting files are first organized by field of application (Federal Elections or Popular Votes). For simplification and clarity, the examples of deliveries for Federal Elections use a fictional canton with a reduced number of municipalities, candidates, and lists. Federal Elections files are then further divided by type of election and electoral system.

Use the table of contents below to quickly navigate to the different sections of this page.

Federal Elections

National Council

Proportional Elections

The example files provided are:
XML | 04.02.2026
eCH-0252_infoDelivery_nc_prop
XML | 04.02.2026
eCH-0252_resultDelivery_nc_prop_1cc
XML | 04.02.2026
eCH-0252_resultDelivery_nc_prop_2cc
XML | 04.02.2026
eCH-0252_resultDelivery_nc_prop_3cc

Majoritarian Elections

The example files provided are:
XML | 04.02.2026
eCH-0252_infoDelivery_nc_maj
XML | 13.04.2026
eCH-0252_resultDelivery_nc_maj
XML | 13.04.2026
eCH-0252_resultDelivery_nc_maj_write_in

Council of States

Majoritarian Elections

For each possible round of the election, a corresponding information delivery file must be created. We provide two sets of files—one for the first round (_1r) and one for the second (_2r) round—each including an information delivery and a result delivery.

Moreover, for the second round, we provide an example of result delivery file including a write-in elected candidate (_write_in).
XML | 04.02.2026
eCH-0252_infoDelivery_cs_maj_1r
XML | 04.02.2026
eCH-0252_resultDelivery_cs_maj_1r
XML | 04.02.2026
eCH-0252_infoDelivery_cs_maj_2r
XML | 04.02.2026
eCH-0252_resultDelivery_cs_maj_2r
XML | 04.02.2026
eCH-0252_resultDelivery_cs_maj_2r_write_in

Popular Votes

Example files will be provided by the end of February 2026 at the latest.

XML | coming soon
eCH-0252_resultDelivery_popVote