Bump version to 6.4-15
[LibreOffice.git] / sfx2 / classification / CommonTypes.xsd
blobb0404bc9b05aa0a9b3056fd69377c20094de0d55
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:oasis:names:tc:ciq:ct:3" targetNamespace="urn:oasis:names:tc:ciq:ct:3" elementFormDefault="qualified" attributeFormDefault="qualified">
3 <xs:annotation>
4 <xs:documentation>
5 Specification Name: OASIS CIQ TC - CIQ V3.0
6 Description: Defines the W3C schema with commonly used types in the name, address and party schemas
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
15 </xs:documentation>
16 </xs:annotation>
17 <xs:simpleType name="String">
18 <xs:annotation>
19 <xs:documentation>Normalized and Collapsed String</xs:documentation>
20 </xs:annotation>
21 <xs:restriction base="xs:normalizedString">
22 <xs:whiteSpace value="collapse"/>
23 </xs:restriction>
24 </xs:simpleType>
25 <xs:simpleType name="DataQualityTypeList">
26 <xs:annotation>
27 <xs:documentation>A list of values to indicate the level of reliability of the data</xs:documentation>
28 </xs:annotation>
29 <xs:restriction base="xs:string">
30 <xs:enumeration value="Valid">
31 <xs:annotation>
32 <xs:documentation>The data was validated and is considered to be true and correct.</xs:documentation>
33 </xs:annotation>
34 </xs:enumeration>
35 <xs:enumeration value="Invalid">
36 <xs:annotation>
37 <xs:documentation>Indicates that at least some part of the content is known to be incorrect.</xs:documentation>
38 </xs:annotation>
39 </xs:enumeration>
40 </xs:restriction>
41 </xs:simpleType>
42 <xs:simpleType name="StatusList">
43 <xs:annotation>
44 <xs:documentation>A list of values to indicate the status of the entity</xs:documentation>
45 </xs:annotation>
46 <xs:restriction base="xs:string"/>
47 </xs:simpleType>
48 <xs:attributeGroup name="grValidityDate">
49 <xs:annotation>
50 <xs:documentation>Date Valid from to Date Valid to</xs:documentation>
51 </xs:annotation>
52 <xs:attribute name="DateValidFrom" type="xs:dateTime">
53 <xs:annotation>
54 <xs:documentation>Could be start date, issue date, validity start date, etc</xs:documentation>
55 </xs:annotation>
56 </xs:attribute>
57 <xs:attribute name="DateValidTo" type="xs:dateTime">
58 <xs:annotation>
59 <xs:documentation>Could be end date, expiry date, validity end date, etc</xs:documentation>
60 </xs:annotation>
61 </xs:attribute>
62 </xs:attributeGroup>
63 <xs:attributeGroup name="grAbbreviation">
64 <xs:annotation>
65 <xs:documentation>A group of commonly used attributes for internal reuse</xs:documentation>
66 </xs:annotation>
67 <xs:attribute name="Abbreviation" type="xs:boolean">
68 <xs:annotation>
69 <xs:documentation>If set to true then indicates that the value is an abbreviation or initial. If set to false then the value is definitely not an abbreviation. If omitted then it is not known if the value is an abbreviation or not.</xs:documentation>
70 </xs:annotation>
71 </xs:attribute>
72 </xs:attributeGroup>
73 <xs:attributeGroup name="grDataQuality">
74 <xs:annotation>
75 <xs:documentation>A group of commonly used attributes for internal reuse</xs:documentation>
76 </xs:annotation>
77 <xs:attribute name="DataQualityType" type="DataQualityTypeList">
78 <xs:annotation>
79 <xs:documentation>This attribute indicates what level of trust can be given to the parent element. Omit this attribute if the data quality is unknown. If the data quality is known, the value is "Valid, else "InValid"</xs:documentation>
80 </xs:annotation>
81 </xs:attribute>
82 <xs:attribute name="ValidFrom" type="xs:dateTime">
83 <xs:annotation>
84 <xs:documentation>Date the data quality is valid from </xs:documentation>
85 </xs:annotation>
86 </xs:attribute>
87 <xs:attribute name="ValidTo" type="xs:dateTime">
88 <xs:annotation>
89 <xs:documentation>Date the data quality is valid to</xs:documentation>
90 </xs:annotation>
91 </xs:attribute>
92 </xs:attributeGroup>
93 <xs:attributeGroup name="grLanguageCode">
94 <xs:annotation>
95 <xs:documentation>The language used (name of human language, e.g. en, en-US)</xs:documentation>
96 </xs:annotation>
97 <xs:attribute name="LanguageCode" type="xs:language">
98 <xs:annotation>
99 <xs:documentation>Human Language used. e.g. "en", "en-US", "en-AUS", etc</xs:documentation>
100 </xs:annotation>
101 </xs:attribute>
102 </xs:attributeGroup>
103 </xs:schema>