]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-4875 - Adding missing resource file. Not sure why Git refused to add this.
authorPatrick Schmitz <pschmitz@berkeley.edu>
Thu, 8 Mar 2012 21:37:09 +0000 (13:37 -0800)
committerPatrick Schmitz <pschmitz@berkeley.edu>
Thu, 8 Mar 2012 21:37:09 +0000 (13:37 -0800)
services/servicegroup/jaxb/src/main/resources/servicegroup_common.xsd [new file with mode: 0644]

diff --git a/services/servicegroup/jaxb/src/main/resources/servicegroup_common.xsd b/services/servicegroup/jaxb/src/main/resources/servicegroup_common.xsd
new file mode 100644 (file)
index 0000000..fc2f45a
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+
+<!--
+    Loan Out schema (XSD)
+    
+    Entity  : ServiceGroup
+    Part    : Common
+    Used for: JAXB binding between XML and Java objects
+
+    $LastChangedRevision: 2316 $
+    $LastChangedDate: 2010-06-02 16:03:51 -0700 (Wed, 02 Jun 2010) $
+-->
+
+<xs:schema 
+  xmlns:xs="http://www.w3.org/2001/XMLSchema"
+  xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
+  jaxb:version="1.0" elementFormDefault="unqualified"
+  xmlns:ns="http://collectionspace.org/services/servicegroup"
+  xmlns="http://collectionspace.org/services/servicegroup"
+  targetNamespace="http://collectionspace.org/services/servicegroup"
+  version="0.1"
+>
+
+    <!-- servicegroup -->
+    <xs:element name="servicegroups_common">
+        <xs:complexType>
+            <xs:sequence>
+                <!--  ServiceGroup Information Group -->
+                <xs:element name="name" type="xs:string"/>
+                <xs:element name="uri" type="xs:string"/>
+                               <xs:element name="hasDocTypes">
+                                       <xs:complexType>
+                                               <xs:sequence>
+                                                       <xs:element name="hasDocType" type="xs:string"
+                                                               minOccurs="1" maxOccurs="unbounded" />
+                                               </xs:sequence>
+                                       </xs:complexType>
+                               </xs:element>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    
+</xs:schema>
+