<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd">
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="extension">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="res" minOccurs="0" maxOccurs="unbounded">
          <xs:complexType>
            <xs:attribute name="width" type="xs:unsignedInt" use="required"/>
            <xs:attribute name="height" type="xs:unsignedInt" use="required"/>
            <xs:attribute name="default" type="xs:boolean"/>
            <xs:attribute name="folder" type="xs:string"/>
            <xs:attribute name="aspect" type="xs:string"/>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <xs:attribute name="point" type="xs:string" use="required"/>
      <xs:attribute name="id" type="simpleIdentifier"/>
      <xs:attribute name="name" type="xs:string"/>
      <xs:attribute name="defaultresolution" type="xs:string"/>
      <xs:attribute name="defaultwideresolution" type="xs:string"/>
      <xs:attribute name="effectslowdown" type="xs:float"/>
      <xs:attribute name="debugging" type="xs:boolean"/>
      <xs:attribute name="defaultthemename" type="xs:string"/>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="simpleIdentifier">
    <xs:restriction base="xs:string">
      <xs:pattern value="xbmc\.gui\.skin"/>
    </xs:restriction>
  </xs:simpleType>
</xs:schema>
