<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.woltlab.com" targetNamespace="http://www.woltlab.com" elementFormDefault="qualified">
<!-- include types -->
<xs:include schemaLocation="types.xsd" />
-
+
<!-- data element -->
<xs:element name="data">
<xs:complexType>
</xs:all>
</xs:complexType>
</xs:element>
-
+
<!-- import element type -->
<xs:complexType name="import">
<xs:sequence>
<xs:element name="cronjob" type="cronjob" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
-
+
<!-- delete element type -->
<xs:complexType name="delete">
<xs:sequence>
<xs:element name="cronjob" type="cronjob" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
-
+
<!-- cronjob element type -->
<xs:complexType name="cronjob">
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="active" type="woltlab_boolean" minOccurs="0" default="1" />
</xs:choice>
</xs:complexType>
-
+
<xs:complexType name="description_element">
<xs:simpleContent>
<xs:extension base="woltlab_varchar">
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.woltlab.com" targetNamespace="http://www.woltlab.com" elementFormDefault="qualified">
<!-- include types -->
<xs:include schemaLocation="types.xsd" />
-
+
<!-- data element -->
<xs:element name="data">
<xs:complexType>
</xs:all>
</xs:complexType>
</xs:element>
-
+
<!-- import element -->
<xs:complexType name="import">
<xs:sequence>
<xs:element name="type" type="type_import" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
-
+
<!-- import element -->
<xs:complexType name="delete">
<xs:sequence>
<xs:element name="type" type="type_delete" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
-
+
<!-- import element type -->
<xs:complexType name="type_import">
<xs:all>
<xs:element name="nicevalue" type="xs:integer" minOccurs="0" />
</xs:all>
</xs:complexType>
-
+
<!-- delete element type -->
<xs:complexType name="type_delete">
<xs:all>
<?xml version="1.0"?>
<!-- The file "styleattributes.xsd" is used for xml-files which installs, updates or deletes style attributes. -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.woltlab.com" targetNamespace="http://www.woltlab.com" elementFormDefault="qualified">
-
- <!-- include types -->
- <xs:include schemaLocation="types.xsd" />
-
- <!-- Represents the data-node. -->
- <xs:element name="data">
- <xs:complexType>
- <xs:all>
- <xs:element name="import" type="import" minOccurs="0" />
- <xs:element name="delete" type="delete" minOccurs="0" />
- </xs:all>
- </xs:complexType>
- </xs:element>
-
- <!-- Represents the import-node. -->
- <xs:complexType name="import">
- <xs:sequence>
- <xs:element name="attribute" type="styleattribute" maxOccurs="unbounded" />
- </xs:sequence>
- </xs:complexType>
-
- <!-- Represents the delete-node. -->
- <xs:complexType name="delete">
- <xs:sequence>
- <xs:element name="attribute" type="styleattribute" maxOccurs="unbounded" />
- </xs:sequence>
- </xs:complexType>
-
- <!-- Represents a styleattribute, which will be installed, updated or deleted. -->
- <xs:complexType name="styleattribute">
- <xs:all>
- <xs:element name="selector" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0" />
- <xs:maxLength value="200" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="name" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0" />
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="value" minOccurs="1">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0" />
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:all>
+ <!-- include types -->
+ <xs:include schemaLocation="types.xsd" />
+
+ <!-- Represents the data-node. -->
+ <xs:element name="data">
+ <xs:complexType>
+ <xs:all>
+ <xs:element name="import" type="import" minOccurs="0" />
+ <xs:element name="delete" type="delete" minOccurs="0" />
+ </xs:all>
+ </xs:complexType>
+ </xs:element>
+
+ <!-- Represents the import-node. -->
+ <xs:complexType name="import">
+ <xs:sequence>
+ <xs:element name="attribute" type="styleattribute" maxOccurs="unbounded" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <!-- Represents the delete-node. -->
+ <xs:complexType name="delete">
+ <xs:sequence>
+ <xs:element name="attribute" type="styleattribute" maxOccurs="unbounded" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <!-- Represents a styleattribute, which will be installed, updated or deleted. -->
+ <xs:complexType name="styleattribute">
+ <xs:all>
+ <xs:element name="selector" minOccurs="0">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:minLength value="0" />
+ <xs:maxLength value="200" />
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="name" minOccurs="0">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:minLength value="0" />
+ <xs:maxLength value="50" />
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="value" minOccurs="1">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:minLength value="0" />
+ <xs:maxLength value="50" />
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ </xs:all>
</xs:complexType>
</xs:schema>
\ No newline at end of file
<xs:maxLength value="255" />
</xs:restriction>
</xs:simpleType>
-
+
<!-- string type with a minimum length of 0 and a maximum length of 255 signs -->
<xs:simpleType name="woltlab_varchar_nullable">
<xs:restriction base="xs:string">
<xs:maxLength value="255" />
</xs:restriction>
</xs:simpleType>
-
+
<!-- boolean type which only accepts '0' or '1' -->
<xs:simpleType name="woltlab_boolean">
<xs:restriction base="xs:integer">
<xs:maxInclusive value="1" />
</xs:restriction>
</xs:simpleType>
-
+
<!-- user/admin environment type which only accepts 'user' or 'admin' -->
<xs:simpleType name="woltlab_environment">
<xs:restriction base="xs:string">