summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-06-17 09:14:09 +0200
committerJoas Schilling <coding@schilljs.com>2021-06-17 09:14:09 +0200
commit3a43556f2f56e54bd199f7749a6f13e7fcbfaba3 (patch)
treea46388931cfd0ecf3feb0d681dd6e0245d16a967 /resources
parent78bfaeaa0e2c13e74f1c906e8eaea615a73463b2 (diff)
downloadnextcloud-server-3a43556f2f56e54bd199f7749a6f13e7fcbfaba3.tar.gz
nextcloud-server-3a43556f2f56e54bd199f7749a6f13e7fcbfaba3.zip
Update shipped info.xsd too
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/app-info-shipped.xsd60
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