Resolves: tdf#148985 crash on searching for non-existing prefix
[LibreOffice.git] / sfx2 / classification / xNL-types.xsd
blobdc8769ae34be964c3088805edc716d9bbba5e07a
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema xmlns="urn:oasis:names:tc:ciq:xnl:3" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:oasis:names:tc:ciq:xnl:3" elementFormDefault="qualified" attributeFormDefault="qualified">
3 <xs:annotation>
4 <xs:documentation>
5 Specification Name: OASIS CIQ TC - extensible Name Language Types (xNL-types)
6 Description: Defines the W3C schema that provides enumeration lists to support xNL v3.0
7 (Using XML Schema based standard code list/enumeration mechanism - OPTION 1 AND DEFAULT)
8 Produced by: OASIS Customer Information Quality Technical Committee
9 URL: http://www.oasis-open.org/committees/ciq
10 Version: 3.0
11 Status: Committee Specification
12 Copyright: 2006-07, OASIS, http://www.oasis-open.org
13 Last Modified: 18 September 2007
14 Last Modified by: Ram Kumar, Chair, OASIS CIQ TC
16 NOTE: This is the schema that users can customise the enumeration lists to meet their
17 exchange requirements. The enumeration values provided are ONLY SAMPLES and
18 is not complete. It is up to the application to decide what the values should be. To achieve
19 interoperability between applications using this specification, it is recommended that an
20 SLA/agreement is in place as to what the enumeration values will be used in this file
21 </xs:documentation>
22 </xs:annotation>
23 <xs:simpleType name="JointNameConnectorList">
24 <xs:annotation>
25 <xs:documentation>A list of possible values for joint name connector</xs:documentation>
26 </xs:annotation>
27 <xs:restriction base="xs:normalizedString"/>
28 </xs:simpleType>
29 <xs:simpleType name="NameLineTypeList">
30 <xs:annotation>
31 <xs:documentation>A list of possible values for types of name lines</xs:documentation>
32 </xs:annotation>
33 <xs:restriction base="xs:normalizedString"/>
34 </xs:simpleType>
35 <xs:simpleType name="PartyNameIDTypeList">
36 <xs:annotation>
37 <xs:documentation>A list of all types of Party Name IDs</xs:documentation>
38 </xs:annotation>
39 <xs:restriction base="xs:normalizedString"/>
40 </xs:simpleType>
41 <xs:simpleType name="PartyNameUsageList">
42 <xs:annotation>
43 <xs:documentation>A list of usage types of party name</xs:documentation>
44 </xs:annotation>
45 <xs:restriction base="xs:string"/>
46 </xs:simpleType>
47 <xs:simpleType name="PersonNameElementList">
48 <xs:annotation>
49 <xs:documentation>A list of person name element types, e.g. First Name, Last Name, Title, etc.</xs:documentation>
50 </xs:annotation>
51 <xs:restriction base="xs:normalizedString">
52 <xs:enumeration value="PrecedingTitle">
53 <xs:annotation>
54 <xs:documentation>His Excellency, Honorable, etc.</xs:documentation>
55 </xs:annotation>
56 </xs:enumeration>
57 <xs:enumeration value="Title">
58 <xs:annotation>
59 <xs:documentation>A title signifies some sort of status, such as Mr, Miss, Ms (marriage status), or education such as Professor, PhD, Dr, etc.</xs:documentation>
60 </xs:annotation>
61 </xs:enumeration>
62 <xs:enumeration value="FirstName">
63 <xs:annotation>
64 <xs:documentation>The most important name element by which this particular individual is identified in the group. E.g. John, Sam, Brian for Anglo-Saxon cultures.</xs:documentation>
65 </xs:annotation>
66 </xs:enumeration>
67 <xs:enumeration value="MiddleName">
68 <xs:annotation>
69 <xs:documentation>Name elements related to additional identification of the individual, such as names are parents or places.</xs:documentation>
70 </xs:annotation>
71 </xs:enumeration>
72 <xs:enumeration value="LastName">
73 <xs:annotation>
74 <xs:documentation>Name element that identifies the group the individual belongs to and is identified by, such as Last Name, Surname, Family Name, etc. </xs:documentation>
75 </xs:annotation>
76 </xs:enumeration>
77 <xs:enumeration value="OtherName">
78 <xs:annotation>
79 <xs:documentation>Any other additional names that are not directly used to identify or call the individual, such as names of ancestors, saints, etc.</xs:documentation>
80 </xs:annotation>
81 </xs:enumeration>
82 <xs:enumeration value="Alias">
83 <xs:annotation>
84 <xs:documentation>A simple nick name that is commonly used as part of the name. E.g. a fancy kick-boxer can be commonly known as Bill "Storm" Bababoons, where "Storm" is obviously an alias.</xs:documentation>
85 </xs:annotation>
86 </xs:enumeration>
87 <xs:enumeration value="GenerationIdentifier">
88 <xs:annotation>
89 <xs:documentation>Junior, Senior, The Second, IV, etc.</xs:documentation>
90 </xs:annotation>
91 </xs:enumeration>
92 <xs:enumeration value="Degree"/>
93 </xs:restriction>
94 </xs:simpleType>
95 <xs:simpleType name="PersonNameUsageList">
96 <xs:annotation>
97 <xs:documentation>A list of usage types of person name</xs:documentation>
98 </xs:annotation>
99 <xs:restriction base="xs:normalizedString"/>
100 </xs:simpleType>
101 <xs:simpleType name="PersonIDTypeList">
102 <xs:annotation>
103 <xs:documentation>A list of all types of person name IDs</xs:documentation>
104 </xs:annotation>
105 <xs:restriction base="xs:normalizedString"/>
106 </xs:simpleType>
107 <xs:simpleType name="OrganisationIDTypeList">
108 <xs:annotation>
109 <xs:documentation>A list of all types of organisation name IDs</xs:documentation>
110 </xs:annotation>
111 <xs:restriction base="xs:normalizedString"/>
112 </xs:simpleType>
113 <xs:simpleType name="OrganisationNameElementList">
114 <xs:annotation>
115 <xs:documentation>A list of organisation name element types, e.g. Name, property type, liability type, etc.</xs:documentation>
116 </xs:annotation>
117 <xs:restriction base="xs:normalizedString">
118 <xs:enumeration value="NameOnly">
119 <xs:annotation>
120 <xs:documentation>"Sakthisoft" in "Sakthisoft Pty. Ltd". "Pty.Ltd" is the legal entity for the organisation name "Sakthisoft"</xs:documentation>
121 </xs:annotation>
122 </xs:enumeration>
123 <xs:enumeration value="TypeOnly">
124 <xs:annotation>
125 <xs:documentation>"Pty. Ltd" in Sakthisoft Pty.Ltd, where "Sakthisoft" is the name of the organisation.
127 ""Inc" in ABC Inc, where "ABC" is organisation name</xs:documentation>
128 </xs:annotation>
129 </xs:enumeration>
130 <xs:enumeration value="FullName">
131 <xs:annotation>
132 <xs:documentation>Full Name of the organisation. e.g. Sakthisoft Pty. Ltd</xs:documentation>
133 </xs:annotation>
134 </xs:enumeration>
135 </xs:restriction>
136 </xs:simpleType>
137 <xs:simpleType name="OrganisationNameUsageList">
138 <xs:annotation>
139 <xs:documentation>A list of usage types for organisation name</xs:documentation>
140 </xs:annotation>
141 <xs:restriction base="xs:normalizedString"/>
142 </xs:simpleType>
143 <xs:simpleType name="PersonNameTypeList">
144 <xs:annotation>
145 <xs:documentation>A list of common types for person names</xs:documentation>
146 </xs:annotation>
147 <xs:restriction base="xs:normalizedString">
148 <xs:enumeration value="Alias"/>
149 <xs:enumeration value="LegalName"/>
150 <xs:enumeration value="KnownAs"/>
151 <xs:enumeration value="MaidenName">
152 <xs:annotation>
153 <xs:documentation>Name of an individual before marriage.</xs:documentation>
154 </xs:annotation>
155 </xs:enumeration>
156 <xs:enumeration value="FormerName">
157 <xs:annotation>
158 <xs:documentation>Former name of the person</xs:documentation>
159 </xs:annotation>
160 </xs:enumeration>
161 <xs:enumeration value="CommonUse">
162 <xs:annotation>
163 <xs:documentation>Name that is commonly used by others, e.g. a simplified form of the official name.</xs:documentation>
164 </xs:annotation>
165 </xs:enumeration>
166 <xs:enumeration value="NameAtBirth">
167 <xs:annotation>
168 <xs:documentation>A name given to an individual at birth, but later changed (common in some cultures)</xs:documentation>
169 </xs:annotation>
170 </xs:enumeration>
171 <xs:enumeration value="PreferredName">
172 <xs:annotation>
173 <xs:documentation>Indicates that the party prefers to be called by this name</xs:documentation>
174 </xs:annotation>
175 </xs:enumeration>
176 <xs:enumeration value="OfficialName">
177 <xs:annotation>
178 <xs:documentation>An official name of the person, e.g. as in the passport. incorporation certificate, etc.</xs:documentation>
179 </xs:annotation>
180 </xs:enumeration>
181 <xs:enumeration value="UnofficialName"/>
182 <xs:enumeration value="NickName"/>
183 <xs:enumeration value="PetName"/>
184 </xs:restriction>
185 </xs:simpleType>
186 <xs:simpleType name="OrganisationNameTypeList">
187 <xs:annotation>
188 <xs:documentation>A list of common types for organisation names</xs:documentation>
189 </xs:annotation>
190 <xs:restriction base="xs:normalizedString">
191 <xs:enumeration value="LegalName"/>
192 <xs:enumeration value="FormerName">
193 <xs:annotation>
194 <xs:documentation>Former name of the organisation</xs:documentation>
195 </xs:annotation>
196 </xs:enumeration>
197 <xs:enumeration value="CommonUse"/>
198 <xs:enumeration value="PublishingName"/>
199 <xs:enumeration value="OfficialName"/>
200 <xs:enumeration value="UnofficialName"/>
201 <xs:enumeration value="Undefined">
202 <xs:annotation>
203 <xs:documentation>unknown</xs:documentation>
204 </xs:annotation>
205 </xs:enumeration>
206 </xs:restriction>
207 </xs:simpleType>
208 <xs:simpleType name="SubDivisionTypeList">
209 <xs:annotation>
210 <xs:documentation>A list of common types for subdivisions</xs:documentation>
211 </xs:annotation>
212 <xs:restriction base="xs:normalizedString">
213 <xs:enumeration value="Department"/>
214 <xs:enumeration value="Division"/>
215 <xs:enumeration value="Branch"/>
216 <xs:enumeration value="BusinessUnit"/>
217 <xs:enumeration value="School"/>
218 <xs:enumeration value="Section"/>
219 </xs:restriction>
220 </xs:simpleType>
221 </xs:schema>