diff options
Diffstat (limited to 'schema')
-rw-r--r-- | schema/config.xsd | 27 | ||||
-rw-r--r-- | schema/output.xsd | 0 |
2 files changed, 27 insertions, 0 deletions
diff --git a/schema/config.xsd b/schema/config.xsd new file mode 100644 index 0000000..3fe0130 --- /dev/null +++ b/schema/config.xsd @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> +<xs:element name="sdlgrav-config"> + <xs:complexType> + <xs:sequence> + <xs:element name="Recipient" type="xs:string" /> + <xs:element name="House" type="xs:string" /> + <xs:element name="Street" type="xs:string" /> + <xs:element name="Town" type="xs:string" /> + <xs:element name="County" type="xs:string" minOccurs="0" /> + <xs:element name="PostCode" type="xs:string" /> + <xs:element name="Country"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:enumeration value="FR" /> + <xs:enumeration value="DE" /> + <xs:enumeration value="ES" /> + <xs:enumeration value="UK" /> + <xs:enumeration value="US" /> + </xs:restriction> + </xs:simpleType> + </xs:element> + </xs:sequence> + </xs:complexType> +</xs:element> +</xs:schema> + diff --git a/schema/output.xsd b/schema/output.xsd new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/schema/output.xsd |