Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:thing-description="https://openhab.org/schemas/thing-description/v1.0.0"
xmlns:config-description="https://openhab.org/schemas/config-description/v1.0.0"
targetNamespace="https://openhab.org/schemas/thing-description/v1.0.0">
targetNamespace="https://openhab.org/schemas/thing-description/v1.0.0"
xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
vc:minVersion="1.1">

<xs:import namespace="https://openhab.org/schemas/config-description/v1.0.0"
schemaLocation="https://openhab.org/schemas/config-description-1.0.0.xsd"/>
Expand Down Expand Up @@ -216,7 +218,14 @@

<xs:complexType name="tags">
<xs:sequence>
<xs:element name="tag" type="thing-description:semanticPropertyOrPointTag" minOccurs="1" maxOccurs="2"/>
<xs:element name="tag">
<xs:alternative test="position() = 1" type="thing-description:semanticPointTag"/>
<xs:alternative type="xs:error"/>
</xs:element>
<xs:element name="tag" minOccurs="0">
<xs:alternative test="position() = 2" type="thing-description:semanticPropertyTag"/>
<xs:alternative type="xs:error"/>
</xs:element>
</xs:sequence>
</xs:complexType>

Expand Down Expand Up @@ -271,7 +280,7 @@
</xs:simpleContent>
</xs:complexType>

<xs:simpleType name="semanticPropertyOrPointTag">
<xs:simpleType name="semanticPropertyTag">
<xs:restriction base="xs:string">
<!-- Begin Allowed Semantic Property Tag Values -->
<!-- DO NOT EDIT THIS LIST - Generated by generateTagClasses.groovy -->
Expand Down Expand Up @@ -339,7 +348,11 @@
<xs:enumeration value="Water"/>
<xs:enumeration value="Wind"/>
<!-- End Allowed Semantic Property Tag Values -->
</xs:restriction>
</xs:simpleType>

<xs:simpleType name="semanticPointTag">
<xs:restriction base="xs:string">
<!-- Begin Allowed Semantic Point Tag Values -->
<!-- DO NOT EDIT THIS LIST - Generated by generateTagClasses.groovy -->
<xs:enumeration value="Alarm"/>
Expand Down
Loading