aboutsummaryrefslogtreecommitdiffhomepage
path: root/libs/apprise/assets/NotifyXML-1.0.xsd
blob: 0e3f8f130904bf655c5a929a2672032816beedf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.xmlsoap.org/soap/envelope/" schemaLocation="http://schemas.xmlsoap.org/soap/envelope/"/>
  <xs:element name="Notification">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Version" type="xs:string" />
        <xs:element name="Subject" type="xs:string" />
        <xs:element name="MessageType">
          <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="Message" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>