diff options
author | Joas Schilling <coding@schilljs.com> | 2021-06-17 09:14:09 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-06-17 09:14:09 +0200 |
commit | 3a43556f2f56e54bd199f7749a6f13e7fcbfaba3 (patch) | |
tree | a46388931cfd0ecf3feb0d681dd6e0245d16a967 | |
parent | 78bfaeaa0e2c13e74f1c906e8eaea615a73463b2 (diff) | |
download | nextcloud-server-3a43556f2f56e54bd199f7749a6f13e7fcbfaba3.tar.gz nextcloud-server-3a43556f2f56e54bd199f7749a6f13e7fcbfaba3.zip |
Update shipped info.xsd too
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | resources/app-info-shipped.xsd | 60 |
1 files changed, 59 insertions, 1 deletions
diff --git a/resources/app-info-shipped.xsd b/resources/app-info-shipped.xsd index 90ca881c686..8fd1d0b25c2 100644 --- a/resources/app-info-shipped.xsd +++ b/resources/app-info-shipped.xsd @@ -67,6 +67,10 @@ maxOccurs="1" /> <xs:element name="public" type="public" minOccurs="0" maxOccurs="1" /> + <xs:element name="trash" type="trash" minOccurs="0" + maxOccurs="1" /> + <xs:element name="versions" type="versions" minOccurs="0" + maxOccurs="1" /> </xs:sequence> </xs:complexType> <xs:unique name="uniqueNameL10n"> @@ -97,6 +101,10 @@ <xs:selector xpath="dependencies/database"/> <xs:field xpath="."/> </xs:unique> + <xs:unique name="uniqueArchitecture"> + <xs:selector xpath="dependencies/architecture"/> + <xs:field xpath="."/> + </xs:unique> <xs:unique name="uniqueLib"> <xs:selector xpath="dependencies/lib"/> <xs:field xpath="."/> @@ -560,6 +568,8 @@ maxOccurs="1"/> <xs:element name="nextcloud" type="nextcloud" minOccurs="1" maxOccurs="1"/> + <xs:element name="architecture" type="architecture" minOccurs="0" + maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> @@ -621,6 +631,15 @@ </xs:restriction> </xs:simpleType> + <xs:simpleType name="architecture"> + <xs:restriction base="xs:string"> + <xs:enumeration value="x86"/> + <xs:enumeration value="x86_64"/> + <xs:enumeration value="aarch"/> + <xs:enumeration value="aarch64"/> + </xs:restriction> + </xs:simpleType> + <xs:complexType name="repair-steps"> <xs:sequence> <xs:element name="pre-migration" type="steps" minOccurs="0" @@ -671,15 +690,54 @@ </xs:sequence> </xs:complexType> + <xs:complexType name="fulltextsearch-provider"> + <xs:simpleContent> + <xs:extension base="php-class"> + <xs:attribute name="min-version" type="version" use="optional"/> + <xs:attribute name="max-version" type="version" use="optional"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + <xs:complexType name="fulltextsearch"> <xs:sequence> <xs:element name="platform" type="php-class" minOccurs="0" maxOccurs="unbounded"/> - <xs:element name="provider" type="php-class" minOccurs="0" + <xs:element name="provider" type="fulltextsearch-provider" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> + <xs:complexType name="trash"> + <xs:sequence> + <xs:element name="backend" type="trash-backend" minOccurs="1" + maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="trash-backend"> + <xs:simpleContent> + <xs:extension base="php-class"> + <xs:attribute name="for" type="php-class" use="required"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:complexType name="versions"> + <xs:sequence> + <xs:element name="backend" type="versions-backend" minOccurs="1" + maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="versions-backend"> + <xs:simpleContent> + <xs:extension base="php-class"> + <xs:attribute name="for" type="php-class" use="required"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + <xs:simpleType name="php-class"> <xs:restriction base="xs:string"> <xs:pattern |