GFDRR / rdl-standard

The Risk Data Library Standard (RDLS) is an open data standard to make it easier to work with disaster and climate risk data. It provides a common description of the data used and produced in risk assessments, including hazard, exposure, vulnerability, and modelled loss, or impact, data.
https://docs.riskdatalibrary.org/
Creative Commons Attribution Share Alike 4.0 International
13 stars 1 forks source link

Validate metadata presence #128

Closed duncandewhurst closed 1 year ago

duncandewhurst commented 1 year ago

Description

This PR adds a test to validate that all fields have titles and descriptions. Presently, there are many errors. Once the schema changes are all merged into dev, we should merge dev into this branch and resolve any outstanding errors.

To ensure that all fields are checked, once https://github.com/open-contracting/jscc/issues/10 is resolved, we'll need to update to the latest version of JSCC and update https://github.com/GFDRR/rdl-standard/blob/c411db743bd1c10ed3e993fc7bcea46c262de3b6/tests/test_schema.py#L32

Merge checklist

duncandewhurst commented 1 year ago

Merged into https://github.com/GFDRR/rdl-standard/pull/127 in https://github.com/GFDRR/rdl-standard/pull/127/commits/dbadc5b866ef6fe7009538889bd6598351200589