File tree 1 file changed +7
-2
lines changed
src/app/zap-templates/zcl
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ This schema describes the format of the XML files, that describe the ZCL specifi
10
10
</xs : annotation >
11
11
<xs : simpleType name =" integerWithHex" >
12
12
<xs : restriction base =" xs:string" >
13
- <xs : pattern value =" 0x[0-9A-Fa-f]+|[0-9]+" />
13
+ <xs : pattern value =" -? 0x[0-9A-Fa-f]+|[0-9]+" />
14
14
</xs : restriction >
15
15
</xs : simpleType >
16
16
<xs : complexType name =" access" >
@@ -67,6 +67,7 @@ This schema describes the format of the XML files, that describe the ZCL specifi
67
67
<xs : attribute name =" max" type =" integerWithHex" />
68
68
<xs : attribute name =" default" type =" xs:string" />
69
69
<xs : attribute name =" isNullable" type =" xs:boolean" />
70
+ <xs : attribute name =" optional" type =" xs:boolean" default =" false" />
70
71
</xs : complexType >
71
72
<xs : complexType name =" featureBit" mixed =" true" >
72
73
<xs : attribute name =" tag" use =" required" type =" xs:string" />
@@ -263,7 +264,11 @@ This schema describes the format of the XML files, that describe the ZCL specifi
263
264
<xs : element name =" bitmap" >
264
265
<xs : complexType >
265
266
<xs : sequence >
266
- <xs : element minOccurs =" 0" maxOccurs =" unbounded" name =" cluster" />
267
+ <xs : element minOccurs =" 0" maxOccurs =" unbounded" name =" cluster" >
268
+ <xs : complexType >
269
+ <xs : attribute name =" code" type =" integerWithHex" />
270
+ </xs : complexType >
271
+ </xs : element >
267
272
<xs : element maxOccurs =" unbounded" ref =" field" />
268
273
</xs : sequence >
269
274
<xs : attribute name =" name" use =" required" type =" xs:string" />
You can’t perform that action at this time.
0 commit comments