Showing:

Annotations
Attributes
Diagrams
Facets
Source
Used by
Imported schema lcns.xsd
Namespace http://www.tnsaferoads.net/mvc/drv/lcns
Annotations
Documentation for the Driver License
MMUCC Data Element Reference ??

http://www.mmucc.us/guideline/criteria/c9.htm

This schema defines and validates an instance of  Driver License within the context
of a Collision report document.

http://www.gnu.org/licenses/gpl.html

<xi:include href="../XML/GPL.xhtml"/>
This software should be used in compliance with GNU GENERAL PUBLIC LICENSE            
Version 3, 29 June 2007 or later. TNSR™
Element lcns:DriverLicense
Namespace http://www.tnsaferoads.net/mvc/drv/lcns
Diagram
Diagram mvh24.tmp#id206 mvh24.tmp#id205
Used by
Source
<xsd:element name="DriverLicense" id="DriverLicense" abstract="true"/>
Element lcns:NonCommercialLicense
Namespace http://www.tnsaferoads.net/mvc/drv/lcns
Annotations
The non-commercial driver license
Diagram
Diagram mvh24.tmp#id354 mvh24.tmp#id355 mvh24.tmp#id356 mvh24.tmp#id357 mvh24.tmp#id358 mvh24.tmp#id360 mvh24.tmp#id353
Type lcns:DriverLicenseType
Attributes
QName Type Fixed Default Use Annotation
cmprstr:RestrictionsCompliance restriction of xsd:token optional
The state of a driver's compliance with the license
restrictions
lcns:Class ansi:DriverLicenseClassCodeType required
lcns:ExpirationYear xsd:gYear required
Indicate the expiration year of the
driver/operator license.
lcns:Jurisdiction lsta:LSTAType required
Indicate the jurisdiction that issued the driver/operator license
lcns:Number restriction of xsd:token required
Driver/operator license
number.
lcns:Restrictions ansi:DrivingRestrictionCodeType optional
lcns:Status ansi:DrivingStatusCodeType required
The status of the driver license. These are
based on governing jurisdiction status codes. Adjust or replace with appropriate
codes for the governing jurisdiction.
Source
<xsd:element name="NonCommercialLicense" type="lcns:DriverLicenseType" substitutionGroup="lcns:DriverLicense">
  <xsd:annotation>
    <xsd:documentation>The non-commercial driver license</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element lcns:CommercialDriverLicense
Namespace http://www.tnsaferoads.net/mvc/drv/lcns
Diagram
Diagram mvh24.tmp#id354 mvh24.tmp#id355 mvh24.tmp#id356 mvh24.tmp#id357 mvh24.tmp#id358 mvh24.tmp#id360 mvh24.tmp#id353 mvh24.tmp#id363 mvh24.tmp#id362
Type lcns:CommercialDriverLicenseType
Type hierarchy
Attributes
QName Type Fixed Default Use Annotation
cmpndrs:EndorsementsCompliance restriction of xsd:token optional
Indicates the driver/operator's compliance with the endorsement listed on the operators license.
cmprstr:RestrictionsCompliance restriction of xsd:token optional
The state of a driver's compliance with the license
restrictions
lcns:Class ansi:DriverLicenseClassCodeType required
lcns:Endorsements ansi:DrivingEndorsementCodeType optional
lcns:ExpirationYear xsd:gYear required
Indicate the expiration year of the
driver/operator license.
lcns:Jurisdiction lsta:LSTAType required
Indicate the jurisdiction that issued the driver/operator license
lcns:Number restriction of xsd:token required
Driver/operator license
number.
lcns:Restrictions ansi:DrivingRestrictionCodeType optional
lcns:Status ansi:DrivingStatusCodeType required
The status of the driver license. These are
based on governing jurisdiction status codes. Adjust or replace with appropriate
codes for the governing jurisdiction.
Source
<xsd:element name="CommercialDriverLicense" type="lcns:CommercialDriverLicenseType" substitutionGroup="lcns:DriverLicense"/>
Simple Type lcns:ClassType
Namespace http://www.tnsaferoads.net/mvc/drv/lcns
Annotations
The type definition for the Driver License Class.
These are defined by MMUCC and by SAFETYNET.
GT = Greater Than. LT = Less
Than
Diagram
Diagram
Type restriction of xsd:token
Facets
minLength 1
maxLength 2
enumeration A
enumeration B
enumeration C
enumeration D
enumeration H
enumeration M
enumeration P
enumeration ID
Source
<xsd:simpleType name="ClassType" id="ClassType">
  <xsd:annotation>
    <xsd:documentation xml:lang="en-US">The type definition for the Driver License Class. These are defined by MMUCC and by SAFETYNET.</xsd:documentation>
    <xsd:documentation xml:lang="en-US">GT = Greater Than. LT = Less Than</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:token">
    <xsd:minLength value="1"/>
    <xsd:maxLength value="2"/>
    <xsd:enumeration value="A" id="CombinationVehiclesGT26000GVWR">
      <!--Combination Vehicles &gt; 26,000 GVWR (GCVWR)-->
    </xsd:enumeration>
    <xsd:enumeration value="B" id="TrucksBusesGT26000TrailersLT10000">
      <!--Trucks/Buses &gt; 26,000lbs, Trailers &lt; 10,000 lbs-->
    </xsd:enumeration>
    <xsd:enumeration value="C" id="VehiclesLT26000PSHorXEndorsementRequired">
      <!--Vehicles &lt; 26,000 lbs P, S, H or X Endorsement Required-->
    </xsd:enumeration>
    <xsd:enumeration value="D" id="VehiclesLT26000NoSpecialEndorsementRequired">
      <!--Vehicles &lt; 26,000 lbs No Special Endorsement Required-->
    </xsd:enumeration>
    <xsd:enumeration value="H" id="HardshipLimitedAndRestrictedAge14-16">
      <!--Hardship, Limited And Restricted (age 14-16)-->
    </xsd:enumeration>
    <xsd:enumeration value="M" id="MotorcyclesAndMotor-DrivenCycles">
      <!--Motorcycles And Motor - Driven Cycles-->
    </xsd:enumeration>
    <xsd:enumeration value="P" id="LeanerPermitForClassIndicated">
      <!--Leaner Permit For Class Indicated-->
    </xsd:enumeration>
    <xsd:enumeration value="ID" id="IDOnly-NotForValidVehicleOperator">
      <!--ID Only-Not For Valid Vehicle Operator-->
    </xsd:enumeration>
  </xsd:restriction>
  <!--License Class-->
</xsd:simpleType>
Simple Type lcns:NonCommercialLicenseType
Namespace http://www.tnsaferoads.net/mvc/drv/lcns
Annotations

http://www-fars.nhtsa.dot.gov/


<xsd:annotation>
  <xsd:documentation xml:lang="en-US">The type definition for the Non-CDL License Type.</xsd:documentation>
</xsd:annotation>
Diagram
Diagram
Type restriction of xsd:token
Facets
length 2
enumeration 00
enumeration 01
enumeration 02
enumeration 07
enumeration 08
enumeration 09
pattern \d{2}
Source
<xsd:simpleType name="NonCommercialLicenseType" id="NonCommercialLicenseType">
  <xsd:annotation>
    <xsd:documentation source="http://www-fars.nhtsa.dot.gov/" xml:lang="en-US">
      <!--The type of license when a Non-Commercial License is recorded.-->
      <xsd:annotation>
        <xsd:documentation xml:lang="en-US">The type definition for the Non-CDL License Type.</xsd:documentation>
      </xsd:annotation>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:token">
    <xsd:length value="2"/>
    <xsd:pattern value="\d{2}"/>
    <xsd:enumeration value="00" id="NonCDL.NotLicensed">
      <!--Not Licensed-->
    </xsd:enumeration>
    <xsd:enumeration value="01" id="FullDriverLicense">
      <!--Full Driver License-->
    </xsd:enumeration>
    <xsd:enumeration value="02" id="IntermediateDriverLicense">
      <!--Intermediate Driver License-->
    </xsd:enumeration>
    <xsd:enumeration value="07" id="LearnerPermit">
      <!--Learner&apos;s Permit-->
    </xsd:enumeration>
    <xsd:enumeration value="08" id="TemporaryLicense">
      <!--Temporary License-->
    </xsd:enumeration>
    <xsd:enumeration value="09" id="UnknownLicenseType">
      <!--Unknown License Type-->
    </xsd:enumeration>
  </xsd:restriction>
  <!--Non-Commercial Driver License Type-->
</xsd:simpleType>
Complex Type lcns:DriverLicenseType
Namespace http://www.tnsaferoads.net/mvc/drv/lcns
Annotations
Driver License Information Attributes
Diagram
Diagram mvh24.tmp#id354 mvh24.tmp#id355 mvh24.tmp#id356 mvh24.tmp#id357 mvh24.tmp#id358 mvh24.tmp#id360
Used by
Attributes
QName Type Fixed Default Use Annotation
cmprstr:RestrictionsCompliance restriction of xsd:token optional
The state of a driver's compliance with the license
restrictions
lcns:Class ansi:DriverLicenseClassCodeType required
lcns:ExpirationYear xsd:gYear required
Indicate the expiration year of the
driver/operator license.
lcns:Jurisdiction lsta:LSTAType required
Indicate the jurisdiction that issued the driver/operator license
lcns:Number restriction of xsd:token required
Driver/operator license
number.
lcns:Restrictions ansi:DrivingRestrictionCodeType optional
lcns:Status ansi:DrivingStatusCodeType required
The status of the driver license. These are
based on governing jurisdiction status codes. Adjust or replace with appropriate
codes for the governing jurisdiction.
Source
<xsd:complexType name="DriverLicenseType" id="DriverLicenseType" abstract="true">
  <xsd:annotation>
    <xsd:documentation xml:lang="en-US">Driver License Information Attributes</xsd:documentation>
  </xsd:annotation>
  <xsd:attribute name="Number" use="required" id="Number">
    <xsd:annotation>
      <xsd:documentation xml:lang="en-US">Driver/operator license number.</xsd:documentation>
    </xsd:annotation>
    <!--Driver License Number-->
    <xsd:simpleType>
      <xsd:restriction base="xsd:token">
        <xsd:whiteSpace value="collapse"/>
        <xsd:maxLength value="15"/>
      </xsd:restriction>
    </xsd:simpleType>
  </xsd:attribute>
  <xsd:attribute name="Class" type="ansi:DriverLicenseClassCodeType" use="required">
    <!--Driver License Class-->
  </xsd:attribute>
  <xsd:attribute name="Status" use="required" id="Status" type="ansi:DrivingStatusCodeType">
    <xsd:annotation>
      <xsd:documentation xml:lang="en-US">The status of the driver license. These are based on governing jurisdiction status codes. Adjust or replace with appropriate codes for the governing jurisdiction.</xsd:documentation>
    </xsd:annotation>
    <!--License Status-->
  </xsd:attribute>
  <xsd:attribute name="ExpirationYear" type="xsd:gYear" use="required" id="ExpirationYear">
    <xsd:annotation>
      <xsd:documentation xml:lang="en-US">Indicate the expiration year of the driver/operator license.</xsd:documentation>
    </xsd:annotation>
    <!--Driver License Expiration Year-->
  </xsd:attribute>
  <xsd:attribute name="Jurisdiction" type="lsta:LSTAType" use="required" id="Jurisdiction">
    <xsd:annotation>
      <xsd:documentation xml:lang="en-US">Indicate the jurisdiction that issued the driver/operator license</xsd:documentation>
    </xsd:annotation>
    <!--Driver License Jurisdiction (State)-->
  </xsd:attribute>
  <xsd:attribute name="Restrictions" type="ansi:DrivingRestrictionCodeType" use="optional">
    <!--License Restrictions-->
  </xsd:attribute>
  <xsd:attribute ref="cmprstr:RestrictionsCompliance" use="optional">
    <!--Driver Compliance with License Restrictions-->
  </xsd:attribute>
</xsd:complexType>
Complex Type lcns:CommercialDriverLicenseType
Namespace http://www.tnsaferoads.net/mvc/drv/lcns
Annotations
Commercial Driver License Type
Diagram
Diagram mvh24.tmp#id354 mvh24.tmp#id355 mvh24.tmp#id356 mvh24.tmp#id357 mvh24.tmp#id358 mvh24.tmp#id360 mvh24.tmp#id353 mvh24.tmp#id363
Type extension of lcns:DriverLicenseType
Type hierarchy
Used by
Attributes
QName Type Fixed Default Use Annotation
cmpndrs:EndorsementsCompliance restriction of xsd:token optional
Indicates the driver/operator's compliance with the endorsement listed on the operators license.
cmprstr:RestrictionsCompliance restriction of xsd:token optional
The state of a driver's compliance with the license
restrictions
lcns:Class ansi:DriverLicenseClassCodeType required
lcns:Endorsements ansi:DrivingEndorsementCodeType optional
lcns:ExpirationYear xsd:gYear required
Indicate the expiration year of the
driver/operator license.
lcns:Jurisdiction lsta:LSTAType required
Indicate the jurisdiction that issued the driver/operator license
lcns:Number restriction of xsd:token required
Driver/operator license
number.
lcns:Restrictions ansi:DrivingRestrictionCodeType optional
lcns:Status ansi:DrivingStatusCodeType required
The status of the driver license. These are
based on governing jurisdiction status codes. Adjust or replace with appropriate
codes for the governing jurisdiction.
Source
<xsd:complexType name="CommercialDriverLicenseType" id="CommercialDriverLicenseType">
  <xsd:annotation>
    <xsd:documentation xml:lang="en-US">Commercial Driver License Type</xsd:documentation>
  </xsd:annotation>
  <xsd:complexContent>
    <xsd:extension base="lcns:DriverLicenseType">
      <xsd:attribute name="Endorsements" type="ansi:DrivingEndorsementCodeType" use="optional">
        <!--Driver License Endorsement-->
      </xsd:attribute>
      <xsd:attribute ref="cmpndrs:EndorsementsCompliance" use="optional">
        <!--Driver Compliance with License Endorsements-->
      </xsd:attribute>
    </xsd:extension>
  </xsd:complexContent>
  <!--Commercial Driver License Type-->
</xsd:complexType>
Attribute lcns:DriverLicenseType / @lcns:Number
Namespace http://www.tnsaferoads.net/mvc/drv/lcns
Annotations
Driver/operator license
number.
Type restriction of xsd:token
Facets
whiteSpace collapse
maxLength 15
Used by
Complex Type lcns:DriverLicenseType
Source
<xsd:attribute name="Number" use="required" id="Number">
  <xsd:annotation>
    <xsd:documentation xml:lang="en-US">Driver/operator license number.</xsd:documentation>
  </xsd:annotation>
  <!--Driver License Number-->
  <xsd:simpleType>
    <xsd:restriction base="xsd:token">
      <xsd:whiteSpace value="collapse"/>
      <xsd:maxLength value="15"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute lcns:DriverLicenseType / @lcns:Class
Namespace http://www.tnsaferoads.net/mvc/drv/lcns
Type ansi:DriverLicenseClassCodeType
Facets
enumeration A
Class A
enumeration B
Class B
enumeration C
Class C
enumeration M
Class M
Used by
Complex Type lcns:DriverLicenseType
Source
<xsd:attribute name="Class" type="ansi:DriverLicenseClassCodeType" use="required">
  <!--Driver License Class-->
</xsd:attribute>
Attribute lcns:DriverLicenseType / @lcns:Status
Namespace http://www.tnsaferoads.net/mvc/drv/lcns
Annotations
The status of the driver license. These are
based on governing jurisdiction status codes. Adjust or replace with appropriate
codes for the governing jurisdiction.
Type ansi:DrivingStatusCodeType
Facets
enumeration ELG
Eligible
enumeration LIC
Licensed
enumeration NOT
Not Eligible
enumeration RPD
Reported Deceased
Used by
Complex Type lcns:DriverLicenseType
Source
<xsd:attribute name="Status" use="required" id="Status" type="ansi:DrivingStatusCodeType">
  <xsd:annotation>
    <xsd:documentation xml:lang="en-US">The status of the driver license. These are based on governing jurisdiction status codes. Adjust or replace with appropriate codes for the governing jurisdiction.</xsd:documentation>
  </xsd:annotation>
  <!--License Status-->
</xsd:attribute>
Attribute lcns:DriverLicenseType / @lcns:ExpirationYear
Namespace http://www.tnsaferoads.net/mvc/drv/lcns
Annotations
Indicate the expiration year of the
driver/operator license.
Type xsd:gYear
Used by
Complex Type lcns:DriverLicenseType
Source
<xsd:attribute name="ExpirationYear" type="xsd:gYear" use="required" id="ExpirationYear">
  <xsd:annotation>
    <xsd:documentation xml:lang="en-US">Indicate the expiration year of the driver/operator license.</xsd:documentation>
  </xsd:annotation>
  <!--Driver License Expiration Year-->
</xsd:attribute>
Attribute lcns:DriverLicenseType / @lcns:Jurisdiction
Namespace http://www.tnsaferoads.net/mvc/drv/lcns
Annotations
Indicate the jurisdiction that issued the driver/operator license
Type lsta:LSTAType
Facets
enumeration AB
ALBERTA
enumeration AK
ALASKA
enumeration AL
ALABAMA
enumeration AR
ARKANSAS
enumeration AZ
ARIZONA
enumeration BC
BRITISH COLUMBIA
enumeration CA
CALIFORNIA
enumeration CD
OTHER CANADA
enumeration CO
COLORADO
enumeration CT
CONNECTICUT
enumeration DC
WASHINGTON D.C.
enumeration DE
DELAWARE
enumeration EN
ENGLAND
enumeration FL
FLORIDA
enumeration GA
GEORGIA
enumeration GM
GUAM
enumeration HI
HAWAII
enumeration IA
IOWA
enumeration IC
ROYAL CANADIAN MP
enumeration ID
IDAHO
enumeration IL
ILLINOIS
enumeration IN
INDIANA
enumeration IT
ITALY
enumeration KS
KANSAS
enumeration KY
KENTUCKY
enumeration LA
LOUISIANA
enumeration MA
MASSACHUSETTS
enumeration MB
MANITOBA
enumeration MD
MARYLAND
enumeration ME
MAINE
enumeration MI
MICHIGAN
enumeration MN
MINNESOTA
enumeration MO
MISSOURI
enumeration MS
MISSISSIPPI
enumeration MT
MONTANA
enumeration MX
MEXICO CITY
enumeration NB
NEBRASKA
enumeration NC
NORTH CAROLINA
enumeration ND
NORTH DAKOTA
enumeration NF
NEWFOUNDLAND
enumeration NH
NEW HAMPSHIRE
enumeration NJ
NEW JERSEY
enumeration NK
NEW BRUNSWICK
enumeration NM
NEW MEXICO
enumeration NS
NOVA SCOTIA
enumeration NT
NORTHWEST TERRITORIES
enumeration NV
NEVADA
enumeration NY
NEW YORK
enumeration OH
OHIO
enumeration OK
OKLAHOMA
enumeration ON
ONTARIO
enumeration OR
OREGON
enumeration PA
PENNSYLVANIA
enumeration PE
PRINCE EDWARD ISLAND
enumeration PQ
QUEBEC
enumeration PR
PUERTO RICO
enumeration RI
RHODE ISLAND
enumeration SC
SOUTH CAROLINA
enumeration SD
SOUTH DAKOTA
enumeration SN
SASKATCHEWAN
enumeration TN
TENNESSEE
enumeration TX
TEXAS
enumeration US
UNITED STATES
enumeration UT
UTAH
enumeration VA
VIRGINIA
enumeration VI
VIRGIN ISLANDS
enumeration VT
VERMONT
enumeration WA
WASHINGTON
enumeration WI
WISCONSIN
enumeration WV
WEST VIRGINIA
enumeration WY
WYOMING
enumeration YT
YUKON
Used by
Complex Type lcns:DriverLicenseType
Source
<xsd:attribute name="Jurisdiction" type="lsta:LSTAType" use="required" id="Jurisdiction">
  <xsd:annotation>
    <xsd:documentation xml:lang="en-US">Indicate the jurisdiction that issued the driver/operator license</xsd:documentation>
  </xsd:annotation>
  <!--Driver License Jurisdiction (State)-->
</xsd:attribute>
Attribute lcns:DriverLicenseType / @lcns:Restrictions
Namespace http://www.tnsaferoads.net/mvc/drv/lcns
Type ansi:DrivingRestrictionCodeType
Facets
enumeration B
Corrective lenses must be worn
enumeration C
Mechanical Aid
enumeration D
Prosthetic Aid
enumeration E
Automatic Transmission
enumeration F
Outside Mirror
enumeration G
Limit to Daylight Only
enumeration I
Limited - other
enumeration J
Other
enumeration K
CDL Intrastate Only
enumeration L
Vehicles without Air Brakes
enumeration O
Except Tractor-Trailer
enumeration W
Farm Waiver
Used by
Complex Type lcns:DriverLicenseType
Source
<xsd:attribute name="Restrictions" type="ansi:DrivingRestrictionCodeType" use="optional">
  <!--License Restrictions-->
</xsd:attribute>
Attribute lcns:CommercialDriverLicenseType / @lcns:Endorsements
Namespace http://www.tnsaferoads.net/mvc/drv/lcns
Type ansi:DrivingEndorsementCodeType
Facets
enumeration H
Hazardous Material
enumeration L
Motorcycle
enumeration N
Tank
enumeration O
Other
enumeration P
Passenger
enumeration T
Doubles/Triples
enumeration X
Combined Tank/Hazmat
Used by
Source
<xsd:attribute name="Endorsements" type="ansi:DrivingEndorsementCodeType" use="optional">
  <!--Driver License Endorsement-->
</xsd:attribute>