Warning, /frameworks/kcontacts/src/contactgroup.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 SPDX-FileCopyrightText: 2007 Tobias Koenig <tokoe@kde.org> 0005 0006 SPDX-License-Identifier: LGPL-2.0-or-later 0007 --> 0008 0009 <!-- The root element of every ContactGroup document --> 0010 <xsd:element name="contactGroup"> 0011 <xsd:complexType> 0012 <!-- A list of contacts or contact references --> 0013 <xsd:choice minOccurs="0" maxOccurs="unbound"> 0014 <xsd:element name="contactData" type="contactDataType"/> 0015 <xsd:element name="contactReference" type="contactReferenceType"/> 0016 </xsd:choice> 0017 0018 <!-- The unique identifier of this contact group --> 0019 <xsd:attribute name="uid" type="xsd:string" use="required" /> 0020 0021 <!-- The i18n'ed name of this contact group --> 0022 <xsd:attribute name="name" type="xsd:string" use="required" /> 0023 </xsd:complexType> 0024 </xsd:element> 0025 0026 <!-- The type for inline contacts. --> 0027 <xsd:complexType name="contactDataType"> 0028 <xsd:sequence> 0029 <!-- The i18n'ed name of this contact --> 0030 <xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/> 0031 0032 <!-- The plain email address (without the name) of this contact --> 0033 <xsd:element name="email" type="xsd:string" minOccurs="1" maxOccurs="1"/> 0034 0035 <!-- A list of custom fields for this contact --> 0036 <xsd:element name="custom" minOccurs="0" maxOccurs="unbound"> 0037 <xsd:complexType> 0038 <xsd:attribute name="key" type="xsd:string" use="required" /> 0039 <xsd:attribute name="value" type="xsd:string" use="required" /> 0040 </xsd:complexType> 0041 </xsd:element> 0042 </xsd:sequence> 0043 </xsd:complexType> 0044 0045 <xsd:complexType name="contactReferenceType"> 0046 <xsd:sequence> 0047 <!-- The uid of the contact this entry references --> 0048 <xsd:element name="uid" type="xsd:string" minOccurs="1" maxOccurs="1"/> 0049 0050 <!-- The preferred email address which shall be used for the contact --> 0051 <xsd:element name="preferredEmail" type="xsd:string" minOccurs="0" maxOccurs="1"/> 0052 0053 <!-- A list of custom fields for this contact --> 0054 <xsd:element name="custom" minOccurs="0" maxOccurs="unbound"> 0055 <xsd:complexType> 0056 <xsd:attribute name="key" type="xsd:string" use="required" /> 0057 <xsd:attribute name="value" type="xsd:string" use="required" /> 0058 </xsd:complexType> 0059 </xsd:element> 0060 </xsd:sequence> 0061 </xsd:complexType> 0062 0063 </xsd:schema>