<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://indivo.org/xml/phr/binaryData"
xmlns:bin="http://indivo.org/xml/phr/binaryData"
xmlns:phd="http://indivo.org/xml/phr/personalHealthData"
xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="unqualified">
<import namespace="http://indivo.org/xml/phr/personalHealthData"
schemaLocation="http://indivo.org/xml/phr/personalHealthData.xsd"/>
<element name="BinaryData" type="bin:BinaryDataType"/>
<complexType name="BinaryDataType">
<complexContent>
<extension base="phd:PersonalHealthDataType">
<sequence>
<element name="Filename" type="string" minOccurs="1"/>
<element name="FileDescription" type="string" minOccurs="0"/>
<element name="MimeType" type="string" minOccurs="1"/>
<element name="Data" type="base64Binary" minOccurs="1"/>
<!--This can be used server-side to compress the data for storage.
Values placed here by clients MAY be overwritten by the server-->
<element name="Compression" type="string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
</schema>