summaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2010-09-24 14:28:46 +0000
committerIan C <ianc@noddybox.co.uk>2010-09-24 14:28:46 +0000
commita0e1c456d0b9d43c77aa63dd1271c4c1aa702411 (patch)
tree2798e49e04a06f526a825ac1d8aa9b6b888e1b0a /schema
parenta806941b0ad9faaf2592c40d09bf65c47cb5351e (diff)
Added some files
Diffstat (limited to 'schema')
-rw-r--r--schema/config.xsd27
-rw-r--r--schema/output.xsd0
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