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
12 stars 1 forks source link

Tests: Add a test to check that example JSON files are valid and do not contain additional fields #230

Open duncandewhurst opened 10 months ago

duncandewhurst commented 10 months ago

https://github.com/GFDRR/rdl-standard/pull/196 adds several example JSON files.

We should add a test to make sure that these stay in sync with any changes to the schema.

radix0000 commented 10 months ago

Noticed that this file:

https://raw.githubusercontent.com/GFDRR/rdl-standard/dev/examples/exposure/central_asia_residential_current/example.json

fails validation due to an extra space at the end of creator/utl (i.e. "url": "http://www.redrisk.com/ ").