TransXML Home
Project Information
Links
Contacts
Sources and Resources
GML Experiment
Construction/Materials Schema
Bridge Structures Schema
Survey/Design Schema
Safety Schema

Search:
Go 

Login
Register
NCHRP 20-64 XML Schemas for the Exchange of Transportation Data     
TransXML Home > Safety Schema > Safety Schema Discussion
Discussion Forum

Author Thread: Person information
Steve Brown
Person information
Posted: Monday, March 07, 2005 4:12 PM (EST)

Please guide me to the portion of the UML diagram containing a persons information.

Below is an example of the information NDOR requires

 

<xsd:complexType name="PersonType">
  <xsd:annotation>
    <xsd:documentation>Person in some way involved in the accident. </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element ref="PersonName" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element ref="BirthDate" minOccurs="0"/>
    <xsd:element ref="SSN" minOccurs="0"/>
    <xsd:element ref="Sex" minOccurs="0"/>
    <xsd:element ref="PostalAddress" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element ref="Location" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element ref="PersonalIDNumber" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element name="LocalId" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element ref="Telephone" minOccurs="0" maxOccurs="unbounded"/>
  </xsd:sequence>
  <xsd:attribute name="key" type="xsd:string" use="optional"/>
  <!-- Making conversion assumption.  Replacing type "sequence/choice" with "choice" -->
</xsd:complexType>
Steve B


Comments:

Author Thread:
Frances Harrison
Person information
Posted: Monday, March 07, 2005 5:08 PM (EST)

In the CR-Crash Records package, look at the diagram called 3. PeopleDetail - see the Person class.  This class currently only includes the name, sex, age, and birth date items from the NDOR schema. Since this initial draft is based on what is in MMUCC and FARS, no address, SSN, or phone # are currently included (the driver class does have a zip code).

We can certainly add attributes that people think are going to be needed by multiple users of the schema. 

What is the Location element referring to - a geographic reference for the person's address, or the person's location at the time of the crash?

     

Steve Brown
Person information
Posted: Tuesday, March 08, 2005 4:37 PM (EST)

Location was taken from the Justice XML schema.

Which includes:StreetNumber, StreetName, StreetType, StreetDirection, PostOfficeBox, ApartmentNumber, BuildingName, Latitude, Longitude, AdressLine, City, County, Suite, PrivateMailBox

Steve B.