1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?xml version="1.0" encoding="UTF-8"?>
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
- targetNamespace="https://procesy5.pl/alerts" vc:minVersion="1.1"
- xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:p5Al="https://procesy5.pl/alerts">
- <xs:annotation>
- <xs:documentation>klasa do dziedziczen alertow i konstruowania szczegółowych modeli</xs:documentation>
- </xs:annotation>
- <xs:attributeGroup name="errors">
- <xs:attribute ref="p5Al:error"/>
- <xs:attribute ref="p5Al:alert"/>
- <xs:attribute ref="p5Al:warning"/>
- </xs:attributeGroup>
- <xs:complexType name="ThrowException">
- <xs:sequence>
- <xs:element name="Exception"/>
- </xs:sequence>
- <xs:attributeGroup ref="p5Al:errors"/>
- </xs:complexType>
- <xs:group name="ThrowException">
- <xs:sequence/>
- </xs:group>
- <xs:simpleType name="alertType.danger">
- <xs:restriction base="xs:string">
- <xs:enumeration value="danger"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="alertType.warning">
- <xs:restriction base="xs:string">
- <xs:enumeration value="warning"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="alertType">
- <xs:union memberTypes="p5Al:alertType.warning p5Al:alertType.danger"/>
- </xs:simpleType>
- <xs:simpleType name="msg">
- <xs:restriction base="xs:string"/>
- </xs:simpleType>
- <xs:complexType name="alert">
- <xs:annotation>
- <xs:documentation>abstrakt</xs:documentation>
- </xs:annotation>
- <xs:sequence>
- <xs:element name="alertType" type="p5Al:alertType"/>
- <xs:element name="msg" type="p5Al:msg">
- <xs:complexType/>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:element name="alert"/>
- <xs:element name="danger"/>
- <xs:element name="warning"/>
- <xs:element name="debug"/>
- <xs:attribute name="error"/>
- <xs:attribute name="alert"/>
- <xs:attribute name="warning"/>
- </xs:schema>
|