]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
476c312d98e8d13fde9528085f2695b1834ae90b
[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     $LastChangedRevision: 860 $
11     $LastChangedDate: 2009-10-14 14:48:05 -0700 (Wed, 14 Oct 2009) $
12 -->
13
14 <xs:schema 
15     xmlns:xs="http://www.w3.org/2001/XMLSchema"
16     xmlns:ns="http://collectionspace.org/services/citation"
17     xmlns="http://collectionspace.org/services/citation"
18     targetNamespace="http://collectionspace.org/services/citation"
19     version="0.1"
20 >
21 <!-- See http://wiki.collectionspace.org/display/collectionspace/Citation+Service+Home -->    
22
23     <!--  Citation Information Group -->
24     <!--  inAuthority is the csid of the owning CitationAuthority -->
25     <xs:element name="inAuthority" type="xs:string" />
26     <xs:element name="shortIdentifier" type="xs:string"/>
27     <xs:element name="refName" type="xs:string"/>
28
29     <!-- Term Information repeatable group -->
30     <xs:element name="citationTermGroupList" type="citationTermGroupList"/>
31     
32     <xs:complexType name="citationTermGroupList">
33         <xs:sequence>
34             <xs:element name="citationTermGroup" type="citationTermGroup" minOccurs="0"
35                         maxOccurs="unbounded"/>
36         </xs:sequence>
37     </xs:complexType>
38
39     <xs:complexType name="citationTermGroup">
40         <xs:sequence>
41             <!-- Common across all authority item terms -->
42             <xs:element name="termDisplayName" type="xs:string"/>
43             <xs:element name="termName" type="xs:string"/>
44             <xs:element name="termType" type="xs:string"/>
45             <xs:element name="termStatus" type="xs:string"/>
46             <xs:element name="termQualifier" type="xs:string"/>
47             <xs:element name="termLanguage" type="xs:string"/>
48             <xs:element name="termPrefForLang" type="xs:boolean"/>
49             <xs:element name="termSource" type="xs:string"/>
50             <xs:element name="termSourceDetail" type="xs:string"/>
51             <xs:element name="termSourceID" type="xs:string"/>
52             <xs:element name="termSourceNote" type="xs:string"/>
53
54             <xs:element name="termFullCitation" type="xs:string"/>
55             <xs:element name="termTitle" type="xs:string"/>
56             <xs:element name="termSubTitle" type="xs:string"/>
57             <xs:element name="termSectionTitle" type="xs:string"/>
58             <xs:element name="termVolume" type="xs:string"/>
59             <xs:element name="termIssue" type="xs:string"/>                        
60         </xs:sequence>
61     </xs:complexType>
62     
63     <!-- Before (re)using this generic complex type in any record type -->
64     <!-- other than CollectionObject, be sure to verify that Nuxeo handles -->
65     <!-- that correctly in its table creation/row linking. -->
66     <xs:complexType name="structuredDateGroup">
67         <xs:sequence>
68             <xs:element name="dateDisplayDate" type="xs:string"/>
69             <xs:element name="dateAssociation" type="xs:string"/>
70             <xs:element name="dateEarliestSingleYear" type="xs:integer"/>
71             <xs:element name="dateEarliestSingleMonth" type="xs:integer"/>
72             <xs:element name="dateEarliestSingleDay" type="xs:integer"/>
73             <xs:element name="dateEarliestSingleEra" type="xs:string"/>
74             <xs:element name="dateEarliestSingleCertainty" type="xs:string"/>
75             <xs:element name="dateEarliestSingleQualifier" type="xs:string"/>
76             <xs:element name="dateEarliestSingleQualifierValue" type="xs:integer"/>
77             <xs:element name="dateEarliestSingleQualifierUnit" type="xs:string"/>
78             <xs:element name="dateLatestYear" type="xs:integer"/>
79             <xs:element name="dateLatestMonth" type="xs:integer"/>
80             <xs:element name="dateLatestDay" type="xs:integer"/>
81             <xs:element name="dateLatestEra" type="xs:string"/>
82             <xs:element name="dateLatestCertainty" type="xs:string"/>
83             <xs:element name="dateLatestQualifier" type="xs:string"/>
84             <xs:element name="dateLatestQualifierValue" type="xs:integer"/>
85             <xs:element name="dateLatestQualifierUnit" type="xs:string"/>
86             <xs:element name="datePeriod" type="xs:string"/>
87             <xs:element name="dateNote" type="xs:string"/>
88             <xs:element name="dateEarliestScalarValue" type="xs:date"/>
89             <xs:element name="dateLatestScalarValue" type="xs:date"/>
90             <xs:element name="scalarValuesComputed" type="xs:boolean"/>
91         </xs:sequence>
92     </xs:complexType>
93     
94     <xs:element name="citationPublicationInfoGroupList" type="citationPublicationInfoGroupList" />
95     
96     <xs:complexType name="citationPublicationInfoGroupList">
97         <xs:sequence>
98             <xs:element name="citationPublicationInfoGroup" type="citationPublicationInfoGroup" minOccurs="0"
99                 maxOccurs="unbounded"/>
100         </xs:sequence>
101     </xs:complexType>
102     
103     <xs:complexType name="citationPublicationInfoGroup">
104         <xs:sequence>
105                 <xs:element name="publisher" type="xs:string"/>
106             <xs:element name="place" type="xs:string"/>
107             <xs:element name="publicationDate" type="structuredDateGroup" minOccurs="0" maxOccurs="unbounded"/>
108             <xs:element name="edition" type="xs:string"/>
109             <xs:element name="pages" type="xs:string"/>
110         </xs:sequence>
111     </xs:complexType>
112     
113     
114     
115     <xs:element name="citationAgentInfoGroupList" type="citationAgentInfoGroupList" />
116     
117     <xs:complexType name="citationAgentInfoGroupList">
118         <xs:sequence>
119             <xs:element name="citationAgentInfoGroup" type="citationAgentInfoGroup" minOccurs="0"
120                 maxOccurs="unbounded"/>
121         </xs:sequence>
122     </xs:complexType>
123     
124     <xs:complexType name="citationAgentInfoGroup">
125         <xs:sequence>
126                 <xs:element name="agent" type="xs:string"/>
127             <xs:element name="role" type="xs:string"/>            
128             <xs:element name="note" type="xs:string"/>
129         </xs:sequence>
130     </xs:complexType>
131             
132     <xs:element name="citationResourceIdentGroupList" type="citationResourceIdentGroupList" />
133     
134     <xs:complexType name="citationResourceIdentGroupList">
135         <xs:sequence>
136             <xs:element name="citationResourceIdentGroup" type="citationResourceIdentGroup" minOccurs="0"
137                 maxOccurs="unbounded"/>
138         </xs:sequence>
139     </xs:complexType>
140     
141     <xs:complexType name="citationResourceIdentGroup">
142         <xs:sequence>
143                 <xs:element name="resourceIdent" type="xs:string"/>
144             <xs:element name="type" type="xs:string"/>            
145             <xs:element name="captureDate" type="structuredDateGroup" minOccurs="0" maxOccurs="unbounded"/>
146         </xs:sequence>
147     </xs:complexType>
148     
149     
150     <xs:element name="citationRelatedTermsGroupList" type="citationRelatedTermsGroupList" />
151     
152     <xs:complexType name="citationRelatedTermsGroupList">
153         <xs:sequence>
154             <xs:element name="citationRelatedTermsGroup" type="citationRelatedTermsGroup" minOccurs="0"
155                 maxOccurs="unbounded"/>
156         </xs:sequence>
157     </xs:complexType>
158     
159     <xs:complexType name="citationRelatedTermsGroup">
160         <xs:sequence>
161                 <xs:element name="relatedTerm" type="xs:string"/>
162             <xs:element name="relationType" type="xs:string"/>                        
163         </xs:sequence>
164     </xs:complexType>    
165     
166     <xs:element name="citationsNotes" type="xs:string"/>        
167
168 </xs:schema>
169