Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 5 Next »

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

  • No labels