<?xml version="1.0" encoding="utf-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sch="http://purl.oclc.org/dsdl/schematron" version="1.0" elementFormDefault="qualified">
  <xsd:annotation>
    <xsd:documentation>
      <xsd:description>
	{{Path1|title=Developer: WeoFile|1=[[Third Party Developer Documentation]]}}

The “WeoFile” is an XML document that provides instructions to WeoGeo on how to properly process your dataset and list it within your Library and/or on the WeoGeo Market. The WeoFile contains the description (metadata), location, and geometry information, as well as pricing and search options for your listing.
	</xsd:description>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType name="nullString">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>A normal XML Schema string that only allows null values. Some other data types use this to accept empty instances of this tag.
	  </xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:pattern value=""/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="nullableBool">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>A boolean literal that also allows null values.
	  </xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:union memberTypes="boolean_literal nullString"/>
  </xsd:simpleType>
  <xsd:simpleType name="nullableWeofloat">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>A weofloat that also allows null values.
	  </xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:union memberTypes="weofloat nullString"/>
  </xsd:simpleType>
  <xsd:simpleType name="nullableUnsignedInt">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>A normal XML Schema unsigned integer that also allows null values.
	  </xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:union memberTypes="xsd:unsignedInt nullString"/>
  </xsd:simpleType>
  <xsd:simpleType name="nullableDate">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>A normal XML Schema date that also allows null values.
	  </xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:union memberTypes="xsd:date nullString"/>
  </xsd:simpleType>
  <xsd:simpleType name="token">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>A well-formed token, as generated by the WeoGeo server. This will be checked to match the form:

    XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

where each ''X'' is a hexadecimal digit.
	  </xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="([0-9]|[a-f]|[A-F]){8,8}-([0-9]|[a-f]|[A-F]){4,4}-([0-9]|[a-f]|[A-F]){4,4}-([0-9]|[a-f]|[A-F]){4,4}-([0-9]|[a-f]|[A-F]){12,12}"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="weofloat">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>A standard XML Schema float, with a tooltip description.</xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:float"/>
  </xsd:simpleType>
  <xsd:simpleType name="tile_file_format">
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="(j|J)(p|P)(g|G)"/>
      <xsd:pattern value="(p|P)(n|N)(g|G)"/>
      <xsd:pattern value=""/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="tile_layer_type">
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="(X|x)(Y|y)(Z|z)"/>
      <xsd:pattern value="(k|K)(a|A)(m|M)(a|A)(p|P)"/>
      <xsd:pattern value=""/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="weoint">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>A standard XML Schema integer, with a tooltip description.</xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:integer"/>
  </xsd:simpleType>
  <xsd:simpleType name="weouint">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>A standard XML Schema unsigned integer, with a tooltip description.</xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:unsignedInt"/>
  </xsd:simpleType>
  <xsd:simpleType name="group_ids">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>A space separated list of unsigned integer values, where each value is the identifier for a group that will be allowed to access this dataset. See the [[Developer:_WeoFile#dataset.2Fgroup_ids | Group IDs]] tag for more information.</xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:list itemType="weouint"/>
  </xsd:simpleType>
  <xsd:simpleType name="band_number">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>A positive integer value, used to describe which of the bands in the dataset will be used as the red, green, or blue bands during visualization.</xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:positiveInteger"/>
  </xsd:simpleType>
  <xsd:simpleType name="boolean_literal">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>Either of the boolean literal names "true" or "false" (case insensitive), or the numeric values 0 (false) or 1(true)
	  </xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="1|0|((T|t)(R|r)(U|u)(E|e)|(F|f)(A|a)(L|l)(S|s)(E|e))"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="data_type">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>One of "raster", "vector", or "other" (case insensitive). See the [[Developer:_WeoFile#dataset.2Fdata_type | Data Type]] tag for more information.</xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="((R|r)(A|a)(S|s)(T|t)(E|e)(R|r))|((O|o)(T|t)(H|h)(E|e)(R|r))|((v|V)(e|E)(c|C)(t|T)(o|O)(r|R))"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="name">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>A normal XSD String, limited to 100 characters.</xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:maxLength value="100"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="datum">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>One of the datums we support for raster processing. Currently allowed are: ''WGS84'', ''NAD27'', and ''NAD83''. (case insensitive)
	  </xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="((W|w)(G|g)(S|s)(84)|(N|n)(A|a)(D|d)(83)|(N|n)(A|a)(D|d)(27)|(O|o)(S|s)(G|g)(B|b)36)"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="datums">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>A space separated list of datums. The only allowed members are those supported by the above ''datum'' type.</xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:list>
      <xsd:simpleType>
        <xsd:restriction base="xsd:string">
          <xsd:pattern value="((W|w)(G|g)(S|s)(84))"/>
          <xsd:pattern value="((N|n)(A|a)(D|d)(27))"/>
          <xsd:pattern value="((N|n)(A|a)(D|d)(83))"/>
          <xsd:pattern value="((O|o)(S|s)(G|g)(B|b)36)"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:list>
  </xsd:simpleType>
  <xsd:simpleType name="file_format">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>One of the supported  file formats. Allowed are ''envi'', ''erdas_img'', ''esri_bil'', ''geotiff'', ''esri_shp'', ''mapinfo_tab'', and ''jpeg'' (case insensitive)
	  </xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="((G|g)(E|e)(O|o)(T|t)(I|i)(F|f)(F|f))"/>
      <xsd:pattern value="((J|j)(P|p)(E|e)(G|g))"/>
      <xsd:pattern value="((E|e)(R|r)(D|d)(A|a)(S|s)(_)(I|i)(M|m)(G|g))"/>
      <xsd:pattern value="((E|e)(S|s)(R|r)(I|i)(_)(B|b)(I|i)(L|l))"/>
      <xsd:pattern value="((E|e)(N|n)(V|v)(I|i))"/>
      <xsd:pattern value="((e|E)(s|S)(r|R)(i|I)_(s|S)(h|H)(a|A)(p|P)(e|E))"/>
      <xsd:pattern value="((m|M)(a|A)(p|P)(i|I)(n|N)(f|F)(o|O)_(t|T)(a|A)(b|B))"/>
      <xsd:pattern value=""/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="filesize">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>A positive integer value representing the size of a file in bytes</xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:unsignedLong"/>
  </xsd:simpleType>
  <xsd:simpleType name="market">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>Represents the market action to be taken. An empty tag or ''push'' are allowed values. The value ''complete'' is only used internally and should not be specified.</xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="(c|C)(o|O)(m|M)(p|P)(l|L)(e|E)(t|T)(e|E)"/>
      <xsd:pattern value=""/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="pixel_type">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>A description of the byte-level layout used to represent individual pixels in the dataset or rasterized preview. Allowed values are one of: ''unknown'', ''byte'', ''uint16'', ''int16'', ''cint16'', ''uint32'', ''cint32'', ''float32'', ''cfloat32'', ''float64'', ''cfloat64'' (case insensitive)</xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="((U|u)(N|n)(K|k)(N|n)(O|o)(W|w)(N|n)|(B|b)(Y|y)(T|t)(E|e)|(U|u)(I|i)(N|n)(T|t)(16)|(I|i)(N|n)(T|t)(16)|(C|c)(I|i)(N|n)(T|t)(16)|(U|u)(I|i)(N|n)(T|t)(32)|(I|i)(N|n)(T|t)(32)|(C|c)(I|i)(N|n)(T|t)(32)|(F|f)(L|l)(O|o)(A|a)(T|t)(32)|(C|c)(F|f)(L|l)(O|o)(A|a)(T|t)(32)|(F|f)(L|l)(O|o)(A|a)(T|t)(64)|(C|c)(F|f)(L|l)(O|o)(A|a)(T|t)(64))"/>
      <xsd:pattern value=""/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="price_type">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>One of the two possible price types for use in market sales. Allowed are: ''fixed'', ''variable'' (case insensitive).</xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="((F|f)(I|i)(X|x)(E|e)(D|d)|(V|v)(A|a)(R|r)(I|i)(A|a)(B|b)(L|l)(E|e))"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="projection">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>One of the projections we natively support. Allowed values are: ''utm'', ''geo'', ''tm'', ''lcc'', and ''ace'' (case insensitive)</xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="((U|u)(T|t)(M|m)|(G|g)(E|e)(O|o)|(T|t)(M|m)|(L|l)(C|c)(C|c)|(A|a)(C|c)(E|e))"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="projections">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>A space separated list containing only the projections we natively support.. See the above ''projection'' type for more information.</xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:list>
      <xsd:simpleType>
        <xsd:restriction base="xsd:string">
          <xsd:pattern value="((U|u)(T|t)(M|m))"/>
          <xsd:pattern value="((G|g)(E|e)(O|o))"/>
          <xsd:pattern value="((T|t)(M|m))"/>
          <xsd:pattern value="((L|l)(C|c)(C|c))"/>
          <xsd:pattern value="((A|a)(C|c)(E|e))"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:list>
  </xsd:simpleType>
  <xsd:simpleType name="royalty_model">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>Either ''credited'' or ''uncredited'' (case insensitive)</xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="((C|c)(R|r)(E|e)(D|d)(I|i)(T|t)(E|e)(D|d)|(U|u)(N|n)(C|c)(R|r)(E|e)(D|d)(I|i)(T|t)(E|e)(D|d))"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="weogeo_mode">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>Either ''market'' or ''library'' (case insensitive)</xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="((l|L)(i|I)(b|B)(r|R)(a|A)(r|R)(y|Y))"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:element name="dataset">
    <xsd:annotation>
      <xsd:documentation>
        <xsd:description>
This tag is a container for all of the information needed to upload a dataset to WeoGeo.  This includes any relevant Market or Library information. On the client side, this is the top-level tag for the WeoFile.
	  </xsd:description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:all>
        <xsd:element name="token" type="token">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
A unique token, generated by the WeoGeo Library defined in dataset/weogeo_host. This unique token is linked to the dataset.  
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="weogeo_host" type="xsd:string">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The web address of the Library that the dataset will be uploaded to.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
	<xsd:element name="permalink" type="xsd:string"/>
        <xsd:element name="weocatch">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
A container for information used to connect to the server that receives uploaded datasets.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:all>
              <xsd:element name="host" type="xsd:string">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
The address where the server side processor is located. This should be an IP address or a fully qualified domain name.
		      </xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="port" type="weoint">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
The port number that the server side processor is listening on. By default the processor runs on port 80.
		      </xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
              </xsd:element>
            </xsd:all>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="mask" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The path to an image that represents an alpha mask.  This will be applied when making the preview tiles. Utilizing this can be beneficial in creating attractive Low Resolution KMLs. If a mask is not provided, the raw preview file is used.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="misc_files" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
A semicolon delimited list of file paths to all of the files being uploaded in addition to the image file.
	      </xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="contrast_stretch" minOccurs="0" type="nullableBool">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
A boolean value stating if a contrast stretch should be applied to the preview tiles when they are created. When true, a 2% contrast stretch is applied. When false, no contrast stretch is applied.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="data_type" default="RASTER" minOccurs="0" type="data_type">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
One of ''raster'', ''vector'', or ''other'', used to describe the type of data being uploaded. Some of WeoGeo's features, such as the ability to reproject a file before it is downloaded, are dataset classified as ''other''.

		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="data_created_on" type="nullableDate" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The date this data was created. Although this is an optional field, the dataset will be omitted in searches that specify a creation date, even if they would otherwise be a valid search result. Many users prefer having this information available when determining how useful a dataset will be to them.

Please note that this should not necessarily be the date of submission, or the creation/last modified date of the relevant file in the filesystem.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="description" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
A description of the data being uploaded. This should be provided by the user and is allowed to contain some html tags. 

Note that, if HTML tags are used, these should be wrapped in a [http://en.wikipedia.org/wiki/CDATA CDATA] section.

		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="group_ids" minOccurs="0" type="group_ids">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
This field is only relevant on WeoGeo Libraries in which Access Controls have been activated (by default they are not). On such Libraries, the Administrator may assign uploaded datasets to an access group. This provides data security and ensures that datasets are only viewed and downloaded by appropriate Users. To assign datasets to groups in the WeoFile, the Group IDs Tag is used with a space-delimited list of groups a dataset should belong to, identified by their integer ids.

Library Specific tags are required for WeoGeo library, but ignored by WeoGeo market. Groups are unique to each Library, and are created and maintained by the administrator. For more info, see [[Set-up_access_controls_on_WeoGeo_Library | Access Control with Groups and Roles]]
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="content_license_id" minOccurs="0" type="nullableUnsignedInt">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
Optional numeric identifier assigned to a license provided through the license api. This field ensures the dataset is correctly associated with that license on upload.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="layers" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
A space delimited list of names for the layers in the dataset. Each layer name is mapped in order to the layers in the data file. Additional names beyond the last layer in the data file will be truncated on the server.

This is an optional tag. If not specified, WeoApp will look to the dataset to try to fill out this info. If that is unsuccessful, monotonically increasing layer names are generated. This tag is required for vector data uploads.

If the layers are specified by the user, WeoGeo check that the length of this array matches the number of layers in the dataset. If there are more layers specified here then in the dataset, this list is truncated. If there are less, WeoGeo adds in places holder names. The layer names can be edited later in the admin interface. 
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:list itemType="xsd:string"/>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="name" minOccurs="0" type="name">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The Name is the primary method used to describe a listing. As with all metadata, providing meaningful information within the Name tag will help users to decide if a listing meets their needs.  

		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="parent_job_tokens" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
A space delimited list of the job tokens from files used to make this entry. If this product has not been derived from a dataset already on WeoGeo, this tag can be omitted.

Parent job tokens are used to maintain a datasets geneology and possibly collect royalty transactions if specified.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:list itemType="token"/>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="replacement_dataset_token" type="xsd:string" minOccurs="0"/>
        <xsd:element name="short_name" minOccurs="0"/>
        <xsd:element name="tags" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
Tags are a space-delimited list of keywords that describe a Listing, the area that is covered, or anything else that may be relevant to describing or marketing a Listing.  Tags may be used within the Advanced Filter to search for Listings and are thus a useful way to group similar listings.  

At least one tag must be specified.

	      </xsd:description>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:list itemType="xsd:string"/>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="download_options" minOccurs="0">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:any minOccurs="0"/>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="hosted" default="TRUE" minOccurs="0" type="boolean_literal">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
This value should be set to true in almost all cases. 

That being said, datasets may either be “Listed” or “Hosted and Listed” on WeoGeo. The "Hosted" option is enabled by setting the Hosted Tag to “TRUE”.  When the dataset is only Listed, the WeoApp generates preview images and customization options are still available.  However, the content provider is required to fulfill the order by geoprocessing the dataset and uploading it to WeoGeo.  

When a dataset is Hosted and Listed on WeoGeo, the preview image is created as before, and the geocontent is also uploaded to WeoGeo so that the WeoGeo processing service can fulfill customization orders.  Geoprocessing and delivery is performed entirely by the WeoGeo Library or Market so orders are fulfilled automatically, which typically provides a superior user experience.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="job_options" minOccurs="0">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:any minOccurs="0"/>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="rgb_bands" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
This tag is only used for raster data sets. An optional field used to specify which layers in the dataset are represented as red, blue, and green bands. We use a 1-indexing scheme for all files. If these tags are not provided we will use red=1, green=2, blue=3 by default.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:all>
              <xsd:element name="red" type="band_number" default="1">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
The red band in the dataset
		</xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="green" type="band_number" default="2">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
The green band in the dataset
		</xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="blue" type="band_number" default="3">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
The blue band in the dataset
		</xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
              </xsd:element>
            </xsd:all>
          </xsd:complexType>
        </xsd:element>
	<xsd:element name="band_files" minOccurs="0" type="xsd:string"/>
	<xsd:element name="band_files_paths" minOccurs="0" type="xsd:string"/>
	<xsd:element name="data_files_paths" minOccurs="0" type="xsd:string"/>
	<xsd:element name="misc_files_paths" minOccurs="0" type="xsd:string"/>
        <xsd:element name="market" minOccurs="0" type="market">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
		  Set to "push" if the dataset should be placed on the Market in addition to the Library. If omitted or left blank the dataset will only be placed on the Library. Setting this to push will require pricing info and model to be specified.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="price_type" default="FIXED" minOccurs="0" type="price_type">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
		  The pricing type for a dataset can be either FIXED or VARIABLE . Variable means the provider is willing to discount the data's price if less then the full file is requested. Fixed indicates that the provider does not want to offer this ability.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="royalty_model" default="CREDITED" minOccurs="0" type="royalty_model">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
		  The royalty model for a dataset determines if the user will be paid for the sale of datasets derived from this dataset.

		  A value of "credited" means that the user will be paid for the sale of child datasets, "uncredited" datasets do not receive this payment.

		  The default value for this tag if it is omitted is "credited".
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="provider_discount_expires_at" type="nullableDate" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
		  The date after which a subsidy on sales of this dataset, if requested, expires. If this tag is left blank or omitted the subsidy does not expire. See [[Developer:_WeoFile#dataset.2Fprovider_discount_rate | Provider Discount Rate]].
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="provider_discount_rate" default="0" minOccurs="0" type="weoint">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
		  The percentage discount provided while a dataset is subsidized. This must be specified as an integer value in increments of ten.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="provider_margin" type="xsd:decimal" default="0.00" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
		  The amount of money the user wishes to receive from a sale of their entire entry.

		  An example of how pricing is calculated can be found here: [[Transaction_Fees]]
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="provider_max_discount" type="xsd:decimal" default="0.00" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
		  The maximum discount a provider will commit to while their dataset is subsidized. This value cannot exceed the provider's requested margin.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="provider_min_margin" type="xsd:decimal" default="0.00" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
		  For "variable" price models, this specifies the minimum amount that the provider wishes to collect from any sale of their dataset.

		  For "fixed" price models, this must be set to 0.0 or omitted.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="data_projection_values">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
Specify parameters connected with the projection. Only the projection specified in the projection tag will be read. All others, if present, will be ignored.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:all>
              <xsd:element name="geo" minOccurs="0">
                <xsd:complexType>
		  <xsd:all>
                    <xsd:element name="proj4" type="xsd:string" minOccurs="0"/>
		  </xsd:all>
<!--                   <xsd:sequence> -->
<!--                     <xsd:any minOccurs="0"/> -->
<!--                   </xsd:sequence> -->
                </xsd:complexType>
              </xsd:element>
              <xsd:element name="ace" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
Parameters for the Albers Conic Projection.
		     </xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                  <xsd:all>
                    <xsd:element name="proj4" type="xsd:string" minOccurs="0"/>
                    <xsd:element name="lat0" type="weofloat"/>
                    <xsd:element name="lat1" type="weofloat"/>
                    <xsd:element name="lat2" type="weofloat"/>
                    <xsd:element name="lon0" type="weofloat"/>
                    <xsd:element name="x0" type="weofloat"/>
                    <xsd:element name="y0" type="weofloat"/>
                  </xsd:all>
                </xsd:complexType>
              </xsd:element>
              <xsd:element name="lcc" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
Parameters for the Lambert Conic Conformal.			
		      </xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                  <xsd:all>
                    <xsd:element name="proj4" type="xsd:string" minOccurs="0"/>
                    <xsd:element name="lat0" type="weofloat"/>
                    <xsd:element name="lat1" type="weofloat"/>
                    <xsd:element name="lat2" type="weofloat"/>
                    <xsd:element name="lon0" type="weofloat"/>
                    <xsd:element name="x0" type="weofloat"/>
                    <xsd:element name="y0" type="weofloat"/>
                  </xsd:all>
                </xsd:complexType>
              </xsd:element>
              <xsd:element name="tm" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
Parameters for the Transverse Mercator
		      </xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                  <xsd:all>
                    <xsd:element name="proj4" type="xsd:string" minOccurs="0"/>
                    <xsd:element name="lat0" type="weofloat"/>
                    <xsd:element name="lon0" type="weofloat"/>
                    <xsd:element name="k" type="weofloat"/>
                    <xsd:element name="x0" type="weofloat"/>
                    <xsd:element name="y0" type="weofloat"/>
                  </xsd:all>
                </xsd:complexType>
              </xsd:element>
              <xsd:element name="utm" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
Parameters for the Univeral Transverse Mercator
		      </xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                  <xsd:all>
                    <xsd:element name="proj4" type="xsd:string" minOccurs="0"/>
                    <xsd:element name="zone" type="weoint"/>
                  </xsd:all>
                </xsd:complexType>
              </xsd:element>
            </xsd:all>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="preview_projection_values" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
Specify parameters connected with the projection. Only the projection specified in the projection tag will be read. All others, if present, will be ignored.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:all>
              <xsd:element name="geo" minOccurs="0">
                <xsd:complexType>
		  <xsd:all>
                    <xsd:element name="proj4" type="xsd:string" minOccurs="0"/>
		  </xsd:all>
<!--                   <xsd:sequence> -->
<!--                     <xsd:any minOccurs="0"/> -->
<!--                   </xsd:sequence> -->
                </xsd:complexType>
              </xsd:element>
              <xsd:element name="ace" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
Parameters for the Albers Conic Projection.
		     </xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                  <xsd:all>
                    <xsd:element name="proj4" type="xsd:string" minOccurs="0"/>
                    <xsd:element name="lat0" type="weofloat"/>
                    <xsd:element name="lat1" type="weofloat"/>
                    <xsd:element name="lat2" type="weofloat"/>
                    <xsd:element name="lon0" type="weofloat"/>
                    <xsd:element name="x0" type="weofloat"/>
                    <xsd:element name="y0" type="weofloat"/>
                  </xsd:all>
                </xsd:complexType>
              </xsd:element>
              <xsd:element name="lcc" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
Parameters for the Lambert Conic Conformal.			
		      </xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                  <xsd:all>
                    <xsd:element name="proj4" type="xsd:string" minOccurs="0"/>
                    <xsd:element name="lat0" type="weofloat"/>
                    <xsd:element name="lat1" type="weofloat"/>
                    <xsd:element name="lat2" type="weofloat"/>
                    <xsd:element name="lon0" type="weofloat"/>
                    <xsd:element name="x0" type="weofloat"/>
                    <xsd:element name="y0" type="weofloat"/>
                  </xsd:all>
                </xsd:complexType>
              </xsd:element>
              <xsd:element name="tm" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
Parameters for the Transverse Mercator
		      </xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                  <xsd:all>
                    <xsd:element name="proj4" type="xsd:string" minOccurs="0"/>
                    <xsd:element name="lat0" type="weofloat"/>
                    <xsd:element name="lon0" type="weofloat"/>
                    <xsd:element name="k" type="weofloat"/>
                    <xsd:element name="x0" type="weofloat"/>
                    <xsd:element name="y0" type="weofloat"/>
                  </xsd:all>
                </xsd:complexType>
              </xsd:element>
              <xsd:element name="utm" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
Parameters for the Univeral Transverse Mercator
		      </xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                  <xsd:all>
                    <xsd:element name="proj4" type="xsd:string" minOccurs="0"/>
                    <xsd:element name="zone" type="weoint"/>
                  </xsd:all>
                </xsd:complexType>
              </xsd:element>
            </xsd:all>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="boundaries" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
This tag and its subtags contain the boundary information that describes the dataset being uploaded. The subtags will contain more description.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:all>
              <xsd:element name="data" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
The data boundaries are not calculated. They reflect the original data.
			    </xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                  <xsd:all>
                    <xsd:element name="conversion" type="weofloat" minOccurs="0"/>
                    <xsd:element name="datum" minOccurs="0" type="datum"/>
                    <xsd:element name="east" minOccurs="0" type="weofloat"/>
                    <xsd:element name="north" minOccurs="0" type="weofloat"/>
                    <xsd:element name="south" minOccurs="0" type="weofloat"/>
                    <xsd:element name="west" minOccurs="0" type="weofloat"/>
                    <xsd:element name="line_pixel_size" minOccurs="0" type="weofloat"/>
                    <xsd:element name="sample_pixel_size" minOccurs="0" type="weofloat"/>
                    <xsd:element name="number_of_lines" type="xsd:positiveInteger" minOccurs="0"/>
                    <xsd:element name="number_of_samples" type="xsd:positiveInteger" minOccurs="0"/>
                    <xsd:element name="unit" type="xsd:string" minOccurs="0"/>
                  </xsd:all>
                </xsd:complexType>
              </xsd:element>
              <xsd:element name="preview" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
Boundaries for the final preview image are stored here. This field is calculated by WeoApp from the native preview boundaries.
			    </xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                  <xsd:all>
                    <xsd:element name="conversion" type="weofloat" minOccurs="0"/>
                    <xsd:element name="datum" type="datum" minOccurs="0"/>
                    <xsd:element name="east" minOccurs="0" type="weofloat"/>
                    <xsd:element name="north" minOccurs="0" type="weofloat"/>
                    <xsd:element name="south" minOccurs="0" type="weofloat"/>
                    <xsd:element name="west" minOccurs="0" type="weofloat"/>
                    <xsd:element name="line_pixel_size" minOccurs="0" type="weofloat"/>
                    <xsd:element name="sample_pixel_size" minOccurs="0" type="weofloat"/>
                    <xsd:element name="number_of_lines" type="xsd:positiveInteger" minOccurs="0"/>
                    <xsd:element name="number_of_samples" type="xsd:positiveInteger" minOccurs="0"/>
                    <xsd:element name="unit" type="xsd:string" minOccurs="0"/>
                  </xsd:all>
                </xsd:complexType>
              </xsd:element>
              <xsd:element name="native" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
The native boundaries match the original data boundaries in the original projection. However, these boundaries reflect a possible downsampling required to meet the size restriction WeoGeo has imposed on preview files (currently limited to 64,000px by 64,000px)
			    </xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                  <xsd:all>
                    <xsd:element name="conversion" type="weofloat"/>
                    <xsd:element name="datum" type="datum"/>
                    <xsd:element name="east" type="weofloat"/>
                    <xsd:element name="north" type="weofloat"/>
                    <xsd:element name="south" type="weofloat"/>
                    <xsd:element name="west" type="weofloat"/>
                    <xsd:element name="line_pixel_size" type="weofloat"/>
                    <xsd:element name="sample_pixel_size" type="weofloat"/>
                    <xsd:element name="number_of_lines" type="xsd:positiveInteger"/>
                    <xsd:element name="number_of_samples" type="xsd:positiveInteger"/>
                    <xsd:element name="unit" type="xsd:string" minOccurs="0"/>
                  </xsd:all>
                </xsd:complexType>
              </xsd:element>
              <xsd:element name="geo" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
The geo boundaries are those calculated for the file in a WGS84/geographic projection. This is performed by WeoApp. It is used for the low resolution KML. And it is used to draw the outline rectangle on the world map.
			    </xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                  <xsd:all>
                    <xsd:element name="conversion" type="weofloat"/>
                    <xsd:element name="datum" type="datum"/>
                    <xsd:element name="east" type="weofloat"/>
                    <xsd:element name="north" type="weofloat"/>
                    <xsd:element name="south" type="weofloat"/>
                    <xsd:element name="west" type="weofloat"/>
                    <xsd:element name="line_pixel_size" type="weofloat"/>
                    <xsd:element name="sample_pixel_size" type="weofloat"/>
                    <xsd:element name="number_of_lines" type="xsd:positiveInteger"/>
                    <xsd:element name="number_of_samples" type="xsd:positiveInteger"/>
                    <xsd:element name="unit" type="xsd:string" minOccurs="0"/>
                  </xsd:all>
                </xsd:complexType>
              </xsd:element>
            </xsd:all>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="file_format" minOccurs="0" type="file_format">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The format of the main file for the dataset. Allowed values are:

For raster data types: ''envi'', ''erdas_img'', ''esri_bil'', ''geotiff'', and ''jpeg'' (case insensitive)
For vector data types: ''esri_shape'', ''mapinfo_tab''
For other data types: Not used.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="bytes_per_pixel_per_band" minOccurs="0"/>
        <xsd:element name="data_files" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
A semicolon-delimited list of the paths to the data files being uploaded. The first file in the list should be the primary data file for the dataset, and will be used to create preview images by WeoApp if the [[Developer:_WeoFile#dataset.2Fdata_type | data_type]] is Raster. The remaining files are the support files (header files, etc) for the main dataset file.
	      </xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="data_preview_files" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
Preview raster file used in place of a data set which cannot be used for tiling purposes.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:list itemType="xsd:string"/>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="data_files_md5s" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
A semicolon-delimited list of the MD5 hashes for the data files being uploaded. This field will be generated by WeoApp during the file upload.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="data_files_size" type="filesize" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The (compressed) size of the data file(s) being uploaded. This field will be generated by WeoApp during the file upload.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="mask_path" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The path to the file that should be used as an alpha mask. This is generated from the [[Developer:_WeoFile#dataset.2Fmask | mask]] tag by WeoApp.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="uncompressed_data_files_size" type="filesize" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The size of the data file after decompression. This field is generated by WeoApp.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="tile_file_format" type="tile_file_format" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The file format for user-provided tiles. Options are 'png' and 'jpg'. Defaults to 'jpg'.
	      </xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="tile_layer_type" type="tile_layer_type" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The tiling scheme for preview tiles. Options are 'XYZ' and 'kamap'. Defaults to 'kamap'.
	      </xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="kml_file_size" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The size of kml files being uploaded.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="kml_preview_file" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
An optional file used to specify a KML preview. If this file is not provided, WeoApp will generate it from other data.		  
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="preview_files" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
A semicolon-delimited list of the preview files. Both a normal and a contrast stretched file should be included, in that order. 

For raster files only: if this list is not provided, it will be generated by WeoApp during the file upload.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="preview_files_paths" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
A semicolon-delimited list of the original paths to the preview files. This list is generated by WeoApp during the file upload.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="preview_file_size" type="nullableUnsignedInt" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The (compressed) size in bytes of the original preview file. This field is generated by WeoApp during the file upload.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="uncompressed_preview_file_size" type="nullableUnsignedInt" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The (uncompressed) size in bytes of the original preview file. This field is generated by WeoApp during the file upload.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="stretched_preview_file_size" type="nullableUnsignedInt" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The (compressed) size in bytes of the contrast-stretched preview file. This field is generated by WeoApp during the file upload.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="uncompressed_stretched_preview_file_size" type="nullableUnsignedInt" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The (uncompressed) size in bytes of the contrast-stretched preview file. This field is generated by WeoApp during the file upload.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="misc_archive_files" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
During the upload process, the contents of the [[Developer:_WeoFile#dataset.2Fmisc_files | misc_files]] tag are compressed into an archive file by WeoApp. If that file exceeds 2GB in size, it is broken apart into several archive files that are each 2GB or smaller. WeoApp records the paths to those files in this field.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="misc_archive_files_paths" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The original file paths to the archive files generated by WeoApp during the file upload. This field is generated by WeoApp during the upload process.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="misc_files_md5s" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
A list of the MD5 sums for miscellaneous files. This field is generated by WeoApp during the upload process.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="misc_files_size" type="filesize" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The size in bytes of the (compressed) set of miscellaneous files.	  
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="uncompressed_misc_files_size" type="filesize" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The size in bytes of the (uncompressed) miscellaneous files.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="unknown_files" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
This field is used to record files that were uploaded but have not been listed in any of the other file tags. It is generated automatically on the server and should not be filled in.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="palette" minOccurs="0" type="boolean_literal">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
For raster data files, this field records if the data file is paletted. It is generated by WeoApp during the upload process. Paletted GeoTiffs are the only type of paletted images WeoGeo currently accepts.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="pixel_type" type="pixel_type" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
For raster data files, this field describes the data type of the data(byte, float, etc). It is generated by WeoApp during the upload process.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="number_of_layers" type="xsd:unsignedInt" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
For raster data files, this field contains the number of layers in the dataset.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="number_of_preview_layers" type="xsd:unsignedInt" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
For preview files, this field contains the number of layers in the dataset.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="meta" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
This field is used internally by WeoApp. Please do not modify the contents of this field or any of its children.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:all>
              <xsd:element name="weoapp" minOccurs="0">
                <xsd:complexType>
                  <xsd:all>
                    <xsd:element name="platform" type="xsd:string" minOccurs="0"/>
                    <xsd:element name="version" type="xsd:string" minOccurs="0"/>
                  </xsd:all>
                </xsd:complexType>
              </xsd:element>
              <xsd:element name="mask_samples" type="nullableUnsignedInt" minOccurs="0"/>
              <xsd:element name="mask_lines" type="nullableUnsignedInt" minOccurs="0"/>
              <xsd:element name="description_file" type="xsd:string" minOccurs="0"/>
            </xsd:all>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="tilepack_file_size" minOccurs="0" type="weouint">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The file size for the preview tile pack. This will be generated by WeoApp when it creates the tile pack.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="tilepack_file" minOccurs="0" type="xsd:string">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
The file location for the preview tile pack. The tile pack is generated automatically by WeoApp.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="weogeo_mode" type="weogeo_mode" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
This is a tag is about to be deprecated.  Only 'Library' is a valid option.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="tileset" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
This tag contains information used by WeoGeo when displaying the preview tiles. It is generated automatically by WeoApp.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:all>
              <xsd:element name="preview_files" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
A semicolon delimited list of zoomed in preview images.
		      </xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="scales" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
A semicolon delimited list of zoom levels. Numbers correlate with dataset/tileset/preview_files.
		      </xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="scale_factors" minOccurs="0"/>
              <xsd:element name="small_preview_file" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
A 316x316 thumbnail file.
		      </xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="thumbnail_file" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>
                    <xsd:description>
A 61x61 thumbnail file.
		      </xsd:description>
                  </xsd:documentation>
                </xsd:annotation>
              </xsd:element>
            </xsd:all>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="tileset_boundaries" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <xsd:description>
This tag contains information used by WeoGeo when displaying the preview tiles. It is generated automatically by WeoApp.
		</xsd:description>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:all>
              <xsd:element name="buffered">
                <xsd:complexType>
                  <xsd:all>
                    <xsd:element name="north" type="weofloat"/>
                    <xsd:element name="south" type="weofloat"/>
                    <xsd:element name="east" type="weofloat"/>
                    <xsd:element name="west" type="weofloat"/>
                    <xsd:element name="x_conv" type="weofloat"/>
                    <xsd:element name="y_conv" type="weofloat"/>
                    <xsd:element name="step"/>
                  </xsd:all>
                </xsd:complexType>
              </xsd:element>
              <xsd:element name="unbuffered" minOccurs="0">
                <xsd:complexType>
                  <xsd:all>
                    <xsd:element name="north" type="nullableWeofloat"/>
                    <xsd:element name="south" type="nullableWeofloat"/>
                    <xsd:element name="east" type="nullableWeofloat"/>
                    <xsd:element name="west" type="nullableWeofloat"/>
                    <xsd:element name="x_conv" type="nullableWeofloat"/>
                    <xsd:element name="y_conv" type="nullableWeofloat"/>
                    <xsd:element name="step"/>
                  </xsd:all>
                </xsd:complexType>
              </xsd:element>
            </xsd:all>
          </xsd:complexType>
        </xsd:element>
      </xsd:all>
    </xsd:complexType>
  </xsd:element>
</xsd:schema>

