## [21c377]: WireShare / components / gnutella-core / src / main / resources / org / limewire / xml / schema / video.xsd Maximize Restore History

Download this file

### 68 lines (64 with data), 3.3 kB

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    <?xml version="1.0" encoding="iso-8859-1"?>
    <schema xml:lang="en"
     xmlns="http://www.w3.org/2001/XMLSchema"
     xmlns:i18n="http://www.limewire.com/schemas/i18n"
     i18n:locales="http://www.limewire.com/schemas/i18n/video.locales.xml"
     targetNamespace="http://www.limewire.com/schemas/video.xsd">

      <element name="videos">
        <complexType>
          <element name="video" minOccurs="1" maxOccurs="unbounded" type="videoType"/>
        </complexType>
      </element>

      <complexType name="videoType">
        <all>
          <attribute name="title" minOccurs="0" maxOccurs="1" type="string" width="100"/>
          <attribute name="type" minOccurs="0" maxOccurs="1">
            <simpleType base="string">
              <enumeration value="Music Video"/>
              <enumeration value="Commercial"/>
              <enumeration value="Trailer"/>
              <enumeration value="Movie Clip"/>
              <enumeration value="Video Clip"/>
              <enumeration value="VHS Movie"/>
              <enumeration value="DVD Movie"/>
              <enumeration value="Adult"/>
              <enumeration value="Other"/>
            </simpleType>
          </attribute>
          <attribute name="year" minOccurs="0" maxOccurs="1" type="year" width="20"/>
          <attribute name="rating" minOccurs="0" maxOccurs="1" width="5">
            <simpleType base="string">
              <enumeration value="G"/><!--General Audience-->
              <enumeration value="PG"/><!--Parental Guidance suggested, not suitable for children-->
              <enumeration value="PG-13"/><!--Parents strongly cautioned, inappropriate under 13-->
              <enumeration value="R"/><!--Restricted, requires accompanying parent-->
              <enumeration value="NC-17"/><!--No one 17 or under admitted-->
              <enumeration value="NR"/><!--Not Rated by MPAA-->
            </simpleType>
          </attribute>
          <attribute name="length" minOccurs="0" maxOccurs="1" type="duration" editable="false" width="20"/>
          <attribute name="comments" minOccurs="0" maxOccurs="1">
            <simpleType base="string">
              <maxInclusive value="100"/>
            </simpleType>
          </attribute>
          <attribute name="licensetype" editable="false" hidden="true">
            <simpleType base="string">
              <enumeration name="Creative Commons" value="creativecommons.org/licenses/"/>
              <enumeration name="Weedshare" value="http://www.shmedlic.com/license/3play.aspx"/>
            </simpleType>
          </attribute>
          <attribute name="license" type="string"/>
          <attribute name="height" minOccurs="0" maxOccurs="1" type="int" editable="false"/>
          <attribute name="width" minOccurs="0" maxOccurs="1" type="int" editable="false"/>
          <attribute name="bitrate" type="short" editable="false"/>
          <attribute name="action" minOccurs="0" maxOccurs="0" type="string" hidden="true" invisible="true"/>
          <attribute name="director" minOccurs="0" maxOccurs="1" type="string" />
          <attribute name="studio" minOccurs="0" maxOccurs="1" type="string" />
          <attribute name="language" minOccurs="0" maxOccurs="1" type="string"/>
          <attribute name="stars" minOccurs="0" maxOccurs="3" type="string" />
          <attribute name="producer" minOccurs="0" maxOccurs="2" type="string" />
          <attribute name="subtitles" minOccurs="0" maxOccurs="3" type="string" width="5"/>
        </all>
      </complexType>

    </schema>