Schema GenericTypes.xsd


schema location:  http://www.con-way.com/XML/GenericTypes.xsd
 
Elements  Complex types  Simple types 
DateMMDDYY  ErrorType  BlankType 
Error  CONWAYTermsType 
DateMMDDYYType 
DateMMDDYYYYType 
FreeFormStringType 
IP 
OnOffType 
SchemaVersionType 
TimeHHMMType 
YesNoType 
YNType 


element DateMMDDYY
diagram
type DateMMDDYYType
properties
content simple
facets
minLength 6
maxLength 8
whiteSpace collapse
pattern [0-1]?\d/[0-3]?\d/\d{2}
annotation
documentation 
MMDDYY date type validated by DateMMDDYYType
source
<xs:element name="DateMMDDYY" type="DateMMDDYYType">
  <xs:annotation>
    <xs:documentation>MMDDYY date type validated by DateMMDDYYType</xs:documentation>
  </xs:annotation>
</xs:element>

element Error
diagram
type ErrorType
properties
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
returncode  xs:stringoptional      
reasoncode  xs:stringoptional      
annotation
documentation 
error tag validated by ErrorType
source
<xs:element name="Error" type="ErrorType">
  <xs:annotation>
    <xs:documentation>error tag validated by ErrorType</xs:documentation>
  </xs:annotation>
</xs:element>

complexType ErrorType
diagram
type extension of xs:string
properties
base xs:string
used by
element Error
attributes
Name  Type  Use  Default  Fixed  Annotation
returncode  xs:stringoptional      
reasoncode  xs:stringoptional      
annotation
documentation 
base type for Error tags
source
<xs:complexType name="ErrorType">
  <xs:annotation>
    <xs:documentation>base type for Error tags</xs:documentation>
  </xs:annotation>
  <xs:simpleContent>
    <xs:extension base="xs:string">
      <xs:attribute name="returncode" type="xs:string" use="optional"/>
      <xs:attribute name="reasoncode" type="xs:string" use="optional"/>
    </xs:extension>
  </xs:simpleContent>
</xs:complexType>

simpleType BlankType
type restriction of xs:string
facets
length 0
annotation
documentation 
 base type for empty elements
source
<xs:simpleType name="BlankType">
  <xs:annotation>
    <xs:documentation> base type for empty elements</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
    <xs:length value="0"/>
  </xs:restriction>
</xs:simpleType>

simpleType CONWAYTermsType
type xs:string
annotation
documentation 
base type for CON-WAY terms and copyright attribute
source
<xs:simpleType name="CONWAYTermsType">
  <xs:annotation>
    <xs:documentation>base type for CON-WAY terms and copyright attribute</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string"/>
</xs:simpleType>

simpleType DateMMDDYYType
type restriction of xs:string
used by
element DateMMDDYY
facets
minLength 6
maxLength 8
whiteSpace collapse
pattern [0-1]?\d/[0-3]?\d/\d{2}
annotation
documentation 
base type for mm/dd/yy date elements
source
<xs:simpleType name="DateMMDDYYType">
  <xs:annotation>
    <xs:documentation>base type for mm/dd/yy date elements</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
    <xs:whiteSpace value="collapse"/>
    <xs:minLength value="6"/>
    <xs:maxLength value="8"/>
    <xs:pattern value="[0-1]?\d/[0-3]?\d/\d{2}"/>
  </xs:restriction>
</xs:simpleType>

simpleType DateMMDDYYYYType
type restriction of xs:string
facets
minLength 8
maxLength 10
whiteSpace collapse
pattern [0-1]?\d/[0-3]?\d/\d{4}
annotation
documentation 
base type for mm/dd/yyyy date elements
source
<xs:simpleType name="DateMMDDYYYYType">
  <xs:annotation>
    <xs:documentation>base type for mm/dd/yyyy date elements</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
    <xs:whiteSpace value="collapse"/>
    <xs:minLength value="8"/>
    <xs:maxLength value="10"/>
    <xs:pattern value="[0-1]?\d/[0-3]?\d/\d{4}"/>
  </xs:restriction>
</xs:simpleType>

simpleType FreeFormStringType
type restriction of xs:string
facets
maxLength 255
annotation
documentation 
base type for free-form strings
source
<xs:simpleType name="FreeFormStringType">
  <xs:annotation>
    <xs:documentation>base type for free-form strings</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
    <xs:maxLength value="255"/>
  </xs:restriction>
</xs:simpleType>

simpleType IP
type restriction of xs:string
facets
pattern (([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])
annotation
documentation 
base type for IP addresses
source
<xs:simpleType name="IP">
  <xs:annotation>
    <xs:documentation>base type for IP addresses</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
    <xs:pattern value="(([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])">
      <xs:annotation>
        <xs:documentation>
                  Datatype for representing IP addresses.  Examples,
                     129.83.64.255, 64.128.2.71, etc.
                  This datatype restricts each field of the IP address
                  to have a value between zero and 255, i.e.,
                     [0-255].[0-255].[0-255].[0-255]
            	              </xs:documentation>
      </xs:annotation>
    </xs:pattern>
  </xs:restriction>
</xs:simpleType>

simpleType OnOffType
type restriction of xs:string
properties
final restriction
facets
length 1
enumeration 1
enumeration 0
annotation
documentation 
base type for 1 char 1 or 0 
source
<xs:simpleType name="OnOffType" final="restriction">
  <xs:annotation>
    <xs:documentation>base type for 1 char 1 or 0 </xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
    <xs:length value="1"/>
    <xs:enumeration value="1">
      <!--Yes-->
    </xs:enumeration>
    <xs:enumeration value="0">
      <!--No-->
    </xs:enumeration>
  </xs:restriction>
</xs:simpleType>

simpleType SchemaVersionType
type restriction of xs:string
facets
minLength 3
maxLength 5
whiteSpace collapse
annotation
documentation 
base type for XML Schema version attribute
source
<xs:simpleType name="SchemaVersionType">
  <xs:annotation>
    <xs:documentation>base type for XML Schema version attribute</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
    <xs:minLength value="3"/>
    <xs:maxLength value="5"/>
    <xs:whiteSpace value="collapse"/>
  </xs:restriction>
</xs:simpleType>

simpleType TimeHHMMType
type restriction of xs:string
facets
minLength 4
maxLength 8
pattern [0-2]?\d:?[0-6]?\d\s?(am|pm)?
annotation
documentation 
base type for HH:MM (am/pm) time elements
source
<xs:simpleType name="TimeHHMMType">
  <xs:annotation>
    <xs:documentation>base type for HH:MM (am/pm) time elements</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
    <xs:minLength value="4"/>
    <xs:maxLength value="8"/>
    <xs:pattern value="[0-2]?\d:?[0-6]?\d\s?(am|pm)?"/>
  </xs:restriction>
</xs:simpleType>

simpleType YesNoType
type restriction of xs:string
facets
minLength 1
maxLength 3
whiteSpace collapse
enumeration Y
enumeration y
enumeration YES
enumeration No
enumeration yes
enumeration N
enumeration n
enumeration NO
enumeration No
enumeration no
annotation
documentation 
base type for 1-3 char Yes/No attributes
source
<xs:simpleType name="YesNoType">
  <xs:annotation>
    <xs:documentation>base type for 1-3 char Yes/No attributes</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
    <xs:minLength value="1"/>
    <xs:maxLength value="3"/>
    <xs:whiteSpace value="collapse"/>
    <xs:enumeration value="Y"/>
    <xs:enumeration value="y"/>
    <xs:enumeration value="YES"/>
    <xs:enumeration value="No"/>
    <xs:enumeration value="yes"/>
    <xs:enumeration value="N"/>
    <xs:enumeration value="n"/>
    <xs:enumeration value="NO"/>
    <xs:enumeration value="No"/>
    <xs:enumeration value="no"/>
  </xs:restriction>
</xs:simpleType>

simpleType YNType
type restriction of xs:string
properties
final restriction
facets
length 1
enumeration Y
enumeration N
annotation
documentation 
base type for 1 char Y/N
source
<xs:simpleType name="YNType" final="restriction">
  <xs:annotation>
    <xs:documentation>base type for 1 char Y/N</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
    <xs:length value="1"/>
    <xs:enumeration value="Y"/>
    <xs:enumeration value="N"/>
  </xs:restriction>
</xs:simpleType>


XML Schema documentation generated with
XMLSPY Schema Editor http://www.altova.com/xmlspy