Federal Statistical Office

YAML files

This page provides minimal YAML templates representing the structure of eCH-0252 XML documents as required by the FSO/FCh for Federal Elections and Popular Votes. Each YAML file correspond to one example file and outlines the essential elements and hierarchy needed for a valid implementation and serves as a practical starting point for integration, validation, and maintenance. These templates are intended to help developers quickly understand the core XML structure and ensure compliance with the standard.

The supporting files are first organized by field of application (Federal Elections or Popular Votes). 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

YAML | 04.02.2026
eCH-0252_infoDelivery_schema_nc_prop
YAML | 04.02.2026
eCH-0252_resultDelivery_schema_nc_prop_1cc
YAML | 04.02.2026
eCH-0252_resultDelivery_schema_nc_prop_2cc
YAML | 04.02.2026
eCH-0252_resultDelivery_schema_nc_prop_3cc

Majoritarian Elections

YAML | 04.02.2026
eCH-0252_infoDelivery_schema_nc_maj
YAML | 04.02.2026
eCH-0252_resultDelivery_schema_nc_maj
YAML | 04.02.2026
eCH-0252_resultDelivery_schema_nc_maj_write_in

Council of States

Majoritarian Election

YAML | 04.02.2026
eCH-0252_infoDelivery_schema_cs_maj_1r
YAML | 04.02.2026
eCH-0252_resultDelivery_schema_cs_maj_1r
YAML | 04.02.2026
eCH-0252_infoDelivery_schema_cs_maj_2r
YAML | 04.02.2026
eCH-0252_resultDelivery_schema_cs_maj_2r
YAML | 04.02.2026
eCH-0252_resultDelivery_schema_cs_maj_2r_write_in

Popular Votes

Example files will be provided by End of February 2026.

YAML | coming soon
eCH-0252_resultDelivery_schema_popVote