Skip to content

Commit

Permalink
EKIR-232 Add demarque to classification audience
Browse files Browse the repository at this point in the history
  • Loading branch information
natlibfi-kaisa committed Sep 3, 2024
1 parent 87f266b commit bcb15ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/model/classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class Subject(Base):
TAG: str = Classifier.TAG # Folksonomic tags.
FREEFORM_AUDIENCE: str = Classifier.FREEFORM_AUDIENCE
NYPL_APPEAL = Classifier.NYPL_APPEAL
DEMARQUE = Classifier.DEMARQUE

# Types with terms that are suitable for search.
TYPES_FOR_SEARCH = [FAST, OVERDRIVE, BISAC, TAG]
Expand Down Expand Up @@ -92,6 +93,7 @@ class Subject(Base):
"http://www.bisg.org/standards/bisac_subject/": BISAC,
# Feedbooks uses a modified BISAC which we know how to handle.
"http://www.feedbooks.com/categories": BISAC,
"http://schema.org/Audience": DEMARQUE,
}

uri_lookup = dict()
Expand Down

0 comments on commit bcb15ff

Please sign in to comment.