1 | <?xml version="1.0"?> |
---|
2 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> |
---|
3 | |
---|
4 | <xs:annotation> |
---|
5 | <xs:documentation> |
---|
6 | WRS schema version 1.1.0 - For more information on WRS and this schema, |
---|
7 | visit http://pgrouting.postlbs.org/wiki/tools/WebRoutingService |
---|
8 | </xs:documentation> |
---|
9 | </xs:annotation> |
---|
10 | |
---|
11 | <xs:element name="configuration"> |
---|
12 | <xs:annotation> |
---|
13 | <xs:documentation>CONFIGURATION is the root element in the XML file.</xs:documentation> |
---|
14 | </xs:annotation> |
---|
15 | |
---|
16 | <xs:complexType> |
---|
17 | <xs:annotation> |
---|
18 | <xs:documentation> |
---|
19 | CONFIGURATION document contains server configuration parameters and configuration includes. |
---|
20 | </xs:documentation> |
---|
21 | </xs:annotation> |
---|
22 | |
---|
23 | <xs:sequence> |
---|
24 | <xs:element name="port" type="xs:short" minOccurs="0"> |
---|
25 | <xs:annotation> |
---|
26 | <xs:documentation>Restlet is using this port number.</xs:documentation> |
---|
27 | </xs:annotation> |
---|
28 | </xs:element> |
---|
29 | |
---|
30 | <xs:element name="log" minOccurs="0"> |
---|
31 | <xs:annotation> |
---|
32 | <xs:documentation>Configures the service log.</xs:documentation> |
---|
33 | </xs:annotation> |
---|
34 | |
---|
35 | <xs:complexType> |
---|
36 | <xs:attribute name="url" type="xs:string"> |
---|
37 | <xs:annotation> |
---|
38 | <xs:documentation>URL (path) to the log file</xs:documentation> |
---|
39 | </xs:annotation> |
---|
40 | </xs:attribute> |
---|
41 | |
---|
42 | <xs:attribute name="level" type="xs:short"> |
---|
43 | <xs:annotation> |
---|
44 | <xs:documentation> |
---|
45 | The Level class defines a set of standard logging levels that can be used to control |
---|
46 | logging output. Possible levels are values 0 to 9: [0] OFF, [1] SEVERE, [2] WARNING, |
---|
47 | [3] INFO, [4] CONFIG, [5] OFF, [6] FINE, [7] FINER, [8] FINEST, [9] ALL |
---|
48 | </xs:documentation> |
---|
49 | </xs:annotation> |
---|
50 | </xs:attribute> |
---|
51 | |
---|
52 | </xs:complexType> |
---|
53 | </xs:element> |
---|
54 | |
---|
55 | <xs:element name="includes" minOccurs="0"> |
---|
56 | <xs:complexType> |
---|
57 | <xs:sequence> |
---|
58 | <xs:element name="include" minOccurs="4" maxOccurs="4"> |
---|
59 | <xs:complexType> |
---|
60 | <xs:attribute name="name"> |
---|
61 | <xs:simpleType> |
---|
62 | <xs:restriction base="xs:string"> |
---|
63 | <xs:enumeration value="profiles" /> |
---|
64 | <xs:enumeration value="services" /> |
---|
65 | <xs:enumeration value="resources" /> |
---|
66 | </xs:restriction> |
---|
67 | </xs:simpleType> |
---|
68 | </xs:attribute> |
---|
69 | <xs:attribute name="url" type="xs:string"/> |
---|
70 | </xs:complexType> |
---|
71 | </xs:element> |
---|
72 | </xs:sequence> |
---|
73 | </xs:complexType> |
---|
74 | |
---|
75 | <xs:unique name="IncludeName"> |
---|
76 | <xs:selector xpath="include"/> |
---|
77 | <xs:field xpath="@name"/> |
---|
78 | </xs:unique> |
---|
79 | </xs:element> |
---|
80 | |
---|
81 | </xs:sequence> |
---|
82 | |
---|
83 | <xs:attribute name="version" type="xs:string" use="required" fixed="1.1.0"> |
---|
84 | <xs:annotation> |
---|
85 | <xs:documentation> |
---|
86 | You must include the version number in your CONFIGURATION document. |
---|
87 | </xs:documentation> |
---|
88 | </xs:annotation> |
---|
89 | </xs:attribute> |
---|
90 | </xs:complexType> |
---|
91 | |
---|
92 | </xs:element> |
---|
93 | |
---|
94 | </xs:schema> |
---|
95 | |
---|