1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
\r
4 Acquisition schema (XSD)
\r
8 Used for: Nuxeo EP core document type
\r
10 $LastChangedRevision$
\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
21 <!-- See http://wiki.collectionspace.org/display/collectionspace/Acquisition+Schema -->
\r
23 <!-- Object Entry Information Group -->
\r
24 <xs:element name="accessionDateGroup" type="structuredDateGroup"/>
\r
25 <xs:element name="acquisitionAuthorizer" type="xs:string"/>
\r
26 <xs:element name="acquisitionAuthorizerDate" type="xs:date"/>
\r
27 <xs:element name="acquisitionDateGroupList">
\r
30 <xs:element name="acquisitionDateGroup" type="structuredDateGroup" minOccurs="0" maxOccurs="unbounded"/>
\r
35 <xs:element name="acquisitionFundingList" type="acquisitionFundingList"/>
\r
36 <xs:element name="acquisitionMethod" type="xs:string"/>
\r
37 <xs:element name="acquisitionNote" type="xs:string"/>
\r
38 <xs:element name="acquisitionProvisos" type="xs:string"/>
\r
39 <xs:element name="acquisitionReason" type="xs:string"/>
\r
40 <xs:element name="acquisitionReferenceNumber" type="xs:string"/>
\r
41 <!-- FIXME [1.0 alpha] Make owner a repeatable scalar field. DONE -->
\r
42 <xs:element name="owners">
\r
45 <xs:element name="owner" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
\r
49 <xs:element name="acquisitionSources">
\r
52 <xs:element name="acquisitionSource" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
\r
56 <xs:element name="groupPurchasePriceCurrency" type="xs:string"/>
\r
57 <xs:element name="groupPurchasePriceValue" type="xs:decimal"/>
\r
58 <xs:element name="objectOfferPriceCurrency" type="xs:string"/>
\r
59 <xs:element name="objectOfferPriceValue" type="xs:decimal"/>
\r
60 <xs:element name="objectPurchaseOfferPriceCurrency" type="xs:string"/>
\r
61 <xs:element name="objectPurchaseOfferPriceValue" type="xs:decimal"/>
\r
62 <xs:element name="objectPurchasePriceCurrency" type="xs:string"/>
\r
63 <xs:element name="objectPurchasePriceValue" type="xs:decimal"/>
\r
64 <xs:element name="originalObjectPurchasePriceCurrency" type="xs:string"/>
\r
65 <xs:element name="originalObjectPurchasePriceValue" type="xs:decimal"/>
\r
66 <xs:element name="transferOfTitleNumber" type="xs:string"/>
\r
67 <xs:element name="creditLine" type="xs:string"/>
\r
69 <!-- Object Collection Information Group -->
\r
71 <!-- FIXME [1.0 alpha] Make fieldCollectionEventName a repeatable scalar field. DONE -->
\r
72 <xs:element name="fieldCollectionEventNames">
\r
75 <xs:element name="fieldCollectionEventName" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
\r
80 <xs:complexType name="acquisitionFundingList">
\r
82 <xs:element name="acquisitionFunding" type="acquisitionFunding" minOccurs="0"
\r
83 maxOccurs="unbounded"/>
\r
87 <xs:complexType name="acquisitionFunding">
\r
89 <xs:element name="acquisitionFundingCurrency" type="xs:string"/>
\r
90 <xs:element name="acquisitionFundingValue" type="xs:decimal"/>
\r
91 <xs:element name="acquisitionFundingSource" type="xs:string"/>
\r
92 <xs:element name="acquisitionFundingSourceProvisos" type="xs:string"/>
\r
96 <!-- Before (re)using this generic complex type in any record type -->
\r
97 <!-- other than CollectionObject, be sure to verify that Nuxeo handles -->
\r
98 <!-- that correctly in its table creation/row linking. -->
\r
99 <xs:complexType name="structuredDateGroup">
\r
101 <xs:element name="dateDisplayDate" type="xs:string"/>
\r
102 <xs:element name="dateAssociation" type="xs:string"/>
\r
103 <xs:element name="dateEarliestSingleYear" type="xs:integer"/>
\r
104 <xs:element name="dateEarliestSingleMonth" type="xs:integer"/>
\r
105 <xs:element name="dateEarliestSingleDay" type="xs:integer"/>
\r
106 <xs:element name="dateEarliestSingleEra" type="xs:string"/>
\r
107 <xs:element name="dateEarliestSingleCertainty" type="xs:string"/>
\r
108 <xs:element name="dateEarliestSingleQualifier" type="xs:string"/>
\r
109 <xs:element name="dateEarliestSingleQualifierValue" type="xs:integer"/>
\r
110 <xs:element name="dateEarliestSingleQualifierUnit" type="xs:string"/>
\r
111 <xs:element name="dateLatestYear" type="xs:integer"/>
\r
112 <xs:element name="dateLatestMonth" type="xs:integer"/>
\r
113 <xs:element name="dateLatestDay" type="xs:integer"/>
\r
114 <xs:element name="dateLatestEra" type="xs:string"/>
\r
115 <xs:element name="dateLatestCertainty" type="xs:string"/>
\r
116 <xs:element name="dateLatestQualifier" type="xs:string"/>
\r
117 <xs:element name="dateLatestQualifierValue" type="xs:integer"/>
\r
118 <xs:element name="dateLatestQualifierUnit" type="xs:string"/>
\r
119 <xs:element name="datePeriod" type="xs:string"/>
\r
120 <xs:element name="dateNote" type="xs:string"/>
\r
121 <xs:element name="dateEarliestScalarValue" type="xs:date"/>
\r
122 <xs:element name="dateLatestScalarValue" type="xs:date"/>
\r
123 <xs:element name="scalarValuesComputed" type="xs:boolean"/>
\r