Skip to content

Commit

Permalink
[SUPDESQ-19] - updated license_id (#199)
Browse files Browse the repository at this point in the history
* [SUPDESQ-19] - updated license_id

* [SUPDESQ-19] - removed backward compatibility for publishing
  • Loading branch information
awset authored Aug 12, 2021
1 parent 0b96849 commit d400a6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ckanext/qdes_schema/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,9 @@ def map_update_schedule(uri, schema):
def map_license(uri, schema):
license_map = {
constants.PUBLISH_EXTERNAL_IDENTIFIER_DATA_QLD_SCHEMA: {
'https://linked.data.gov.au/def/licence-document/cc-by-4.0': 'cc-by-4',
'https://linked.data.gov.au/def/licence-document/cc-by-nd-4.0': 'cc-by-nd-4',
'https://linked.data.gov.au/def/licence-document/cc-by-sa-4.0': 'cc-by-sa-4'
'https://linked.data.gov.au/def/qld-data-licenses/cc-by-4.0': 'cc-by-4',
'https://linked.data.gov.au/def/qld-data-licenses/cc-by-nd-4.0': 'cc-by-nd-4',
'https://linked.data.gov.au/def/qld-data-licenses/cc-by-sa-4.0': 'cc-by-sa-4'
},
# @todo, in case needed, need to map this against external schema in future.
constants.PUBLISH_EXTERNAL_IDENTIFIER_QSPATIAL_SCHEMA: {},
Expand Down

0 comments on commit d400a6c

Please sign in to comment.