-
Notifications
You must be signed in to change notification settings - Fork 9.4k
/
Copy pathfieldset_file.xsd
69 lines (64 loc) · 2.46 KB
/
fieldset_file.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"?>
<!--
/**
* 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:element name="config">
<xs:annotation>
<xs:documentation>
Specifies a configuration.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="scope" type="scopeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="scopeType">
<xs:annotation>
<xs:documentation>
The definition of the current scope.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="fieldset" type="fieldsetType"/>
</xs:sequence>
<xs:attribute name="id" type="xs:ID" use="required"/>
</xs:complexType>
<xs:complexType name="fieldsetType">
<xs:annotation>
<xs:documentation>
The set of fields which will be used to filter existing Magento Object data
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="field" type="fieldType"/>
</xs:sequence>
<xs:attribute name="id" type="xs:ID" use="required"/>
</xs:complexType>
<xs:complexType name="fieldType">
<xs:annotation>
<xs:documentation>
The name of a field used to extract data from an existing Magento Object
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="aspect" type="aspectType"/>
</xs:sequence>
<xs:attribute name="name" type="xs:token" use="required"/>
</xs:complexType>
<xs:complexType name="aspectType">
<xs:annotation>
<xs:documentation>
The name of an aspect associated with a field. If the targetField is populated, the field data will be
provided under the name specified by targetField.
</xs:documentation>
</xs:annotation>
<xs:attribute name="name" type="xs:token" use="required"/>
<xs:attribute name="targetField" type="xs:token" use="optional"/>
</xs:complexType>
</xs:schema>