-
Notifications
You must be signed in to change notification settings - Fork 8
/
config_format.xsd
56 lines (49 loc) · 2.19 KB
/
config_format.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2023 CARIAD SE.
This Source Code Form is subject to the terms of the Mozilla
Public License, v. 2.0. If a copy of the MPL was not distributed
with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="CheckerType">
<xs:sequence>
<xs:element name="Param" type="ParamType" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="checkerId" type="xs:string" />
<xs:attribute name="maxLevel" type="xs:string" />
<xs:attribute name="minLevel" type="xs:string" />
</xs:complexType>
<xs:complexType name="ParamType">
<xs:attribute name="name" type="xs:string" />
<xs:attribute name="value" type="xs:string" />
</xs:complexType>
<xs:complexType name="ReportModuleType">
<xs:sequence>
<xs:element name="Param" type="ParamType" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="application" type="xs:string" />
</xs:complexType>
<xs:complexType name="CheckerBundleType">
<xs:sequence>
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:element name="Param" type="ParamType" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="Checker" type="CheckerType" minOccurs="0" maxOccurs="unbounded" />
</xs:choice>
</xs:sequence>
<xs:attribute name="application" type="xs:string" />
</xs:complexType>
<xs:element name="Config">
<xs:complexType>
<xs:sequence>
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:element name="Param" type="ParamType" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="CheckerBundle" type="CheckerBundleType" minOccurs="0"
maxOccurs="unbounded" />
<xs:element name="ReportModule" type="ReportModuleType" minOccurs="0"
maxOccurs="unbounded" />
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>