DailyIncomingData Schema

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

DailyIncomingData

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*

DailyIncomingData Type

object (DailyIncomingData)

DailyIncomingData Properties

Property Type Required Nullable Defined by
anteil_pos_14 number Optional cannot be null COVID-19 Dashboard Source Data
anteil_pos_28 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_phase2 number Optional cannot be null COVID-19 Dashboard Source Data
anteil_pos_phase2b number Optional cannot be null COVID-19 Dashboard Source Data
anteil_pos_phase3 number Optional cannot be null COVID-19 Dashboard Source Data
datum string Optional cannot be null COVID-19 Dashboard Source Data
entries 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_letzter_stand number Optional cannot be null COVID-19 Dashboard Source Data
entries_neg number Optional cannot be null COVID-19 Dashboard Source Data
entries_neu_gemeldet number Optional cannot be null COVID-19 Dashboard Source Data
entries_pos 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
inzdelta7d number Optional cannot be null COVID-19 Dashboard Source Data
inzmean7d number Optional cannot be null COVID-19 Dashboard Source Data
inzsum14d number Optional cannot be null COVID-19 Dashboard Source Data
inzsum7d number Optional cannot be null COVID-19 Dashboard Source Data
inzsumTotal number Optional cannot be null COVID-19 Dashboard Source Data
inzsumTotal_Phase2 number Optional cannot be null COVID-19 Dashboard Source Data
inzsumTotal_Phase2b number Optional cannot be null COVID-19 Dashboard Source Data
inzsumTotal_Phase3 number Optional cannot be null COVID-19 Dashboard Source Data
inzsumTotal_last14d number Optional cannot be null COVID-19 Dashboard Source Data
inzsumTotal_last28d number Optional cannot be null COVID-19 Dashboard Source Data
inzsumTotal_last7d number Optional cannot be null COVID-19 Dashboard Source Data
mean7d number Optional cannot be null COVID-19 Dashboard Source Data
nachweismethode string Optional cannot be null COVID-19 Dashboard Source Data
offset_Phase2 number Optional cannot be null COVID-19 Dashboard Source Data
offset_Phase2b number Optional cannot be null COVID-19 Dashboard Source Data
offset_Phase3 number Optional cannot be null COVID-19 Dashboard Source Data
offset_last14d number Optional cannot be null COVID-19 Dashboard Source Data
offset_last28d number Optional cannot be null COVID-19 Dashboard Source Data
offset_last7d number Optional cannot be null COVID-19 Dashboard Source Data
pop number Optional cannot be null COVID-19 Dashboard Source Data
pos_anteil number Optional cannot be null COVID-19 Dashboard Source Data
pos_anteil_mean7d number Optional cannot be null COVID-19 Dashboard Source Data
sum14d number Optional cannot be null COVID-19 Dashboard Source Data
sum7d number Optional cannot be null COVID-19 Dashboard Source Data
sumTotal number Optional cannot be null COVID-19 Dashboard Source Data
sumTotal_Phase2 number Optional cannot be null COVID-19 Dashboard Source Data
sumTotal_Phase2b number Optional cannot be null COVID-19 Dashboard Source Data
sumTotal_Phase3 number Optional cannot be null COVID-19 Dashboard Source Data
sumTotal_last14d number Optional cannot be null COVID-19 Dashboard Source Data
sumTotal_last28d number Optional cannot be null COVID-19 Dashboard Source Data
sumTotal_last7d number Optional cannot be null COVID-19 Dashboard Source Data
sumdelta7d 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
version string Optional cannot be null COVID-19 Dashboard Source Data

anteil_pos_14

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

anteil_pos_14

anteil_pos_14 Type

number (anteil_pos_14)

anteil_pos_14 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_28

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

anteil_pos_28

anteil_pos_28 Type

number (anteil_pos_28)

anteil_pos_28 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 percentage 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_all 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_phase2

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

anteil_pos_phase2

anteil_pos_phase2 Type

number (anteil_pos_phase2)

anteil_pos_phase2 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_phase2b

Average percentage of positive tests for the phase 2b timeframe. Only applies to records with type "COVID19Test"

anteil_pos_phase2b

anteil_pos_phase2b Type

number (anteil_pos_phase2b)

anteil_pos_phase2b 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_phase3

Average percentage of positive tests for the phase 3 timeframe. Only applies to records with type "COVID19Test"

anteil_pos_phase3

anteil_pos_phase3 Type

number (anteil_pos_phase3)

anteil_pos_phase3 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

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-Date 2020-10-12

datum

datum Type

string (datum)

entries

Absolute number of occurrences for this day.

entries

entries Type

number (entries)

entries_diff_last

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

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_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_neg

Absolute number of occurences of negative tests. Only applies to records with type "COVID19Test"

entries_neg

entries_neg Type

number (entries_neg)

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)

entries_pos

Absolute number of occurences of positive tests. Only applies to records with type "COVID19Test"

entries_pos

entries_pos Type

number (entries_pos)

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 day.

inz_entries

inz_entries Type

number (inz_entries)

inzdelta7d

Difference between the "inz_entries" value of this record compared to the value 7 days before.

inzdelta7d

inzdelta7d Type

number (inzdelta7d)

inzmean7d

Rolling 7 day average (-3 days/ +3 days from the current day) of the "inz_entries" values.

inzmean7d

inzmean7d Type

number (inzmean7d)

inzsum14d

Sum of the "inz_entries" values for the last 14 days (rolling).

inzsum14d

inzsum14d Type

number (inzsum14d)

inzsum7d

Sum of the "inz_entries" values for the last 7 days (rolling).

inzsum7d

inzsum7d Type

number (inzsum7d)

inzsumTotal

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

inzsumTotal

inzsumTotal Type

number (inzsumTotal)

inzsumTotal_Phase2

Sum of the "inz_entries" values since the beginning of the phase 2 timeframe.

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

inzsumTotal_Phase2

inzsumTotal_Phase2 Type

number (inzsumTotal_Phase2)

inzsumTotal_Phase2b

Sum of the "inz_entries" values since the beginning of the phase 2b timeframe.

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

inzsumTotal_Phase2b

inzsumTotal_Phase2b Type

number (inzsumTotal_Phase2b)

inzsumTotal_Phase3

Sum of the "inz_entries" values since the beginning of the phase 3 timeframe.

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

inzsumTotal_Phase3

inzsumTotal_Phase3 Type

number (inzsumTotal_Phase3)

inzsumTotal_last14d

Sum of the "inz_entries" values since the beginning of the latest 14 days 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_last14d

inzsumTotal_last14d Type

number (inzsumTotal_last14d)

inzsumTotal_last28d

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_last28d

inzsumTotal_last28d Type

number (inzsumTotal_last28d)

inzsumTotal_last7d

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

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

inzsumTotal_last7d

inzsumTotal_last7d Type

number (inzsumTotal_last7d)

mean7d

Rolling 7 day average (-3 days/ +3 days from the current day) of the "entries" values.

mean7d

mean7d Type

number (mean7d)

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"

offset_Phase2

Sum of the "entries" values up until the start of the phase 2 timeframe.

offset_Phase2

offset_Phase2 Type

number (offset_Phase2)

offset_Phase2b

Sum of the "entries" values up until the start of the phase 2b timeframe.

offset_Phase2b

offset_Phase2b Type

number (offset_Phase2b)

offset_Phase3

Sum of the "entries" values up until the start of the phase 3 timeframe.

offset_Phase3

offset_Phase3 Type

number (offset_Phase3)

offset_last14d

Sum of the "entries" values up until the start of the latest 14 day timeframe.

offset_last14d

offset_last14d Type

number (offset_last14d)

offset_last28d

Sum of the "entries" values up until the start of the latest 28 day timeframe.

offset_last28d

offset_last28d Type

number (offset_last28d)

offset_last7d

Sum of the "entries" values up until the start of the latest 7 day timeframe.

offset_last7d

offset_last7d Type

number (offset_last7d)

pop

Population number for the given geoRegion.

pop

pop Type

number (pop)

pos_anteil

Percentage of positive tests. Only applies to records with type "COVID19Test"

pos_anteil

pos_anteil Type

number (pos_anteil)

pos_anteil 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

pos_anteil_mean7d

Rolling 7 day average (-3 days/ +3 days from the current day) of the "pos_anteil" values.

pos_anteil_mean7d

pos_anteil_mean7d Type

number (pos_anteil_mean7d)

sum14d

Sum of the "entries" values for the last 14 days (rolling).

sum14d

sum14d Type

number (sum14d)

sum7d

Sum of the "entries" values for the last 7 days (rolling).

sum7d

sum7d Type

number (sum7d)

sumTotal

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

sumTotal

sumTotal Type

number (sumTotal)

sumTotal_Phase2

Sum of the "entries" values since the beginning of the phase 2 timeframe.

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

sumTotal_Phase2

sumTotal_Phase2 Type

number (sumTotal_Phase2)

sumTotal_Phase2b

Sum of the "entries" values since the beginning of the phase 2b timeframe.

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

sumTotal_Phase2b

sumTotal_Phase2b Type

number (sumTotal_Phase2b)

sumTotal_Phase3

Sum of the "entries" values since the beginning of the phase 3 timeframe.

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

sumTotal_Phase3

sumTotal_Phase3 Type

number (sumTotal_Phase3)

sumTotal_last14d

Sum of the "entries" values since the beginning of the latest 14 days 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_last14d

sumTotal_last14d Type

number (sumTotal_last14d)

sumTotal_last28d

Sum of the "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).

sumTotal_last28d

sumTotal_last28d Type

number (sumTotal_last28d)

sumTotal_last7d

Sum of the "entries" values since the beginning of the latest 7 days timeframe.

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

sumTotal_last7d

sumTotal_last7d Type

number (sumTotal_last7d)

sumdelta7d

Difference between the "entries" value of this record compared to the value 7 days before.

sumdelta7d

sumdelta7d Type

number (sumdelta7d)

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"

version

Timestamp of data processing.

format YYYY-MM-DD_HH-mm-SS

version

version Type

string (version)