-
Notifications
You must be signed in to change notification settings - Fork 29
/
information-request.xsd
30 lines (28 loc) · 1.06 KB
/
information-request.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="http://educations.com/XmlImport"
elementFormDefault="qualified"
xmlns="http://educations.com/XmlImport"
xmlns:xi="http://educations.com/XmlImport"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
<xs:complexType name="InformationRequest">
<xs:all>
<xs:element name="emailReceivers" type="EmailReceiverList" minOccurs="0" maxOccurs="1" />
</xs:all>
</xs:complexType>
<xs:complexType name="EmailReceiverList">
<xs:sequence minOccurs="1" maxOccurs="5">
<xs:element name="receiver">
<xs:complexType>
<xs:attribute name="email" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="^[a-zA-Z0-9_%+-]*[a-zA-Z0-9][a-zA-Z0-9._%+-]*@[a-zA-Z0-9][a-zA-Z0-9.-]*[a-zA-Z0-9]\.[a-zA-Z0-9][a-zA-Z0-9]+$"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>