forked from Islandora/islandora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
collection_policy.xsd
47 lines (42 loc) · 2.01 KB
/
collection_policy.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<xsd:schema xmlns="http://www.islandora.ca" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.islandora.ca" elementFormDefault="qualified" >
<xsd:annotation>
<xsd:documentation xml:lang="en">
Islandora Collection Policy Schema
Islandora, Robertson Library, University of Prince Edward Island, 550 University Ave., Charlottetown, Prince Edward Island
</xsd:documentation>
</xsd:annotation>
<xsd:element name="collection_policy" type="collection_policyType"/>
<xsd:complexType name="collection_policyType">
<xsd:all>
<xsd:element name="content_models" type="content_modelsType"/>
<xsd:element name="search_terms" type="search_termsType"/>
<xsd:element name="relationship" type="xsd:string"/>
<xsd:element name="staging_area" type="xsd:string" minOccurs="0" maxOccurs="1"/>
</xsd:all>
<xsd:attribute name="name" type="xsd:normalizedString" use="required"/>
</xsd:complexType>
<xsd:complexType name="content_modelsType">
<xsd:sequence>
<xsd:element name="content_model" type="content_modelType" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="content_modelType">
<xsd:attribute name="name" type="xsd:normalizedString" use="required"/>
<xsd:attribute name="dsid" type="xsd:normalizedString" use="required"/>
<xsd:attribute name="namespace" type="xsd:normalizedString" use="required"/>
<xsd:attribute name="pid" type="xsd:normalizedString" use="required"/>
</xsd:complexType>
<xsd:complexType name="search_termsType">
<xsd:sequence>
<xsd:element name="term" type="termType" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="termType">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="field" type="xsd:string" use="optional"/>
<xsd:attribute name="default" type="xsd:boolean" default="false"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:schema>