home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 June / ccd0605.iso / Software / Freeware / Programare / paranoia / ParanoiaSetup.exe / Schemas / image.xsd < prev    next >
Extensible Markup Language  |  2002-04-26  |  2KB  |  71 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <schema targetNamespace="http://www.shareaza.com/schemas/image.xsd" version="1.0" xmlns="http://www.w3.org/2001/XMLSchema">
  4.  
  5.     <element name="images">
  6.         <complexType>
  7.             <element name="image" type="imageType" minOccurs="1" maxOccurs="unbounded"/>
  8.         </complexType>
  9.     </element>     
  10.     
  11.     <complexType name="imageType">
  12.     
  13.         <attribute name="title" type="string"/>
  14.         <attribute name="subject" type="string"/>
  15.         <attribute name="keywords" type="string"/>
  16.         <attribute name="author" type="string"/>
  17.         <attribute name="copyright" type="string"/>
  18.         
  19.         <attribute name="width" type="int"/>
  20.         <attribute name="height" type="int"/>
  21.         <attribute name="colors">
  22.             <simpleType base="string">
  23.                 <enumeration value="Greyscale"/>
  24.                 <enumeration value="16"/>
  25.                 <enumeration value="256"/>
  26.                 <enumeration value="64K"/>
  27.                 <enumeration value="16.7M"/>
  28.             </simpleType>
  29.         </attribute>
  30.         
  31.         <attribute name="type">
  32.             <simpleType base="string">
  33.                 <enumeration value="Photograph"/>
  34.                 <enumeration value="Painting"/>
  35.                 <enumeration value="Diagram"/>
  36.                 <enumeration value="Illustration"/>
  37.                 <enumeration value="Cartoon"/>
  38.                 <enumeration value="Rendering"/>
  39.                 <enumeration value="Adult"/>
  40.             </simpleType>
  41.         </attribute>
  42.  
  43.         <attribute name="rating">
  44.             <simpleType base="string">
  45.                 <enumeration value="G"/>
  46.                 <enumeration value="PG"/>
  47.                 <enumeration value="PG-13"/>
  48.                 <enumeration value="R"/>
  49.                 <enumeration value="NC-17"/>
  50.                 <enumeration value="NR"/>
  51.             </simpleType>
  52.         </attribute>
  53.  
  54.         <attribute name="SHA1" type="string"/>
  55.         <attribute name="link" type="uriReference"/>
  56.         <attribute name="comments">
  57.             <simpleType base="string">
  58.                 <maxInclusive value="100"/>
  59.             </simpleType>
  60.         </attribute>
  61.         <attribute name="action" type="string"/>
  62.     
  63.     </complexType>
  64.  
  65. </schema>
  66.  
  67.  
  68.  
  69.  
  70.  
  71.