Skip to content

Commit

Permalink
config: document namespaces and metadata extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
topless committed Jun 8, 2020
1 parent 01dbeb9 commit 8ea3457
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions cds_books/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,18 @@ def _parse_env_bool(var_name, default=None):

ILS_LITERATURE_COVER_URLS_BUILDER = build_syndetic_cover_urls

# Namespaces for fields added to the metadata schema
ILS_RECORDS_METADATA_NAMESPACES = {
"document": {
"accelerator_experiments": {
"@context": "https://inveniosoftware.org/accelerator_experiments/terms"
},
"standard_CERN_status": {
"@context": "https://inveniosoftware.org/standard_CERN_status/terms"
},
}
}

# Fields added to the metadata schema.
ILS_RECORDS_METADATA_EXTENSIONS = {
"document": {
Expand Down

0 comments on commit 8ea3457

Please sign in to comment.