diglib-structmd.rnc 629 Bytes
Newer Older
David Maus's avatar
David Maus committed
1
2
3
# RelaxNG für deskriptive Metadaten von Objektstrukturen
#
# Autor: David Maus <maus@hab.de>
4
# Timestamp: <2018-12-17 09:14:13 maus>
David Maus's avatar
David Maus committed
5
6
7
#

namespace diglib = "http://uri.hab.de/ontology/diglib-struct#"
8
namespace exif = "https://www.w3.org/2003/12/exif/ns#"
David Maus's avatar
David Maus committed
9
10
11
namespace rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"

start = element rdf:Description {
12
13
14
15
   ( model.logical | model.physical )
}

model.logical =
David Maus's avatar
David Maus committed
16
   element diglib:* { text }+
17
18
19
20
21
22
23
24
25
26
27

model.physical =
   element exif:width {
      attribute rdf:datatype { xsd:anyURI }?
    & text
   }
 & element exif:height {
          attribute rdf:datatype { xsd:anyURI }?
  & text
 }