Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update examples #235

Merged
merged 7 commits into from
Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
[submodule "flatten-tool"]
path = flatten-tool
url = https://github.com/OpenDataServices/flatten-tool/
branch = sheet-name-length
2 changes: 1 addition & 1 deletion docs/about/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ This page lists changes to the Risk Data Library Standard.
- [#210](https://github.com/GFDRR/rdl-standard/pull/210) - Replace `resource.`url with `.access_url` and `download_url`
- [#218](https://github.com/GFDRR/rdl-standard/pull/218) - `Vulnerability·taxonomy` removed from required array.
- [#220](https://github.com/GFDRR/rdl-standard/pull/220) - Reorder top-level fields.
- [#233](https://github.com/GFDRR/rdl-standard/pull/233), [#235](https://github.com/GFDRR/rdl-standard/pull/235) - Rename authorNames to `author_names`, datePublished to `date_published` and gazetteerEntries to `gazetteer_entries`.
- [#232](https://github.com/GFDRR/rdl-standard/pull/232)
- Convert `disaster_identifiers` to array of `Classification` objects.
- Add new codes to classification_scheme.csv.
- [#233](https://github.com/GFDRR/rdl-standard/pull/233) - Rename authorNames to `author_names`, datePublished to `date_published` and gazetteerEntries to `gazetteer_entries`.
- [#236](https://github.com/GFDRR/rdl-standard/pull/236) - Fix broken codelist reference URLs.

### Codelists
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"TKM",
"UZB"
],
"gazetteerEntries": [
"gazetteer_entries": [
{
"id": "KAZ",
"scheme": "ISO 3166-1 alpha-3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"TKM",
"UZB"
],
"gazetteerEntries": [
"gazetteer_entries": [
{
"id": "KAZ",
"scheme": "ISO 3166-1 alpha-3"
Expand Down
8 changes: 4 additions & 4 deletions examples/full/SFRARR_fluvialhazardmaps/example.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"UZB"
],
"scale": "regional",
"gazetteerEntries": [
"gazetteer_entries": [
{
"id": "0064232_gaz1",
"scheme": "ISO 3166-1 alpha-3"
Expand Down Expand Up @@ -58,10 +58,10 @@
{
"id": "0064232_ref1",
"name": "Central Asia flood hazard technical report - English version",
"authorNames": [
"author_names": [
"Risk Engineering and Development"
],
"datePublished": "2023-02-09",
"date_published": "2023-02-09",
"url": "https://datacatalogfiles.worldbank.org/ddh-published/0064084/DR0090774/Task3_FloodHazard_Report_r5_EN.pdf?versionId=2023-07-21T17:34:14.1038579Z"
}
],
Expand Down Expand Up @@ -144,7 +144,7 @@
"UZB"
],
"scale": "regional",
"gazetteerEntries": [
"gazetteer_entries": [
{
"id": "KAZ",
"scheme": "ISO 3166-1 alpha-3",
Expand Down
4 changes: 2 additions & 2 deletions examples/vulnerability/flood_jrc/example.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@
{
"id": "1",
"name": "JRC Technical report - Global flood depth-damage functions",
"authorNames": [
"author_names": [
"Jan Huizinga",
"Hans de Moel",
"Wojciech Szewczyk"
],
"datePublished": "2017-04-12",
"date_published": "2017-04-12",
"url": "https://publications.jrc.ec.europa.eu/repository/bitstream/JRC105688/global_flood_depth-damage_functions__10042017.pdf",
"doi": "10.2760/16510"
}
Expand Down
9 changes: 6 additions & 3 deletions pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@

<!-- Complete the checklist before requesting a review. -->

- [ ] Update the changelog ([style guide](developer_docs.md#changelog-style-guide))
- [ ] Run `./manage.py` pre-commit

If you added, removed or renamed a field:

- [ ] Update the `collapse` option of the jsonschema directives for dataset, resource, hazard, exposure, vulnerability and loss on `reference/schema.md`
- [ ] Update the diagrams in `reference/schema/md`
- [ ] Update the JSON files in `examples`

Always:

- [ ] Run `./manage.py` pre-commit
- [ ] Update the changelog ([style guide](developer_docs.md#changelog-style-guide))

**Having trouble?**

Expand Down
Loading