Skip to content

Commit 54b56c9

Browse files
committed
Additional schema fixes
1 parent 1a71742 commit 54b56c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/zap-templates/zcl/zcl.xsd

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This schema describes the format of the XML files, that describe the ZCL specifi
1010
</xs:annotation>
1111
<xs:simpleType name="integerWithHex">
1212
<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]+"/>
1414
</xs:restriction>
1515
</xs:simpleType>
1616
<xs:complexType name="access">
@@ -65,6 +65,7 @@ This schema describes the format of the XML files, that describe the ZCL specifi
6565
<xs:attribute name="fieldId" type="integerWithHex"/>
6666
<xs:attribute name="min" type="integerWithHex"/>
6767
<xs:attribute name="max" type="integerWithHex"/>
68+
<xs:attribute name="length" type="integerWithHex"/>
6869
<xs:attribute name="default" type="xs:string"/>
6970
<xs:attribute name="isNullable" type="xs:boolean"/>
7071
<xs:attribute name="optional" type="xs:boolean" default="false"/>
@@ -297,6 +298,7 @@ This schema describes the format of the XML files, that describe the ZCL specifi
297298
<xs:complexType>
298299
<xs:attribute name="choice" type="xs:string"/>
299300
<xs:attribute name="more" type="xs:boolean"/>
301+
<xs:attribute name="min" type="integerWithHex"/>
300302
</xs:complexType>
301303
</xs:element>
302304
<xs:element name="cluster">

0 commit comments

Comments
 (0)