git_bsmd/nsw/Schnittstelle - Draft/identification.xsd

26 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" elementFormDefault="qualified" attributeFormDefault="unqualified" vc:minVersion="1.1">
<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 name="type" type="xs:string" minOccurs="0"/>
<xs:element name="name" type="xs:string"/>
<xs:element name="address" type="xs:string" minOccurs="0"/>
<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>