X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/53acb1f3e125b31e3c0837a67bf0a4a9a29e4548..d7ba2c607dacf7a6136b83a1588b5adf2278ad46:/librarian/dcparser.py diff --git a/librarian/dcparser.py b/librarian/dcparser.py index 9faffe8..aa8f50d 100644 --- a/librarian/dcparser.py +++ b/librarian/dcparser.py @@ -127,6 +127,8 @@ class BookInfo(object): Field( DCNS('subject.period'), 'epochs', salias='epoch', multiple=True), Field( DCNS('subject.type'), 'kinds', salias='kind', multiple=True), Field( DCNS('subject.genre'), 'genres', salias='genre', multiple=True), + Field( DCNS('audience'), 'audiences', salias='audience', multiple=True, + required=False), Field( DCNS('date'), 'created_at', as_date), Field( DCNS('date.pd'), 'released_to_public_domain_at', as_date, required=False), Field( DCNS('contributor.editor'), 'editors', \ @@ -142,6 +144,7 @@ class BookInfo(object): Field( DCNS('relation.hasPart'), 'parts', multiple=True, required=False), Field( DCNS('rights.license'), 'license', required=False), Field( DCNS('rights'), 'license_description'), + Field( DCNS('language'), 'language'), Field( DCNS('description'), 'description', required=False), )