Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

74 строки
3.3 KiB

  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:complexType name="linkType">
  10. <xs:attribute name="src" type="xs:string" use="required"/>
  11. <xs:attribute name="defer" type="xs:string"/>
  12. <xs:attribute name="ie_condition" type="xs:string"/>
  13. <xs:attribute name="charset" type="xs:string"/>
  14. <xs:attribute name="hreflang" type="xs:string"/>
  15. <xs:attribute name="media" type="xs:string"/>
  16. <xs:attribute name="rel" type="xs:string"/>
  17. <xs:attribute name="rev" type="xs:string"/>
  18. <xs:attribute name="sizes" type="xs:string"/>
  19. <xs:attribute name="target" type="xs:string"/>
  20. <xs:attribute name="type" type="xs:string"/>
  21. <xs:attribute name="order" type="xs:integer"/>
  22. <xs:attribute name="src_type" type="xs:string"/>
  23. <xs:attribute name="as">
  24. <xs:simpleType>
  25. <xs:restriction base="xs:string">
  26. <xs:enumeration value="font" />
  27. <xs:enumeration value="script" />
  28. <xs:enumeration value="style" />
  29. </xs:restriction>
  30. </xs:simpleType>
  31. </xs:attribute>
  32. </xs:complexType>
  33. <xs:complexType name="metaType">
  34. <xs:attribute name="content" type="xs:string" use="required"/>
  35. <xs:attribute name="charset" type="xs:string" />
  36. <xs:attribute name="http-equiv" type="xs:string"/>
  37. <xs:attribute name="name" type="xs:string"/>
  38. <xs:attribute name="scheme" type="xs:string"/>
  39. </xs:complexType>
  40. <xs:complexType name="scriptType">
  41. <xs:attribute name="src" type="xs:string" use="required"/>
  42. <xs:attribute name="defer" type="xs:string"/>
  43. <xs:attribute name="ie_condition" type="xs:string"/>
  44. <xs:attribute name="async" type="xs:string"/>
  45. <xs:attribute name="charset" type="xs:string"/>
  46. <xs:attribute name="type" type="xs:string"/>
  47. <xs:attribute name="src_type" type="xs:string"/>
  48. </xs:complexType>
  49. <xs:complexType name="headAttributeType">
  50. <xs:attribute type="xs:string" name="name"/>
  51. <xs:attribute type="xs:string" name="value"/>
  52. </xs:complexType>
  53. <xs:complexType name="srcRemoveType">
  54. <xs:attribute name="src" type="xs:string" use="required"/>
  55. </xs:complexType>
  56. <xs:complexType name="headType">
  57. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  58. <xs:element name="title" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
  59. <xs:element name="css" type="linkType" minOccurs="0" maxOccurs="unbounded"/>
  60. <xs:element name="link" type="linkType" minOccurs="0" maxOccurs="unbounded"/>
  61. <xs:element name="meta" type="metaType" minOccurs="0" maxOccurs="unbounded"/>
  62. <xs:element name="script" type="scriptType" minOccurs="0" maxOccurs="unbounded"/>
  63. <xs:element name="remove" type="srcRemoveType" minOccurs="0" maxOccurs="unbounded"/>
  64. <xs:element name="attribute" type="headAttributeType" minOccurs="0" maxOccurs="unbounded"/>
  65. <xs:element name="font" type="linkType" minOccurs="0" maxOccurs="unbounded"/>
  66. </xs:sequence>
  67. </xs:complexType>
  68. </xs:schema>