summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin.xsd16
1 files changed, 7 insertions, 9 deletions
diff --git a/plugin.xsd b/plugin.xsd
index 38cb872..985b105 100644
--- a/plugin.xsd
+++ b/plugin.xsd
@@ -6,7 +6,13 @@
<xs:element name="name" type="string" />
<xs:element name="author" type="string" />
<xs:element name="import" type="importString" minOccurs="0"/>
- <xs:element name="frontends" type="stringList" minOccurs="0" />
+ <xs:element name="dependencies" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="dependency" type="string" maxOccurs="unbounded" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
<xs:element name="hooks" minOccurs="0">
<xs:complexType>
<xs:sequence>
@@ -78,12 +84,4 @@
<xs:minLength value="1" />
</xs:restriction>
</xs:simpleType>
- <xs:simpleType name="_stringList">
- <xs:list itemType="string"/>
- </xs:simpleType>
- <xs:simpleType name="stringList">
- <xs:restriction base="_stringList">
- <xs:minLength value="1" />
- </xs:restriction>
- </xs:simpleType>
</xs:schema>