summaryrefslogtreecommitdiffhomepage
path: root/libs/apprise/assets/NotifyXML-1.0.xsd
blob: d9b7235aa358816dbb256a6bf9c3eeb0f7b16a3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="utf-8"?>
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="Notification">
      <xs:complexType>
         <xs:sequence>
            <xs:element name="Version" type="xs:string" />
            <xs:element name="MessageType" type="xs:string" />
               <xs:simpleType>
                  <xs:restriction base="xs:string">
                     <xs:enumeration value="success" />
                     <xs:enumeration value="failure" />
                     <xs:enumeration value="info" />
                     <xs:enumeration value="warning" />
                  </xs:restriction>
               </xs:simpleType>
            </xs:element>
            <xs:element name="Subject" type="xs:string" />
            <xs:element name="Message" type="xs:string" />
         </xs:sequence>
      </xs:complexType>
   </xs:element>
</xs:schema>