radiomanifest-spec/shows/shows.xsd
2022-01-20 22:27:58 +01:00

26 lines
1,007 B
XML

<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="shows">
<xs:complexType>
<xs:sequence>
<xs:element name="show" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:all>
<xs:element name="name" type="xs:string" />
<xs:element name="website" type="srctype" minOccurs="0" />
<xs:element name="feed" type="srctype" minOccurs="0" />
<xs:element name="schedule" type="srctype" minOccurs="0" />
</xs:all>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="srctype">
<xs:restriction base="xs:anyURI">
<xs:minLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:schema>