forked from dmn-tck/tck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
testCases.xsd
69 lines (69 loc) · 2.67 KB
/
testCases.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
57
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2013 rel. 2 sp2 (x64) (http://www.altova.com) by Bruce Silver (private) -->
<xs:schema xmlns="http://www.omg.org/spec/DMN/20160719/testcase" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.omg.org/spec/DMN/20160719/testcase" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="testCases">
<xs:complexType>
<xs:sequence>
<xs:element name="modelName" type="xs:string" minOccurs="0"/>
<xs:element name="labels" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="label" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="testCase" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="inputNode" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:complexContent>
<xs:extension base="valueType">
<xs:attribute name="name" use="required"/>
<xs:attribute name="type" type="xs:string"/>
<xs:attribute name="cast" type="xs:string"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="resultNode" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="computed" type="valueType" minOccurs="0"/>
<xs:element name="expected" type="valueType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="name" use="required"/>
<xs:attribute name="type" type="xs:string"/>
<xs:attribute name="cast" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="valueType">
<xs:choice>
<xs:element name="value" type="xs:anySimpleType"/>
<xs:element name="component" maxOccurs="unbounded">
<xs:complexType>
<xs:complexContent>
<xs:extension base="valueType">
<xs:attribute name="name" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="list">
<xs:complexType>
<xs:sequence>
<xs:element name="item" type="valueType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:schema>