Titan Core Initial Contribution
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / Tgc / confd.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2000-2014 Ericsson Telecom AB
4
5 All rights reserved. This program and the accompanying materials
6 are made available under the terms of the Eclipse Public License v1.0
7 which accompanies this distribution, and is available at
8 http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <xs:schema targetNamespace="http://tail-f.com/ns/confd/1.0"
11 xmlns="http://tail-f.com/ns/confd/1.0"
12 xmlns:xs="http://www.w3.org/2001/XMLSchema"
13 xml:lang="en">
14 <xs:import namespace="http://www.w3.org/2001/XMLSchema"
15 schemaLocation="XMLSchema.xsd"/>
16
17 <xs:simpleType name="inetAddress">
18 <xs:union memberTypes="inetAddressIP inetAddressDNS"/>
19 </xs:simpleType>
20
21 <xs:simpleType name="inetAddressIP">
22 <xs:union memberTypes="inetAddressIPv4 inetAddressIPv6"/>
23 </xs:simpleType>
24
25 <xs:simpleType name="inetAddressIPv4">
26 <xs:restriction base="xs:string">
27 <xs:minLength value="7"/>
28 <xs:maxLength value="15"/>
29 <xs:pattern value="(([0-1]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\.){1,3}([0-1]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])"/>
30
31 </xs:restriction>
32 </xs:simpleType>
33
34 <xs:simpleType name="inetAddressIPv6">
35 <xs:restriction base="xs:string">
36 <xs:minLength value="0"/>
37 <xs:maxLength value="39"/>
38 <!-- Full -->
39 <xs:pattern value="(([0-9a-fA-F]{1,4}:){7})([0-9a-fA-F]{1,4})"/>
40 <!-- Mixed -->
41 <xs:pattern value="(([0-9a-fA-F]{1,4}:){6})(([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))"/>
42 <!-- Shortened -->
43 <xs:pattern value="(([0-9a-fA-F]{1,4}:)*([0-9a-fA-F]{1,4}))*(::)(([0-9a-fA-F]{1,4}:)*([0-9a-fA-F]{1,4}))*"/>
44 <!-- Shortened mixed -->
45 <xs:pattern value="(([0-9a-fA-F]{1,4}:)*([0-9a-fA-F]{1,4}))*(::)(([0-9a-fA-F]{1,4}:)*([0-9a-fA-F]{1,4}))*(([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))"/>
46 </xs:restriction>
47 </xs:simpleType>
48
49 <xs:simpleType name="inetAddressDNS">
50 <xs:restriction base="xs:string"/>
51 </xs:simpleType>
52
53 <xs:simpleType name="inetPortNumber">
54 <xs:restriction base="xs:unsignedShort"/>
55 </xs:simpleType>
56
57 <xs:simpleType name="size">
58 <xs:restriction base="xs:string">
59 <xs:pattern value="S([0-9]+G)?([0-9]+M)?([0-9]+K)?([0-9]+B)?"/>
60 </xs:restriction>
61 </xs:simpleType>
62
63 <xs:simpleType name="MD5DigestString">
64 <xs:restriction base="xs:string"/>
65 </xs:simpleType>
66
67 <xs:simpleType name="DES3CBCEncryptedString">
68 <xs:restriction base="xs:string"/>
69 </xs:simpleType>
70
71 <xs:simpleType name="AESCFB128EncryptedString">
72 <xs:restriction base="xs:string"/>
73 </xs:simpleType>
74
75 <xs:simpleType name="atom">
76 <xs:restriction base="xs:string"/>
77 </xs:simpleType>
78
79 <xs:simpleType name="hexValue">
80 <xs:restriction base="xs:string">
81 <xs:pattern value="[0-9a-fA-F]*"/>
82 </xs:restriction>
83 </xs:simpleType>
84
85 <xs:simpleType name="hexList">
86 <xs:restriction base="xs:string">
87 <xs:pattern value="([0-9a-fA-F][0-9a-fA-F]:)*([0-9a-fA-F][0-9a-fA-F])"/>
88 <xs:pattern value=""/>
89 </xs:restriction>
90 </xs:simpleType>
91
92 <xs:simpleType name="octetList">
93 <xs:restriction base="xs:string">
94 <xs:pattern value="(([0-1]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\.)*([0-1]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])"/>
95 </xs:restriction>
96 </xs:simpleType>
97
98 <xs:simpleType name="oid">
99 <xs:restriction base="xs:string">
100 <xs:pattern value="(([0-9]?[0-9]*)\.)*([0-9]?[0-9]*)?"/>
101 </xs:restriction>
102 </xs:simpleType>
103
104 <xs:simpleType name="objectRef">
105 <xs:restriction base="xs:string">
106 </xs:restriction>
107 </xs:simpleType>
108
109 <xs:simpleType name="Counter32">
110 <xs:restriction base="xs:unsignedInt">
111 </xs:restriction>
112 </xs:simpleType>
113
114 <xs:simpleType name="Counter64">
115 <xs:restriction base="xs:unsignedLong">
116 </xs:restriction>
117 </xs:simpleType>
118
119 <xs:simpleType name="Gauge32">
120 <xs:restriction base="xs:unsignedInt">
121 </xs:restriction>
122 </xs:simpleType>
123
124 <xs:simpleType name="ipPrefix">
125
126 <xs:union>
127 <xs:simpleType>
128 <xs:restriction base="ipv4Prefix">
129 </xs:restriction>
130 </xs:simpleType>
131 <xs:simpleType>
132 <xs:restriction base="ipv6Prefix">
133 </xs:restriction>
134 </xs:simpleType>
135 </xs:union>
136 </xs:simpleType>
137
138 <xs:simpleType name="ipv4Prefix">
139
140 <xs:restriction base="xs:string">
141 <xs:pattern value="(([0-1]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-1]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])/\p{N}+"/>
142 </xs:restriction>
143 </xs:simpleType>
144
145 <xs:simpleType name="ipv6Prefix">
146
147 <xs:restriction base="xs:string">
148 <xs:pattern value="((([0-9a-fA-F]{1,4}:){7})([0-9a-fA-F]{1,4})/\p{N}+)|((([0-9a-fA-F]{1,4}:){6})(([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))/\p{N}+)|((([0-9a-fA-F]{1,4}:)*([0-9a-fA-F]{1,4}))*(::)(([0-9a-fA-F]{1,4}:)*([0-9a-fA-F]{1,4}))*/\p{N}+)((([0-9a-fA-F]{1,4}:)*([0-9a-fA-F]{1,4}))*(::)(([0-9a-fA-F]{1,4}:)*([0-9a-fA-F]{1,4}))*(([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))/\p{N}+)"/>
149 </xs:restriction>
150 </xs:simpleType>
151
152 <xs:attribute name="default" type="xs:anySimpleType">
153 </xs:attribute>
154
155 <xs:attribute name="config" type="xs:boolean">
156 </xs:attribute>
157
158 <xs:element name="errorMessage">
159 <xs:simpleType>
160 <xs:restriction base="xs:string"/>
161 </xs:simpleType>
162 </xs:element>
163 </xs:schema>
This page took 0.044578 seconds and 5 git commands to generate.