2019-01-28 13:07:31 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
2019-04-29 19:14:51 +02:00
|
|
|
xmlns:binding="https://openhab.org/schemas/binding/v1.0.0"
|
|
|
|
xmlns:config-description="https://openhab.org/schemas/config-description/v1.0.0"
|
|
|
|
targetNamespace="https://openhab.org/schemas/binding/v1.0.0">
|
2019-01-28 13:07:31 +01:00
|
|
|
|
2019-04-29 19:14:51 +02:00
|
|
|
<xs:import namespace="https://openhab.org/schemas/config-description/v1.0.0"
|
|
|
|
schemaLocation="https://openhab.org/schemas/config-description-1.0.0.xsd"/>
|
2019-01-28 13:07:31 +01:00
|
|
|
|
|
|
|
<xs:element name="binding">
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:sequence>
|
|
|
|
<xs:element name="name" type="xs:string"/>
|
|
|
|
<xs:element name="description" type="xs:string" minOccurs="0"/>
|
|
|
|
<xs:element name="author" type="xs:string" minOccurs="0"/>
|
|
|
|
<xs:element name="service-id" type="xs:string" minOccurs="0"/>
|
|
|
|
<xs:choice minOccurs="0">
|
|
|
|
<xs:element name="config-description" type="config-description:configDescription"/>
|
|
|
|
<xs:element name="config-description-ref" type="config-description:configDescriptionRef"/>
|
|
|
|
</xs:choice>
|
|
|
|
</xs:sequence>
|
|
|
|
<xs:attribute name="id" type="config-description:idRestrictionPattern" use="required"/>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
</xs:schema>
|