complexType SpillPool
diagram
namespace http://www.IM-Draft-03-00-44a
children type size text
used by
element MaterialRelease/pool
source <xs:complexType name="SpillPool">
 
<xs:sequence>
   
<xs:element name="type" type="SpillType"/>
   
<!-- solid,  liquid,  gas -->
   
<xs:element name="size">
     
<xs:complexType>
       
<xs:choice>
         
<xs:element name="lrms" type="lrms:LocationReference"/>
         
<xs:element name="raw">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="length">
                 
<xs:simpleType>
                   
<xs:restriction base="xs:unsignedShort">
                     
<xs:maxInclusive value="10000"/>
                   
</xs:restriction>
                 
</xs:simpleType>
               
</xs:element>
               
<!-- the length  (in units)  along one side of the pool or the diameter
                           if the pool is circular or if the estimate is only of a single
                           unit  (such as acres) --
>
               
<xs:element name="width" minOccurs="0">
                 
<xs:simpleType>
                   
<xs:restriction base="xs:unsignedShort">
                     
<xs:maxInclusive value="10000"/>
                   
</xs:restriction>
                 
</xs:simpleType>
               
</xs:element>
               
<!-- the width  (in units)  along the other side of the pool,  or ZERO to
                           indicate that the length field has a diameter --
>
               
<xs:element name="sqUnits" minOccurs="0">
                 
<xs:simpleType>
                   
<xs:restriction base="xs:unsignedInt">
                     
<xs:maxInclusive value="100000000"/>
                   
</xs:restriction>
                 
</xs:simpleType>
               
</xs:element>
               
<!-- the two values above combined to form a total estimate -->
               
<xs:element name="units" type="itis:Units"/>
               
<!-- select from the suitable Units code in ITIS
                           which contains things like feet,  acres,  gallons,  etc.
                           when the unit is distance the then sqUnits is that unit squared
                           when a only the length entry is used to convey size  (such as an
                           estimate of gallons,  then the units stand --
>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
       
</xs:choice>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="text" type="FreeText" minOccurs="0"/>
   
<!-- any free text required if units can not be selected -->
 
</xs:sequence>
</xs:complexType>

element SpillPool/type
diagram
type SpillType
properties
isRef 0
content simple
source <xs:element name="type" type="SpillType"/>

element SpillPool/size
diagram
properties
isRef 0
content complex
children lrms raw
source <xs:element name="size">
 
<xs:complexType>
   
<xs:choice>
     
<xs:element name="lrms" type="lrms:LocationReference"/>
     
<xs:element name="raw">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="length">
             
<xs:simpleType>
               
<xs:restriction base="xs:unsignedShort">
                 
<xs:maxInclusive value="10000"/>
               
</xs:restriction>
             
</xs:simpleType>
           
</xs:element>
           
<!-- the length  (in units)  along one side of the pool or the diameter
                           if the pool is circular or if the estimate is only of a single
                           unit  (such as acres) --
>
           
<xs:element name="width" minOccurs="0">
             
<xs:simpleType>
               
<xs:restriction base="xs:unsignedShort">
                 
<xs:maxInclusive value="10000"/>
               
</xs:restriction>
             
</xs:simpleType>
           
</xs:element>
           
<!-- the width  (in units)  along the other side of the pool,  or ZERO to
                           indicate that the length field has a diameter --
>
           
<xs:element name="sqUnits" minOccurs="0">
             
<xs:simpleType>
               
<xs:restriction base="xs:unsignedInt">
                 
<xs:maxInclusive value="100000000"/>
               
</xs:restriction>
             
</xs:simpleType>
           
</xs:element>
           
<!-- the two values above combined to form a total estimate -->
           
<xs:element name="units" type="itis:Units"/>
           
<!-- select from the suitable Units code in ITIS
                           which contains things like feet,  acres,  gallons,  etc.
                           when the unit is distance the then sqUnits is that unit squared
                           when a only the length entry is used to convey size  (such as an
                           estimate of gallons,  then the units stand --
>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:choice>
 
</xs:complexType>
</xs:element>

element SpillPool/size/lrms
diagram
type lrms:LocationReference
properties
isRef 0
content complex
children locationName externalID pointLocation linkLocation areaLocation chain transition groupLocation routeLocation geometry geoCoord grid linearReference crossStreets address preCoded nodeAttribute spatialObject publicGrid
attributes
Name  Type  Use  Default  Fixed  annotation
locationIDlrms:String-index64      
source <xs:element name="lrms" type="lrms:LocationReference"/>

element SpillPool/size/raw
diagram
properties
isRef 0
content complex
children length width sqUnits units
source <xs:element name="raw">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="length">
       
<xs:simpleType>
         
<xs:restriction base="xs:unsignedShort">
           
<xs:maxInclusive value="10000"/>
         
</xs:restriction>
       
</xs:simpleType>
     
</xs:element>
     
<!-- the length  (in units)  along one side of the pool or the diameter
                           if the pool is circular or if the estimate is only of a single
                           unit  (such as acres) --
>
     
<xs:element name="width" minOccurs="0">
       
<xs:simpleType>
         
<xs:restriction base="xs:unsignedShort">
           
<xs:maxInclusive value="10000"/>
         
</xs:restriction>
       
</xs:simpleType>
     
</xs:element>
     
<!-- the width  (in units)  along the other side of the pool,  or ZERO to
                           indicate that the length field has a diameter --
>
     
<xs:element name="sqUnits" minOccurs="0">
       
<xs:simpleType>
         
<xs:restriction base="xs:unsignedInt">
           
<xs:maxInclusive value="100000000"/>
         
</xs:restriction>
       
</xs:simpleType>
     
</xs:element>
     
<!-- the two values above combined to form a total estimate -->
     
<xs:element name="units" type="itis:Units"/>
     
<!-- select from the suitable Units code in ITIS
                           which contains things like feet,  acres,  gallons,  etc.
                           when the unit is distance the then sqUnits is that unit squared
                           when a only the length entry is used to convey size  (such as an
                           estimate of gallons,  then the units stand --
>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element SpillPool/size/raw/length
diagram
type restriction of xs:unsignedShort
properties
isRef 0
content simple
facets
maxInclusive 10000
source <xs:element name="length">
 
<xs:simpleType>
   
<xs:restriction base="xs:unsignedShort">
     
<xs:maxInclusive value="10000"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:element>

element SpillPool/size/raw/width
diagram
type restriction of xs:unsignedShort
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
maxInclusive 10000
source <xs:element name="width" minOccurs="0">
 
<xs:simpleType>
   
<xs:restriction base="xs:unsignedShort">
     
<xs:maxInclusive value="10000"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:element>

element SpillPool/size/raw/sqUnits
diagram
type restriction of xs:unsignedInt
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
maxInclusive 100000000
source <xs:element name="sqUnits" minOccurs="0">
 
<xs:simpleType>
   
<xs:restriction base="xs:unsignedInt">
     
<xs:maxInclusive value="100000000"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:element>

element SpillPool/size/raw/units
diagram
type itis:Units
properties
isRef 0
content simple
source <xs:element name="units" type="itis:Units"/>

element SpillPool/text
diagram
type FreeText
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
minLength 1
maxLength 500
source <xs:element name="text" type="FreeText" minOccurs="0"/>


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