Add national_coverage to CKAN DCAT schema.

parent f17d1341
...@@ -92,6 +92,8 @@ def create_schema(original_schema): ...@@ -92,6 +92,8 @@ def create_schema(original_schema):
'referentie_data': [default(False), recommended, single_value, boolean, to_extras], 'referentie_data': [default(False), recommended, single_value, boolean, to_extras],
'basis_register': [default(False), recommended, single_value, boolean, to_extras], 'basis_register': [default(False), recommended, single_value, boolean, to_extras],
'national_coverage': [default(False), single_value, boolean, to_extras],
'__after': [multi_field_validation] '__after': [multi_field_validation]
}) })
...@@ -213,6 +215,8 @@ def update_schema(original_schema): ...@@ -213,6 +215,8 @@ def update_schema(original_schema):
'referentie_data': [default(False), recommended, single_value, boolean, to_extras], 'referentie_data': [default(False), recommended, single_value, boolean, to_extras],
'basis_register': [default(False), recommended, single_value, boolean, to_extras], 'basis_register': [default(False), recommended, single_value, boolean, to_extras],
'national_coverage': [default(False), single_value, boolean, to_extras],
'__after': [multi_field_validation] '__after': [multi_field_validation]
}) })
...@@ -322,6 +326,8 @@ def show_schema(original_schema): ...@@ -322,6 +326,8 @@ def show_schema(original_schema):
'referentie_data': [from_extras, recommended, single_value], 'referentie_data': [from_extras, recommended, single_value],
'basis_register': [from_extras, recommended, single_value], 'basis_register': [from_extras, recommended, single_value],
'national_coverage': [from_extras, recommended, single_value],
'changetype': [from_extras, recommended, single_value] 'changetype': [from_extras, recommended, single_value]
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment