﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema version="1.0" id="Message" 
           elementFormDefault="qualified" 
           targetNamespace="http://www.vetxml.org/schemas/Message" 
           xmlns="http://www.vetxml.org/schemas/Message" 
           xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="Message">
    <xs:complexType>
      <xs:all>
        <xs:element name="From" type="xs:string" minOccurs="0" />
        <xs:element name="Subject" type="xs:string" minOccurs="0" />
        <xs:element name="Priority">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:enumeration value="Low"/>
              <xs:enumeration value="Medium"/>
              <xs:enumeration value="High"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="Body" type="xs:string" minOccurs="1" />
      </xs:all>
      <xs:attribute name="version" type="xs:string" />
      <xs:attribute name="testmode" type="xs:string" />
    </xs:complexType>
  </xs:element>
</xs:schema>
