-
Notifications
You must be signed in to change notification settings - Fork 7
/
shared-additionalCharacteristics.xsd
71 lines (71 loc) · 2.91 KB
/
shared-additionalCharacteristics.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema targetNamespace="http://schemas.openxmlformats.org/officeDocument/2006/characteristics" elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.openxmlformats.org/officeDocument/2006/characteristics">
<xsd:complexType name="CT_AdditionalCharacteristics">
<xsd:sequence>
<xsd:element name="characteristic" type="CT_Characteristic" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Single Characteristic</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_Characteristic">
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Name of Characteristic</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="relation" type="ST_Relation" use="required">
<xsd:annotation>
<xsd:documentation>Relationship of Value to Name</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="val" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Characteristic Value</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="vocabulary" type="xsd:anyURI" use="optional">
<xsd:annotation>
<xsd:documentation>Characteristic Grammar</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:simpleType name="ST_Relation">
<xsd:annotation>
<xsd:documentation>Characteristic Relationship Types</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ge">
<xsd:annotation>
<xsd:documentation>Greater Than or Equal to</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="le">
<xsd:annotation>
<xsd:documentation>Less Than or Equal To</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="gt">
<xsd:annotation>
<xsd:documentation>Greater Than</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="lt">
<xsd:annotation>
<xsd:documentation>Less Than</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="eq">
<xsd:annotation>
<xsd:documentation>Equal To</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:element name="additionalCharacteristics" type="CT_AdditionalCharacteristics">
<xsd:annotation>
<xsd:documentation>Set of Additional Characteristics</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:schema>