Schema SiteVisitExportInstructions.xsd


schema location:  C:\usgswork\5.0\XML\schema\SiteVisitExportInstructions.xsd
attribute form default: 
element form default:  qualified
targetNamespace:  http://water.usgs.gov/XML/NWIS/5.0
 
Elements 
Site 
SiteVisitExportInstructions 


schema location:  C:\usgswork\5.0\XML\schema\site\SiteIdentifier.xsd
attribute form default: 
element form default:  qualified
targetNamespace:  http://water.usgs.gov/XML/NWIS/5.0
 
Elements  Complex types 
SiteIdentifier  SiteIdentifierType 


schema location:  C:\usgswork\5.0\XML\schema\shared\DateTimeWithDatum.xsd
attribute form default: 
element form default:  qualified
targetNamespace:  http://water.usgs.gov/XML/NWIS/5.0
 
Complex types 
DateTimeWithDatum 


element Site
diagram SiteVisitExportInstructions_p1.png
namespace http://water.usgs.gov/XML/NWIS/5.0
properties
content complex
children SiteIdentifier
used by
element SiteVisitExportInstructions
annotation
documentation
<Definition>Site identification Information describing the agency code and site number of the site.</Definition>
source <xsd:element name="Site">
 
<xsd:annotation>
   
<xsd:documentation>
     
<Definition>Site identification Information describing the agency code and site number of the site.</Definition>
   
</xsd:documentation>
 
</xsd:annotation>
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element name="SiteIdentifier" type="SiteIdentifierType"/>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element Site/SiteIdentifier
diagram SiteVisitExportInstructions_p2.png
namespace http://water.usgs.gov/XML/NWIS/5.0
type SiteIdentifierType
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
organizationCodexsd:tokenrequired      
documentation
<Definition>Organization code. </Definition>
source <xsd:element name="SiteIdentifier" type="SiteIdentifierType"/>

element SiteVisitExportInstructions
diagram SiteVisitExportInstructions_p3.png
namespace http://water.usgs.gov/XML/NWIS/5.0
properties
content complex
children NwisDatabaseServer NwisDatabaseName NwisDatabaseNumber DestinationFilePath StartDateTime EndDateTime Site
annotation
documentation
<Definition>SiteVisitExportInstructions is an XML format developed for providing instructions to export site visits from an National Water Information System (NWIS) database.</Definition>
source <xsd:element name="SiteVisitExportInstructions">
 
<xsd:annotation>
   
<xsd:documentation source="http://water.usgs.gov/nwis_activities/xml/nwis_hml.html">
     
<Definition>SiteVisitExportInstructions is an XML format developed for providing instructions to export site visits from an National Water Information System (NWIS) database.</Definition>
   
</xsd:documentation>
 
</xsd:annotation>
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element name="NwisDatabaseServer" type="xsd:string">
       
<xsd:annotation>
         
<xsd:documentation>
           
<Definition>The description of the boat and moter used in the measurement.</Definition>
         
</xsd:documentation>
       
</xsd:annotation>
     
</xsd:element>
     
<xsd:element name="NwisDatabaseName" type="xsd:string">
       
<xsd:annotation>
         
<xsd:documentation>
           
<Definition>The description of the boat and moter used in the measurement.</Definition>
         
</xsd:documentation>
       
</xsd:annotation>
     
</xsd:element>
     
<xsd:element name="NwisDatabaseNumber" type="xsd:string">
       
<xsd:annotation>
         
<xsd:documentation>
           
<Definition>The description of the boat and moter used in the measurement.</Definition>
         
</xsd:documentation>
       
</xsd:annotation>
     
</xsd:element>
     
<xsd:element name="DestinationFilePath" type="xsd:string">
       
<xsd:annotation>
         
<xsd:documentation>
           
<Definition>The description of the boat and moter used in the measurement.</Definition>
         
</xsd:documentation>
       
</xsd:annotation>
     
</xsd:element>
     
<xsd:element name="StartDateTime" type="DateTimeWithDatum" minOccurs="0">
       
<xsd:annotation>
         
<xsd:documentation>
           
<Definition>The starting date and time of the site visit date/time search/retrieval range.</Definition>
         
</xsd:documentation>
       
</xsd:annotation>
     
</xsd:element>
     
<xsd:element name="EndDateTime" type="DateTimeWithDatum" minOccurs="0">
       
<xsd:annotation>
         
<xsd:documentation>
           
<Definition>The ending date and time of the site visit date/time search/retrieval range.</Definition>
         
</xsd:documentation>
       
</xsd:annotation>
     
</xsd:element>
     
<xsd:element ref="Site" minOccurs="0" maxOccurs="unbounded"/>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element SiteVisitExportInstructions/NwisDatabaseServer
diagram SiteVisitExportInstructions_p4.png
namespace http://water.usgs.gov/XML/NWIS/5.0
type xsd:string
properties
isRef 0
content simple
annotation
documentation
<Definition>The description of the boat and moter used in the measurement.</Definition>
source <xsd:element name="NwisDatabaseServer" type="xsd:string">
 
<xsd:annotation>
   
<xsd:documentation>
     
<Definition>The description of the boat and moter used in the measurement.</Definition>
   
</xsd:documentation>
 
</xsd:annotation>
</xsd:element>

element SiteVisitExportInstructions/NwisDatabaseName
diagram SiteVisitExportInstructions_p5.png
namespace http://water.usgs.gov/XML/NWIS/5.0
type xsd:string
properties
isRef 0
content simple
annotation
documentation
<Definition>The description of the boat and moter used in the measurement.</Definition>
source <xsd:element name="NwisDatabaseName" type="xsd:string">
 
<xsd:annotation>
   
<xsd:documentation>
     
<Definition>The description of the boat and moter used in the measurement.</Definition>
   
</xsd:documentation>
 
</xsd:annotation>
</xsd:element>

element SiteVisitExportInstructions/NwisDatabaseNumber
diagram SiteVisitExportInstructions_p6.png
namespace http://water.usgs.gov/XML/NWIS/5.0
type xsd:string
properties
isRef 0
content simple
annotation
documentation
<Definition>The description of the boat and moter used in the measurement.</Definition>
source <xsd:element name="NwisDatabaseNumber" type="xsd:string">
 
<xsd:annotation>
   
<xsd:documentation>
     
<Definition>The description of the boat and moter used in the measurement.</Definition>
   
</xsd:documentation>
 
</xsd:annotation>
</xsd:element>

element SiteVisitExportInstructions/DestinationFilePath
diagram SiteVisitExportInstructions_p7.png
namespace http://water.usgs.gov/XML/NWIS/5.0
type xsd:string
properties
isRef 0
content simple
annotation
documentation
<Definition>The description of the boat and moter used in the measurement.</Definition>
source <xsd:element name="DestinationFilePath" type="xsd:string">
 
<xsd:annotation>
   
<xsd:documentation>
     
<Definition>The description of the boat and moter used in the measurement.</Definition>
   
</xsd:documentation>
 
</xsd:annotation>
</xsd:element>

element SiteVisitExportInstructions/StartDateTime
diagram SiteVisitExportInstructions_p8.png
namespace http://water.usgs.gov/XML/NWIS/5.0
type DateTimeWithDatum
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
timeDatumCodexsd:NMTOKEN      
documentation
<Definition>The code identifying the time datum of the date and time. Examples of time datums are "EST" (Eastern Standard Time), EDT Eastern Daylight Savings Time), etc.</Definition>
timeDatumEnteredCodexsd:NMTOKENoptional      
documentation
<Definition>The code identifying the time datum of the date and time as entered into NWIS originally. Examples of time datums are "EST" (Eastern Standard Time), EDT Eastern Daylight Savings Time), etc.</Definition>
timeDatumReliabilityCodederived by: xsd:tokenoptional      
documentation
<Definition>The code identifying the reliability of the time datum code. K=Known, E=Estimated, T=Transfered (assumed)</Definition>
annotation
documentation
<Definition>The starting date and time of the site visit date/time search/retrieval range.</Definition>
source <xsd:element name="StartDateTime" type="DateTimeWithDatum" minOccurs="0">
 
<xsd:annotation>
   
<xsd:documentation>
     
<Definition>The starting date and time of the site visit date/time search/retrieval range.</Definition>
   
</xsd:documentation>
 
</xsd:annotation>
</xsd:element>

element SiteVisitExportInstructions/EndDateTime
diagram SiteVisitExportInstructions_p9.png
namespace http://water.usgs.gov/XML/NWIS/5.0
type DateTimeWithDatum
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
timeDatumCodexsd:NMTOKEN      
documentation
<Definition>The code identifying the time datum of the date and time. Examples of time datums are "EST" (Eastern Standard Time), EDT Eastern Daylight Savings Time), etc.</Definition>
timeDatumEnteredCodexsd:NMTOKENoptional      
documentation
<Definition>The code identifying the time datum of the date and time as entered into NWIS originally. Examples of time datums are "EST" (Eastern Standard Time), EDT Eastern Daylight Savings Time), etc.</Definition>
timeDatumReliabilityCodederived by: xsd:tokenoptional      
documentation
<Definition>The code identifying the reliability of the time datum code. K=Known, E=Estimated, T=Transfered (assumed)</Definition>
annotation
documentation
<Definition>The ending date and time of the site visit date/time search/retrieval range.</Definition>
source <xsd:element name="EndDateTime" type="DateTimeWithDatum" minOccurs="0">
 
<xsd:annotation>
   
<xsd:documentation>
     
<Definition>The ending date and time of the site visit date/time search/retrieval range.</Definition>
   
</xsd:documentation>
 
</xsd:annotation>
</xsd:element>

element SiteIdentifier
diagram SiteVisitExportInstructions_p10.png
namespace http://water.usgs.gov/XML/NWIS/5.0
type SiteIdentifierType
properties
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
organizationCodexsd:tokenrequired      
documentation
<Definition>Organization code. </Definition>
source <xsd:element name="SiteIdentifier" type="SiteIdentifierType"/>

complexType SiteIdentifierType
diagram SiteVisitExportInstructions_p11.png
namespace http://water.usgs.gov/XML/NWIS/5.0
type extension of xsd:token
properties
base xsd:token
abstract false
used by
elements Site/SiteIdentifier SiteIdentifier
attributes
Name  Type  Use  Default  Fixed  annotation
organizationCodexsd:tokenrequired      
documentation
<Definition>Organization code. </Definition>
annotation
documentation
<Definition>Site identifier. A unique, two component string assigned to a site to identify it.</Definition>
source <xsd:complexType name="SiteIdentifierType" abstract="false">
 
<xsd:annotation>
   
<xsd:documentation>
     
<Definition>Site identifier. A unique, two component string assigned to a site to identify it.</Definition>
   
</xsd:documentation>
 
</xsd:annotation>
 
<xsd:simpleContent>
   
<xsd:extension base="xsd:token">
     
<xsd:attribute name="organizationCode" type="xsd:token" use="required">
       
<xsd:annotation>
         
<xsd:documentation>
           
<Definition>Organization code. </Definition>
         
</xsd:documentation>
       
</xsd:annotation>
     
</xsd:attribute>
   
</xsd:extension>
 
</xsd:simpleContent>
</xsd:complexType>

attribute SiteIdentifierType/@organizationCode
type xsd:token
properties
isRef 0
use required
annotation
documentation
<Definition>Organization code. </Definition>
source <xsd:attribute name="organizationCode" type="xsd:token" use="required">
 
<xsd:annotation>
   
<xsd:documentation>
     
<Definition>Organization code. </Definition>
   
</xsd:documentation>
 
</xsd:annotation>
</xsd:attribute>

complexType DateTimeWithDatum
diagram SiteVisitExportInstructions_p12.png
namespace http://water.usgs.gov/XML/NWIS/5.0
type extension of xsd:dateTime
properties
base xsd:dateTime
used by
elements SiteVisitExportInstructions/EndDateTime SiteVisitExportInstructions/StartDateTime
attributes
Name  Type  Use  Default  Fixed  annotation
timeDatumCodexsd:NMTOKEN      
documentation
<Definition>The code identifying the time datum of the date and time. Examples of time datums are "EST" (Eastern Standard Time), EDT Eastern Daylight Savings Time), etc.</Definition>
timeDatumEnteredCodexsd:NMTOKENoptional      
documentation
<Definition>The code identifying the time datum of the date and time as entered into NWIS originally. Examples of time datums are "EST" (Eastern Standard Time), EDT Eastern Daylight Savings Time), etc.</Definition>
timeDatumReliabilityCodederived by: xsd:tokenoptional      
documentation
<Definition>The code identifying the reliability of the time datum code. K=Known, E=Estimated, T=Transfered (assumed)</Definition>
annotation
documentation
<Definition>Describes an instance in time defined by a date, a time,  and a time datum code. The format that is expected is CCYY-MM-DDThh:mm:ss where CC = Century, YY = year, MM = month, DD = day of the month, hh = hour of the day, mm = minutes into the hour, ss = seconds into the minute. Some date and times may be allowed to be partial and will be identified as such. If the time datum code is not specified, then it will be assumed to be UTC.</Definition>
source <xsd:complexType name="DateTimeWithDatum">
 
<xsd:annotation>
   
<xsd:documentation>
     
<Definition>Describes an instance in time defined by a date, a time,  and a time datum code. The format that is expected is CCYY-MM-DDThh:mm:ss where CC = Century, YY = year, MM = month, DD = day of the month, hh = hour of the day, mm = minutes into the hour, ss = seconds into the minute. Some date and times may be allowed to be partial and will be identified as such. If the time datum code is not specified, then it will be assumed to be UTC.</Definition>
   
</xsd:documentation>
 
</xsd:annotation>
 
<xsd:simpleContent>
   
<xsd:extension base="xsd:dateTime">
     
<xsd:attribute name="timeDatumCode" type="xsd:NMTOKEN">
       
<xsd:annotation>
         
<xsd:documentation>
           
<Definition>The code identifying the time datum of the date and time. Examples of time datums are "EST" (Eastern Standard Time), EDT Eastern Daylight Savings Time), etc.</Definition>
         
</xsd:documentation>
       
</xsd:annotation>
     
</xsd:attribute>
     
<xsd:attribute name="timeDatumEnteredCode" type="xsd:NMTOKEN" use="optional">
       
<xsd:annotation>
         
<xsd:documentation>
           
<Definition>The code identifying the time datum of the date and time as entered into NWIS originally. Examples of time datums are "EST" (Eastern Standard Time), EDT Eastern Daylight Savings Time), etc.</Definition>
         
</xsd:documentation>
       
</xsd:annotation>
     
</xsd:attribute>
     
<xsd:attribute name="timeDatumReliabilityCode" use="optional">
       
<xsd:annotation>
         
<xsd:documentation>
           
<Definition>The code identifying the reliability of the time datum code. K=Known, E=Estimated, T=Transfered (assumed)</Definition>
         
</xsd:documentation>
       
</xsd:annotation>
       
<xsd:simpleType>
         
<xsd:restriction base="xsd:token">
           
<xsd:enumeration value="K"/>
           
<xsd:enumeration value="E"/>
           
<xsd:enumeration value="T"/>
         
</xsd:restriction>
       
</xsd:simpleType>
     
</xsd:attribute>
   
</xsd:extension>
 
</xsd:simpleContent>
</xsd:complexType>

attribute DateTimeWithDatum/@timeDatumCode
type xsd:NMTOKEN
properties
isRef 0
annotation
documentation
<Definition>The code identifying the time datum of the date and time. Examples of time datums are "EST" (Eastern Standard Time), EDT Eastern Daylight Savings Time), etc.</Definition>
source <xsd:attribute name="timeDatumCode" type="xsd:NMTOKEN">
 
<xsd:annotation>
   
<xsd:documentation>
     
<Definition>The code identifying the time datum of the date and time. Examples of time datums are "EST" (Eastern Standard Time), EDT Eastern Daylight Savings Time), etc.</Definition>
   
</xsd:documentation>
 
</xsd:annotation>
</xsd:attribute>

attribute DateTimeWithDatum/@timeDatumEnteredCode
type xsd:NMTOKEN
properties
isRef 0
use optional
annotation
documentation
<Definition>The code identifying the time datum of the date and time as entered into NWIS originally. Examples of time datums are "EST" (Eastern Standard Time), EDT Eastern Daylight Savings Time), etc.</Definition>
source <xsd:attribute name="timeDatumEnteredCode" type="xsd:NMTOKEN" use="optional">
 
<xsd:annotation>
   
<xsd:documentation>
     
<Definition>The code identifying the time datum of the date and time as entered into NWIS originally. Examples of time datums are "EST" (Eastern Standard Time), EDT Eastern Daylight Savings Time), etc.</Definition>
   
</xsd:documentation>
 
</xsd:annotation>
</xsd:attribute>

attribute DateTimeWithDatum/@timeDatumReliabilityCode
type restriction of xsd:token
properties
isRef 0
use optional
facets
Kind Value annotation 
enumeration 
enumeration 
enumeration 
annotation
documentation
<Definition>The code identifying the reliability of the time datum code. K=Known, E=Estimated, T=Transfered (assumed)</Definition>
source <xsd:attribute name="timeDatumReliabilityCode" use="optional">
 
<xsd:annotation>
   
<xsd:documentation>
     
<Definition>The code identifying the reliability of the time datum code. K=Known, E=Estimated, T=Transfered (assumed)</Definition>
   
</xsd:documentation>
 
</xsd:annotation>
 
<xsd:simpleType>
   
<xsd:restriction base="xsd:token">
     
<xsd:enumeration value="K"/>
     
<xsd:enumeration value="E"/>
     
<xsd:enumeration value="T"/>
   
</xsd:restriction>
 
</xsd:simpleType>
</xsd:attribute>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy