Schema Central > niem40 > xPIL.xsd > xpil:Relationship
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

xpil:Relationship

Relationship with a party. e.g. Friend, Wife,  referee. organisation, customer. etc

Element information

Type: Anonymous

Properties: Local, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
xpil:Status [0..1]ct:StatusListStatus of the entity. e.g. Old, Current, Inactive, Active, etc
xpil:PartyType [0..1]xpil:PartyTypeListType of party involved in the relationship, i.e. person or organisation
xpil:RelationshipWithPerson [0..1]xpil:PersonRelationshipTypeListIf tha party is person, then the type of relationship with the person such as Friend, Mother, wife, contact, referee
xpil:RelationshipWithOrganisation [0..1]xpil:OrganisationRelationshipTypeListIf tha party is organisation, then the type of relationship with the organisation such as employer, branch, head office, subsidiary, etc
xpil:RelationshipValidFrom [0..1]xsd:dateTime
xpil:RelationshipValidTo [0..1]xsd:dateTime
ct:DataQualityType [0..1]ct:DataQualityTypeListThis attribute indicates what level of trust can be given to the parent element. Omit this attribute if the data quality is unknown. If the data quality is known, the value is "Valid, else "InValid"from group ct:grDataQuality
ct:ValidFrom [0..1]xsd:dateTimeDate the data quality is valid from from group ct:grDataQuality
ct:ValidTo [0..1]xsd:dateTimeDate the data quality is valid tofrom group ct:grDataQuality
Any attribute[0..*]Namespace: ##other, Process Contents: lax

Used in

Sample instance

<xpil:Relationship>
   <n:NameLine>normalizedString</n:NameLine>
   <n:PersonName>
      <n:NameElement>normalizedString</n:NameElement>
   </n:PersonName>
   <n:OrganisationName>
      <n:NameElement>normalizedString</n:NameElement>
      <n:SubDivisionName>normalizedString</n:SubDivisionName>
   </n:OrganisationName>
   <xpil:Addresses>
      <xpil:Address>
         <a:FreeTextAddress>...
         </a:FreeTextAddress>
         <a:Country>...
         </a:Country>
         <a:AdministrativeArea>...
         </a:AdministrativeArea>
         <a:Locality>...
         </a:Locality>
         <a:Thoroughfare>...
         </a:Thoroughfare>
         <a:Premises>...
         </a:Premises>
         <a:PostCode>...
         </a:PostCode>
         <a:RuralDelivery>...
         </a:RuralDelivery>
         <a:PostalDeliveryPoint>...
         </a:PostalDeliveryPoint>
         <a:PostOffice>...
         </a:PostOffice>
         <a:GeoRSS>
            <!--any element-->
         </a:GeoRSS>
         <a:LocationByCoordinates>...
         </a:LocationByCoordinates>
      </xpil:Address>
   </xpil:Addresses>
   <xpil:ContactNumbers>
      <xpil:ContactNumber>
         <xpil:ContactNumberElement>normalizedString</xpil:ContactNumberElement>
      </xpil:ContactNumber>
   </xpil:ContactNumbers>
   <xpil:ElectronicAddressIdentifiers>
      <xpil:ElectronicAddressIdentifier>normalizedString</xpil:ElectronicAddressIdentifier>
   </xpil:ElectronicAddressIdentifiers>
</xpil:Relationship>