-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathproxy.xsd
35 lines (35 loc) · 2.31 KB
/
proxy.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="ProxyConfig">
<xs:complexType>
<xs:sequence>
<xs:element name="serverUrls">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="serverUrl">
<xs:complexType>
<xs:attribute name="url" type="xs:string" use="required" />
<xs:attribute name="matchAll" type="xs:boolean" use="required" />
<xs:attribute name="useAppPoolIdentity" type="xs:boolean" use="optional" />
<xs:attribute name="username" type="xs:string" use="optional" />
<xs:attribute name="password" type="xs:string" use="optional" />
<xs:attribute name="domain" type="xs:string" use="optional" />
<xs:attribute name="clientId" type="xs:string" use="optional" />
<xs:attribute name="clientSecret" type="xs:string" use="optional" />
<xs:attribute name="oauth2Endpoint" type="xs:anyURI" use="optional" />
<xs:attribute name="accessToken" type="xs:string" use="optional" />
<xs:attribute name="rateLimit" type="xs:integer" use="optional" />
<xs:attribute name="rateLimitPeriod" type="xs:integer" use="optional" />
<xs:attribute name="hostRedirect" type="xs:string" use="optional" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="mustMatch" type="xs:boolean" use="required" />
<xs:attribute name="allowedReferers" type="xs:string" use="required" />
<xs:attribute name="logFile" type="xs:string" use="optional" />
</xs:complexType>
</xs:element>
</xs:schema>