themes.xsd
XML 1.0 document, ASCII text
1<?xml version="1.0"?> 2<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="https://theme.roundabout-host.com/"> 3<xs:element name="themes"> 4<xs:complexType> 5<xs:sequence> 6<xs:element name="theme" minOccurs="0" maxOccurs="unbounded"> 7<xs:annotation> 8<xs:documentation>Defines the start of a theme.</xs:documentation> 9</xs:annotation> 10<xs:complexType> 11<xs:sequence> 12<xs:element name="license" type="xs:string" minOccurs="1" maxOccurs="1"> 13<xs:annotation> 14<xs:documentation>Licensing information on this theme.</xs:documentation> 15</xs:annotation> 16<xs:complexType> 17<xs:sequence> 18<xs:element name="short" type="xs:string" minOccurs="1" maxOccurs="1"> 19<xs:annotation> 20<xs:documentation>The SPDX identifier of this license.</xs:documentation> 21</xs:annotation> 22</xs:element> 23<xs:element name="long" type="xs:string" minOccurs="0" maxOccurs="1"> 24<xs:annotation> 25<xs:documentation>If the license text isn't too long (IE, if it's as short as a BSD or MIT type license), include the license text.</xs:documentation> 26</xs:annotation> 27</xs:element> 28<xs:element name="uri" type="xs:anyURI" minOccurs="0" maxOccurs="1"> 29<xs:annotation> 30<xs:documentation>Include a link to a generally accepted place where this license is available for use. As an example, GPL licenses would have a link to the GNU website's page on the GPL verision used.</xs:documentation> 31</xs:annotation> 32</xs:element> 33</xs:sequence> 34</xs:complexType> 35</xs:element> 36<xs:element name="title" type="xs:string" minOccurs="1" maxOccurs="1"> 37<xs:annotation> 38<xs:documentation>Name of the theme in question.</xs:documentation> 39</xs:annotation> 40</xs:element> 41<xs:element name="author" minOccurs="1" maxOccurs="1"> 42<xs:annotation> 43<xs:documentation>Author of the theme in question. Content is the displayed name of the author.</xs:documentation> 44</xs:annotation> 45<xs:complexType> 46<xs:simpleContent> 47<xs:extension base="xs:string"> 48<xs:attribute name="uri" type="xs:anyURI"> 49<xs:annotation> 50<xs:documentation>Full URL of author's profile.</xs:documentation> 51</xs:annotation> 52</xs:attribute> 53<xs:attribute name="instance" type="xs:string"> 54<xs:annotation> 55<xs:documentation>Name of author's instance. (Example: Roundabout-host.com)</xs:documentation> 56</xs:annotation> 57</xs:attribute> 58<xs:attribute name="username" type="xs:string"> 59<xs:annotation> 60<xs:documentation>Username of author</xs:documentation> 61</xs:annotation> 62</xs:attribute> 63</xs:extension> 64</xs:simpleContent> 65</xs:complexType> 66</xs:element> 67<xs:element name="uri" type="xs:anyURI" minOccurs="1" maxOccurs="1"> 68<xs:annotation> 69<xs:documentation>Path to the theme's CSS file, relative to the themes directory.</xs:documentation> 70</xs:annotation> 71</xs:element> 72<xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="1"> 73<xs:annotation> 74<xs:documentation>A general description on this theme. You may want to include a short description of the color pallet.</xs:documentation> 75</xs:annotation> 76</xs:element> 77</xs:sequence> 78</xs:complexType> 79</xs:element> 80</xs:sequence> 81</xs:complexType> 82</xs:element> 83</xs:schema> 84