Last active
March 30, 2022 16:11
-
-
Save willemarcel/828ecfbf18d57c0a4650e9a67fc0728f to your computer and use it in GitHub Desktop.
hazard-schemas payload
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "country_iso": "PHL", | |
| "is_global": false, | |
| "entries": [ | |
| { | |
| "hazard_type": 2, | |
| "always_applicable": true, | |
| "geography_classes": [], | |
| "geography_distance": {}, | |
| "geography_comparator": "lt", | |
| "threshold_key": "intensity", | |
| "threshold_value": 0, | |
| "threshold_comparator": "gt", | |
| "dataset_ids": [1] | |
| }, | |
| { | |
| "hazard_type": 3, | |
| "always_applicable": false, | |
| "geography_classes": [], | |
| "geography_distance": {}, | |
| "geography_comparator": "lt", | |
| "threshold_key": "intensity", | |
| "threshold_value": 1, | |
| "threshold_comparator": "gt", | |
| "dataset_ids": [6] | |
| }, | |
| { | |
| "hazard_type": 1, | |
| "always_applicable": false, | |
| "geography_classes": [], | |
| "geography_distance": {}, | |
| "geography_comparator": "lt", | |
| "threshold_key": "distance", | |
| "threshold_value": 25000, | |
| "threshold_comparator": "lt", | |
| "dataset_ids": [3] | |
| }, | |
| { | |
| "hazard_type": 11, | |
| "always_applicable": false, | |
| "geography_classes": [ | |
| "coastline" | |
| ], | |
| "geography_distance": { | |
| "coastline": 2000 | |
| }, | |
| "geography_comparator": "lt", | |
| "threshold_key": "intensity", | |
| "threshold_value": 0, | |
| "threshold_comparator": "gt", | |
| "dataset_ids": [4] | |
| }, | |
| { | |
| "hazard_type": 4, | |
| "always_applicable": true, | |
| "geography_classes": [], | |
| "geography_distance": {}, | |
| "geography_comparator": "lt", | |
| "threshold_key": "intensity", | |
| "threshold_value": 0, | |
| "threshold_comparator": "gt", | |
| "dataset_ids": [7] | |
| }, | |
| { | |
| "hazard_type": 6, | |
| "always_applicable": true, | |
| "geography_classes": [], | |
| "geography_distance": {}, | |
| "geography_comparator": "lt", | |
| "threshold_key": "", | |
| "threshold_value": 0, | |
| "threshold_comparator": "lt", | |
| "dataset_ids": [] | |
| }, | |
| { | |
| "hazard_type": 15, | |
| "always_applicable": false, | |
| "geography_classes": [ | |
| "coastline" | |
| ], | |
| "geography_distance": { | |
| "coastline": 5 | |
| }, | |
| "geography_comparator": "gt", | |
| "threshold_key": "intensity", | |
| "threshold_value": 0, | |
| "threshold_comparator": "gt", | |
| "dataset_ids": [2] | |
| }, | |
| { | |
| "hazard_type": 14, | |
| "always_applicable": false, | |
| "geography_classes": [], | |
| "geography_distance": {}, | |
| "geography_comparator": "lt", | |
| "threshold_key": "intensity", | |
| "threshold_value": 0, | |
| "threshold_comparator": "gt", | |
| "dataset_ids": [] | |
| }, | |
| { | |
| "hazard_type": 8, | |
| "always_applicable": false, | |
| "geography_classes": [ | |
| "coastline" | |
| ], | |
| "geography_distance": { | |
| "coastline": 5000 | |
| }, | |
| "geography_comparator": "lt", | |
| "threshold_key": "intensity", | |
| "threshold_value": 0, | |
| "threshold_comparator": "gt", | |
| "dataset_ids": [] | |
| }, | |
| { | |
| "hazard_type": 9, | |
| "always_applicable": false, | |
| "geography_classes": [ | |
| "forest" | |
| ], | |
| "geography_distance": { | |
| "forest": 4000 | |
| }, | |
| "geography_comparator": "lt", | |
| "threshold_key": "intensity", | |
| "threshold_value": 0, | |
| "threshold_comparator": "gt", | |
| "dataset_ids": [] | |
| }, | |
| { | |
| "hazard_type": 10, | |
| "always_applicable": true, | |
| "geography_classes": [], | |
| "geography_distance": {}, | |
| "geography_comparator": "lt", | |
| "threshold_key": "", | |
| "threshold_value": 0, | |
| "threshold_comparator": "gt", | |
| "dataset_ids": [] | |
| }, | |
| { | |
| "hazard_type": 5, | |
| "always_applicable": false, | |
| "geography_classes": [], | |
| "geography_distance": {}, | |
| "geography_comparator": "lt", | |
| "threshold_key": "intensity", | |
| "threshold_value": 0, | |
| "threshold_comparator": "gt", | |
| "dataset_ids": [] | |
| }, | |
| { | |
| "hazard_type": 16, | |
| "always_applicable": true, | |
| "geography_classes": [], | |
| "geography_distance": {}, | |
| "geography_comparator": "lt", | |
| "threshold_key": "intensity", | |
| "threshold_value": 0, | |
| "threshold_comparator": "gt", | |
| "dataset_ids": [] | |
| }, | |
| { | |
| "hazard_type": 12, | |
| "always_applicable": false, | |
| "geography_classes": [], | |
| "geography_distance": {}, | |
| "geography_comparator": "lt", | |
| "threshold_key": "intensity", | |
| "threshold_value": 0, | |
| "threshold_comparator": "gt", | |
| "dataset_ids": [] | |
| }, | |
| { | |
| "hazard_type": 13, | |
| "always_applicable": false, | |
| "geography_classes": [], | |
| "geography_distance": {}, | |
| "geography_comparator": "lt", | |
| "threshold_key": "intensity", | |
| "threshold_value": 0, | |
| "threshold_comparator": "gt", | |
| "dataset_ids": [] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@willemarcel this should be corrected to match https://gist.github.com/LanesGood/7ff33eca586949894ff11813e4a3e11b