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_2w number Optional cannot be null COVID-19 Dashboard Source Data
anteil_pos_4w 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
anteil_pos_mean2w number Optional cannot be null COVID-19 Dashboard Source Data
datum number Required cannot be null COVID-19 Dashboard Source Data
datum_dboardformated string Required cannot be null COVID-19 Dashboard Source Data
datum_unit string Required 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_last number Optional cannot be null COVID-19 Dashboard Source Data
entries_diff_last_age number Optional cannot be null COVID-19 Dashboard Source Data
entries_diff_pct number Optional cannot be null COVID-19 Dashboard Source Data
entries_letzter_stand number Optional cannot be null COVID-19 Dashboard Source Data
entries_neu_gemeldet number Optional cannot be null COVID-19 Dashboard Source Data
freq number Optional cannot be null COVID-19 Dashboard Source Data
geoRegion string Required cannot be null COVID-19 Dashboard Source Data
inz_entries number Optional cannot be null COVID-19 Dashboard Source Data
inzmean2w number Optional cannot be null COVID-19 Dashboard Source Data
inzmean4w number Optional cannot be null COVID-19 Dashboard Source Data
inzsum2w number Optional cannot be null COVID-19 Dashboard Source Data
inzsum4w number Optional cannot be null COVID-19 Dashboard Source Data
inzsumTotal number Optional cannot be null COVID-19 Dashboard Source Data
inzsumTotal_last2w number Optional cannot be null COVID-19 Dashboard Source Data
inzsumTotal_last4w number Optional cannot be null COVID-19 Dashboard Source Data
mean2w number Optional cannot be null COVID-19 Dashboard Source Data
mean4w number Optional cannot be null COVID-19 Dashboard Source Data
nachweismethode string Optional cannot be null COVID-19 Dashboard Source Data
pop number Required 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
sum2w number Optional cannot be null COVID-19 Dashboard Source Data
sum4w number Optional cannot be null COVID-19 Dashboard Source Data
sumTotal number Optional cannot be null COVID-19 Dashboard Source Data
sumTotal_last2w number Optional cannot be null COVID-19 Dashboard Source Data
sumTotal_last4w number Optional cannot be null COVID-19 Dashboard Source Data
timeframe_2w boolean Required cannot be null COVID-19 Dashboard Source Data
timeframe_4w boolean Required cannot be null COVID-19 Dashboard Source Data
timeframe_all boolean Required cannot be null COVID-19 Dashboard Source Data
type string Required cannot be null COVID-19 Dashboard Source Data
type_variant string Required cannot be null COVID-19 Dashboard Source Data
version string Required 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_2w

Average percentage of positive tests for the latest 2 weeks. Only applies to records with type "COVID19Test"

anteil_pos_2w

anteil_pos_2w Type

number (anteil_pos_2w)

anteil_pos_2w 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

anteil_pos_4w

Average percentage of positive tests for the latest 4 weeks. Only applies to records with type "COVID19Test"

anteil_pos_4w

anteil_pos_4w Type

number (anteil_pos_4w)

anteil_pos_4w 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

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)

anteil_pos_mean2w

Rolling 3 weeks average of the "anteil_pos" values.

anteil_pos_mean2w

anteil_pos_mean2w Type

number (anteil_pos_mean2w)

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_last

Total difference of occurrences betweens the current and previously published data version.

From 05.08 onwards: only the data of the last 28d is considered this calculation so it better reflects the current epidemiologic situation

Is the same for every daily record of the same geoRegion.

entries_diff_last

entries_diff_last Type

number (entries_diff_last)

entries_diff_last_age

Number of days since the previous data version had been published.

On mondays this will typically be 3, on all other days 1.

entries_diff_last_age

entries_diff_last_age Type

number (entries_diff_last_age)

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)

entries_letzter_stand

Absolute number of rnces for this day as reported by the previous published data version.

entries_letzter_stand

entries_letzter_stand Type

number (entries_letzter_stand)

entries_neu_gemeldet

Newly reported occurrences of the current data version (entries - entries_letzter_stand) for this day.

entries_neu_gemeldet

entries_neu_gemeldet Type

number (entries_neu_gemeldet)

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)

inzmean2w

Rolling 2 week average of the "inz_entries" values.

inzmean2w

inzmean2w Type

number (inzmean2w)

inzmean4w

Rolling 4 weeks average of the "inz_entries" values.

inzmean4w

inzmean4w Type

number (inzmean4w)

inzsum2w

Sum of the "inz_entries" values for the last 2 weeks (rolling).

inzsum2w

inzsum2w Type

number (inzsum2w)

inzsum4w

Sum of the "inz_entries" values for the last 4 weeks (rolling).

inzsum4w

inzsum4w Type

number (inzsum4w)

inzsumTotal

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

inzsumTotal

inzsumTotal Type

number (inzsumTotal)

inzsumTotal_last2w

Sum of the "inz_entries" values since the beginning of the latest 2 weeks timeframe.

Starts at 0 for the first day of the timeframe. Only available on records marked as belonging to the timeframe (timeframe_14d=true).

inzsumTotal_last2w

inzsumTotal_last2w Type

number (inzsumTotal_last2w)

inzsumTotal_last4w

Sum of the "inz_entries" values since the beginning of the latest 28 days timeframe.

Starts at 0 for the first day of the timeframe. Only available on records marked as belonging to the timeframe (timeframe_28d=true).

inzsumTotal_last4w

inzsumTotal_last4w Type

number (inzsumTotal_last4w)

mean2w

Rolling 2 weeks average of the "entries" values.

mean2w

mean2w Type

number (mean2w)

mean4w

Rolling 4 weeks average of the "entries" values.

mean4w

mean4w Type

number (mean4w)

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 - male
female - female

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"

sum2w

Sum of the "entries" values for the last 2 weeks (rolling).

sum2w

sum2w Type

number (sum2w)

sum4w

Sum of the "entries" values for the last 4 weeks (rolling).

sum4w

sum4w Type

number (sum4w)

sumTotal

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

sumTotal

sumTotal Type

number (sumTotal)

sumTotal_last2w

Sum of the "entries" values since the beginning of the latest 2 weeks timeframe.

Starts at 0 for the first day of the timeframe. Only available on records marked as belonging to the timeframe (timeframe_14d=true).

sumTotal_last2w

sumTotal_last2w Type

number (sumTotal_last2w)

sumTotal_last4w

Sum of the "entries" values since the beginning of the latest 4 weeks timeframe.

Starts at 0 for the first day of the timeframe. Only available on records marked as belonging to the timeframe (timeframe_28d=true).

sumTotal_last4w

sumTotal_last4w Type

number (sumTotal_last4w)

timeframe_2w

Indicator if the record belongs to the latest 2 weeks timeframe. Current day is usually excluded.

timeframe_2w

timeframe_2w Type

boolean (timeframe_2w)

timeframe_4w

Indicator if the record belongs to the latest 4 weeks timeframe. Current day is usually excluded.

timeframe_4w

timeframe_4w Type

boolean (timeframe_4w)

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)

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)