aboutsummaryrefslogtreecommitdiffstats
path: root/resources/app-info.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'resources/app-info.xsd')
-rw-r--r--resources/app-info.xsd21
1 files changed, 21 insertions, 0 deletions
diff --git a/resources/app-info.xsd b/resources/app-info.xsd
index 43f241cb73d..9b491fd6a05 100644
--- a/resources/app-info.xsd
+++ b/resources/app-info.xsd
@@ -1,4 +1,8 @@
<?xml version="1.0"?>
+<!--
+ - SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
+ - SPDX-License-Identifier: AGPL-3.0-or-later
+-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified">
@@ -366,6 +370,15 @@
<xs:simpleType name="licence">
<xs:restriction base="xs:string">
+ <xs:enumeration value="AGPL-3.0-only"/>
+ <xs:enumeration value="AGPL-3.0-or-later"/>
+ <xs:enumeration value="Apache-2.0"/>
+ <xs:enumeration value="GPL-3.0-only"/>
+ <xs:enumeration value="GPL-3.0-or-later"/>
+ <xs:enumeration value="MIT"/>
+ <xs:enumeration value="MPL-2.0"/>
+
+ <!-- Deprecated -->
<xs:enumeration value="agpl"/>
<xs:enumeration value="mpl"/>
<xs:enumeration value="apache"/>
@@ -559,6 +572,8 @@
maxOccurs="1"/>
<xs:element name="architecture" type="architecture" minOccurs="0"
maxOccurs="unbounded"/>
+ <xs:element name="backend" type="backend" minOccurs="0"
+ maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
@@ -733,4 +748,10 @@
value="[a-zA-Z_][0-9a-zA-Z_]*(\\[a-zA-Z_][0-9a-zA-Z_]*)*"/>
</xs:restriction>
</xs:simpleType>
+
+ <xs:simpleType name="backend">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="caldav"/>
+ </xs:restriction>
+ </xs:simpleType>
</xs:schema>