Skip to content

Commit

Permalink
Add non required metadata fields to mapper
Browse files Browse the repository at this point in the history
  • Loading branch information
genie9 committed Mar 25, 2022
1 parent 50d8ad6 commit 71d9efb
Show file tree
Hide file tree
Showing 2 changed files with 393 additions and 56 deletions.
8 changes: 7 additions & 1 deletion metadata_backend/helpers/metax/metax_api_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ def __init__(self, req: Request) -> None:
"description": {"en": ""},
# default
"access_rights": {
"access_type": {"identifier": "http://uri.suomi.fi/codelist/fairdata/access_type/code/restricted"},
"access_type": {
"identifier": "http://uri.suomi.fi/codelist/fairdata/access_type/code/restricted",
"pref_label": {
"fi": "Saatavuutta rajoitettu",
"en": "Restricted use",
},
}
},
# default
"publisher": {
Expand Down
Loading

0 comments on commit 71d9efb

Please sign in to comment.