-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathConditions.xsd
76 lines (74 loc) · 3.03 KB
/
Conditions.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
72
73
74
75
76
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://www.pwg.org/schemas/2016/01/sm" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:pwg="http://www.pwg.org/schemas/2016/01/sm" targetNamespace="http://www.pwg.org/schemas/2016/01/sm" elementFormDefault="qualified" attributeFormDefault="qualified" version="2.905">
<xs:include schemaLocation="PwgCommon.xsd"/>
<!--04/14/09 PJZ Updated Namespace-->
<!--06/12/08 PJZ created from WS-Scan-->
<xs:annotation>
<xs:documentation xml:lang="en">
PWG Semantic Model v2
Copyright 2002-2011, IEEE Industry Standards and Technology Organization/PWG - MFD Working Group.
All rights reserved
Editors: Peter Zehler, Ira McDonald
</xs:documentation>
</xs:annotation>
<xs:annotation>
<xs:documentation>Conditions Type definition</xs:documentation>
</xs:annotation>
<xs:complexType name="ActiveConditionsTableType">
<xs:sequence>
<xs:element name="DeviceCondition" type="pwg:DeviceConditionType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>
<xs:complexType name="ConditionHistoryTableType">
<xs:sequence>
<xs:element name="ConditionHistoryEntry" type="pwg:ConditionHistoryEntryType" maxOccurs="unbounded"/>
</xs:sequence>
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>
<xs:complexType name="DeviceConditionType">
<xs:sequence>
<xs:element name="Component">
<xs:complexType>
<xs:sequence>
<xs:element ref="Group"/>
<xs:element name="Name" type="xs:string"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ref="ConditionId"/>
<xs:element name="Name" type="ConditionNameType"/>
<xs:element ref="Severity"/>
<xs:element ref="Time"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>
<xs:complexType name="ConditionHistoryEntryType">
<xs:complexContent>
<xs:extension base="pwg:DeviceConditionType">
<xs:sequence>
<xs:element ref="ClearTime"/>
</xs:sequence>
</xs:extension>
<!-- GT: the type this is extending, DeviceConditionType, already has anyAttribute
<xs:anyAttribute namespace="##other" processContents="lax"/>
-->
</xs:complexContent>
</xs:complexType>
<xs:annotation>
<xs:documentation>Conditions Element definition</xs:documentation>
</xs:annotation>
<xs:element name="ActiveConditions" type="pwg:ActiveConditionsTableType"/>
<xs:element name="ConditionHistory" type="pwg:ConditionHistoryTableType"/>
<xs:element name="ConditionTable">
<xs:complexType>
<xs:sequence>
<xs:element ref="ActiveConditions"/>
<xs:element ref="ConditionHistory" minOccurs="0"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>