From 42cead464347f1ab06401acbeff4f1cbe75668ed Mon Sep 17 00:00:00 2001 From: lucasrodes Date: Thu, 12 Dec 2024 12:19:38 +0100 Subject: [PATCH] add schema --- etl/steps/export/multidim/covid/latest/covid.cases.yml | 1 + etl/steps/export/multidim/covid/latest/covid.cases_tests.yml | 2 ++ etl/steps/export/multidim/covid/latest/covid.covax.yml | 4 ++++ etl/steps/export/multidim/covid/latest/covid.deaths.yml | 1 + etl/steps/export/multidim/covid/latest/covid.hospital.yml | 2 +- etl/steps/export/multidim/covid/latest/covid.mobility.yml | 1 + etl/steps/export/multidim/covid/latest/covid.models.yml | 4 ++++ .../export/multidim/covid/latest/covid.vax_breakdowns.yml | 3 ++- etl/steps/export/multidim/covid/latest/covid.xm_models.yml | 5 ++++- 9 files changed, 20 insertions(+), 3 deletions(-) diff --git a/etl/steps/export/multidim/covid/latest/covid.cases.yml b/etl/steps/export/multidim/covid/latest/covid.cases.yml index c939236f9d4..2f3c4fe5ee6 100644 --- a/etl/steps/export/multidim/covid/latest/covid.cases.yml +++ b/etl/steps/export/multidim/covid/latest/covid.cases.yml @@ -7,6 +7,7 @@ definitions: entity: true time: true changeInPrefix: true + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json title: title: COVID-19 confirmed cases diff --git a/etl/steps/export/multidim/covid/latest/covid.cases_tests.yml b/etl/steps/export/multidim/covid/latest/covid.cases_tests.yml index 9ca21fa345e..926657085bc 100644 --- a/etl/steps/export/multidim/covid/latest/covid.cases_tests.yml +++ b/etl/steps/export/multidim/covid/latest/covid.cases_tests.yml @@ -24,6 +24,7 @@ views: x: grapher/covid/latest/cases_deaths/cases_deaths#new_cases_7_day_avg_right config: chartTypes: ["ScatterPlot"] + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json - dimensions: normalize: per_capita indicators: @@ -31,6 +32,7 @@ views: x: grapher/covid/latest/cases_deaths/cases_deaths#new_cases_per_million_7_day_avg_right color: 123 config: + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json chartTypes: ["ScatterPlot"] map: colorScale: diff --git a/etl/steps/export/multidim/covid/latest/covid.covax.yml b/etl/steps/export/multidim/covid/latest/covid.covax.yml index c6fcfaa58c0..c8690e62d11 100644 --- a/etl/steps/export/multidim/covid/latest/covid.covax.yml +++ b/etl/steps/export/multidim/covid/latest/covid.covax.yml @@ -70,6 +70,7 @@ views: chartTypes: ["StackedDiscreteBar"] sortBy: column sortColumnSlug: "{definitions.table}#delivered" + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json dimensions: - property: y variableId: 988127 @@ -101,6 +102,7 @@ views: note: COVAX is a worldwide initiative aimed at equitable access to COVID-19 vaccines. It is directed by Gavi, CEPI, and the WHO. Gross domestic product is expressed in U.S. Dollars; it is sourced from the World Bank and OECD. originUrl: ourworldindata.org/coronavirus chartTypes: ["StackedDiscreteBar"] + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json - dimensions: normalize: per_dose @@ -116,6 +118,7 @@ views: note: COVAX is a worldwide initiative aimed at equitable access to COVID-19 vaccines. It is directed by Gavi, CEPI, and the WHO. Gross domestic product is expressed in U.S. Dollars; it is sourced from the World Bank and OECD. originUrl: ourworldindata.org/coronavirus chartTypes: ["StackedDiscreteBar"] + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json - dimensions: normalize: per_gdp @@ -131,3 +134,4 @@ views: note: COVAX is a worldwide initiative aimed at equitable access to COVID-19 vaccines. It is directed by Gavi, CEPI, and the WHO. Gross domestic product is expressed in U.S. Dollars; it is sourced from the World Bank and OECD. originUrl: ourworldindata.org/coronavirus chartTypes: ["StackedDiscreteBar"] + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json diff --git a/etl/steps/export/multidim/covid/latest/covid.deaths.yml b/etl/steps/export/multidim/covid/latest/covid.deaths.yml index 42d4e5f3dbc..f57ea1b2b6e 100644 --- a/etl/steps/export/multidim/covid/latest/covid.deaths.yml +++ b/etl/steps/export/multidim/covid/latest/covid.deaths.yml @@ -1,6 +1,7 @@ definitions: table: grapher/covid/latest/cases_deaths/cases_deaths config: &config + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json tab: map originUrl: ourworldindata.org/coronavirus hideAnnotationFieldsInTitle: diff --git a/etl/steps/export/multidim/covid/latest/covid.hospital.yml b/etl/steps/export/multidim/covid/latest/covid.hospital.yml index 6cf63899fa0..58ec5ec722b 100644 --- a/etl/steps/export/multidim/covid/latest/covid.hospital.yml +++ b/etl/steps/export/multidim/covid/latest/covid.hospital.yml @@ -1,13 +1,13 @@ definitions: table: grapher/covid/latest/hospital/hospital config: &config + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json hideAnnotationFieldsInTitle: entity: true time: true changeInPrefix: true originUrl: ourworldindata.org/coronavirus - title: title: COVID-19 hospitalisations titleVariant: by type diff --git a/etl/steps/export/multidim/covid/latest/covid.mobility.yml b/etl/steps/export/multidim/covid/latest/covid.mobility.yml index 0da7e1301f7..9da7e7b7037 100644 --- a/etl/steps/export/multidim/covid/latest/covid.mobility.yml +++ b/etl/steps/export/multidim/covid/latest/covid.mobility.yml @@ -47,6 +47,7 @@ views: - "{definitions.table}#trend__place_workplaces" config: + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json title: "How did the number of visitors change since the beginning of the pandemic?" subtitle: This data shows how community movement in specific locations has changed relative to the period before the pandemic. note: It's not recommended to compare levels across countries; local differences in categories could be misleading. diff --git a/etl/steps/export/multidim/covid/latest/covid.models.yml b/etl/steps/export/multidim/covid/latest/covid.models.yml index ce5077614f9..9f384a805eb 100644 --- a/etl/steps/export/multidim/covid/latest/covid.models.yml +++ b/etl/steps/export/multidim/covid/latest/covid.models.yml @@ -38,6 +38,7 @@ views: - "grapher/covid/latest/cases_deaths/cases_deaths#new_cases_7_day_avg_right" config: + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json title: "Daily new estimated COVID-19 infections from the ICL model" subtitle: Estimates of the true number of infections. The "upper" and "lower" lines show the bounds of a 95% uncertainty interval. For comparison, confirmed cases are infections that have been confirmed with a test. note: This chart shows the model estimates dated 25 December 2022. @@ -56,6 +57,7 @@ views: - "grapher/covid/latest/cases_deaths/cases_deaths#new_cases_7_day_avg_right" config: + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json title: "Daily new estimated COVID-19 infections from the IHME model" subtitle: Estimates of the true number of infections. The "upper" and "lower" lines show the bounds of a 95% uncertainty interval. For comparison, confirmed cases are infections that have been confirmed with a test. note: This chart shows the model estimates dated 16 December 2022. @@ -74,6 +76,7 @@ views: - "grapher/covid/latest/cases_deaths/cases_deaths#new_cases_7_day_avg_right" config: + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json title: "Daily new estimated COVID-19 infections from the LSHTM model" subtitle: Estimates of the true number of infections. The "upper" and "lower" lines show the bounds of a 95% uncertainty interval. For comparison, confirmed cases are infections that have been confirmed with a test. note: This chart shows the model estimates dated 25 August 2020. @@ -92,6 +95,7 @@ views: - "grapher/covid/latest/cases_deaths/cases_deaths#new_cases_7_day_avg_right" config: + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json title: "Daily new estimated COVID-19 infections from the YYG model" subtitle: Estimates of the true number of infections. The "upper" and "lower" lines show the bounds of a 95% uncertainty interval. For comparison, confirmed cases are infections that have been confirmed with a test. note: This chart shows the model estimates dated 4 October 2020. YYG announced that this is the final model update. diff --git a/etl/steps/export/multidim/covid/latest/covid.vax_breakdowns.yml b/etl/steps/export/multidim/covid/latest/covid.vax_breakdowns.yml index 6c7458f0ea2..6f02057ee63 100644 --- a/etl/steps/export/multidim/covid/latest/covid.vax_breakdowns.yml +++ b/etl/steps/export/multidim/covid/latest/covid.vax_breakdowns.yml @@ -23,13 +23,13 @@ dimensions: name: Manufacturer description: null - views: - dimensions: breakdown: income_group indicators: y: "grapher/covid/latest/vaccinations_global/vaccinations_global#total_vaccinations_per_hundred" config: + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json addCountryMode: "disabled" selectedEntityNames: - High-income countries @@ -55,6 +55,7 @@ views: - "{definitions.table}#total_vaccinations__vaccine_skycovione" - "{definitions.table}#total_vaccinations__vaccine_valneva" config: + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json chartTypes: ["StackedArea"] selectedEntityNames: - European Union (27) diff --git a/etl/steps/export/multidim/covid/latest/covid.xm_models.yml b/etl/steps/export/multidim/covid/latest/covid.xm_models.yml index 22963d3d376..3f54a86c669 100644 --- a/etl/steps/export/multidim/covid/latest/covid.xm_models.yml +++ b/etl/steps/export/multidim/covid/latest/covid.xm_models.yml @@ -43,13 +43,13 @@ views: - "{definitions.indicator_confirmed}" config: + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json title: "Estimated cumulative excess deaths during COVID-19" subtitle: For countries that have not reported all-cause mortality data for a given week, an estimate is shown, with uncertainty interval. If reported data is available, that value only is shown. For comparison, cumulative confirmed COVID-19 deaths are shown. originUrl: ourworldindata.org/coronavirus hideAnnotationFieldsInTitle: time: true - # The Economist - dimensions: model: econ @@ -61,6 +61,7 @@ views: - "{definitions.indicator_confirmed}" config: + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json title: "Estimated cumulative excess deaths during COVID-19" subtitle: For countries that have not reported all-cause mortality data for a given week, an estimate is shown, with uncertainty interval. If reported data is available, that value only is shown. For comparison, cumulative confirmed COVID-19 deaths are shown. originUrl: ourworldindata.org/coronavirus @@ -78,6 +79,7 @@ views: - "{definitions.indicator_confirmed}" config: + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json title: "Estimated cumulative excess deaths during COVID-19" subtitle: For countries that have not reported all-cause mortality data for a given week, an estimate is shown, with uncertainty interval. If reported data is available, that value only is shown. For comparison, cumulative confirmed COVID-19 deaths are shown. originUrl: ourworldindata.org/coronavirus @@ -95,6 +97,7 @@ views: - "{definitions.indicator_confirmed}" config: + $schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json title: "Estimated cumulative excess deaths during COVID-19" subtitle: For countries that have not reported all-cause mortality data for a given week, an estimate is shown, with uncertainty interval. If reported data is available, that value only is shown. For comparison, cumulative confirmed COVID-19 deaths are shown. originUrl: ourworldindata.org/coronavirus