]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-1079. Work towards supporting search for documents by a field value. Some...
authorPatrick Schmitz <pschmitz@berkeley.edu>
Wed, 10 Mar 2010 01:07:43 +0000 (01:07 +0000)
committerPatrick Schmitz <pschmitz@berkeley.edu>
Wed, 10 Mar 2010 01:07:43 +0000 (01:07 +0000)
services/common/src/main/resources/authorityrefdocs.xsd [new file with mode: 0644]

diff --git a/services/common/src/main/resources/authorityrefdocs.xsd b/services/common/src/main/resources/authorityrefdocs.xsd
new file mode 100644 (file)
index 0000000..906bace
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+       Copyright 2009 University of California at Berkeley
+       Licensed under the Educational Community License (ECL), Version 2.0.
+       You may not use this file except in compliance with this License.
+
+       You may obtain a copy of the ECL 2.0 License at
+       https://source.collectionspace.org/collection-space/LICENSE.txt
+
+       Document   : authorityrefdocs.xsd
+       Revision   : $LastChangedRevision: 1292 $
+       Created on : $LastChangedDate: 2010-01-29 14:55:28 -0800 (Fri, 29 Jan 2010) $
+       Author     : $LastChangedBy: $
+       Description: AuthorityRefDocs describes a list of values that describe
+                                                               document (CollectionObject, Intake, etc.) 
+                                                               references to a given authority term.
+-->
+<xs:schema
+       xmlns:xs="http://www.w3.org/2001/XMLSchema"
+       xmlns="http://collectionspace.org/services/common/authorityref"
+       targetNamespace="http://collectionspace.org/services/common/authorityref"
+       version="0.1"
+       >
+
+       <xs:element name="authority-ref-doc-list">
+               <xs:complexType>
+                       <xs:sequence>
+                                <xs:element name="authority-ref-doc-item" maxOccurs="unbounded">
+                                       <xs:complexType>
+                                               <xs:sequence>
+                                                       <xs:element name="docType"         type="xs:string" minOccurs="1" />
+                                                       <xs:element name="docId"           type="xs:string" minOccurs="1" />
+                                                       <xs:element name="docNumber"       type="xs:string" minOccurs="0" />
+                                                       <xs:element name="docName"         type="xs:string" minOccurs="0" />
+                                                       <xs:element name="sourceField"     type="xs:string" minOccurs="1" />
+                                                       <xs:element name="uri"             type="xs:anyURI" minOccurs="1" />
+                                               </xs:sequence>
+                                       </xs:complexType>
+                               </xs:element>
+                       </xs:sequence>
+               </xs:complexType>
+       </xs:element>
+
+</xs:schema>