diff --git a/packages/cms/src/data/data-structure.ts b/packages/cms/src/data/data-structure.ts index b59a48b4fb..d7babd9fed 100644 --- a/packages/cms/src/data/data-structure.ts +++ b/packages/cms/src/data/data-structure.ts @@ -4,486 +4,631 @@ */ export const dataStructure = { gm: { - deceased_rivm: ['covid_daily', 'covid_daily_moving_average', 'covid_total'], + deceased_rivm: ["covid_daily", "covid_daily_moving_average", "covid_total"], hospital_nice: [ - 'admissions_on_date_of_admission', - 'admissions_on_date_of_admission_moving_average', - 'admissions_on_date_of_admission_moving_average_rounded', - 'admissions_on_date_of_reporting', + "admissions_on_date_of_admission", + "admissions_on_date_of_admission_moving_average", + "admissions_on_date_of_admission_moving_average_rounded", + "admissions_on_date_of_reporting", + ], + tested_overall: [ + "infected", + "infected_moving_average", + "infected_moving_average_rounded", + "infected_per_100k", + "infected_per_100k_moving_average", + ], + sewer: [ + "average", + "total_number_of_samples", + "sampled_installation_count", + "total_installation_count", ], - tested_overall: ['infected', 'infected_moving_average', 'infected_moving_average_rounded', 'infected_per_100k', 'infected_per_100k_moving_average'], - sewer: ['average', 'total_number_of_samples', 'sampled_installation_count', 'total_installation_count'], vaccine_coverage_per_age_group: [ - 'age_group_range', - 'autumn_2022_vaccinated_percentage', - 'fully_vaccinated_percentage', - 'booster_shot_percentage', - 'birthyear_range', - 'autumn_2022_vaccinated_percentage_label', - 'fully_vaccinated_percentage_label', - 'booster_shot_percentage_label', + "age_group_range", + "autumn_2022_vaccinated_percentage", + "fully_vaccinated_percentage", + "booster_shot_percentage", + "birthyear_range", + "autumn_2022_vaccinated_percentage_label", + "fully_vaccinated_percentage_label", + "booster_shot_percentage_label", ], vaccine_coverage_per_age_group_archived: [ - 'age_group_range', - 'fully_vaccinated_percentage', - 'has_one_shot_percentage', - 'birthyear_range', - 'fully_vaccinated_percentage_label', - 'has_one_shot_percentage_label', + "age_group_range", + "fully_vaccinated_percentage", + "has_one_shot_percentage", + "birthyear_range", + "fully_vaccinated_percentage_label", + "has_one_shot_percentage_label", ], vaccine_coverage_per_age_group_archived_20220908: [ - 'age_group_range', - 'fully_vaccinated_percentage', - 'booster_shot_percentage', - 'has_one_shot_percentage', - 'birthyear_range', - 'fully_vaccinated_percentage_label', - 'booster_shot_percentage_label', - 'has_one_shot_percentage_label', - ], - booster_coverage: ['age_group', 'percentage', 'percentage_label'], + "age_group_range", + "fully_vaccinated_percentage", + "booster_shot_percentage", + "has_one_shot_percentage", + "birthyear_range", + "fully_vaccinated_percentage_label", + "booster_shot_percentage_label", + "has_one_shot_percentage_label", + ], + booster_coverage: ["age_group", "percentage", "percentage_label"], }, gm_collection: { - hospital_nice: ['admissions_on_date_of_admission', 'admissions_on_date_of_admission_per_100000', 'admissions_on_date_of_reporting'], - hospital_nice_choropleth: ['admissions_on_date_of_admission', 'admissions_on_date_of_admission_per_100000', 'admissions_on_date_of_reporting'], - tested_overall: ['infected_per_100k', 'infected'], - sewer: ['average', 'total_installation_count'], + hospital_nice: [ + "admissions_on_date_of_admission", + "admissions_on_date_of_admission_per_100000", + "admissions_on_date_of_reporting", + ], + hospital_nice_choropleth: [ + "admissions_on_date_of_admission", + "admissions_on_date_of_admission_per_100000", + "admissions_on_date_of_reporting", + ], + tested_overall: ["infected_per_100k", "infected"], + sewer: ["average", "total_installation_count"], vaccine_coverage_per_age_group: [ - 'age_group_range', - 'autumn_2022_vaccinated_percentage', - 'fully_vaccinated_percentage', - 'booster_shot_percentage', - 'birthyear_range', - 'autumn_2022_vaccinated_percentage_label', - 'fully_vaccinated_percentage_label', - 'booster_shot_percentage_label', + "age_group_range", + "autumn_2022_vaccinated_percentage", + "fully_vaccinated_percentage", + "booster_shot_percentage", + "birthyear_range", + "autumn_2022_vaccinated_percentage_label", + "fully_vaccinated_percentage_label", + "booster_shot_percentage_label", ], }, nl: { - booster_shot_administered: ['administered_total', 'ggd_administered_total', 'others_administered_total'], - repeating_shot_administered: ['ggd_administered_total'], - booster_coverage: ['age_group', 'percentage'], - doctor: ['covid_symptoms_per_100k', 'covid_symptoms'], - g_number: ['g_number'], - infectious_people: ['margin_low', 'estimate', 'margin_high'], + booster_shot_administered: [ + "administered_total", + "ggd_administered_total", + "others_administered_total", + ], + repeating_shot_administered: ["ggd_administered_total"], + booster_coverage: ["age_group", "percentage"], + doctor: ["covid_symptoms_per_100k", "covid_symptoms"], + g_number: ["g_number"], + infectious_people: ["margin_low", "estimate", "margin_high"], intensive_care_nice: [ - 'admissions_on_date_of_admission', - 'admissions_on_date_of_admission_moving_average', - 'admissions_on_date_of_admission_moving_average_rounded', - 'admissions_on_date_of_reporting', + "admissions_on_date_of_admission", + "admissions_on_date_of_admission_moving_average", + "admissions_on_date_of_admission_moving_average_rounded", + "admissions_on_date_of_reporting", ], intensive_care_nice_per_age_group: [ - 'admissions_age_0_19_per_million', - 'admissions_age_20_29_per_million', - 'admissions_age_30_39_per_million', - 'admissions_age_40_49_per_million', - 'admissions_age_50_59_per_million', - 'admissions_age_60_69_per_million', - 'admissions_age_70_79_per_million', - 'admissions_age_80_89_per_million', - 'admissions_age_90_plus_per_million', - 'admissions_overall_per_million', - ], - tested_overall: ['infected', 'infected_moving_average', 'infected_moving_average_rounded', 'infected_per_100k', 'infected_per_100k_moving_average'], + "admissions_age_0_19_per_million", + "admissions_age_20_29_per_million", + "admissions_age_30_39_per_million", + "admissions_age_40_49_per_million", + "admissions_age_50_59_per_million", + "admissions_age_60_69_per_million", + "admissions_age_70_79_per_million", + "admissions_age_80_89_per_million", + "admissions_age_90_plus_per_million", + "admissions_overall_per_million", + ], + tested_overall: [ + "infected", + "infected_moving_average", + "infected_moving_average_rounded", + "infected_per_100k", + "infected_per_100k_moving_average", + ], tested_per_age_group: [ - 'infected_age_0_9_per_100k', - 'infected_age_10_19_per_100k', - 'infected_age_20_29_per_100k', - 'infected_age_30_39_per_100k', - 'infected_age_40_49_per_100k', - 'infected_age_50_59_per_100k', - 'infected_age_60_69_per_100k', - 'infected_age_70_79_per_100k', - 'infected_age_80_89_per_100k', - 'infected_age_90_plus_per_100k', - 'infected_overall_per_100k', - ], - reproduction: ['index_low', 'index_average', 'index_high'], - sewer: ['average'], + "infected_age_0_9_per_100k", + "infected_age_10_19_per_100k", + "infected_age_20_29_per_100k", + "infected_age_30_39_per_100k", + "infected_age_40_49_per_100k", + "infected_age_50_59_per_100k", + "infected_age_60_69_per_100k", + "infected_age_70_79_per_100k", + "infected_age_80_89_per_100k", + "infected_age_90_plus_per_100k", + "infected_overall_per_100k", + ], + reproduction: ["index_low", "index_average", "index_high"], + sewer: ["average"], hospital_nice: [ - 'admissions_on_date_of_admission', - 'admissions_on_date_of_admission_moving_average', - 'admissions_on_date_of_admission_moving_average_rounded', - 'admissions_on_date_of_reporting', + "admissions_on_date_of_admission", + "admissions_on_date_of_admission_moving_average", + "admissions_on_date_of_admission_moving_average_rounded", + "admissions_on_date_of_reporting", ], hospital_nice_per_age_group: [ - 'admissions_age_0_19_per_million', - 'admissions_age_20_29_per_million', - 'admissions_age_30_39_per_million', - 'admissions_age_40_49_per_million', - 'admissions_age_50_59_per_million', - 'admissions_age_60_69_per_million', - 'admissions_age_70_79_per_million', - 'admissions_age_80_89_per_million', - 'admissions_age_90_plus_per_million', - 'admissions_overall_per_million', - ], - hospital_lcps: ['beds_occupied_covid'], - intensive_care_lcps: ['beds_occupied_covid', 'beds_occupied_non_covid', 'beds_occupied_covid_percentage'], + "admissions_age_0_19_per_million", + "admissions_age_20_29_per_million", + "admissions_age_30_39_per_million", + "admissions_age_40_49_per_million", + "admissions_age_50_59_per_million", + "admissions_age_60_69_per_million", + "admissions_age_70_79_per_million", + "admissions_age_80_89_per_million", + "admissions_age_90_plus_per_million", + "admissions_overall_per_million", + ], + hospital_lcps: ["beds_occupied_covid"], + intensive_care_lcps: [ + "beds_occupied_covid", + "beds_occupied_non_covid", + "beds_occupied_covid_percentage", + ], tested_ggd: [ - 'infected', - 'infected_moving_average', - 'infected_percentage', - 'infected_percentage_moving_average', - 'tested_total', - 'tested_total_moving_average', - 'tested_total_moving_average_rounded', - ], - tested_ggd_archived: ['infected_percentage', 'infected_percentage_moving_average'], + "infected", + "infected_moving_average", + "infected_percentage", + "infected_percentage_moving_average", + "tested_total", + "tested_total_moving_average", + "tested_total_moving_average_rounded", + ], + tested_ggd_archived: [ + "infected_percentage", + "infected_percentage_moving_average", + ], nursing_home: [ - 'newly_infected_people', - 'newly_infected_people_moving_average', - 'deceased_daily', - 'deceased_daily_moving_average', - 'newly_infected_locations', - 'infected_locations_total', - 'infected_locations_percentage', + "newly_infected_people", + "newly_infected_people_moving_average", + "deceased_daily", + "deceased_daily_moving_average", + "newly_infected_locations", + "infected_locations_total", + "infected_locations_percentage", ], disability_care: [ - 'newly_infected_people', - 'newly_infected_people_moving_average', - 'deceased_daily', - 'deceased_daily_moving_average', - 'newly_infected_locations', - 'infected_locations_total', - 'infected_locations_percentage', + "newly_infected_people", + "newly_infected_people_moving_average", + "deceased_daily", + "deceased_daily_moving_average", + "newly_infected_locations", + "infected_locations_total", + "infected_locations_percentage", ], behavior: [ - 'number_of_participants', - 'curfew_compliance', - 'curfew_compliance_trend', - 'wash_hands_compliance', - 'wash_hands_compliance_trend', - 'keep_distance_compliance', - 'keep_distance_compliance_trend', - 'work_from_home_compliance', - 'work_from_home_compliance_trend', - 'avoid_crowds_compliance', - 'avoid_crowds_compliance_trend', - 'symptoms_stay_home_if_mandatory_compliance', - 'symptoms_stay_home_if_mandatory_compliance_trend', - 'symptoms_get_tested_compliance', - 'symptoms_get_tested_compliance_trend', - 'wear_mask_public_indoors_compliance', - 'wear_mask_public_indoors_compliance_trend', - 'wear_mask_public_transport_compliance', - 'wear_mask_public_transport_compliance_trend', - 'sneeze_cough_elbow_compliance', - 'sneeze_cough_elbow_compliance_trend', - 'max_visitors_compliance', - 'max_visitors_compliance_trend', - 'ventilate_home_compliance', - 'ventilate_home_compliance_trend', - 'selftest_visit_compliance', - 'selftest_visit_compliance_trend', - 'curfew_support', - 'curfew_support_trend', - 'wash_hands_support', - 'wash_hands_support_trend', - 'keep_distance_support', - 'keep_distance_support_trend', - 'work_from_home_support', - 'work_from_home_support_trend', - 'avoid_crowds_support', - 'avoid_crowds_support_trend', - 'symptoms_stay_home_if_mandatory_support', - 'symptoms_stay_home_if_mandatory_support_trend', - 'symptoms_get_tested_support', - 'symptoms_get_tested_support_trend', - 'wear_mask_public_indoors_support', - 'wear_mask_public_indoors_support_trend', - 'wear_mask_public_transport_support', - 'wear_mask_public_transport_support_trend', - 'sneeze_cough_elbow_support', - 'sneeze_cough_elbow_support_trend', - 'max_visitors_support', - 'max_visitors_support_trend', - 'ventilate_home_support', - 'ventilate_home_support_trend', - 'selftest_visit_support', - 'selftest_visit_support_trend', - ], - behavior_get_tested_support_per_age_group: ['percentage_average', 'percentage_70_plus', 'percentage_55_69', 'percentage_40_54', 'percentage_25_39', 'percentage_16_24'], - behavior_annotations: ['behavior_indicator', 'message_title_nl', 'message_title_en', 'message_desc_nl', 'message_desc_en'], - deceased_rivm: ['covid_daily', 'covid_daily_moving_average', 'covid_total'], - deceased_rivm_per_age_group: ['age_group_range', 'age_group_percentage', 'covid_percentage'], - deceased_cbs: ['registered', 'expected', 'expected_min', 'expected_max'], - elderly_at_home: ['positive_tested_daily', 'positive_tested_daily_moving_average', 'positive_tested_daily_per_100k', 'deceased_daily', 'deceased_daily_moving_average'], - vaccine_vaccinated_or_support: ['percentage_average', 'percentage_70_plus', 'percentage_55_69', 'percentage_40_54', 'percentage_25_39', 'percentage_16_24'], - corona_melder_app_download: ['count'], - corona_melder_app_warning: ['count'], - vaccine_coverage: ['booster_vaccinated', 'partially_vaccinated', 'fully_vaccinated', 'partially_or_fully_vaccinated'], - vaccine_delivery_estimate: ['total'], - vaccine_delivery_per_supplier: ['total', 'bio_n_tech_pfizer', 'moderna', 'astra_zeneca', 'cure_vac', 'janssen', 'sanofi', 'is_estimate', 'week_number', 'date_of_report_unix'], - vaccine_administered: ['pfizer', 'moderna', 'astra_zeneca', 'cure_vac', 'janssen', 'sanofi', 'novavax', 'total'], - vaccine_administered_doctors: ['estimated'], - vaccine_administered_ggd_ghor: ['reported'], - vaccine_administered_ggd: ['estimated'], - vaccine_administered_hospitals_and_care_institutions: ['estimated'], - vaccine_administered_total: ['estimated', 'reported'], - vaccine_administered_planned: ['doses'], + "number_of_participants", + "curfew_compliance", + "curfew_compliance_trend", + "wash_hands_compliance", + "wash_hands_compliance_trend", + "keep_distance_compliance", + "keep_distance_compliance_trend", + "work_from_home_compliance", + "work_from_home_compliance_trend", + "avoid_crowds_compliance", + "avoid_crowds_compliance_trend", + "symptoms_stay_home_if_mandatory_compliance", + "symptoms_stay_home_if_mandatory_compliance_trend", + "symptoms_get_tested_compliance", + "symptoms_get_tested_compliance_trend", + "wear_mask_public_indoors_compliance", + "wear_mask_public_indoors_compliance_trend", + "wear_mask_public_transport_compliance", + "wear_mask_public_transport_compliance_trend", + "sneeze_cough_elbow_compliance", + "sneeze_cough_elbow_compliance_trend", + "max_visitors_compliance", + "max_visitors_compliance_trend", + "ventilate_home_compliance", + "ventilate_home_compliance_trend", + "selftest_visit_compliance", + "selftest_visit_compliance_trend", + "posttest_isolation_compliance", + "posttest_isolation_compliance_trend", + "curfew_support", + "curfew_support_trend", + "wash_hands_support", + "wash_hands_support_trend", + "keep_distance_support", + "keep_distance_support_trend", + "work_from_home_support", + "work_from_home_support_trend", + "avoid_crowds_support", + "avoid_crowds_support_trend", + "symptoms_stay_home_if_mandatory_support", + "symptoms_stay_home_if_mandatory_support_trend", + "symptoms_get_tested_support", + "symptoms_get_tested_support_trend", + "wear_mask_public_indoors_support", + "wear_mask_public_indoors_support_trend", + "wear_mask_public_transport_support", + "wear_mask_public_transport_support_trend", + "sneeze_cough_elbow_support", + "sneeze_cough_elbow_support_trend", + "max_visitors_support", + "max_visitors_support_trend", + "ventilate_home_support", + "ventilate_home_support_trend", + "selftest_visit_support", + "selftest_visit_support_trend", + "posttest_isolation_support", + "posttest_isolation_support_trend", + ], + behavior_get_tested_support_per_age_group: [ + "percentage_average", + "percentage_70_plus", + "percentage_55_69", + "percentage_40_54", + "percentage_25_39", + "percentage_16_24", + ], + behavior_annotations: [ + "behavior_indicator", + "message_title_nl", + "message_title_en", + "message_desc_nl", + "message_desc_en", + ], + deceased_rivm: ["covid_daily", "covid_daily_moving_average", "covid_total"], + deceased_rivm_per_age_group: [ + "age_group_range", + "age_group_percentage", + "covid_percentage", + ], + deceased_cbs: ["registered", "expected", "expected_min", "expected_max"], + elderly_at_home: [ + "positive_tested_daily", + "positive_tested_daily_moving_average", + "positive_tested_daily_per_100k", + "deceased_daily", + "deceased_daily_moving_average", + ], + vaccine_vaccinated_or_support: [ + "percentage_average", + "percentage_70_plus", + "percentage_55_69", + "percentage_40_54", + "percentage_25_39", + "percentage_16_24", + ], + corona_melder_app_download: ["count"], + corona_melder_app_warning: ["count"], + vaccine_coverage: [ + "booster_vaccinated", + "partially_vaccinated", + "fully_vaccinated", + "partially_or_fully_vaccinated", + ], + vaccine_delivery_estimate: ["total"], + vaccine_delivery_per_supplier: [ + "total", + "bio_n_tech_pfizer", + "moderna", + "astra_zeneca", + "cure_vac", + "janssen", + "sanofi", + "is_estimate", + "week_number", + "date_of_report_unix", + ], + vaccine_administered: [ + "pfizer", + "moderna", + "astra_zeneca", + "cure_vac", + "janssen", + "sanofi", + "novavax", + "total", + ], + vaccine_administered_doctors: ["estimated"], + vaccine_administered_ggd_ghor: ["reported"], + vaccine_administered_ggd: ["estimated"], + vaccine_administered_hospitals_and_care_institutions: ["estimated"], + vaccine_administered_total: ["estimated", "reported"], + vaccine_administered_planned: ["doses"], vaccine_coverage_per_age_group: [ - 'age_group_range', - 'age_group_percentage', - 'age_group_total', - 'autumn_2022_vaccinated', - 'fully_vaccinated', - 'booster_shot', - 'autumn_2022_vaccinated_percentage', - 'fully_vaccinated_percentage', - 'booster_shot_percentage', - 'date_of_report_unix', - 'birthyear_range', + "age_group_range", + "age_group_percentage", + "age_group_total", + "autumn_2022_vaccinated", + "fully_vaccinated", + "booster_shot", + "autumn_2022_vaccinated_percentage", + "fully_vaccinated_percentage", + "booster_shot_percentage", + "date_of_report_unix", + "birthyear_range", ], vaccine_coverage_per_age_group_archived: [ - 'age_group_range', - 'age_group_percentage', - 'age_group_total', - 'fully_vaccinated', - 'has_one_shot', - 'fully_vaccinated_percentage', - 'has_one_shot_percentage', - 'date_of_report_unix', - 'birthyear_range', + "age_group_range", + "age_group_percentage", + "age_group_total", + "fully_vaccinated", + "has_one_shot", + "fully_vaccinated_percentage", + "has_one_shot_percentage", + "date_of_report_unix", + "birthyear_range", ], vaccine_coverage_per_age_group_archived_20220908: [ - 'age_group_range', - 'age_group_percentage', - 'age_group_total', - 'fully_vaccinated', - 'booster_shot', - 'has_one_shot', - 'fully_vaccinated_percentage', - 'booster_shot_percentage', - 'has_one_shot_percentage', - 'date_of_report_unix', - 'birthyear_range', - ], - vaccine_coverage_per_age_group_estimated: [ - 'age_60_plus_autumn_2022_vaccinated', - 'age_60_plus_birthyear', - 'age_18_plus_fully_vaccinated', - 'age_18_plus_has_one_shot', - 'age_18_plus_birthyear', - 'age_12_plus_autumn_2022_vaccinated', - 'age_12_plus_fully_vaccinated', - 'age_12_plus_has_one_shot', - 'age_12_plus_birthyear', + "age_group_range", + "age_group_percentage", + "age_group_total", + "fully_vaccinated", + "booster_shot", + "has_one_shot", + "fully_vaccinated_percentage", + "booster_shot_percentage", + "has_one_shot_percentage", + "date_of_report_unix", + "birthyear_range", + ], + vaccine_coverage_per_age_group_estimated_fully_vaccinated: [ + "age_12_plus_birthyear", + "age_12_plus_vaccinated", + "age_18_plus_birthyear", + "age_18_plus_vaccinated", + ], + vaccine_coverage_per_age_group_estimated_autumn_2022: [ + "age_12_plus_birthyear", + "age_12_plus_vaccinated", + "age_60_plus_birthyear", + "age_60_plus_vaccinated", ], vaccine_coverage_per_age_group_estimated_archived_20220908: [ - 'age_18_plus_fully_vaccinated', - 'age_18_plus_has_one_shot', - 'age_18_plus_birthyear', - 'age_12_plus_fully_vaccinated', - 'age_12_plus_has_one_shot', - 'age_12_plus_birthyear', + "age_18_plus_fully_vaccinated", + "age_18_plus_has_one_shot", + "age_18_plus_birthyear", + "age_12_plus_fully_vaccinated", + "age_12_plus_has_one_shot", + "age_12_plus_birthyear", ], vaccine_stock: [ - 'total_available', - 'total_not_available', - 'bio_n_tech_pfizer_available', - 'bio_n_tech_pfizer_not_available', - 'bio_n_tech_pfizer_total', - 'moderna_available', - 'moderna_not_available', - 'moderna_total', - 'astra_zeneca_available', - 'astra_zeneca_not_available', - 'astra_zeneca_total', - 'janssen_available', - 'janssen_not_available', - 'janssen_total', - ], - variants: ['variant_code', 'values', 'last_value'], + "total_available", + "total_not_available", + "bio_n_tech_pfizer_available", + "bio_n_tech_pfizer_not_available", + "bio_n_tech_pfizer_total", + "moderna_available", + "moderna_not_available", + "moderna_total", + "astra_zeneca_available", + "astra_zeneca_not_available", + "astra_zeneca_total", + "janssen_available", + "janssen_not_available", + "janssen_total", + ], + variants: ["variant_code", "values", "last_value"], }, topical: {}, vr: { - g_number: ['g_number'], - sewer: ['average'], - tested_overall: ['infected', 'infected_moving_average', 'infected_moving_average_rounded', 'infected_per_100k', 'infected_per_100k_moving_average'], + g_number: ["g_number"], + sewer: ["average"], + tested_overall: [ + "infected", + "infected_moving_average", + "infected_moving_average_rounded", + "infected_per_100k", + "infected_per_100k_moving_average", + ], hospital_nice: [ - 'admissions_on_date_of_admission', - 'admissions_on_date_of_admission_moving_average', - 'admissions_on_date_of_admission_moving_average_rounded', - 'admissions_on_date_of_reporting', + "admissions_on_date_of_admission", + "admissions_on_date_of_admission_moving_average", + "admissions_on_date_of_admission_moving_average_rounded", + "admissions_on_date_of_reporting", ], tested_ggd: [ - 'infected', - 'infected_moving_average', - 'infected_percentage', - 'infected_percentage_moving_average', - 'tested_total', - 'tested_total_moving_average', - 'tested_total_moving_average_rounded', - ], - tested_ggd_archived: ['infected_percentage', 'infected_percentage_moving_average'], + "infected", + "infected_moving_average", + "infected_percentage", + "infected_percentage_moving_average", + "tested_total", + "tested_total_moving_average", + "tested_total_moving_average_rounded", + ], + tested_ggd_archived: [ + "infected_percentage", + "infected_percentage_moving_average", + ], nursing_home: [ - 'newly_infected_people', - 'newly_infected_people_moving_average', - 'newly_infected_locations', - 'infected_locations_total', - 'infected_locations_percentage', - 'deceased_daily', - 'deceased_daily_moving_average', + "newly_infected_people", + "newly_infected_people_moving_average", + "newly_infected_locations", + "infected_locations_total", + "infected_locations_percentage", + "deceased_daily", + "deceased_daily_moving_average", ], disability_care: [ - 'newly_infected_people', - 'newly_infected_people_moving_average', - 'newly_infected_locations', - 'infected_locations_total', - 'infected_locations_percentage', - 'deceased_daily', - 'deceased_daily_moving_average', + "newly_infected_people", + "newly_infected_people_moving_average", + "newly_infected_locations", + "infected_locations_total", + "infected_locations_percentage", + "deceased_daily", + "deceased_daily_moving_average", ], - behavior: [ - 'number_of_participants', - 'curfew_compliance', - 'curfew_compliance_trend', - 'wash_hands_compliance', - 'wash_hands_compliance_trend', - 'keep_distance_compliance', - 'keep_distance_compliance_trend', - 'work_from_home_compliance', - 'work_from_home_compliance_trend', - 'avoid_crowds_compliance', - 'avoid_crowds_compliance_trend', - 'wear_mask_public_indoors_compliance', - 'wear_mask_public_indoors_compliance_trend', - 'sneeze_cough_elbow_compliance', - 'sneeze_cough_elbow_compliance_trend', - 'max_visitors_compliance', - 'max_visitors_compliance_trend', - 'ventilate_home_compliance', - 'ventilate_home_compliance_trend', - 'selftest_visit_compliance', - 'selftest_visit_compliance_trend', - 'curfew_support', - 'curfew_support_trend', - 'wash_hands_support', - 'wash_hands_support_trend', - 'keep_distance_support', - 'keep_distance_support_trend', - 'work_from_home_support', - 'work_from_home_support_trend', - 'avoid_crowds_support', - 'avoid_crowds_support_trend', - 'wear_mask_public_indoors_support', - 'wear_mask_public_indoors_support_trend', - 'sneeze_cough_elbow_support', - 'sneeze_cough_elbow_support_trend', - 'max_visitors_support', - 'max_visitors_support_trend', - 'ventilate_home_support', - 'ventilate_home_support_trend', - 'selftest_visit_support', - 'selftest_visit_support_trend', - ], - deceased_rivm: ['covid_daily', 'covid_daily_moving_average', 'covid_total'], - deceased_cbs: ['registered', 'expected', 'expected_min', 'expected_max'], - elderly_at_home: ['positive_tested_daily', 'positive_tested_daily_moving_average', 'positive_tested_daily_per_100k', 'deceased_daily', 'deceased_daily_moving_average'], - tested_overall_sum: ['infected_per_100k'], - hospital_nice_sum: ['admissions_per_1m'], + behavior_archived_20221019: [ + "number_of_participants", + "curfew_compliance", + "curfew_compliance_trend", + "wash_hands_compliance", + "wash_hands_compliance_trend", + "keep_distance_compliance", + "keep_distance_compliance_trend", + "work_from_home_compliance", + "work_from_home_compliance_trend", + "avoid_crowds_compliance", + "avoid_crowds_compliance_trend", + "wear_mask_public_indoors_compliance", + "wear_mask_public_indoors_compliance_trend", + "sneeze_cough_elbow_compliance", + "sneeze_cough_elbow_compliance_trend", + "max_visitors_compliance", + "max_visitors_compliance_trend", + "ventilate_home_compliance", + "ventilate_home_compliance_trend", + "selftest_visit_compliance", + "selftest_visit_compliance_trend", + "curfew_support", + "curfew_support_trend", + "wash_hands_support", + "wash_hands_support_trend", + "keep_distance_support", + "keep_distance_support_trend", + "work_from_home_support", + "work_from_home_support_trend", + "avoid_crowds_support", + "avoid_crowds_support_trend", + "wear_mask_public_indoors_support", + "wear_mask_public_indoors_support_trend", + "sneeze_cough_elbow_support", + "sneeze_cough_elbow_support_trend", + "max_visitors_support", + "max_visitors_support_trend", + "ventilate_home_support", + "ventilate_home_support_trend", + "selftest_visit_support", + "selftest_visit_support_trend", + ], + deceased_rivm: ["covid_daily", "covid_daily_moving_average", "covid_total"], + deceased_cbs: ["registered", "expected", "expected_min", "expected_max"], + elderly_at_home: [ + "positive_tested_daily", + "positive_tested_daily_moving_average", + "positive_tested_daily_per_100k", + "deceased_daily", + "deceased_daily_moving_average", + ], + tested_overall_sum: ["infected_per_100k"], + hospital_nice_sum: ["admissions_per_1m"], situations: [ - 'has_sufficient_data', - 'situations_known_percentage', - 'situations_known_total', - 'investigations_total', - 'home_and_visits', - 'work', - 'school_and_day_care', - 'health_care', - 'gathering', - 'travel', - 'hospitality', - 'other', + "has_sufficient_data", + "situations_known_percentage", + "situations_known_total", + "investigations_total", + "home_and_visits", + "work", + "school_and_day_care", + "health_care", + "gathering", + "travel", + "hospitality", + "other", ], vaccine_coverage_per_age_group: [ - 'age_group_range', - 'autumn_2022_vaccinated_percentage', - 'fully_vaccinated_percentage', - 'booster_shot_percentage', - 'birthyear_range', - 'autumn_2022_vaccinated_percentage_label', - 'fully_vaccinated_percentage_label', - 'booster_shot_percentage_label', + "age_group_range", + "autumn_2022_vaccinated_percentage", + "fully_vaccinated_percentage", + "booster_shot_percentage", + "birthyear_range", + "autumn_2022_vaccinated_percentage_label", + "fully_vaccinated_percentage_label", + "booster_shot_percentage_label", ], vaccine_coverage_per_age_group_archived: [ - 'age_group_range', - 'fully_vaccinated_percentage', - 'has_one_shot_percentage', - 'birthyear_range', - 'fully_vaccinated_percentage_label', - 'has_one_shot_percentage_label', + "age_group_range", + "fully_vaccinated_percentage", + "has_one_shot_percentage", + "birthyear_range", + "fully_vaccinated_percentage_label", + "has_one_shot_percentage_label", ], vaccine_coverage_per_age_group_archived_20220908: [ - 'age_group_range', - 'fully_vaccinated_percentage', - 'booster_shot_percentage', - 'has_one_shot_percentage', - 'birthyear_range', - 'fully_vaccinated_percentage_label', - 'booster_shot_percentage_label', - 'has_one_shot_percentage_label', - ], - booster_coverage: ['age_group', 'percentage', 'percentage_label'], + "age_group_range", + "fully_vaccinated_percentage", + "booster_shot_percentage", + "has_one_shot_percentage", + "birthyear_range", + "fully_vaccinated_percentage_label", + "booster_shot_percentage_label", + "has_one_shot_percentage_label", + ], + booster_coverage: ["age_group", "percentage", "percentage_label"], }, vr_collection: { - hospital_nice: ['admissions_on_date_of_admission', 'admissions_on_date_of_admission_per_100000', 'admissions_on_date_of_reporting'], - hospital_nice_choropleth: ['admissions_on_date_of_admission', 'admissions_on_date_of_admission_per_100000', 'admissions_on_date_of_reporting'], - tested_overall: ['infected_per_100k', 'infected'], - nursing_home: ['newly_infected_people', 'newly_infected_locations', 'infected_locations_total', 'infected_locations_percentage', 'deceased_daily'], - sewer: ['average'], - behavior: [ - 'number_of_participants', - 'curfew_compliance', - 'curfew_compliance_trend', - 'wash_hands_compliance', - 'wash_hands_compliance_trend', - 'keep_distance_compliance', - 'keep_distance_compliance_trend', - 'work_from_home_compliance', - 'work_from_home_compliance_trend', - 'avoid_crowds_compliance', - 'avoid_crowds_compliance_trend', - 'wear_mask_public_indoors_compliance', - 'wear_mask_public_indoors_compliance_trend', - 'sneeze_cough_elbow_compliance', - 'sneeze_cough_elbow_compliance_trend', - 'max_visitors_compliance', - 'max_visitors_compliance_trend', - 'ventilate_home_compliance', - 'ventilate_home_compliance_trend', - 'curfew_support', - 'curfew_support_trend', - 'wash_hands_support', - 'wash_hands_support_trend', - 'keep_distance_support', - 'keep_distance_support_trend', - 'work_from_home_support', - 'work_from_home_support_trend', - 'avoid_crowds_support', - 'avoid_crowds_support_trend', - 'wear_mask_public_indoors_support', - 'wear_mask_public_indoors_support_trend', - 'sneeze_cough_elbow_support', - 'sneeze_cough_elbow_support_trend', - 'max_visitors_support', - 'max_visitors_support_trend', - 'ventilate_home_support', - 'ventilate_home_support_trend', - ], - disability_care: ['newly_infected_people', 'newly_infected_locations', 'infected_locations_total', 'infected_locations_percentage', 'deceased_daily'], - elderly_at_home: ['positive_tested_daily', 'positive_tested_daily_per_100k', 'deceased_daily'], - situations: ['has_sufficient_data', 'home_and_visits', 'work', 'school_and_day_care', 'health_care', 'gathering', 'travel', 'hospitality', 'other'], + hospital_nice: [ + "admissions_on_date_of_admission", + "admissions_on_date_of_admission_per_100000", + "admissions_on_date_of_reporting", + ], + hospital_nice_choropleth: [ + "admissions_on_date_of_admission", + "admissions_on_date_of_admission_per_100000", + "admissions_on_date_of_reporting", + ], + tested_overall: ["infected_per_100k", "infected"], + nursing_home: [ + "newly_infected_people", + "newly_infected_locations", + "infected_locations_total", + "infected_locations_percentage", + "deceased_daily", + ], + sewer: ["average"], + behavior_archived_20221019: [ + "number_of_participants", + "curfew_compliance", + "curfew_compliance_trend", + "wash_hands_compliance", + "wash_hands_compliance_trend", + "keep_distance_compliance", + "keep_distance_compliance_trend", + "work_from_home_compliance", + "work_from_home_compliance_trend", + "avoid_crowds_compliance", + "avoid_crowds_compliance_trend", + "wear_mask_public_indoors_compliance", + "wear_mask_public_indoors_compliance_trend", + "sneeze_cough_elbow_compliance", + "sneeze_cough_elbow_compliance_trend", + "max_visitors_compliance", + "max_visitors_compliance_trend", + "ventilate_home_compliance", + "ventilate_home_compliance_trend", + "curfew_support", + "curfew_support_trend", + "wash_hands_support", + "wash_hands_support_trend", + "keep_distance_support", + "keep_distance_support_trend", + "work_from_home_support", + "work_from_home_support_trend", + "avoid_crowds_support", + "avoid_crowds_support_trend", + "wear_mask_public_indoors_support", + "wear_mask_public_indoors_support_trend", + "sneeze_cough_elbow_support", + "sneeze_cough_elbow_support_trend", + "max_visitors_support", + "max_visitors_support_trend", + "ventilate_home_support", + "ventilate_home_support_trend", + ], + disability_care: [ + "newly_infected_people", + "newly_infected_locations", + "infected_locations_total", + "infected_locations_percentage", + "deceased_daily", + ], + elderly_at_home: [ + "positive_tested_daily", + "positive_tested_daily_per_100k", + "deceased_daily", + ], + situations: [ + "has_sufficient_data", + "home_and_visits", + "work", + "school_and_day_care", + "health_care", + "gathering", + "travel", + "hospitality", + "other", + ], vaccine_coverage_per_age_group: [ - 'age_group_range', - 'autumn_2022_vaccinated_percentage', - 'fully_vaccinated_percentage', - 'booster_shot_percentage', - 'birthyear_range', - 'autumn_2022_vaccinated_percentage_label', - 'fully_vaccinated_percentage_label', - 'booster_shot_percentage_label', + "age_group_range", + "autumn_2022_vaccinated_percentage", + "fully_vaccinated_percentage", + "booster_shot_percentage", + "birthyear_range", + "autumn_2022_vaccinated_percentage_label", + "fully_vaccinated_percentage_label", + "booster_shot_percentage_label", ], }, }; diff --git a/packages/common/src/types/data.ts b/packages/common/src/types/data.ts index f7da5898df..132ca2a3ce 100644 --- a/packages/common/src/types/data.ts +++ b/packages/common/src/types/data.ts @@ -1,8 +1,8 @@ /** - * This file was automatically generated by json-schema-to-typescript. - * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, - * and run 'yarn generate-data-types' to regenerate this file. - */ +* This file was automatically generated by json-schema-to-typescript. +* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, +* and run 'yarn generate-data-types' to regenerate this file. +*/ export type GmCode = string; @@ -111,7 +111,7 @@ export interface GmVaccineCoveragePerAgeGroup { values: GmVaccineCoveragePerAgeGroupValue[]; } export interface GmVaccineCoveragePerAgeGroupValue { - age_group_range: '12+' | '18+' | '60+'; + age_group_range: "12+" | "18+" | "60+"; autumn_2022_vaccinated_percentage: number | null; fully_vaccinated_percentage: number | null; booster_shot_percentage: number | null; @@ -126,7 +126,7 @@ export interface GmVaccineCoveragePerAgeGroupArchived { values: GmVaccineCoveragePerAgeGroupArchivedValue[]; } export interface GmVaccineCoveragePerAgeGroupArchivedValue { - age_group_range: '12+' | '18+'; + age_group_range: "12+" | "18+"; fully_vaccinated_percentage: number | null; has_one_shot_percentage: number | null; birthyear_range: string; @@ -139,7 +139,7 @@ export interface GmVaccineCoveragePerAgeGroupArchived_20220908 { values: GmVaccineCoveragePerAgeGroupArchived_20220908Value[]; } export interface GmVaccineCoveragePerAgeGroupArchived_20220908Value { - age_group_range: '12+' | '18+'; + age_group_range: "12+" | "18+"; fully_vaccinated_percentage: number | null; booster_shot_percentage: number | null; has_one_shot_percentage: number | null; @@ -154,14 +154,14 @@ export interface GmBoosterCoverage { values: GmBoosterCoverageValue[]; } export interface GmBoosterCoverageValue { - age_group?: '12+' | '18+'; + age_group?: "12+" | "18+"; percentage: number; percentage_label: string | null; date_unix: number; date_of_insertion_unix: number; } -export type GmCollectionId = 'GM_COLLECTION'; +export type GmCollectionId = "GM_COLLECTION"; export interface GmCollection { last_generated: string; @@ -199,7 +199,7 @@ export interface GmCollectionSewer { } export interface GmCollectionVaccineCoveragePerAgeGroup { gmcode: string; - age_group_range: '12+' | '18+' | '60+'; + age_group_range: "12+" | "18+" | "60+"; autumn_2022_vaccinated_percentage: number | null; fully_vaccinated_percentage: number | null; booster_shot_percentage: number | null; @@ -211,7 +211,7 @@ export interface GmCollectionVaccineCoveragePerAgeGroup { date_of_insertion_unix: number; } -export type NlId = 'NL'; +export type NlId = "NL"; export interface Nl { last_generated: string; @@ -315,29 +315,29 @@ export interface NlNamedDifference { } export interface NamedDifferenceDecimal { variant_code: - | 'B_1_1_529' - | 'BA_1' - | 'BA_2' - | 'BA_4' - | 'BA_4_6' - | 'BA_5' - | 'BA_2+S:L452X' - | 'BA_2_12_1' - | 'BA_3' - | 'B_1_617_2' - | 'B_1_351' - | 'P_1' - | 'B_1_1_7' - | 'B_1_621' - | 'C_37' - | 'BA_2_75' - | 'BA_2_75_2' - | 'BF_7' - | 'BQ_1' - | 'BQ_1_1' - | 'XBB' - | 'other_table' - | 'other_graph'; + | "B_1_1_529" + | "BA_1" + | "BA_2" + | "BA_4" + | "BA_4_6" + | "BA_5" + | "BA_2+S:L452X" + | "BA_2_12_1" + | "BA_3" + | "B_1_617_2" + | "B_1_351" + | "P_1" + | "B_1_1_7" + | "B_1_621" + | "C_37" + | "BA_2_75" + | "BA_2_75_2" + | "BF_7" + | "BQ_1" + | "BQ_1_1" + | "XBB" + | "other_table" + | "other_graph"; old_value: number; difference: number; old_date_unix: number; @@ -367,7 +367,7 @@ export interface NlBoosterCoverage { values: NlBoosterCoverageValue[]; } export interface NlBoosterCoverageValue { - age_group?: '12+' | '18+'; + age_group?: "12+" | "18+"; percentage: number; date_unix: number; date_of_insertion_unix: number; @@ -599,61 +599,61 @@ export interface NlBehavior { export interface NlBehaviorValue { number_of_participants: number; curfew_compliance?: number | null; - curfew_compliance_trend: ('up' | 'down' | 'equal') | null; + curfew_compliance_trend: ("up" | "down" | "equal") | null; wash_hands_compliance?: number | null; - wash_hands_compliance_trend: ('up' | 'down' | 'equal') | null; + wash_hands_compliance_trend: ("up" | "down" | "equal") | null; keep_distance_compliance?: number | null; - keep_distance_compliance_trend: ('up' | 'down' | 'equal') | null; + keep_distance_compliance_trend: ("up" | "down" | "equal") | null; work_from_home_compliance?: number | null; - work_from_home_compliance_trend: ('up' | 'down' | 'equal') | null; + work_from_home_compliance_trend: ("up" | "down" | "equal") | null; avoid_crowds_compliance?: number | null; - avoid_crowds_compliance_trend: ('up' | 'down' | 'equal') | null; + avoid_crowds_compliance_trend: ("up" | "down" | "equal") | null; symptoms_stay_home_if_mandatory_compliance?: number | null; - symptoms_stay_home_if_mandatory_compliance_trend?: ('up' | 'down' | 'equal') | null; + symptoms_stay_home_if_mandatory_compliance_trend?: ("up" | "down" | "equal") | null; symptoms_get_tested_compliance?: number | null; - symptoms_get_tested_compliance_trend?: ('up' | 'down' | 'equal') | null; + symptoms_get_tested_compliance_trend?: ("up" | "down" | "equal") | null; wear_mask_public_indoors_compliance?: number | null; - wear_mask_public_indoors_compliance_trend: ('up' | 'down' | 'equal') | null; + wear_mask_public_indoors_compliance_trend: ("up" | "down" | "equal") | null; wear_mask_public_transport_compliance?: number | null; - wear_mask_public_transport_compliance_trend?: ('up' | 'down' | 'equal') | null; + wear_mask_public_transport_compliance_trend?: ("up" | "down" | "equal") | null; sneeze_cough_elbow_compliance?: number | null; - sneeze_cough_elbow_compliance_trend: ('up' | 'down' | 'equal') | null; + sneeze_cough_elbow_compliance_trend: ("up" | "down" | "equal") | null; max_visitors_compliance?: number | null; - max_visitors_compliance_trend: ('up' | 'down' | 'equal') | null; + max_visitors_compliance_trend: ("up" | "down" | "equal") | null; ventilate_home_compliance?: number | null; - ventilate_home_compliance_trend: ('up' | 'down' | 'equal') | null; + ventilate_home_compliance_trend: ("up" | "down" | "equal") | null; selftest_visit_compliance?: number | null; - selftest_visit_compliance_trend: ('up' | 'down' | 'equal') | null; + selftest_visit_compliance_trend: ("up" | "down" | "equal") | null; posttest_isolation_compliance?: number | null; - posttest_isolation_compliance_trend: ('up' | 'down' | 'equal') | null; + posttest_isolation_compliance_trend: ("up" | "down" | "equal") | null; curfew_support?: number | null; - curfew_support_trend: ('up' | 'down' | 'equal') | null; + curfew_support_trend: ("up" | "down" | "equal") | null; wash_hands_support?: number | null; - wash_hands_support_trend: ('up' | 'down' | 'equal') | null; + wash_hands_support_trend: ("up" | "down" | "equal") | null; keep_distance_support?: number | null; - keep_distance_support_trend: ('up' | 'down' | 'equal') | null; + keep_distance_support_trend: ("up" | "down" | "equal") | null; work_from_home_support?: number | null; - work_from_home_support_trend: ('up' | 'down' | 'equal') | null; + work_from_home_support_trend: ("up" | "down" | "equal") | null; avoid_crowds_support?: number | null; - avoid_crowds_support_trend: ('up' | 'down' | 'equal') | null; + avoid_crowds_support_trend: ("up" | "down" | "equal") | null; symptoms_stay_home_if_mandatory_support?: number | null; - symptoms_stay_home_if_mandatory_support_trend?: ('up' | 'down' | 'equal') | null; + symptoms_stay_home_if_mandatory_support_trend?: ("up" | "down" | "equal") | null; symptoms_get_tested_support?: number | null; - symptoms_get_tested_support_trend?: ('up' | 'down' | 'equal') | null; + symptoms_get_tested_support_trend?: ("up" | "down" | "equal") | null; wear_mask_public_indoors_support?: number | null; - wear_mask_public_indoors_support_trend: ('up' | 'down' | 'equal') | null; + wear_mask_public_indoors_support_trend: ("up" | "down" | "equal") | null; wear_mask_public_transport_support?: number | null; - wear_mask_public_transport_support_trend?: ('up' | 'down' | 'equal') | null; + wear_mask_public_transport_support_trend?: ("up" | "down" | "equal") | null; sneeze_cough_elbow_support?: number | null; - sneeze_cough_elbow_support_trend: ('up' | 'down' | 'equal') | null; + sneeze_cough_elbow_support_trend: ("up" | "down" | "equal") | null; max_visitors_support?: number | null; - max_visitors_support_trend: ('up' | 'down' | 'equal') | null; + max_visitors_support_trend: ("up" | "down" | "equal") | null; ventilate_home_support?: number | null; - ventilate_home_support_trend: ('up' | 'down' | 'equal') | null; + ventilate_home_support_trend: ("up" | "down" | "equal") | null; selftest_visit_support?: number | null; - selftest_visit_support_trend: ('up' | 'down' | 'equal') | null; + selftest_visit_support_trend: ("up" | "down" | "equal") | null; posttest_isolation_support?: number | null; - posttest_isolation_support_trend: ('up' | 'down' | 'equal') | null; + posttest_isolation_support_trend: ("up" | "down" | "equal") | null; date_start_unix: number; date_end_unix: number; date_of_insertion_unix: number; @@ -678,11 +678,11 @@ export interface NlBehaviorPerAgeGroup { date_end_unix: number; } export interface NlBehaviorPerAgeGroupValue { - '16_24': number | null; - '25_39': number | null; - '40_54': number | null; - '55_69': number | null; - '70_plus': number | null; + "16_24": number | null; + "25_39": number | null; + "40_54": number | null; + "55_69": number | null; + "70_plus": number | null; } export interface NlBehaviorGetTestedSupportPerAgeGroup { values: NlBehaviorGetTestedSupportPerAgeGroupValue[]; @@ -704,20 +704,20 @@ export interface NlBehaviorAnnotations { } export interface NlBehaviorAnnotations1 { behavior_indicator: - | 'wash_hands' - | 'curfew' - | 'keep_distance' - | 'work_from_home' - | 'avoid_crowds' - | 'symptoms_stay_home_if_mandatory' - | 'symptoms_get_tested' - | 'wear_mask_public_indoors' - | 'wear_mask_public_transport' - | 'sneeze_cough_elbow' - | 'max_visitors' - | 'ventilate_home' - | 'selftest_visit' - | 'posttest_isolation'; + | "wash_hands" + | "curfew" + | "keep_distance" + | "work_from_home" + | "avoid_crowds" + | "symptoms_stay_home_if_mandatory" + | "symptoms_get_tested" + | "wear_mask_public_indoors" + | "wear_mask_public_transport" + | "sneeze_cough_elbow" + | "max_visitors" + | "ventilate_home" + | "selftest_visit" + | "posttest_isolation"; message_title_nl: string; message_title_en: string; message_desc_nl: string; @@ -979,7 +979,7 @@ export interface NlVaccineCoveragePerAgeGroup { values: NlVaccineCoveragePerAgeGroupValue[]; } export interface NlVaccineCoveragePerAgeGroupValue { - age_group_range: '5-11' | '12-17' | '18-29' | '30-39' | '40-49' | '50-59' | '60-69' | '70-79' | '80+'; + age_group_range: "5-11" | "12-17" | "18-29" | "30-39" | "40-49" | "50-59" | "60-69" | "70-79" | "80+"; age_group_percentage: number; age_group_total: number; autumn_2022_vaccinated: number | null; @@ -997,7 +997,7 @@ export interface NlVaccineCoveragePerAgeGroupArchived { values: NlVaccineCoveragePerAgeGroupArchivedValue[]; } export interface NlVaccineCoveragePerAgeGroupArchivedValue { - age_group_range: '5-11' | '12-17' | '18-30' | '31-40' | '41-50' | '51-60' | '61-70' | '71-80' | '81+'; + age_group_range: "5-11" | "12-17" | "18-30" | "31-40" | "41-50" | "51-60" | "61-70" | "71-80" | "81+"; age_group_percentage: number; age_group_total: number; fully_vaccinated: number; @@ -1013,7 +1013,7 @@ export interface NlVaccineCoveragePerAgeGroupArchived_20220908 { values: NlVaccineCoveragePerAgeGroupArchived_20220908Value[]; } export interface NlVaccineCoveragePerAgeGroupArchived_20220908Value { - age_group_range: '5-11' | '12-17' | '18-29' | '30-39' | '40-49' | '50-59' | '60-69' | '70-79' | '80+'; + age_group_range: "5-11" | "12-17" | "18-29" | "30-39" | "40-49" | "50-59" | "60-69" | "70-79" | "80+"; age_group_percentage: number; age_group_total: number; fully_vaccinated: number; @@ -1092,29 +1092,29 @@ export interface NlVariants { } export interface NlVariantsVariant { variant_code: - | 'B_1_1_529' - | 'BA_1' - | 'BA_2' - | 'BA_4' - | 'BA_4_6' - | 'BA_5' - | 'BA_2+S:L452X' - | 'BA_2_12_1' - | 'BA_3' - | 'B_1_617_2' - | 'B_1_351' - | 'P_1' - | 'B_1_1_7' - | 'B_1_621' - | 'C_37' - | 'BA_2_75' - | 'BA_2_75_2' - | 'BF_7' - | 'BQ_1' - | 'BQ_1_1' - | 'XBB' - | 'other_table' - | 'other_graph'; + | "B_1_1_529" + | "BA_1" + | "BA_2" + | "BA_4" + | "BA_4_6" + | "BA_5" + | "BA_2+S:L452X" + | "BA_2_12_1" + | "BA_3" + | "B_1_617_2" + | "B_1_351" + | "P_1" + | "B_1_1_7" + | "B_1_621" + | "C_37" + | "BA_2_75" + | "BA_2_75_2" + | "BF_7" + | "BQ_1" + | "BQ_1_1" + | "XBB" + | "other_table" + | "other_graph"; values: NlVariantsVariantValue[]; last_value: NlVariantsVariantValue; } @@ -1132,136 +1132,136 @@ export interface NlVariantsVariantValue { } export type TopicalIcon = - | 'AfstandSporten' - | 'AlcoholVerkoop' - | 'Archive' - | 'Arrow' - | 'Arts' - | 'Avondklok' - | 'BarChart' - | 'BasisregelsAfstand' - | 'BasisregelsDrukte' - | 'BasisregelsElleboog' - | 'BasisregelsGeenBezoek' - | 'BasisregelsHandenwassen' - | 'BasisregelsMondkapje' - | 'BasisregelsTesten' - | 'Bevolking' - | 'Bezoek' - | 'Bibliotheek' - | 'BinnenMetZitplaats' - | 'BinnenZonderZitplaats' - | 'Binnensporten' - | 'Binnensportlocaties' - | 'Boosterprik' - | 'Calendar' - | 'Check' - | 'Checked' - | 'ChevronDown' - | 'ChevronRight' - | 'Clock' - | 'Close' - | 'CloseThick' - | 'ContactBeroepen' - | 'Coronathermometer' - | 'Coronavirus' - | 'Cross' - | 'Database' - | 'DoorstroomEvenementen' - | 'Dot' - | 'Down' - | 'Download' - | 'EenPersoonDoorgestreept' - | 'Elderly' - | 'Expand' - | 'Experimenteel' - | 'External' - | 'Eye' - | 'FrisseLucht' - | 'GedeeltelijkOpenRugzak' - | 'GeenEntertainment' - | 'GeenMaxAantalBezoekers' - | 'GeenWedstrijden' - | 'Gehandicaptenzorg' - | 'GeorganiseerdeKunstEnCultuurbeoefening' - | 'GgdTesten' - | 'Groepen' - | 'HealthCare' - | 'HomeAndVisits' - | 'HorecaEnEvenementenBestellen' - | 'HorecaEnEvenementenEtendrinken' - | 'HorecaEnEvenementenEvenementen' - | 'HorecaEvenementen' - | 'Hospitality' - | 'Information' - | 'IntensiveCareOpnames' - | 'Klachten' - | 'Klok210001' - | 'KunstCultuur' - | 'KunstcultuurMusea' - | 'Line' - | 'Locaties' - | 'Location' - | 'Lopend' - | 'Maatregelen' - | 'MaxAantalBezoekers' - | 'MaxVisitors' - | 'MedischeScreening' - | 'MeerInformatie' - | 'MeerdaagseEvenementen' - | 'Menu' - | 'Mondkapje' - | 'Nederland' - | 'Notification' - | 'OnderwijsEnKinderopvangNoodopvang' - | 'OnderwijsEnKinderopvangOpAfstand' - | 'OntmoetingenBezoek' - | 'OpenbaarVervoer' - | 'Openingstijden' - | 'Other' - | 'Overige' - | 'Phone' - | 'Recreatie' - | 'Reizen' - | 'ReproductieGraf' - | 'Reproductiegetal' - | 'Rioolvirus' - | 'SearchIcon' - | 'SearchIconBold' - | 'SportBuiten' - | 'SportMetZweetband' - | 'SportWedstrijden' - | 'Stap1HorecaMax' - | 'Stap1HorecaPertafel' - | 'Stap1HorecaVerplaatsen' - | 'Stap1OnderwijsBibliotheek' - | 'Stap1OnderwijsOpen' - | 'Stap1Theorie' - | 'Stap1Thuisbezoek' - | 'Stap1Uitvaarten' - | 'Stap1WinkelsAlleen' - | 'Stap1WinkelsMarkten' - | 'Stap1WinkelsOpen' - | 'Stopwatch' - | 'Taxi' - | 'Testbewijs' - | 'Toegangsbewijzen' - | 'Travel' - | 'Unchecked' - | 'Up' - | 'Vaccinaties' - | 'Varianten' - | 'Verpleeghuis' - | 'VervoerEnReizenBuitenland' - | 'VervoerEnReizenOv' - | 'Vliegen' - | 'Warn' - | 'Warning' - | 'WinkelenEnBoodschappenAlcohol' - | 'WinkelenEnBoodschappenOpen' - | 'Work' - | 'Ziekenhuis' - | 'Ziektegolf'; + | "AfstandSporten" + | "AlcoholVerkoop" + | "Archive" + | "Arrow" + | "Arts" + | "Avondklok" + | "BarChart" + | "BasisregelsAfstand" + | "BasisregelsDrukte" + | "BasisregelsElleboog" + | "BasisregelsGeenBezoek" + | "BasisregelsHandenwassen" + | "BasisregelsMondkapje" + | "BasisregelsTesten" + | "Bevolking" + | "Bezoek" + | "Bibliotheek" + | "BinnenMetZitplaats" + | "BinnenZonderZitplaats" + | "Binnensporten" + | "Binnensportlocaties" + | "Boosterprik" + | "Calendar" + | "Check" + | "Checked" + | "ChevronDown" + | "ChevronRight" + | "Clock" + | "Close" + | "CloseThick" + | "ContactBeroepen" + | "Coronathermometer" + | "Coronavirus" + | "Cross" + | "Database" + | "DoorstroomEvenementen" + | "Dot" + | "Down" + | "Download" + | "EenPersoonDoorgestreept" + | "Elderly" + | "Expand" + | "Experimenteel" + | "External" + | "Eye" + | "FrisseLucht" + | "GedeeltelijkOpenRugzak" + | "GeenEntertainment" + | "GeenMaxAantalBezoekers" + | "GeenWedstrijden" + | "Gehandicaptenzorg" + | "GeorganiseerdeKunstEnCultuurbeoefening" + | "GgdTesten" + | "Groepen" + | "HealthCare" + | "HomeAndVisits" + | "HorecaEnEvenementenBestellen" + | "HorecaEnEvenementenEtendrinken" + | "HorecaEnEvenementenEvenementen" + | "HorecaEvenementen" + | "Hospitality" + | "Information" + | "IntensiveCareOpnames" + | "Klachten" + | "Klok210001" + | "KunstCultuur" + | "KunstcultuurMusea" + | "Line" + | "Locaties" + | "Location" + | "Lopend" + | "Maatregelen" + | "MaxAantalBezoekers" + | "MaxVisitors" + | "MedischeScreening" + | "MeerInformatie" + | "MeerdaagseEvenementen" + | "Menu" + | "Mondkapje" + | "Nederland" + | "Notification" + | "OnderwijsEnKinderopvangNoodopvang" + | "OnderwijsEnKinderopvangOpAfstand" + | "OntmoetingenBezoek" + | "OpenbaarVervoer" + | "Openingstijden" + | "Other" + | "Overige" + | "Phone" + | "Recreatie" + | "Reizen" + | "ReproductieGraf" + | "Reproductiegetal" + | "Rioolvirus" + | "SearchIcon" + | "SearchIconBold" + | "SportBuiten" + | "SportMetZweetband" + | "SportWedstrijden" + | "Stap1HorecaMax" + | "Stap1HorecaPertafel" + | "Stap1HorecaVerplaatsen" + | "Stap1OnderwijsBibliotheek" + | "Stap1OnderwijsOpen" + | "Stap1Theorie" + | "Stap1Thuisbezoek" + | "Stap1Uitvaarten" + | "Stap1WinkelsAlleen" + | "Stap1WinkelsMarkten" + | "Stap1WinkelsOpen" + | "Stopwatch" + | "Taxi" + | "Testbewijs" + | "Toegangsbewijzen" + | "Travel" + | "Unchecked" + | "Up" + | "Vaccinaties" + | "Varianten" + | "Verpleeghuis" + | "VervoerEnReizenBuitenland" + | "VervoerEnReizenOv" + | "Vliegen" + | "Warn" + | "Warning" + | "WinkelenEnBoodschappenAlcohol" + | "WinkelenEnBoodschappenOpen" + | "Work" + | "Ziekenhuis" + | "Ziektegolf"; export interface Topical { version: string; @@ -1298,8 +1298,8 @@ export interface TopicalThemeTile { title: MultilanguageString; dynamicDescription: MultilanguageString; trendIcon: { - direction: 'UP' | 'DOWN'; - color: 'GREEN' | 'RED'; + direction: "UP" | "DOWN"; + color: "GREEN" | "RED"; } | null; tileIcon: TopicalIcon; cta: { @@ -1505,45 +1505,45 @@ export interface VrBehaviorArchived_20221019 { export interface VrBehaviorArchived_20221019Value { number_of_participants: number; curfew_compliance?: number | null; - curfew_compliance_trend: ('up' | 'down' | 'equal') | null; + curfew_compliance_trend: ("up" | "down" | "equal") | null; wash_hands_compliance?: number | null; - wash_hands_compliance_trend: ('up' | 'down' | 'equal') | null; + wash_hands_compliance_trend: ("up" | "down" | "equal") | null; keep_distance_compliance?: number | null; - keep_distance_compliance_trend: ('up' | 'down' | 'equal') | null; + keep_distance_compliance_trend: ("up" | "down" | "equal") | null; work_from_home_compliance?: number | null; - work_from_home_compliance_trend: ('up' | 'down' | 'equal') | null; + work_from_home_compliance_trend: ("up" | "down" | "equal") | null; avoid_crowds_compliance?: number | null; - avoid_crowds_compliance_trend: ('up' | 'down' | 'equal') | null; + avoid_crowds_compliance_trend: ("up" | "down" | "equal") | null; wear_mask_public_indoors_compliance?: number | null; - wear_mask_public_indoors_compliance_trend: ('up' | 'down' | 'equal') | null; + wear_mask_public_indoors_compliance_trend: ("up" | "down" | "equal") | null; sneeze_cough_elbow_compliance?: number | null; - sneeze_cough_elbow_compliance_trend: ('up' | 'down' | 'equal') | null; + sneeze_cough_elbow_compliance_trend: ("up" | "down" | "equal") | null; max_visitors_compliance?: number | null; - max_visitors_compliance_trend: ('up' | 'down' | 'equal') | null; + max_visitors_compliance_trend: ("up" | "down" | "equal") | null; ventilate_home_compliance?: number | null; - ventilate_home_compliance_trend: ('up' | 'down' | 'equal') | null; + ventilate_home_compliance_trend: ("up" | "down" | "equal") | null; selftest_visit_compliance?: number | null; - selftest_visit_compliance_trend: ('up' | 'down' | 'equal') | null; + selftest_visit_compliance_trend: ("up" | "down" | "equal") | null; curfew_support?: number | null; - curfew_support_trend: ('up' | 'down' | 'equal') | null; + curfew_support_trend: ("up" | "down" | "equal") | null; wash_hands_support?: number | null; - wash_hands_support_trend: ('up' | 'down' | 'equal') | null; + wash_hands_support_trend: ("up" | "down" | "equal") | null; keep_distance_support?: number | null; - keep_distance_support_trend: ('up' | 'down' | 'equal') | null; + keep_distance_support_trend: ("up" | "down" | "equal") | null; work_from_home_support?: number | null; - work_from_home_support_trend: ('up' | 'down' | 'equal') | null; + work_from_home_support_trend: ("up" | "down" | "equal") | null; avoid_crowds_support?: number | null; - avoid_crowds_support_trend: ('up' | 'down' | 'equal') | null; + avoid_crowds_support_trend: ("up" | "down" | "equal") | null; wear_mask_public_indoors_support?: number | null; - wear_mask_public_indoors_support_trend: ('up' | 'down' | 'equal') | null; + wear_mask_public_indoors_support_trend: ("up" | "down" | "equal") | null; sneeze_cough_elbow_support?: number | null; - sneeze_cough_elbow_support_trend: ('up' | 'down' | 'equal') | null; + sneeze_cough_elbow_support_trend: ("up" | "down" | "equal") | null; max_visitors_support?: number | null; - max_visitors_support_trend: ('up' | 'down' | 'equal') | null; + max_visitors_support_trend: ("up" | "down" | "equal") | null; ventilate_home_support?: number | null; - ventilate_home_support_trend: ('up' | 'down' | 'equal') | null; + ventilate_home_support_trend: ("up" | "down" | "equal") | null; selftest_visit_support?: number | null; - selftest_visit_support_trend: ('up' | 'down' | 'equal') | null; + selftest_visit_support_trend: ("up" | "down" | "equal") | null; date_start_unix: number; date_end_unix: number; date_of_insertion_unix: number; @@ -1634,7 +1634,7 @@ export interface VrVaccineCoveragePerAgeGroup { values: VrVaccineCoveragePerAgeGroupValue[]; } export interface VrVaccineCoveragePerAgeGroupValue { - age_group_range: '12+' | '18+' | '60+'; + age_group_range: "12+" | "18+" | "60+"; autumn_2022_vaccinated_percentage: number | null; fully_vaccinated_percentage: number | null; booster_shot_percentage: number | null; @@ -1649,7 +1649,7 @@ export interface VrVaccineCoveragePerAgeGroupArchived { values: VrVaccineCoveragePerAgeGroupArchivedValue[]; } export interface VrVaccineCoveragePerAgeGroupArchivedValue { - age_group_range: '12+' | '18+'; + age_group_range: "12+" | "18+"; fully_vaccinated_percentage: number | null; has_one_shot_percentage: number | null; birthyear_range: string; @@ -1662,7 +1662,7 @@ export interface VrVaccineCoveragePerAgeGroupArchived_20220908 { values: VrVaccineCoveragePerAgeGroupArchived_20220908Value[]; } export interface VrVaccineCoveragePerAgeGroupArchived_20220908Value { - age_group_range: '12+' | '18+'; + age_group_range: "12+" | "18+"; fully_vaccinated_percentage: number | null; booster_shot_percentage: number | null; has_one_shot_percentage: number | null; @@ -1677,14 +1677,14 @@ export interface VrBoosterCoverage { values: VrBoosterCoverageValue[]; } export interface VrBoosterCoverageValue { - age_group?: '12+' | '18+'; + age_group?: "12+" | "18+"; percentage: number; percentage_label: string | null; date_unix: number; date_of_insertion_unix: number; } -export type VrCollectionId = 'VR_COLLECTION'; +export type VrCollectionId = "VR_COLLECTION"; export interface VrCollection { last_generated: string; @@ -1737,41 +1737,41 @@ export interface VrCollectionBehaviorArchived_20221019 { vrcode: string; number_of_participants: number; curfew_compliance?: number | null; - curfew_compliance_trend: ('up' | 'down' | 'equal') | null; + curfew_compliance_trend: ("up" | "down" | "equal") | null; wash_hands_compliance?: number | null; - wash_hands_compliance_trend: ('up' | 'down' | 'equal') | null; + wash_hands_compliance_trend: ("up" | "down" | "equal") | null; keep_distance_compliance?: number | null; - keep_distance_compliance_trend: ('up' | 'down' | 'equal') | null; + keep_distance_compliance_trend: ("up" | "down" | "equal") | null; work_from_home_compliance?: number | null; - work_from_home_compliance_trend: ('up' | 'down' | 'equal') | null; + work_from_home_compliance_trend: ("up" | "down" | "equal") | null; avoid_crowds_compliance?: number | null; - avoid_crowds_compliance_trend: ('up' | 'down' | 'equal') | null; + avoid_crowds_compliance_trend: ("up" | "down" | "equal") | null; wear_mask_public_indoors_compliance?: number | null; - wear_mask_public_indoors_compliance_trend: ('up' | 'down' | 'equal') | null; + wear_mask_public_indoors_compliance_trend: ("up" | "down" | "equal") | null; sneeze_cough_elbow_compliance?: number | null; - sneeze_cough_elbow_compliance_trend: ('up' | 'down' | 'equal') | null; + sneeze_cough_elbow_compliance_trend: ("up" | "down" | "equal") | null; max_visitors_compliance?: number | null; - max_visitors_compliance_trend: ('up' | 'down' | 'equal') | null; + max_visitors_compliance_trend: ("up" | "down" | "equal") | null; ventilate_home_compliance?: number | null; - ventilate_home_compliance_trend: ('up' | 'down' | 'equal') | null; + ventilate_home_compliance_trend: ("up" | "down" | "equal") | null; curfew_support?: number | null; - curfew_support_trend: ('up' | 'down' | 'equal') | null; + curfew_support_trend: ("up" | "down" | "equal") | null; wash_hands_support?: number | null; - wash_hands_support_trend: ('up' | 'down' | 'equal') | null; + wash_hands_support_trend: ("up" | "down" | "equal") | null; keep_distance_support?: number | null; - keep_distance_support_trend: ('up' | 'down' | 'equal') | null; + keep_distance_support_trend: ("up" | "down" | "equal") | null; work_from_home_support?: number | null; - work_from_home_support_trend: ('up' | 'down' | 'equal') | null; + work_from_home_support_trend: ("up" | "down" | "equal") | null; avoid_crowds_support?: number | null; - avoid_crowds_support_trend: ('up' | 'down' | 'equal') | null; + avoid_crowds_support_trend: ("up" | "down" | "equal") | null; wear_mask_public_indoors_support?: number | null; - wear_mask_public_indoors_support_trend: ('up' | 'down' | 'equal') | null; + wear_mask_public_indoors_support_trend: ("up" | "down" | "equal") | null; sneeze_cough_elbow_support?: number | null; - sneeze_cough_elbow_support_trend: ('up' | 'down' | 'equal') | null; + sneeze_cough_elbow_support_trend: ("up" | "down" | "equal") | null; max_visitors_support?: number | null; - max_visitors_support_trend: ('up' | 'down' | 'equal') | null; + max_visitors_support_trend: ("up" | "down" | "equal") | null; ventilate_home_support?: number | null; - ventilate_home_support_trend: ('up' | 'down' | 'equal') | null; + ventilate_home_support_trend: ("up" | "down" | "equal") | null; date_start_unix: number; date_end_unix: number; date_of_insertion_unix: number; @@ -1811,7 +1811,7 @@ export interface VrCollectionSituations { } export interface VrCollectionVaccineCoveragePerAgeGroup { vrcode: string; - age_group_range: '12+' | '18+' | '60+'; + age_group_range: "12+" | "18+" | "60+"; autumn_2022_vaccinated_percentage: number | null; fully_vaccinated_percentage: number | null; booster_shot_percentage: number | null;