Showing:

Annotations
Attributes
Diagrams
Facets
Instances
Source
Used by
Imported schema prty.xsd
Namespace http://www.tnsaferoads.net/mvc/udt/prty
Annotations
Documentation for the Party
MMUCC Data Element Reference ??
This schema defines and validates an instance of Party 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 prty:PartyType / prty:Phone
Namespace http://www.tnsaferoads.net/mvc/udt/prty
Annotations
Required one phone
number
Diagram
Diagram mvh11.tmp#id143 mvh2.tmp#id144
Type extension of phno:PhoneNoType
Type hierarchy
Attributes
QName Type Fixed Default Use Annotation
prty:TypeOfPhone phno:PhoneType required
Source
<xsd:element name="Phone" id="Phone" maxOccurs="3">
  <xsd:annotation>
    <xsd:documentation xml:lang="en-US">Required one phone number</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:simpleContent>
      <xsd:annotation>
        <xsd:documentation xml:lang="en-US">The telephone number type business, Home, mobile, Other.</xsd:documentation>
      </xsd:annotation>
      <xsd:extension base="phno:PhoneNoType">
        <xsd:attribute name="TypeOfPhone" type="phno:PhoneType" use="required"/>
      </xsd:extension>
    </xsd:simpleContent>
  </xsd:complexType>
</xsd:element>
Element prty:Party
Namespace http://www.tnsaferoads.net/mvc/udt/prty
Annotations

http://www.martinfowler.com/apsupp/accountability.pdf

The element that
defines the party base class.
Diagram
Diagram mvh1.tmp#id130 mvh2.tmp#id142 mvh2.tmp#id129
Type prty:PartyType
Model addr:Address , prty:Phone{1,3}
Children addr:Address, prty:Phone
Instance
<prty:Party>
  <addr:Address addr:Address1="" addr:Address2="" addr:City="" addr:Country="" addr:State="" addr:Validated="" addr:ZipCode="">{1,1}</addr:Address>
  <prty:Phone prty:TypeOfPhone="">{1,3}</prty:Phone>
</prty:Party>
Source
<xsd:element name="Party" type="prty:PartyType">
  <xsd:annotation>
    <xsd:documentation xml:lang="en-US" source="http://www.martinfowler.com/apsupp/accountability.pdf">The element that defines the party base class.</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Complex Type prty:PartyType
Namespace http://www.tnsaferoads.net/mvc/udt/prty
Annotations
The complex, abstract base type used for ownership,
person, legal entity, etc.
Diagram
Diagram mvh1.tmp#id130 mvh2.tmp#id142
Used by
Model addr:Address , prty:Phone{1,3}
Children addr:Address, prty:Phone
Source
<xsd:complexType name="PartyType" abstract="true" id="PartyType" mixed="true">
  <xsd:annotation>
    <xsd:documentation xml:lang="en-US">The complex, abstract base type used for ownership, person, legal entity, etc.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence id="PartyTypeSeq">
    <xsd:annotation>
      <xsd:documentation xml:lang="en-US">PartyType Address, Phone Number Sequence</xsd:documentation>
    </xsd:annotation>
    <xsd:element ref="addr:Address"/>
    <xsd:element name="Phone" id="Phone" maxOccurs="3">
      <xsd:annotation>
        <xsd:documentation xml:lang="en-US">Required one phone number</xsd:documentation>
      </xsd:annotation>
      <xsd:complexType>
        <xsd:simpleContent>
          <xsd:annotation>
            <xsd:documentation xml:lang="en-US">The telephone number type business, Home, mobile, Other.</xsd:documentation>
          </xsd:annotation>
          <xsd:extension base="phno:PhoneNoType">
            <xsd:attribute name="TypeOfPhone" type="phno:PhoneType" use="required"/>
          </xsd:extension>
        </xsd:simpleContent>
      </xsd:complexType>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>
Attribute prty:Phone / prty:PartyType / @prty:TypeOfPhone
Namespace http://www.tnsaferoads.net/mvc/udt/prty
Type phno:PhoneType
Facets
enumeration Business
Business Phone Number
enumeration Home
Home Phone Number
enumeration Mobile
Mobile Phone Number
enumeration Other
Other Phone Number not in the name of the Party for which the number is being collected (e.g., second residence, family member, roommate, etc.)
Used by
Source
<xsd:attribute name="TypeOfPhone" type="phno:PhoneType" use="required"/>