git_bsmd/nsw/NSWClient/Service References/wasteNotificationServiceReference/identification.xsd
2015-02-13 16:53:05 +00:00

25 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" attributeFormDefault="unqualified" elementFormDefault="qualified" vc:minVersion="1.1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="identification" type="identificationType">
<xs:annotation>
<xs:documentation>Identification of PCS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="identificationType">
<xs:sequence>
<xs:element minOccurs="0" name="type" type="xs:string" />
<xs:element name="name" type="xs:string" />
<xs:element minOccurs="0" name="address" type="xs:string" />
<xs:element name="firstContact" type="xs:string" />
<xs:element name="email">
<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])*" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="phone" type="xs:string" />
<xs:element name="fax" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:schema>