Skip to content
6 changes: 6 additions & 0 deletions docs/about/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ This page lists changes to the Risk Data Library Standard.

### Schema

- [#373](https://github.com/GFDRR/rdl-standard/pull/373):
- Add `License` to `$defs`
- Add `format: iri` to `License`.
- Add field `license` to `source` object.
- [#394](https://github.com/GFDRR/rdl-standard/pull/394) - Add conditional validation of `Location.countries` array length.
- [#396](https://github.com/GFDRR/rdl-standard/pull/396)
- `Entity`: Require any of `.email`, `.url`.
Expand All @@ -17,6 +21,8 @@ This page lists changes to the Risk Data Library Standard.
- [#370](https://github.com/GFDRR/rdl-standard/pull/370), [#383](https://github.com/GFDRR/rdl-standard/pull/383) - 'IMT.csv' Expanded list and updated structure.
- [#385](https://github.com/GFDRR/rdl-standard/pull/385) - Add 'volcano_gas_aerosols' to `process_type.csv`.
- [#384](https://github.com/GFDRR/rdl-standard/pull/384) - Rename non-unique 'loss_ratio' codes in `impact_metric.csv`.
- [#370](https://github.com/GFDRR/rdl-standard/pull/370) - 'IMT.csv' Expanded list and updated structure.
- [#373](https://github.com/GFDRR/rdl-standard/pull/373) - 'license.csv' Expanded list and updated structure.

### Normative documentation

Expand Down
1 change: 1 addition & 0 deletions docs/reference/codelists.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ This codelist has the following codes:
This codelist is referenced by the following properties:

- [`license`](rdls_schema.json,,license)
- [`Source/license`](rdls_schema.json,/$defs/Source,license)

This codelist has the following codes:

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ Each `Source` has the following fields:
```{jsonschema} ../../docs/_readthedocs/html/rdls_schema.json
---
pointer: /$defs/Source
collapse:
collapse: license
addtargets:
---
```
Expand Down
20 changes: 10 additions & 10 deletions schema/codelists/open/license.csv
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Code,Title,Source,OpenDefinitionCategory,Domain
CC0-1.0,Creative Commons CCZero,https://creativecommons.org/publicdomain/zero/1.0/,"Content,data",Open Definition recommended conformant license
CC-BY-4.0,Creative Commons Attribution 4.0,https://creativecommons.org/licenses/by/4.0/,"Content,data",Open Definition recommended conformant license
CC-BY-SA-4.0,Creative Commons Attribution Share-Alike 4.0,https://creativecommons.org/licenses/by-sa/4.0/,"Content,data",Open Definition recommended conformant license
CC-BY-NC-SA-4.0,Creative Commons Attribution-NonCommercial-Share-Alike 4.0,https://creativecommons.org/licenses/by-nc-sa/4.0/,"Content,data",
CC BY-ND 4.0,Creative Commons Attribution-NoDerivatives 4.0 International,https://creativecommons.org/licenses/by-nd/4.0/,"Content,data",
CC BY-NC-ND 4.0,Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International,https://creativecommons.org/licenses/by-nc-nd/4.0/,"Content,data",
ODbL-1.0,Open Data Commons Open Database License,https://opendatacommons.org/licenses/odbl/summary/,Data,Open Definition recommended conformant license
ODC-By-1.0,Open Data Commons Attribution License,https://opendatacommons.org/licenses/by/1-0/,Data,Open Definition recommended conformant license
PDDL-1.0,Open Data Commons Public Domain Dedication and License,http://opendatacommons.org/licenses/pddl/1.0/,Data,Open Definition recommended conformant license
Code,Title,Description
https://creativecommons.org/publicdomain/zero/1.0/,CC0 1.0,Creative Commons CC0 1.0 Universal
https://creativecommons.org/licenses/by/4.0/,CC BY 4.0,Creative Commons Attribution 4.0 International
https://creativecommons.org/licenses/by-sa/4.0/,CC BY-SA 4.0,Creative Commons Attribution-ShareAlike 4.0 International
https://creativecommons.org/licenses/by-nc-sa/4.0/,CC BY-NC-SA 4.0,Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
https://creativecommons.org/licenses/by-nd/4.0/,CC BY-ND 4.0,Creative Commons Attribution-NoDerivatives 4.0 International
https://creativecommons.org/licenses/by-nc-nd/4.0/,CC BY-NC-ND 4.0,Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International
https://opendatacommons.org/licenses/odbl/1-0/,ODbL 1.0,Open Data Commons Open Database License v1.0
https://opendatacommons.org/licenses/by/1-0/,ODC-By 1.0,Open Data Commons Attribution License v1.0
http://opendatacommons.org/licenses/pddl/1.0/,ODC PDDL 1.0,Open Data Commons Public Domain Dedication and License v1.0
21 changes: 16 additions & 5 deletions schema/rdls_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,8 @@
},
"license": {
"title": "License",
"type": "string",
"description": "A legal document giving official permission to do something with the dataset, taken from the open [license codelist](https://docs.riskdatalibrary.org/en/{{version}}/reference/codelists/#license). A Public Domain Dedication or [Open Definition Conformant](https://opendefinition.org/licenses/) license is recommended. Documents linked from this file may be under other license conditions.",
"codelist": "license.csv",
"openCodelist": true,
"minLength": 1
"description": "The URL of the legal document under which this dataset is made available, from the open [license codelist](https://docs.riskdatalibrary.org/en/{{version}}/reference/codelists/#license). If the license under which the dataset is made available is not included in the codelist, you may specify a custom license URL. When licensing a dataset, a Public Domain Dedication or [Open Definition Conformant](https://opendefinition.org/licenses/) license is recommended. Documents linked from this dataset can be made available under other license conditions.",
"$ref": "#/$defs/License"
},
"contact_point": {
"title": "Contact point",
Expand Down Expand Up @@ -923,6 +920,11 @@
"vulnerability",
"loss"
]
},
"license": {
"title": "License",
"description": "The URL of the legal document under which the source data is made available, from the open [license codelist](https://docs.riskdatalibrary.org/en/{{version}}/reference/codelists/#license). If the license under which the source data is made available is not included in the codelist, you may specify a custom license URL.",
"$ref": "#/$defs/License"
}
},
"minProperties": 1
Expand Down Expand Up @@ -2410,6 +2412,15 @@
},
"minProperties": 1
},
"License": {
"title": "License",
"type": "string",
"format": "iri",
"description": "The URL of the legal document under which data is made available.",
"codelist": "license.csv",
"openCodelist": true,
"minLength": 1
},
"Link": {
"title": "Link",
"description": "A link to a related resource.",
Expand Down