GrabbieAddon.xsd 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://kerrigan.nasutek.com/schemas/grabbieaddon.xsd">
  3. <xs:element name="AddIn">
  4. <xs:complexType>
  5. <xs:sequence>
  6. <xs:element name="Manifest">
  7. <xs:complexType>
  8. <xs:sequence>
  9. <xs:element name="Identity">
  10. <xs:complexType>
  11. <xs:attribute name="name" type="xs:string" use="required" />
  12. <xs:attribute name="version" type="xs:string" use="required" />
  13. </xs:complexType>
  14. </xs:element>
  15. <xs:sequence>
  16. <xs:element minOccurs="0" maxOccurs="unbounded" name="Dependency">
  17. <xs:complexType>
  18. <xs:attribute name="addin" type="xs:string" use="required" />
  19. <xs:attribute name="version" type="xs:decimal" use="required" />
  20. </xs:complexType>
  21. </xs:element>
  22. </xs:sequence>
  23. </xs:sequence>
  24. </xs:complexType>
  25. </xs:element>
  26. <xs:element name="Runtime">
  27. <xs:complexType>
  28. <xs:sequence>
  29. <xs:element name="Import">
  30. <xs:complexType>
  31. <xs:attribute name="assembly" type="xs:string" use="required" />
  32. </xs:complexType>
  33. </xs:element>
  34. </xs:sequence>
  35. </xs:complexType>
  36. </xs:element>
  37. <xs:element maxOccurs="unbounded" name="Path">
  38. <xs:complexType>
  39. <xs:sequence>
  40. <xs:element minOccurs="0" maxOccurs="unbounded" name="UploadType">
  41. <xs:complexType>
  42. <xs:attribute name="id" type="xs:string" use="required" />
  43. <xs:attribute name="class" type="xs:string" use="required" />
  44. <xs:attribute name="name" type="xs:string" use="required" />
  45. </xs:complexType>
  46. </xs:element>
  47. <xs:element minOccurs="0" maxOccurs="unbounded" name="SettingsPage">
  48. <xs:complexType>
  49. <xs:attribute name="id" type="xs:string" use="required" />
  50. <xs:attribute name="class" type="xs:string" use="required" />
  51. </xs:complexType>
  52. </xs:element>
  53. <xs:element minOccurs="0" maxOccurs="unbounded" name="CaptureType">
  54. <xs:complexType>
  55. <xs:attribute name="id" type="xs:string" use="required" />
  56. <xs:attribute name="class" type="xs:string" use="required" />
  57. </xs:complexType>
  58. </xs:element>
  59. <xs:element minOccurs="0" maxOccurs="unbounded" name="UrlShortnerType">
  60. <xs:complexType>
  61. <xs:attribute name="id" type="xs:string" use="required" />
  62. <xs:attribute name="class" type="xs:string" use="required" />
  63. <xs:attribute name="name" type="xs:string" use="required" />
  64. </xs:complexType>
  65. </xs:element>
  66. <xs:element minOccurs="0" maxOccurs="unbounded" name="AlertType">
  67. <xs:complexType>
  68. <xs:attribute name="id" type="xs:string" use="required" />
  69. <xs:attribute name="class" type="xs:string" use="required" />
  70. <xs:attribute name="name" type="xs:string" use="required" />
  71. </xs:complexType>
  72. </xs:element>
  73. <xs:element minOccurs="0" maxOccurs="unbounded" name="FileNameType">
  74. <xs:complexType>
  75. <xs:attribute name="id" type="xs:string" use="required" />
  76. <xs:attribute name="class" type="xs:string" use="required" />
  77. <xs:attribute name="name" type="xs:string" use="required" />
  78. </xs:complexType>
  79. </xs:element>
  80. </xs:sequence>
  81. <xs:attribute name="name" type="xs:string" use="required" />
  82. </xs:complexType>
  83. </xs:element>
  84. </xs:sequence>
  85. <xs:attribute name="name" type="xs:string" use="required" />
  86. <xs:attribute name="author" type="xs:string" use="required" />
  87. <xs:attribute name="url" type="xs:string" use="required" />
  88. <xs:attribute name="description" type="xs:string" use="required" />
  89. <xs:attribute name="required" type="xs:boolean" use="required" />
  90. </xs:complexType>
  91. </xs:element>
  92. </xs:schema>