Skip to content

Commit

Permalink
Update update-description-1.0.0.xsd
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Kreuzer <kai@openhab.org>
  • Loading branch information
kaikreuzer committed Mar 7, 2023
1 parent 2ba183d commit 6ceb4f0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .vuepress/public/schemas/update-description-1.0.0.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<xs:element name="tags" type="thing-description:tags" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="id" type="update-description:channelId" use="required"/>
<xs:attribute name="groupIds" type="update-description:groupIds" />
</xs:complexType>

<xs:complexType name="updateChannel">
Expand All @@ -73,6 +74,7 @@
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="update-description:channelId" use="required"/>
<xs:attribute name="groupIds" type="update-description:groupIds" />
<xs:attribute name="preserveConfiguration" type="xs:boolean" default="true"/>
</xs:complexType>

Expand All @@ -81,6 +83,7 @@
<xs:documentation>Remove a channel from a thing.</xs:documentation>
</xs:annotation>
<xs:attribute name="id" type="update-description:channelId" use="required"/>
<xs:attribute name="groupIds" type="update-description:groupIds" />
</xs:complexType>

<xs:simpleType name="channelId">
Expand All @@ -90,6 +93,13 @@
<xs:restriction base="config-description:idRestrictionPattern"/>
</xs:simpleType>

<xs:simpleType name="groupIds">
<xs:annotation>
<xs:documentation>A comma-separated list of channel-group-ids.</xs:documentation>
</xs:annotation>
<xs:restriction base="thing-description:namespaceIdListRestrictionPattern"/>
</xs:simpleType>

<xs:simpleType name="channelTypeUid">
<xs:annotation>
<xs:documentation>The fully qualified UID of the channel type (e.g. "system:color",
Expand Down

0 comments on commit 6ceb4f0

Please sign in to comment.