page_configuration.xsd 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 xmlns:xs="http://www.w3.org/2001/XMLSchema">
  9. <xs:include schemaLocation="urn:magento:framework:View/Layout/etc/head.xsd"/>
  10. <xs:include schemaLocation="urn:magento:framework:View/Layout/etc/body.xsd"/>
  11. <xs:include schemaLocation="urn:magento:framework:View/Layout/etc/html.xsd"/>
  12. <xs:complexType name="pageType">
  13. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  14. <xs:element name="html" type="htmlType" minOccurs="0" maxOccurs="unbounded"/>
  15. <xs:element name="body" type="bodyType" minOccurs="0" maxOccurs="unbounded"/>
  16. <xs:element name="head" type="headType" minOccurs="0" maxOccurs="unbounded"/>
  17. <xs:element ref="update" minOccurs="0" maxOccurs="unbounded"/>
  18. </xs:sequence>
  19. <xs:attribute type="xs:string" name="layout" />
  20. <xs:attribute type="xs:string" name="label" />
  21. <xs:attribute type="xs:string" name="design_abstraction" />
  22. </xs:complexType>
  23. <xs:element name="page" type="pageType">
  24. <xs:unique name="blockKey">
  25. <xs:selector xpath=".//block"/>
  26. <xs:field xpath="@name"/>
  27. </xs:unique>
  28. <xs:unique name="containerKey">
  29. <xs:selector xpath=".//container"/>
  30. <xs:field xpath="@name"/>
  31. </xs:unique>
  32. </xs:element>
  33. <xs:complexType name="const">
  34. <xs:complexContent>
  35. <xs:extension base="argumentType" />
  36. </xs:complexContent>
  37. </xs:complexType>
  38. </xs:schema>