fieldset.xsd 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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:sequence minOccurs="0" maxOccurs="unbounded">
  17. <xs:element name="scope" type="scopeType"/>
  18. </xs:sequence>
  19. </xs:complexType>
  20. </xs:element>
  21. <xs:complexType name="scopeType">
  22. <xs:annotation>
  23. <xs:documentation>
  24. The definition of the current scope.
  25. </xs:documentation>
  26. </xs:annotation>
  27. <xs:sequence>
  28. <xs:element minOccurs="1" maxOccurs="unbounded" name="fieldset" type="fieldsetType"/>
  29. </xs:sequence>
  30. <xs:attribute name="id" type="xs:ID" use="required"/>
  31. </xs:complexType>
  32. <xs:complexType name="fieldsetType">
  33. <xs:annotation>
  34. <xs:documentation>
  35. The set of fields which will be used to filter existing Magento Object data
  36. </xs:documentation>
  37. </xs:annotation>
  38. <xs:sequence>
  39. <xs:element minOccurs="1" maxOccurs="unbounded" name="field" type="fieldType"/>
  40. </xs:sequence>
  41. <xs:attribute name="id" type="xs:ID" use="required"/>
  42. </xs:complexType>
  43. <xs:complexType name="fieldType">
  44. <xs:annotation>
  45. <xs:documentation>
  46. The name of a field used to extract data from an existing Magento Object
  47. </xs:documentation>
  48. </xs:annotation>
  49. <xs:sequence>
  50. <xs:element minOccurs="1" maxOccurs="unbounded" name="aspect" type="aspectType"/>
  51. </xs:sequence>
  52. <xs:attribute name="name" type="xs:token" use="required"/>
  53. </xs:complexType>
  54. <xs:complexType name="aspectType">
  55. <xs:annotation>
  56. <xs:documentation>
  57. The name of an aspect associated with a field. If the targetField is populated, the field data will be
  58. provided under the name specified by targetField.
  59. </xs:documentation>
  60. </xs:annotation>
  61. <xs:attribute name="name" type="xs:token" use="required"/>
  62. <xs:attribute name="targetField" type="xs:token" use="optional"/>
  63. </xs:complexType>
  64. </xs:schema>