File tree Expand file tree Collapse file tree 1 file changed +17
-7
lines changed
lib/internal/Magento/Framework/Config/etc Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Original file line number Diff line number Diff line change 66
66
<xs : attribute name =" id" type =" xs:string" use =" required" />
67
67
<xs : attribute name =" type" >
68
68
<xs : simpleType >
69
- <xs : restriction base =" xs:string" >
70
- <xs : enumeration value =" thumbnail" />
71
- <xs : enumeration value =" small_image" />
72
- <xs : enumeration value =" image" />
73
- <xs : enumeration value =" swatch_image" />
74
- <xs : enumeration value =" swatch_thumb" />
75
- </xs : restriction >
69
+ <xs : union >
70
+ <xs : simpleType >
71
+ <xs : restriction base =" xs:string" >
72
+ <xs : enumeration value =" thumbnail" />
73
+ <xs : enumeration value =" small_image" />
74
+ <xs : enumeration value =" image" />
75
+ <xs : enumeration value =" swatch_image" />
76
+ <xs : enumeration value =" swatch_thumb" />
77
+ </xs : restriction >
78
+ </xs : simpleType >
79
+ <xs : simpleType >
80
+ <xs : restriction base =" xs:string" >
81
+ <xs : minLength value =" 1" />
82
+ <xs : pattern value =" [a-z]+[a-z_]+[a-z]+" />
83
+ </xs : restriction >
84
+ </xs : simpleType >
85
+ </xs : union >
76
86
</xs : simpleType >
77
87
</xs : attribute >
78
88
</xs : complexType >
You can’t perform that action at this time.
0 commit comments