Skip to content

Commit 7ae75c1

Browse files
author
Michael Yu
committed
MC-2217: Add support for new config structure
- Updated content_type.xsd to only have name to be required field
1 parent 33f8647 commit 7ae75c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/code/Magento/PageBuilder/etc/content_type.xsd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<xs:attribute type="xs:byte" name="sortOrder" use="optional"/>
3838
<xs:attribute type="xs:string" name="label" use="optional"/>
3939
<xs:attribute type="xs:string" name="icon" use="optional"/>
40-
<xs:attribute type="xs:string" name="component" use="required"/>
40+
<xs:attribute type="xs:string" name="component" use="optional"/>
4141
<xs:attribute type="xs:string" name="preview_component" use="optional"/>
4242
<xs:attribute type="xs:string" name="master_component" use="optional"/>
4343
<xs:attribute type="xs:string" name="form" use="optional"/>
@@ -159,7 +159,7 @@
159159
<xs:attribute type="xs:string" name="virtual" use="optional"/>
160160
</xs:complexType>
161161
<xs:complexType name="static_property">
162-
<xs:attribute type="xs:string" name="source" use="required"/>
162+
<xs:attribute type="xs:string" name="source" use="optional"/>
163163
<xs:attribute type="xs:string" name="value" use="optional"/>
164164
</xs:complexType>
165165
<xs:complexType name="attributes">
@@ -186,7 +186,7 @@
186186
<xs:attribute type="xs:boolean" name="persist" use="optional"/>
187187
</xs:complexType>
188188
<xs:complexType name="static_attribute">
189-
<xs:attribute type="xs:string" name="source" use="required"/>
189+
<xs:attribute type="xs:string" name="source" use="optional"/>
190190
<xs:attribute type="xs:string" name="value" use="optional"/>
191191
</xs:complexType>
192192
<xs:complexType name="html">
@@ -207,7 +207,7 @@
207207
</xs:sequence>
208208
</xs:complexType>
209209
<xs:complexType name="class">
210-
<xs:attribute type="xs:string" name="source" use="required"/>
210+
<xs:attribute type="xs:string" name="source" use="optional"/>
211211
</xs:complexType>
212212
<xs:complexType name="tag">
213213
<xs:attribute type="xs:string" name="name" use="required"/>

0 commit comments

Comments
 (0)