]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
d73ae8d1e4e25ee20b782619a6321ecd164fbfc2
[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="termFormattedDisplayName" type="xs:string"/>
48             <xs:element name="termName" type="xs:string"/>
49             <xs:element name="termType" type="xs:string"/>
50             <xs:element name="termStatus" type="xs:string"/>
51             <xs:element name="termQualifier" type="xs:string"/>
52             <xs:element name="termLanguage" type="xs:string"/>
53             <xs:element name="termPrefForLang" type="xs:boolean"/>
54             <xs:element name="termSource" type="xs:string"/>
55             <xs:element name="termSourceDetail" type="xs:string"/>
56             <xs:element name="termSourceID" type="xs:string"/>
57             <xs:element name="termSourceNote" type="xs:string"/>
58
59             <xs:element name="termFullCitation" type="xs:string"/>
60             <xs:element name="termTitle" type="xs:string"/>
61             <xs:element name="termSubTitle" type="xs:string"/>
62             <xs:element name="termSectionTitle" type="xs:string"/>
63             <xs:element name="termVolume" type="xs:string"/>
64             <xs:element name="termIssue" type="xs:string"/>                        
65         </xs:sequence>
66     </xs:complexType>
67         
68     <xs:complexType name="citationPublicationInfoGroupList">
69         <xs:sequence>
70             <xs:element name="citationPublicationInfoGroup" type="citationPublicationInfoGroup" minOccurs="0"
71                         maxOccurs="unbounded"/>
72         </xs:sequence>
73     </xs:complexType>
74     <xs:complexType name="citationPublicationInfoGroup">
75         <xs:sequence>
76             <xs:element name="publisher" type="xs:string"/>
77             <xs:element name="publicationPlace" type="xs:string"/>
78             <xs:element name="publicationDate" type="structuredDateGroup" minOccurs="0" maxOccurs="unbounded"/>
79             <xs:element name="edition" type="xs:string"/>
80             <xs:element name="pages" type="xs:string"/>
81         </xs:sequence>
82     </xs:complexType>
83     
84     <xs:complexType name="citationAgentInfoGroupList">
85         <xs:sequence>
86             <xs:element name="citationAgentInfoGroup" type="citationAgentInfoGroup" minOccurs="0"
87                         maxOccurs="unbounded"/>
88         </xs:sequence>
89     </xs:complexType>
90     <xs:complexType name="citationAgentInfoGroup">
91         <xs:sequence>
92             <xs:element name="agent" type="xs:string"/>
93             <xs:element name="role" type="xs:string"/>            
94             <xs:element name="note" type="xs:string"/>
95         </xs:sequence>
96     </xs:complexType>
97         
98     <xs:complexType name="citationResourceIdentGroupList">
99         <xs:sequence>
100             <xs:element name="citationResourceIdentGroup" type="citationResourceIdentGroup" minOccurs="0"
101                         maxOccurs="unbounded"/>
102         </xs:sequence>
103     </xs:complexType>
104     <xs:complexType name="citationResourceIdentGroup">
105         <xs:sequence>
106             <xs:element name="resourceIdent" type="xs:string"/>
107             <xs:element name="type" type="xs:string"/>            
108             <xs:element name="captureDate" type="structuredDateGroup" minOccurs="0" maxOccurs="unbounded"/>
109         </xs:sequence>
110     </xs:complexType>
111         
112     <xs:complexType name="citationRelatedTermsGroupList">
113         <xs:sequence>
114             <xs:element name="citationRelatedTermsGroup" type="citationRelatedTermsGroup" minOccurs="0"
115                         maxOccurs="unbounded"/>
116         </xs:sequence>
117     </xs:complexType>
118     <xs:complexType name="citationRelatedTermsGroup">
119         <xs:sequence>
120             <xs:element name="relatedTerm" type="xs:string"/>
121             <xs:element name="relationType" type="xs:string"/>                        
122         </xs:sequence>
123     </xs:complexType>    
124         
125     <xs:complexType name="structuredDateGroup">
126         <xs:sequence>
127             <xs:element name="dateDisplayDate" type="xs:string"/>
128             <xs:element name="dateAssociation" type="xs:string"/>
129             <xs:element name="dateEarliestSingleYear" type="xs:integer"/>
130             <xs:element name="dateEarliestSingleMonth" type="xs:integer"/>
131             <xs:element name="dateEarliestSingleDay" type="xs:integer"/>
132             <xs:element name="dateEarliestSingleEra" type="xs:string"/>
133             <xs:element name="dateEarliestSingleCertainty" type="xs:string"/>
134             <xs:element name="dateEarliestSingleQualifier" type="xs:string"/>
135             <xs:element name="dateEarliestSingleQualifierValue" type="xs:integer"/>
136             <xs:element name="dateEarliestSingleQualifierUnit" type="xs:string"/>
137             <xs:element name="dateLatestYear" type="xs:integer"/>
138             <xs:element name="dateLatestMonth" type="xs:integer"/>
139             <xs:element name="dateLatestDay" type="xs:integer"/>
140             <xs:element name="dateLatestEra" type="xs:string"/>
141             <xs:element name="dateLatestCertainty" type="xs:string"/>
142             <xs:element name="dateLatestQualifier" type="xs:string"/>
143             <xs:element name="dateLatestQualifierValue" type="xs:integer"/>
144             <xs:element name="dateLatestQualifierUnit" type="xs:string"/>
145             <xs:element name="datePeriod" type="xs:string"/>
146             <xs:element name="dateNote" type="xs:string"/>
147             <xs:element name="dateEarliestScalarValue" type="xs:date"/>
148             <xs:element name="dateLatestScalarValue" type="xs:date"/>
149             <xs:element name="scalarValuesComputed" type="xs:boolean"/>
150         </xs:sequence>
151     </xs:complexType>      
152
153 </xs:schema>
154