From 2021d82a0e5fd72cb30551280506892f75a1d527 Mon Sep 17 00:00:00 2001 From: Robert Sachunsky Date: Wed, 26 Jan 2022 08:59:09 +0100 Subject: [PATCH 1/2] first attempt at providing an XMLSchema for dfg-viewer.de namespace --- Resources/Public/Xsd/dfg-viewer.xsd | 207 ++++++++++++++++++++++++++++ Resources/Public/Xsd/links.xml | 4 + Resources/Public/Xsd/page.xml | 11 ++ Resources/Public/Xsd/rights.xml | 6 + 4 files changed, 228 insertions(+) create mode 100644 Resources/Public/Xsd/dfg-viewer.xsd create mode 100644 Resources/Public/Xsd/links.xml create mode 100644 Resources/Public/Xsd/page.xml create mode 100644 Resources/Public/Xsd/rights.xml diff --git a/Resources/Public/Xsd/dfg-viewer.xsd b/Resources/Public/Xsd/dfg-viewer.xsd new file mode 100644 index 000000000..be1f3a407 --- /dev/null +++ b/Resources/Public/Xsd/dfg-viewer.xsd @@ -0,0 +1,207 @@ + + + + + + + Root element for metadata which describe the rights to the digital representation of the digitally represented work + + + + + + + + + + + + + + + + + + + + + + + + + + + Root element for metadata which describe the development of the digital representation of the digitally represented work. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Root element for metadata which describe the search result + + + + + describes a search result (single match) + + + + + the structural element (document chapter/page) where the match belongs to + + + + contains the main title of the document (as in mods:titleInfo/mods:title) + + + + + + the @ID of the logical structMap div + + + + + the address of the document METS + + + + + + + + + contains the page number + + + + + the match on the page + + + + + + + + the text content around the match + + + + + + + + + + + + the left boundary position of the match (in relation to the page image dimensions @width/@height) + + + + + the upper boundary position of the match (in relation to the page image dimensions @width/@height) + + + + + the right boundary position of the match (in relation to the page image dimensions @width/@height) + + + + + the lower boundary position of the match (in relation to the page image dimensions @width/@height) + + + + + the address of the image cropped around the match (by x1:x2,y1:y2) + + + + + + + + the @ID of the physical structMap div page + + + + + the width of the page image (in px) + + + + + the height of the pge image (in px) + + + + + the address of the page image + + + + + + + diff --git a/Resources/Public/Xsd/links.xml b/Resources/Public/Xsd/links.xml new file mode 100644 index 000000000..c3310c6bc --- /dev/null +++ b/Resources/Public/Xsd/links.xml @@ -0,0 +1,4 @@ + + http://dienste.slub-dresden.de/cgi-bin/FOZK.pl?PPN=494521066 + https://digital.slub-dresden.de/id494521066 + diff --git a/Resources/Public/Xsd/page.xml b/Resources/Public/Xsd/page.xml new file mode 100644 index 000000000..1e7672584 --- /dev/null +++ b/Resources/Public/Xsd/page.xml @@ -0,0 +1,11 @@ + +20.8.1854 (No. 34) +268 + +vorzüglich berufen. Als daher der damit bethcilte +Posten + +eines Gubernialraihes zu Innsbruck zu besetzen kam, +erfolgte + + diff --git a/Resources/Public/Xsd/rights.xml b/Resources/Public/Xsd/rights.xml new file mode 100644 index 000000000..4ad251775 --- /dev/null +++ b/Resources/Public/Xsd/rights.xml @@ -0,0 +1,6 @@ + + Sächsische Landesbibliothek - Staats- und Universitätsbibliothek Dresden + http://digital.slub-dresden.de/fileadmin/images/dfgviewer_logo_slub.gif + http://www.slub-dresden.de/ + mailto:digital@slub-dresden.de + From 28da832034b11d2b6e739e1fd96f1b6cd2de8388 Mon Sep 17 00:00:00 2001 From: Robert Sachunsky Date: Wed, 26 Jan 2022 11:32:10 +0100 Subject: [PATCH 2/2] dfg-viewer.xsd: add dv:license, allow multiple dv:reference, require dv:owner*, add documentation --- Resources/Public/Xsd/dfg-viewer.xsd | 156 +++++++++++++++++++++++----- 1 file changed, 129 insertions(+), 27 deletions(-) diff --git a/Resources/Public/Xsd/dfg-viewer.xsd b/Resources/Public/Xsd/dfg-viewer.xsd index be1f3a407..4acc71889 100644 --- a/Resources/Public/Xsd/dfg-viewer.xsd +++ b/Resources/Public/Xsd/dfg-viewer.xsd @@ -11,26 +11,107 @@ Root element for metadata which describe the rights to the digital representation of the digitally represented work - - + - - - - - - - - - - - - - + + + name of the institution holding the digital object + + + + + logo URL of the institution holding the digital object + + + + + website URL of the institution holding the digital object + + + + + contact (email/webform) at the institution holding the digital object + + + + + name of the aggregator or portal owning the data to the digital object + + + + + logo URL of the aggregator or portal owning the data to the digital object + + + + + website URL of the aggregator or portal owning the data to the digital object + + + + + contact (email/webform) at the aggregator or portal owning the data to the digital object + + + + + name of the sponsor for the digitization process + + + + + logo URL of the sponsor for the digitization process + + + + + website URL of the sponsor for the digitization process + + + + + contact (email/webform) at the sponsor for the digitization process + + + + + + + Marking as public domain + + + Licensing as a CCO-license + + + Licensing as a CC-BY-license + + + Licensing as a CC-BY-SA-license, + + + Licensing as a CC-BY-ND-license + + + Licensing as a CC-BY-NC-license + + + Licensing as a CC-BY-NC-SA-license + + + Licensing as a CC-BY-NC-ND-license + + + other rights reserved + + + + + @@ -41,27 +122,47 @@ Root element for metadata which describe the development of the digital representation of the digitally represented work. - - - + - - + + + reference to a catalogue or search guide + - - - - + + + reference to a local presentation website + + + + + link to the Search/Retrieve via URL. + The specification has to be made in form of a valid URL but without URL parameter. + The DFG viewer adds the required SRU-parameters necessary for the query of the interface + automatically. The SRU/ALTO application profile in version 1.0 describes which parameter + the interface has to support as a minimum. + http://www.loc.gov/standards/sru/ + + + + + link to an IIIF manifest of the digital object + Has to be a valid URI of a Presentation API of the International Image Interoperability Framework (IIIF). + https://iiif.io/api/presentation/ + + + @@ -69,7 +170,8 @@