diff --git a/ckanext/qdes_schema/helpers.py b/ckanext/qdes_schema/helpers.py index 925d784e..b9914448 100644 --- a/ckanext/qdes_schema/helpers.py +++ b/ckanext/qdes_schema/helpers.py @@ -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: {},