Warning, /pim/akonadi/src/server/storage/akonadidb.xsd is written in an unsupported language. File is not indexed.

0001 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
0002 
0003 <!--
0004 
0005     SPDX-FileCopyrightText: 2006-2012 Volker Krause <vkrause@kde.org>
0006     SPDX-FileCopyrightText: 2006 Tobias Koenig <tokoe@kde.org>
0007     SPDX-FileCopyrightText: 2007 Christian Schaarschmidt <schaarsc@gmx.de>
0008     SPDX-FileCopyrightText: 2007 Robert Zwerus <arzie@dds.nl>
0009 
0010     SPDX-License-Identifier: LGPL-2.0-or-later
0011 
0012 -->
0013 
0014   <xsd:element name="database">
0015    <xsd:complexType>
0016      <xsd:sequence>
0017        <xsd:element name="table"    type="tableType"    minOccurs="1" maxOccurs="100"/>
0018        <xsd:element name="relation" type="relationType" minOccurs="0" maxOccurs="100"/>
0019      </xsd:sequence>
0020    </xsd:complexType>
0021   </xsd:element>
0022 
0023   <xsd:complexType name="tableType">
0024     <xsd:sequence>
0025       <xsd:element name="enum"       type="enumType"      minOccurs="0" maxOccurs="100"/>
0026       <xsd:element name="comment"    type="xsd:string"    minOccurs="0" maxOccurs="1"/>
0027       <xsd:element name="column"     type="columnType"    minOccurs="1" maxOccurs="100"/>
0028       <xsd:element name="index"      type="indexType"     minOccurs="0" maxOccurs="100"/>
0029       <xsd:element name="reference"  type="referenceType" minOccurs="0" maxOccurs="100"/>
0030       <xsd:element name="data"       type="dataType"      minOccurs="0" maxOccurs="100"/>
0031     </xsd:sequence>
0032     <xsd:attribute name="name"       type="xsd:string"   use="required"/>
0033     <xsd:attribute name="properties" type="xsd:string"/>
0034     <xsd:attribute name="identificationColumn" type="xsd:string"/>
0035   </xsd:complexType>
0036 
0037   <xsd:complexType name="relationType">
0038     <xsd:sequence>
0039       <xsd:element name="comment"    type="xsd:string"  minOccurs="0" maxOccurs="1"/>
0040       <xsd:element name="index"      type="indexType"   minOccurs="0" maxOccurs="100"/>
0041     </xsd:sequence>
0042     <xsd:attribute name="table1"     type="xsd:string"   use="required"/>
0043     <xsd:attribute name="column1"    type="xsd:string"   use="required"/>
0044     <xsd:attribute name="table2"     type="xsd:string"   use="required"/>
0045     <xsd:attribute name="column2"    type="xsd:string"   use="required"/>
0046   </xsd:complexType>
0047 
0048   <xsd:complexType name="columnType">
0049     <xsd:sequence>
0050       <xsd:element name="comment"     type="xsd:string"  minOccurs="0" maxOccurs="1"/>
0051     </xsd:sequence>
0052     <xsd:attribute name="name"        type="xsd:string"  use="required"/>
0053     <xsd:attribute name="type"        type="xsd:string"  use="required"/>
0054     <xsd:attribute name="size"        type="xsd:integer"/>
0055     <xsd:attribute name="default"     type="xsd:string"/>
0056     <xsd:attribute name="allowNull"   type="xsd:boolean" default="true"/>
0057     <xsd:attribute name="isUnique"    type="xsd:boolean" default="false"/>
0058     <xsd:attribute name="isPrimaryKey" type="xsd:boolean" default="false"/>
0059     <xsd:attribute name="isAutoIncrement" type="xsd:boolean" default="false"/>
0060     <xsd:attribute name="refTable"    type="xsd:string"/>
0061     <xsd:attribute name="refColumn"   type="xsd:string"/>
0062     <xsd:attribute name="methodName"  type="xsd:string"/>
0063     <xsd:attribute name="onUpdate"    type="xsd:string"/>
0064     <xsd:attribute name="onDelete"    type="xsd:string"/>
0065     <xsd:attribute name="noUpdate"    type="xsd:boolean" default="false"/>
0066     <xsd:attribute name="enumType"    type="xsd:string"/>
0067   </xsd:complexType>
0068 
0069   <xsd:complexType name="indexType">
0070     <xsd:attribute name="name"     type="xsd:string"  use="required"/>
0071     <xsd:attribute name="columns"  type="xsd:string"  use="required"/>
0072     <xsd:attribute name="unique"   type="xsd:boolean" use="required"/>
0073     <xsd:attribute name="sort"     type="xsd:string"/>
0074   </xsd:complexType>
0075 
0076   <xsd:complexType name="referenceType">
0077     <xsd:sequence>
0078       <xsd:element name="comment"  type="xsd:string"  minOccurs="0" maxOccurs="1"/>
0079     </xsd:sequence>
0080     <xsd:attribute name="name"     type="xsd:string"  use="required"/>
0081     <xsd:attribute name="table"    type="xsd:string"  use="required"/>
0082     <xsd:attribute name="key"      type="xsd:string"  use="required"/>
0083   </xsd:complexType>
0084 
0085   <xsd:complexType name="dataType">
0086     <xsd:attribute name="columns"  type="xsd:string"  use="required"/>
0087     <xsd:attribute name="values"   type="xsd:string"  use="required"/>
0088   </xsd:complexType>
0089 
0090   <xsd:complexType name="enumType">
0091     <xsd:sequence>
0092       <xsd:element name="value"    type="enumValueType" minOccurs="1" maxOccurs="100"/>
0093     </xsd:sequence>
0094     <xsd:attribute name="name"     type="xsd:string"  use="required"/>
0095   </xsd:complexType>
0096 
0097   <xsd:complexType name="enumValueType">
0098     <xsd:attribute name="name"     type="xsd:string" use="required"/>
0099   </xsd:complexType>
0100 
0101 </xsd:schema>