WeeklyIncomingData Schema

https://covid19.admin.ch#/definitions/WeeklyIncomingData

Iso-Week aggregated records broken down by geoRegion and sex/age brackets.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status No Forbidden Allowed none sources.schema.json*

WeeklyIncomingData Type

object (WeeklyIncomingData)

WeeklyIncomingData Properties

Property Type Required Nullable Defined by
altersklasse_covid19 string Optional cannot be null COVID-19 Dashboard Source Data
anteil_pos number Optional cannot be null COVID-19 Dashboard Source Data
anteil_pos_all number Optional cannot be null COVID-19 Dashboard Source Data
anteil_pos_diff number Optional cannot be null COVID-19 Dashboard Source Data
datum number Optional cannot be null COVID-19 Dashboard Source Data
datum_dboardformated string Optional cannot be null COVID-19 Dashboard Source Data
datum_unit string Optional cannot be null COVID-19 Dashboard Source Data
entries number Optional cannot be null COVID-19 Dashboard Source Data
entries_diff_abs number Optional cannot be null COVID-19 Dashboard Source Data
entries_diff_inz number Optional cannot be null COVID-19 Dashboard Source Data
entries_diff_pct number Optional cannot be null COVID-19 Dashboard Source Data
freq number Optional cannot be null COVID-19 Dashboard Source Data
geoRegion string Optional cannot be null COVID-19 Dashboard Source Data
inz_entries number Optional cannot be null COVID-19 Dashboard Source Data
inzsumTotal number Optional cannot be null COVID-19 Dashboard Source Data
nachweismethode string Optional cannot be null COVID-19 Dashboard Source Data
pop number Optional cannot be null COVID-19 Dashboard Source Data
prct number Optional cannot be null COVID-19 Dashboard Source Data
prct_diff number Optional cannot be null COVID-19 Dashboard Source Data
sex string Optional cannot be null COVID-19 Dashboard Source Data
sumTotal number Optional cannot be null COVID-19 Dashboard Source Data
timeframe_14d boolean Optional cannot be null COVID-19 Dashboard Source Data
timeframe_28d boolean Optional cannot be null COVID-19 Dashboard Source Data
timeframe_7d boolean Optional cannot be null COVID-19 Dashboard Source Data
timeframe_all boolean Optional cannot be null COVID-19 Dashboard Source Data
timeframe_phase2 boolean Optional cannot be null COVID-19 Dashboard Source Data
timeframe_phase2b boolean Optional cannot be null COVID-19 Dashboard Source Data
timeframe_phase3 boolean Optional cannot be null COVID-19 Dashboard Source Data
type string Optional cannot be null COVID-19 Dashboard Source Data
type_variant string Optional cannot be null COVID-19 Dashboard Source Data
version string Optional cannot be null COVID-19 Dashboard Source Data

altersklasse_covid19

Age range brackets (10 year steps) used for data breakdown by age.

altersklasse_covid19

altersklasse_covid19 Type

string (IncomingAgeRange)

altersklasse_covid19 Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"0 - 9"
"10 - 19"
"20 - 29"
"30 - 39"
"40 - 49"
"50 - 59"
"60 - 69"
"70 - 79"
"80+"

anteil_pos

Share of positive tests.

anteil_pos

anteil_pos Type

number (anteil_pos)

anteil_pos_all

Average share of positive tests since the start of data recording. Only applies to records with type "COVID19Test"

anteil_pos_all

anteil_pos_all Type

number (anteil_pos_all)

anteil_pos_diff

Difference of "anteil_pos" to previous week.

anteil_pos_diff

anteil_pos_diff Type

number (anteil_pos_diff)

datum

Date of case for cases, date of hospital entry for hospitalisations and the date of death for deaths.
The date of case is constructed taking the earliest available of:
the date of swab, the date of test, and the date the report arrived at the FOPH.
Generally, the date of case corresponds to the date the swab was taken.

Formatted as ISO-Week number 202009

datum

datum Type

number (datum)

datum_dboardformated

Datum formatted as ISO-Week string "2020-09"

datum_dboardformated

datum_dboardformated Type

string (datum_dboardformated)

datum_unit

datum_unit

datum_unit Type

string (datum_unit)

datum_unit Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"isoweek"

entries

Absolute number of occurrences for this iso-week.

entries

entries Type

number (entries)

entries_diff_abs

Difference of the "entries" value to the previous week.

entries_diff_abs

entries_diff_abs Type

number (entries_diff_abs)

entries_diff_inz

Difference of the "inz_entries" value to the previous week.

entries_diff_inz

entries_diff_inz Type

number (entries_diff_inz)

entries_diff_pct

Difference of the "entries" value to the previous week as percentage.

entries_diff_pct

entries_diff_pct Type

number (entries_diff_pct)

freq

Percentage of the current sex/age bracket in comparison to all brackets.

freq

freq Type

number (freq)

freq Constraints

maximum: the value of this number must smaller than or equal to: 1

minimum: the value of this number must greater than or equal to: 0

geoRegion

Geographical unit of the data records.

May be either one of the top level Units CHFL, CH or FL for aggregated record sets or the canton of residence when available or the administrative canton i.e. the canton in which the case was diagnosed (if the place of residence is unknown or if the patient lives abroad).

geoRegion

geoRegion Type

string (GeoUnit)

geoRegion Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"AG"
"AI"
"AR"
"BE"
"BL"
"BS"
"CH"
"CH01"
"CH02"
"CH03"
"CH04"
"CH05"
"CH06"
"CH07"
"CHFL"
"FL"
"FR"
"GE"
"GL"
"GR"
"JU"
"LU"
"NE"
"NW"
"OW"
"SG"
"SH"
"SO"
"SZ"
"TG"
"TI"
"UR"
"VD"
"VS"
"ZG"
"ZH"

inz_entries

Incidence value for this iso-week.

inz_entries

inz_entries Type

number (inz_entries)

inzsumTotal

Sum of the "inz_entries" values since the start of data recording.

inzsumTotal

inzsumTotal Type

number (inzsumTotal)

nachweismethode

Test type used. Only applies to records with type "Covid19Test".

nachweismethode

nachweismethode Type

string (nachweismethode)

nachweismethode Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"Antigen_Schnelltest"
"PCR"
"all"

pop

Population number for the current record (geoRegion and sex/age bracket).

pop

pop Type

number (pop)

prct

Percentage of the current sex/age bracket in comparison to all brackets.

prct

prct Type

number (prct)

prct Constraints

maximum: the value of this number must smaller than or equal to: 100

minimum: the value of this number must greater than or equal to: 0

prct_diff

Difference of the "prct" value to the previous week.

prct_diff

prct_diff Type

number (prct_diff)

sex

Sex

unknown - If no gender information was provided for the associated data.
male

sex

sex Type

string (Sex)

sex Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"female"
"male"
"unknown"

sumTotal

Sum of the "entries" values since the start of data recording.

sumTotal

sumTotal Type

number (sumTotal)

timeframe_14d

Indicator if the record belongs to the latest 14 days timeframe. Current day is usually excluded.

timeframe_14d

timeframe_14d Type

boolean (timeframe_14d)

timeframe_28d

Indicator if the record belongs to the latest 28 days timeframe. Current day is usually excluded.

timeframe_28d

timeframe_28d Type

boolean (timeframe_28d)

timeframe_7d

Indicator if the record belongs to the latest 7 days timeframe. Current day is usually excluded.

timeframe_7d

timeframe_7d Type

boolean (timeframe_7d)

timeframe_all

Indicator if the record belongs to the timeframe for all available data

Starts at 24.02.2020 (Iso-Week 2020-09) for COVID19Cases, COVID19Hosp and COVID19Death types
Starts at 24.01.2020 for COVID19Test type for CH+FL data combined and from 23.05.2020 for data by canton/CH/FL individually
Starts at 30.03.2020 for COVID19HospCapacity type

timeframe_all

timeframe_all Type

boolean (timeframe_all)

timeframe_phase2

Indicator if the record belongs to the phase 2 timeframe. Starts at 08.06.2020 (Iso-Week 2020-24)

timeframe_phase2

timeframe_phase2 Type

boolean (timeframe_phase2)

timeframe_phase2b

Indicator if the record belongs to the phase 2b timeframe. Starts at 28.09.2020 (Iso-Week 2020-40)

timeframe_phase2b

timeframe_phase2b Type

boolean (timeframe_phase2b)

timeframe_phase3

Indicator if the record belongs to the phase 3 timeframe. Starts at 15.02.2020 (Iso-Week 2021-09).

timeframe_phase3

timeframe_phase3 Type

boolean (timeframe_phase3)

type

COVID19Cases - Refers to persons that have at least one positive PCR/Antigen result for COVID-19. The number of cases differs from the number of new declarations announced daily due to the reporting delay.

COVID19Death - Refers to persons that have at least one positive PCR/Antigen result for COVID-19 for which we have received a declaration of death.

COVID19Hosp - Refers to persons that have at least one positive PCR result for COVID-19 for which we have received a clinical declaration stating that the person was hospitalized (at least one night stay). Hospitalizations without date of hospital entry will not occur in this table.

COVID19Test - Refers to PCR/Antigen tests for COVID-19 with a positive or a negative result.

COVID19HospCapacity - Refers to hospital (ICU/Total) capacity and occupancy information.

type

type Type

string (IncomingDataType)

type Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"COVID19Cases"
"COVID19Death"
"COVID19Hosp"
"COVID19HospCapacity"
"COVID19Re"
"COVID19Test"

type_variant

Indicator for which extra dimension/bracket the data has been broken down for in addition to geoRegion.

sex = breakdown by sex
altersklasse_covid19 = breakdown by age

type_variant

type_variant Type

string (type_variant)

type_variant Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"altersklasse_covid19"
"sex"

version

Timestamp of data processing.

format YYYY-MM-DD_HH-mm-SS

version

version Type

string (version)