Skip to content

Commit

Permalink
Merge pull request #491 from ChristianMayer/fix_XSD_for_openweatherma…
Browse files Browse the repository at this point in the history
…p_plugin

Add schema definition for openweathermap plugin
  • Loading branch information
peuter committed Feb 5, 2017
2 parents 8e7602f + 01d60d7 commit 716819c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/visu_config.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@
<xsd:element name="colorchooser" type="colorchooser" />
<xsd:element name="diagram_info" type="diagram_info" />
<xsd:element name="diagram" type="diagram" />
<xsd:element name="openweathermap" type="openweathermap" />
<xsd:element name="powerspectrum" type="powerspectrum" />
<xsd:element name="rss" type="rss" />
<xsd:element name="rsslog" type="rsslog" />
Expand Down Expand Up @@ -1480,6 +1481,24 @@
</xsd:attribute>
</xsd:complexType>

<xsd:complexType name="openweathermap">
<xsd:sequence>
<xsd:element name="layout" type="layout" minOccurs="0" maxOccurs="1"/>
<xsd:element name="label" type="label" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute ref="class" use="optional" />
<xsd:attribute name="lang" type="xsd:string" use="optional" />
<xsd:attribute name="q" type="xsd:string" use="optional" />
<xsd:attribute name="lat" type="xsd:string" use="optional" />
<xsd:attribute name="lon" type="xsd:string" use="optional" />
<xsd:attribute name="units" type="xsd:string" use="optional" />
<xsd:attribute name="type" type="xsd:string" use="optional" />
<xsd:attribute name="forecastItems" type="xsd:string" use="optional" />
<xsd:attribute name="detailItems" type="xsd:string" use="optional" />
<xsd:attribute name="refresh" type="xsd:integer" use="optional" />
<xsd:attribute name="appid" type="xsd:string" use="optional" />
</xsd:complexType>

<xsd:complexType name="powerspectrum">
<xsd:sequence>
<xsd:element name="layout" type="layout" minOccurs="0" maxOccurs="1"/>
Expand Down

0 comments on commit 716819c

Please sign in to comment.