2 <!-- This file is used for xml files which install, update or delete user group options. -->
3 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.woltlab.com" targetNamespace="http://www.woltlab.com" elementFormDefault="qualified">
5 <xs:include schemaLocation="types.xsd" />
7 <!-- include option types -->
8 <xs:include schemaLocation="optionTypes.xsd" />
11 <xs:element name="data">
14 <xs:element name="import" type="import" minOccurs="0" />
15 <xs:element name="delete" type="delete" minOccurs="0" />
20 <!-- import element -->
21 <xs:complexType name="import">
23 <xs:element name="categories" type="categories_import" minOccurs="0" />
24 <xs:element name="options" type="options_import" minOccurs="0" />
28 <!-- categories import element type -->
29 <xs:complexType name="categories_import">
31 <xs:element name="category" type="category_import" maxOccurs="unbounded" />
35 <!-- imported/updated category element type -->
36 <xs:complexType name="category_import">
38 <xs:extension base="category_delete">
40 <xs:element name="parent" type="woltlab_varchar_nullable" minOccurs="0" />
41 <xs:element name="showorder" type="xs:unsignedInt" minOccurs="0" />
42 <xs:element name="options" type="woltlab_varchar_nullable" minOccurs="0" />
48 <!-- options import element type -->
49 <xs:complexType name="options_import">
51 <xs:element name="option" type="option_import" maxOccurs="unbounded" />
55 <!-- imported/updated element type -->
56 <xs:complexType name="option_import">
58 <xs:extension base="option_delete">
60 <xs:element name="categoryname" type="woltlab_varchar" minOccurs="1" />
61 <xs:element name="optiontype" type="woltlab_varchar_nullable" minOccurs="0" />
62 <xs:element name="defaultvalue" type="xs:string" minOccurs="0" />
63 <xs:element name="userdefaultvalue" type="xs:string" minOccurs="0" />
64 <xs:element name="moddefaultvalue" type="xs:string" minOccurs="0" />
65 <xs:element name="validationpattern" type="xs:string" minOccurs="0" />
66 <xs:element name="enableoptions" type="xs:string" minOccurs="0" />
67 <xs:element name="showorder" type="xs:unsignedInt" minOccurs="0" />
68 <xs:element name="options" type="xs:string" minOccurs="0" />
69 <xs:element name="permissions" type="xs:string" minOccurs="0" />
70 <xs:element name="admindefaultvalue" type="xs:string" minOccurs="0" />
71 <xs:element name="usersonly" type="woltlab_boolean" minOccurs="0" />
72 <xs:element name="wildcard" type="woltlab_varchar_nullable" minOccurs="0" />
73 <xs:element name="minvalue" type="xs:unsignedInt" minOccurs="0" />
74 <xs:element name="excludedInTinyBuild" type="woltlab_boolean" minOccurs="0" />