+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
- Blob schema (XSD)
-
- Entity : Blob
- 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/blob"
- xmlns="http://collectionspace.org/services/blob"
- targetNamespace="http://collectionspace.org/services/blob"
- version="0.1"
->
-
-<!--
- Avoid XmlRootElement nightmare:
- See http://weblogs.java.net/blog/kohsuke/archive/2006/03/why_does_jaxb_p.html
--->
-<!-- See http://wiki.collectionspace.org/display/collectionspace/Loans+Out+Schema -->
-
- <!-- blob -->
- <xs:element name="blobs_common_deprecated">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="encoding" type="xs:string" />
- <xs:element name="mime-type" type="xs:string" />
- <xs:element name="data" type="xs:string" />
- <xs:element name="name" type="xs:string" />
- <xs:element name="length" type="xs:string" />
- <xs:element name="digest" type="xs:string" />
- <xs:element name="uri" type="xs:string" />
- <xs:element name="id" type="xs:string" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- <!-- This is the base class for paginated lists -->
- <xs:complexType name="abstractCommonList">
- <xs:annotation>
- <xs:appinfo>
- <jaxb:class ref="org.collectionspace.services.jaxb.AbstractCommonList"/>
- </xs:appinfo>
- </xs:annotation>
- </xs:complexType>
-
- <!-- blob records, as in nuxeo repository -->
- <xs:element name="blobs_common_deprecated_list">
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="abstractCommonList">
- <xs:sequence>
- <xs:element name="blobs_common_deprecated_list_item" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" type="xs:string" minOccurs="1" />
- <xs:element name="mime-type" type="xs:string" minOccurs="1" />
- <xs:element name="encoding" type="xs:string" minOccurs="1" />
- <xs:element name="length" type="xs:string" minOccurs="1" />
- <xs:element name="uri" type="xs:string" />
- <xs:element name="csid" type="xs:string" minOccurs="1" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
-
-</xs:schema>
-