View Schema

View PHR Schema

metadata.xsd

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://indivo.org/xml/phr/metadata"
    xmlns:mtda="http://indivo.org/xml/phr/metadata"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:type="http://indivo.org/xml/phr/types"
    xmlns:ann="http://indivo.org/xml/phr/annotation"
    elementFormDefault="unqualified">
 
    <import namespace="http://indivo.org/xml/phr/types" 
    schemaLocation="http://indivo.org/xml/phr/types.xsd"/>
    
    <import namespace="http://indivo.org/xml/phr/annotation" 
    schemaLocation="http://indivo.org/xml/phr/annotation.xsd"/>
    
    <element name="Metadata" type="mtda:MetadataType"/>
    
    <complexType name="MetadataType">
        <sequence>
            <element name="DateTime" type="dateTime" />
            <element name="Author" type="type:AuthorType" />
            <element name="DocumentReference" type="ann:DocumentReferenceType" />
            <element name="MetaDataName" type="string" minOccurs="0"/>
            <element name="KeyValue" type="mtda:KeyValueType"
                    minOccurs="1" maxOccurs="unbounded"/>
        </sequence>
    </complexType>
 
    <complexType name="KeyValueType">
        <sequence>
            <element name="Key" type="string" />
            <element name="Value" type="string" />
        </sequence>
    </complexType>
 
</schema>