diff --git a/public/instance/schema/diglib-structmd.rnc b/public/instance/schema/diglib-structmd.rnc index 9d3f2eee0cc84fc1670e001f70a4c997de0393ae..ebb9cfadcb7ccd53dd185b0ff5d98fc54a72f077 100644 --- a/public/instance/schema/diglib-structmd.rnc +++ b/public/instance/schema/diglib-structmd.rnc @@ -1,12 +1,27 @@ # RelaxNG für deskriptive Metadaten von Objektstrukturen # # Autor: David Maus <maus@hab.de> -# Timestamp: <2018-09-21 12:13:22 maus> +# Timestamp: <2018-12-17 09:14:13 maus> # namespace diglib = "http://uri.hab.de/ontology/diglib-struct#" +namespace exif = "https://www.w3.org/2003/12/exif/ns#" namespace rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#" start = element rdf:Description { + ( model.logical | model.physical ) +} + +model.logical = element diglib:* { text }+ -} \ No newline at end of file + +model.physical = + element exif:width { + attribute rdf:datatype { xsd:anyURI }? + & text + } + & element exif:height { + attribute rdf:datatype { xsd:anyURI }? + & text + } + \ No newline at end of file