-
Notifications
You must be signed in to change notification settings - Fork 132
/
Copy pathtestSchema.xsd
63 lines (62 loc) · 3.05 KB
/
testSchema.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
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:redefine schemaLocation="mergedTestSchema.xsd">
<xs:complexType name="configType">
<xs:complexContent>
<xs:restriction base="configType">
<xs:choice>
<xs:element type="testType" name="test" maxOccurs="1">
<xs:unique name="uniqueStepKeyInTestBlock">
<xs:annotation>
<xs:documentation>
Step key should be unique in scope of 'test' node in current file
</xs:documentation>
</xs:annotation>
<xs:selector xpath="*" />
<xs:field xpath="@stepKey" />
</xs:unique>
</xs:element>
</xs:choice>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="testType">
<xs:complexContent>
<xs:restriction base="testType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:group ref="testTypeTags" />
<xs:element type="hookType" name="before" minOccurs="0" maxOccurs="1">
<xs:unique name="uniqueStepKeyInBeforeBlock">
<xs:annotation>
<xs:documentation>
Step key should be unique in scope of 'before' node in current file
</xs:documentation>
</xs:annotation>
<xs:selector xpath="*" />
<xs:field xpath="@stepKey" />
</xs:unique>
</xs:element>
<xs:element type="hookType" name="after" minOccurs="0" maxOccurs="1">
<xs:unique name="uniqueStepKeyInAfterBlock">
<xs:annotation>
<xs:documentation>
Step key should be unique in scope of 'after' node in current file
</xs:documentation>
</xs:annotation>
<xs:selector xpath="*" />
<xs:field xpath="@stepKey" />
</xs:unique>
</xs:element>
<xs:element type="annotationsType" name="annotations" minOccurs="0" maxOccurs="1"/>
</xs:choice>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
</xs:redefine>
</xs:schema>