Skip to content

Commit

Permalink
Update JSON templates to standardize field names and add applicable l…
Browse files Browse the repository at this point in the history
…egislation
  • Loading branch information
mjanez committed Oct 23, 2024
1 parent 8de31b9 commit dae2d83
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ ckanext/schemingdcat/i18n/tools/input/input.yaml

# custom harvesters
doc/harvesters/*_config.json
doc/harvesters/*.config.json
!doc/harvesters/ckan_template_config.json
!doc/harvesters/xls_template_config.json
!doc/harvesters/csw_template_config.json
Expand Down
15 changes: 9 additions & 6 deletions doc/harvesters/ckan_template_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,13 @@
},
"theme_es":{
"field_name":"theme_es"
},
"hvd_category":{
"field_name":"hvd_category"
},
},
"hvd_category": {
"field_name": "hvd_category"
},
"applicable_legislation": {
"field_name": "applicable_legislation"
},
"language":{
"field_name":"language"
},
Expand Down Expand Up @@ -101,7 +104,7 @@
"publisher_type":{
"field_name":"publisher_type"
},
"maintainer":{
"maintainer_name":{
"field_name":"maintainer"
},
"maintainer_email":{
Expand All @@ -113,7 +116,7 @@
"maintainer_uri":{
"field_name":"maintainer_uri"
},
"author":{
"author_name":{
"field_name":"author"
},
"author_email":{
Expand Down
9 changes: 6 additions & 3 deletions doc/harvesters/sql_template_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@
"hvd_category": {
"field_value": "http://data.europa.eu/bna/c_dd313021"
},
"author": {
"applicable_legislation": {
"field_value": "http://data.europa.eu/eli/reg_impl/2023/138/oj"
},
"author_name": {
"field_value": null
},
"author_email": {
Expand All @@ -87,7 +90,7 @@
"author_uri": {
"field_value": null
},
"maintainer": {
"maintainer_name": {
"field_value": "Centro Nacional de Información Geográfica (CNIG)"
},
"maintainer_email": {
Expand All @@ -99,7 +102,7 @@
"maintainer_uri": {
"field_value": "http://datos.gob.es/recurso/sector-publico/org/Organismo/E00125901"
},
"publisher": {
"publisher_name": {
"field_value": "Centro Nacional de Información Geográfica (CNIG)"
},
"publisher_email": {
Expand Down

0 comments on commit dae2d83

Please sign in to comment.