body.xsd 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  9. <xs:include schemaLocation="urn:magento:framework:View/Layout/etc/elements.xsd"/>
  10. <xs:complexType name="bodyType">
  11. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  12. <xs:element type="bodyAttributeType" name="attribute" maxOccurs="unbounded" minOccurs="0"/>
  13. <xs:element ref="block" minOccurs="0" maxOccurs="unbounded"/>
  14. <xs:element ref="referenceBlock" minOccurs="0" maxOccurs="unbounded"/>
  15. <xs:element ref="referenceContainer" minOccurs="0" maxOccurs="unbounded"/>
  16. <xs:element name="container" type="containerType" minOccurs="0" maxOccurs="unbounded"/>
  17. <xs:element ref="move" minOccurs="0" maxOccurs="unbounded"/>
  18. <xs:element ref="uiComponent" minOccurs="0" maxOccurs="unbounded"/>
  19. </xs:sequence>
  20. </xs:complexType>
  21. <xs:complexType name="bodyAttributeType">
  22. <xs:simpleContent>
  23. <xs:extension base="xs:string">
  24. <xs:attribute type="xs:string" name="name" use="optional"/>
  25. <xs:attribute type="xs:string" name="value" use="optional"/>
  26. </xs:extension>
  27. </xs:simpleContent>
  28. </xs:complexType>
  29. </xs:schema>