Blob Info Schema

This is generic information that we need for describing blobs.
  <xs:complexType name="content">
    <xs:sequence>
                <xs:element name="encoding" type="xs:string" />
                <xs:element name="mimeType" 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="dimensionGroupList" type="dimensionGroupList"/>
                <xs:element name="uri" type="xs:string" />
                <xs:element name="repositoryId" type="xs:string" />
    </xs:sequence>
  </xs:complexType>

    <xs:complexType name="dimensionGroupList">
        <xs:sequence>
            <xs:element name="dimensionGroup" type="dimensionGroup" minOccurs="0"
                maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="dimensionGroup"> <!-- //FIXME: The "dimensionGroup" type should be declared in one place since other services use it -->
        <xs:sequence>
            <xs:element name="measuredPart" type="xs:string"/>
            <xs:element name="dimension" type="xs:string"/>
            <xs:element name="measuredBy" type="xs:string"/>
            <xs:element name="measurementUnit" type="xs:string"/>
            <xs:element name="measurementMethod" type="xs:string"/>
            <xs:element name="value" type="xs:string"/>
            <xs:element name="valueDate" type="xs:string"/>
            <xs:element name="valueQualifier" type="xs:string"/>
        </xs:sequence>
    </xs:complexType>
To see the most up-to-date XML Schema for Blobs, follow this link:

https://source.collectionspace.org/collection-space/src/services/trunk/services/jaxb/src/main/resources/blobs_common.xsd

Here is an example Blob payload
<?xml version="1.0" encoding="UTF-8"?>
<document name="blobs">
    <ns2:image_metadata xmlns:ns2="http://collectionspace.org/image_metadata/"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <color_space>SRGB</color_space>
        <pixel_ydimension>2472</pixel_ydimension>
        <focal_length>6.0</focal_length>
        <orientation>TOP_LEFT</orientation>
        <iso_speed_ratings>ISO-80</iso_speed_ratings>
        <white_balance>auto</white_balance>
        <equipment>EASTMAN KODAK COMPANY KODAK EASYSHARE C813 ZOOM DIGITAL
            CAMERA</equipment>
        <yresolution>72</yresolution>
        <fnumber>2.7</fnumber>
        <xresolution>72</xresolution>
        <exposure_time>1604/1000000</exposure_time>
        <date_time_original>2009-05-31T03:05:47Z</date_time_original>
        <pixel_xdimension>3296</pixel_xdimension>
    </ns2:image_metadata>
    <ns2:iptc xmlns:ns2="http://collectionspace.org/iptc/"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
    <ns2:blobs_common xmlns:ns2="http://collectionspace.org/services/blob"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <dimensionGroupList>
            <dimensionGroup>
                <measuredBy/>
                <dimension>width</dimension>
                <valueDate/>
                <measuredPart>digitalImage</measuredPart>
                <measurementUnit>pixels</measurementUnit>
                <value>3296</value>
                <valueQualifier/>
                <measurementMethod/>
            </dimensionGroup>
            <dimensionGroup>
                <measuredBy/>
                <dimension>height</dimension>
                <valueDate/>
                <measuredPart>digitalImage</measuredPart>
                <measurementUnit>pixels</measurementUnit>
                <value>2472</value>
                <valueQualifier/>
                <measurementMethod/>
            </dimensionGroup>
            <dimensionGroup>
                <measuredBy/>
                <dimension>depth</dimension>
                <valueDate/>
                <measuredPart>digitalImage</measuredPart>
                <measurementUnit>bits</measurementUnit>
                <value>8</value>
                <valueQualifier/>
                <measurementMethod/>
            </dimensionGroup>
        </dimensionGroupList>
        <name>cspace_blob_7050773734716836230Picture 003.jpg</name>
        <length>1142500</length>
        <mimeType>image/jpeg</mimeType>
    </ns2:blobs_common>
    <ns2:collectionspace_core
        xmlns:ns2="http://collectionspace.org/collectionspace_core/"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <tenantId>1</tenantId>
        <updatedAt>2011-05-04T04:57:56Z</updatedAt>
        <createdAt>2011-05-04T04:57:56Z</createdAt>
    </ns2:collectionspace_core>
    <ns2:account_permission
        xmlns:ns2="http://collectionspace.org/services/authorization">
        <account>
            <accountId>31041896-d031-43e5-8736-72f55016350e</accountId>
            <userId>admin@collectionspace.org</userId>
        </account>
        <permission>
            <permRelationshipId>38</permRelationshipId>
            <permissionId>020a855e-3bdf-4e7d-ae62-bad00d4724bd</permissionId>
            <resourceName>blobs</resourceName>
            <actionGroup>CRUDL</actionGroup>
        </permission>
        <permission>
            <permRelationshipId>39</permRelationshipId>
            <permissionId>17398700-b215-43a0-8647-b09b3b4ee2fa</permissionId>
            <resourceName>/blobs/*/workflow/</resourceName>
            <actionGroup>CRUDL</actionGroup>
        </permission>
    </ns2:account_permission>
</document>
Image Metadata Schema

EXIF - http://hg.nuxeo.org/nuxeo/nuxeo-features/log/tip/nuxeo-platform-imaging/nuxeo-platform-imaging-core/src/main/resources/schema/image_metadata.xsd
IPTC - http://hg.nuxeo.org/nuxeo/nuxeo-features/log/tip/nuxeo-platform-imaging/nuxeo-platform-imaging-core/src/main/resources/schema/iptc.xsd