]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
5046ade10dd831af2d9ce7e6b57980d8340c7ccd
[tmp/jakarta-migration.git] /
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
2 \r
3 <!--\r
4     Acquisition schema (XSD)\r
5     \r
6     Entity  : Acquisition\r
7     Part    : Common\r
8     Used for: Nuxeo EP core document type\r
9 \r
10     $LastChangedRevision$\r
11     $LastChangedDate$\r
12 -->\r
13 \r
14 <xs:schema \r
15     xmlns:xs="http://www.w3.org/2001/XMLSchema"\r
16     xmlns:ns="http://collectionspace.org/acquisition/"\r
17     xmlns="http://collectionspace.org/acquisition/"\r
18     targetNamespace="http://collectionspace.org/acquisition/"\r
19     version="0.1">\r
20     \r
21     <!-- See http://wiki.collectionspace.org/display/collectionspace/Acquisition+Schema -->\r
22 \r
23     <!--  Object Entry Information Group -->\r
24     <xs:element name="accessionDate" type="xs:string"/>\r
25     <xs:element name="acquisitionAuthorizer" type="xs:string"/>\r
26     <xs:element name="acquisitionAuthorizerDate" type="xs:string"/>\r
27     <xs:element name="acquisitionDates">\r
28         <xs:complexType>\r
29             <xs:sequence>\r
30                 <xs:element name="acquisitionDate" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
31             </xs:sequence>\r
32         </xs:complexType>\r
33     </xs:element>\r
34     <xs:element name="acquisitionFundingList" type="acquisitionFundingList"/>\r
35     <xs:element name="acquisitionMethod" type="xs:string"/>\r
36     <xs:element name="acquisitionNote" type="xs:string"/>\r
37     <xs:element name="acquisitionProvisos" type="xs:string"/>\r
38     <xs:element name="acquisitionReason" type="xs:string"/>\r
39     <xs:element name="acquisitionReferenceNumber" type="xs:string"/>\r
40     <!-- FIXME [1.0 alpha] Make owner a repeatable scalar field. DONE -->\r
41     <xs:element name="owners">\r
42         <xs:complexType>\r
43             <xs:sequence>\r
44                 <xs:element name="owner" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
45             </xs:sequence>\r
46         </xs:complexType>\r
47     </xs:element>\r
48     <xs:element name="acquisitionSources">\r
49         <xs:complexType>\r
50             <xs:sequence>\r
51                 <xs:element name="acquisitionSource" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
52             </xs:sequence>\r
53         </xs:complexType>\r
54     </xs:element>\r
55     <xs:element name="groupPurchasePriceCurrency" type="xs:string"/>\r
56     <xs:element name="groupPurchasePriceValue" type="xs:decimal"/>\r
57     <xs:element name="objectOfferPriceCurrency" type="xs:string"/>\r
58     <xs:element name="objectOfferPriceValue" type="xs:decimal"/>\r
59     <xs:element name="objectPurchaseOfferPriceCurrency" type="xs:string"/>\r
60     <xs:element name="objectPurchaseOfferPriceValue" type="xs:decimal"/>\r
61     <xs:element name="objectPurchasePriceCurrency" type="xs:string"/>\r
62     <xs:element name="objectPurchasePriceValue" type="xs:decimal"/>\r
63     <xs:element name="originalObjectPurchasePriceCurrency" type="xs:string"/>\r
64     <xs:element name="originalObjectPurchasePriceValue" type="xs:decimal"/>\r
65     <xs:element name="transferOfTitleNumber" type="xs:string"/>\r
66     <xs:element name="creditLine" type="xs:string"/>\r
67 \r
68     <!-- Object Collection Information Group -->\r
69 \r
70     <!-- FIXME [1.0 alpha] Make fieldCollectionEventName a repeatable scalar field. DONE -->\r
71     <xs:element name="fieldCollectionEventNames">\r
72         <xs:complexType>\r
73             <xs:sequence>\r
74                 <xs:element name="fieldCollectionEventName" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
75             </xs:sequence>\r
76         </xs:complexType>\r
77     </xs:element>\r
78 \r
79     <xs:complexType name="acquisitionFundingList">\r
80         <xs:sequence>\r
81             <xs:element name="acquisitionFunding" type="acquisitionFunding" minOccurs="0"\r
82                 maxOccurs="unbounded"/>\r
83         </xs:sequence>\r
84     </xs:complexType>\r
85 \r
86     <xs:complexType name="acquisitionFunding">\r
87         <xs:sequence>\r
88                 <xs:element name="acquisitionFundingCurrency" type="xs:string"/>\r
89                 <xs:element name="acquisitionFundingValue" type="xs:decimal"/>\r
90                 <xs:element name="acquisitionFundingSource" type="xs:string"/>\r
91                 <xs:element name="acquisitionFundingSourceProvisos" type="xs:string"/>\r
92         </xs:sequence>\r
93     </xs:complexType>\r
94 \r
95 </xs:schema>\r