]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
c8c1f2c139cbe6c3ff7d9584b1fff09297b84305
[tmp/jakarta-migration.git] /
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
3 <!--
4     Citation schema (XSD)
5     
6     Entity  : Citation
7     Part    : Common
8     Used for: Nuxeo EP core document type
9 -->
10
11 <xs:schema 
12     xmlns:xs="http://www.w3.org/2001/XMLSchema"
13     xmlns:ns="http://collectionspace.org/services/citation"
14     xmlns="http://collectionspace.org/services/citation"
15     targetNamespace="http://collectionspace.org/services/citation"
16     version="0.1"
17 >
18     <!-- See http://wiki.collectionspace.org/display/collectionspace/Citation+Service+Home -->    
19
20     <!--  Citation Information Group -->
21     <!--  inAuthority is the csid of the owning CitationAuthority -->
22     <xs:element name="inAuthority" type="xs:string" />
23     <xs:element name="shortIdentifier" type="xs:string"/>
24     <xs:element name="refName" type="xs:string"/>
25
26     <!-- Term Information repeatable group -->
27     <xs:element name="citationTermGroupList" type="citationTermGroupList"/>
28     <xs:element name="citationPublicationInfoGroupList" type="citationPublicationInfoGroupList" />
29     <xs:element name="citationAgentInfoGroupList" type="citationAgentInfoGroupList" />
30     <xs:element name="citationNote" type="xs:string"/>
31     <xs:element name="citationResourceIdentGroupList" type="citationResourceIdentGroupList" />
32     <xs:element name="citationRelatedTermsGroupList" type="citationRelatedTermsGroupList" />
33     
34     <!-- Complex types referenced in declarations above -->
35
36     <xs:complexType name="citationTermGroupList">
37         <xs:sequence>
38             <xs:element name="citationTermGroup" type="citationTermGroup" minOccurs="0"
39                         maxOccurs="unbounded"/>
40         </xs:sequence>
41     </xs:complexType>
42
43     <xs:complexType name="citationTermGroup">
44         <xs:sequence>
45             <!-- Common across all authority item terms -->
46             <xs:element name="termDisplayName" type="xs:string"/>
47             <xs:element name="termName" type="xs:string"/>
48             <xs:element name="termType" type="xs:string"/>
49             <xs:element name="termStatus" type="xs:string"/>
50             <xs:element name="termQualifier" type="xs:string"/>
51             <xs:element name="termLanguage" type="xs:string"/>
52             <xs:element name="termPrefForLang" type="xs:boolean"/>
53             <xs:element name="termSource" type="xs:string"/>
54             <xs:element name="termSourceDetail" type="xs:string"/>
55             <xs:element name="termSourceID" type="xs:string"/>
56             <xs:element name="termSourceNote" type="xs:string"/>
57
58             <xs:element name="termFullCitation" type="xs:string"/>
59             <xs:element name="termTitle" type="xs:string"/>
60             <xs:element name="termSubTitle" type="xs:string"/>
61             <xs:element name="termSectionTitle" type="xs:string"/>
62             <xs:element name="termVolume" type="xs:string"/>
63             <xs:element name="termIssue" type="xs:string"/>                        
64         </xs:sequence>
65     </xs:complexType>
66         
67     <xs:complexType name="citationPublicationInfoGroupList">
68         <xs:sequence>
69             <xs:element name="citationPublicationInfoGroup" type="citationPublicationInfoGroup" minOccurs="0"
70                         maxOccurs="unbounded"/>
71         </xs:sequence>
72     </xs:complexType>
73     <xs:complexType name="citationPublicationInfoGroup">
74         <xs:sequence>
75             <xs:element name="publisher" type="xs:string"/>
76             <xs:element name="place" type="xs:string"/>
77             <xs:element name="publicationDate" type="structuredDateGroup" minOccurs="0" maxOccurs="unbounded"/>
78             <xs:element name="edition" type="xs:string"/>
79             <xs:element name="pages" type="xs:string"/>
80         </xs:sequence>
81     </xs:complexType>
82     
83     <xs:complexType name="citationAgentInfoGroupList">
84         <xs:sequence>
85             <xs:element name="citationAgentInfoGroup" type="citationAgentInfoGroup" minOccurs="0"
86                         maxOccurs="unbounded"/>
87         </xs:sequence>
88     </xs:complexType>
89     <xs:complexType name="citationAgentInfoGroup">
90         <xs:sequence>
91             <xs:element name="agent" type="xs:string"/>
92             <xs:element name="role" type="xs:string"/>            
93             <xs:element name="note" type="xs:string"/>
94         </xs:sequence>
95     </xs:complexType>
96         
97     <xs:complexType name="citationResourceIdentGroupList">
98         <xs:sequence>
99             <xs:element name="citationResourceIdentGroup" type="citationResourceIdentGroup" minOccurs="0"
100                         maxOccurs="unbounded"/>
101         </xs:sequence>
102     </xs:complexType>
103     <xs:complexType name="citationResourceIdentGroup">
104         <xs:sequence>
105             <xs:element name="resourceIdent" type="xs:string"/>
106             <xs:element name="type" type="xs:string"/>            
107             <xs:element name="captureDate" type="structuredDateGroup" minOccurs="0" maxOccurs="unbounded"/>
108         </xs:sequence>
109     </xs:complexType>
110         
111     <xs:complexType name="citationRelatedTermsGroupList">
112         <xs:sequence>
113             <xs:element name="citationRelatedTermsGroup" type="citationRelatedTermsGroup" minOccurs="0"
114                         maxOccurs="unbounded"/>
115         </xs:sequence>
116     </xs:complexType>
117     <xs:complexType name="citationRelatedTermsGroup">
118         <xs:sequence>
119             <xs:element name="relatedTerm" type="xs:string"/>
120             <xs:element name="relationType" type="xs:string"/>                        
121         </xs:sequence>
122     </xs:complexType>    
123         
124     <xs:complexType name="structuredDateGroup">
125         <xs:sequence>
126             <xs:element name="dateDisplayDate" type="xs:string"/>
127             <xs:element name="dateAssociation" type="xs:string"/>
128             <xs:element name="dateEarliestSingleYear" type="xs:integer"/>
129             <xs:element name="dateEarliestSingleMonth" type="xs:integer"/>
130             <xs:element name="dateEarliestSingleDay" type="xs:integer"/>
131             <xs:element name="dateEarliestSingleEra" type="xs:string"/>
132             <xs:element name="dateEarliestSingleCertainty" type="xs:string"/>
133             <xs:element name="dateEarliestSingleQualifier" type="xs:string"/>
134             <xs:element name="dateEarliestSingleQualifierValue" type="xs:integer"/>
135             <xs:element name="dateEarliestSingleQualifierUnit" type="xs:string"/>
136             <xs:element name="dateLatestYear" type="xs:integer"/>
137             <xs:element name="dateLatestMonth" type="xs:integer"/>
138             <xs:element name="dateLatestDay" type="xs:integer"/>
139             <xs:element name="dateLatestEra" type="xs:string"/>
140             <xs:element name="dateLatestCertainty" type="xs:string"/>
141             <xs:element name="dateLatestQualifier" type="xs:string"/>
142             <xs:element name="dateLatestQualifierValue" type="xs:integer"/>
143             <xs:element name="dateLatestQualifierUnit" type="xs:string"/>
144             <xs:element name="datePeriod" type="xs:string"/>
145             <xs:element name="dateNote" type="xs:string"/>
146             <xs:element name="dateEarliestScalarValue" type="xs:date"/>
147             <xs:element name="dateLatestScalarValue" type="xs:date"/>
148             <xs:element name="scalarValuesComputed" type="xs:boolean"/>
149         </xs:sequence>
150     </xs:complexType>      
151
152 </xs:schema>
153