persistent.xsd 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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 elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  9. <xs:element name="config">
  10. <xs:annotation>
  11. <xs:documentation>
  12. Specifies a configuration.
  13. </xs:documentation>
  14. </xs:annotation>
  15. <xs:complexType>
  16. <xs:all>
  17. <xs:element name="instances" type="instancesType" minOccurs="1" />
  18. </xs:all>
  19. </xs:complexType>
  20. </xs:element>
  21. <xs:complexType name="instancesType">
  22. <xs:annotation>
  23. <xs:documentation>
  24. The definition of the current instances.
  25. </xs:documentation>
  26. </xs:annotation>
  27. <xs:all>
  28. <xs:element name="blocks" type="blocksType" minOccurs="1" />
  29. </xs:all>
  30. </xs:complexType>
  31. <xs:complexType name="blocksType">
  32. <xs:annotation>
  33. <xs:documentation>
  34. Contains the set of block references
  35. </xs:documentation>
  36. </xs:annotation>
  37. <xs:sequence>
  38. <xs:element name="reference" type="referenceType" minOccurs="1" maxOccurs="unbounded" />
  39. </xs:sequence>
  40. </xs:complexType>
  41. <xs:complexType name="referenceType">
  42. <xs:annotation>
  43. <xs:documentation>
  44. The definition of the block references
  45. </xs:documentation>
  46. </xs:annotation>
  47. <xs:all>
  48. <xs:element name="name_in_layout" type="xs:token" />
  49. <xs:element name="class" type="xs:string" />
  50. <xs:element name="method" type="xs:token" />
  51. <xs:element name="block_type" type="xs:string" />
  52. </xs:all>
  53. <xs:attribute name="id" type="xs:ID" use="required" />
  54. </xs:complexType>
  55. </xs:schema>