X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/5f2702eda7a1b36f4d29658b5468b6b78745218c..6795396c107ee145c80d0dc24f197ecc3ba25b30:/librarian/dcparser.py diff --git a/librarian/dcparser.py b/librarian/dcparser.py index 5a571ec..d4bdc67 100644 --- a/librarian/dcparser.py +++ b/librarian/dcparser.py @@ -152,7 +152,7 @@ class WorkInfo(object): __metaclass__ = DCInfo FIELDS = ( - Field( DCNS('creator'), 'authors', as_person, salias='author', multiple=True), + Field( DCNS('creator'), 'authors', as_person, salias='author', multiple=True, required=False), Field( DCNS('title'), 'title'), Field( DCNS('type'), 'type', required=False, multiple=True), @@ -170,7 +170,7 @@ class WorkInfo(object): Field( DCNS('source'), 'source_name', required=False), Field( DCNS('source.URL'), 'source_url', required=False), - Field( DCNS('identifier.url'), 'url', WLURI, strict=as_wluri_strict), + Field( DCNS('identifier.url'), 'url', WLURI, strict=as_wluri_strict, required=False), Field( DCNS('rights.license'), 'license', required=False), Field( DCNS('rights'), 'license_description'), )