[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: UBL Schema for CCTS P.12 Example
Team,
Diego had forwarded the attached file to the listserv last week - it's
UBL's schema for the example on p.12 of CCTS. I think it's great. Here
are some highlights:
- ACCs are represented as elements named "Address" (of type
"AddressType") and "Person (of type "PersonType") - no suprise there
- ASCC "OfficialAddress" is represented as an element whose (see
<xsd:documentation> element):
- Dictionary Entry Name is "Person. Official_ Address"
- Object Class is "Person"
- Property Term Qualifier is "Official"
- Property Term is "Address"
- Representation Term is "Address"
- "Associated Object Class" Qualifier Term is "Official"
- "Associated Object Class" is "Address"
Please let me know if you have any questions on this.
Joe
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : Page12Example.xsd
Created on : July 16, 2003, 1:31 PM
Author : Diego Ballve / Republica Corp.
Description:
Possible XML Schema for the example on page 12 of the CCTS, v1.9.
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.republica.fi/example/ccts_page12"
xmlns="http://www.republica.fi/example/ccts_page12"
xmlns:ccts="urn:oasis:names:tc:ubl:CoreComponentParameters:1.0:0.80"
xmlns:cct="urn:oasis:names:tc:ubl:CoreComponentTypes:1.0:0.80"
elementFormDefault="unqualified">
<xsd:import namespace="urn:oasis:names:tc:ubl:CoreComponentParameters:1.0:0.80"
schemaLocation="CoreComponentParameters-0.8-draft-3-1.xsd" />
<xsd:import namespace="urn:oasis:names:tc:ubl:CoreComponentTypes:1.0:0.80"
schemaLocation="CoreComponentTypes-0.8-draft-3-1.xsd" />
<xsd:element name="Address" type="AddressType" />
<xsd:complexType name="AddressType">
<xsd:annotation>
<xsd:documentation>
<ccts:ABIE dictionaryEntryName="Address. Details"
definition="The particulars that identify and locate the place where someone lives or is situated, or where an organisation is situated."
objectClass="Address"
propertyTerm="Details"
representationTerm="Details"/>
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="Street"
minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
<ccts:BBIE dictionaryEntryName="Address. Street. Text"
definition="The name of the street, as part of an address."
objectClass="Address"
propertyTerm="Street"
representationTerm="Text"
qualifierDataType="Street"
dataType="Text"
businessTerm="Thoroughfare"/>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="PostCode"
minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
<ccts:BBIE dictionaryEntryName="Address. Post Code. Text"
definition="The identifier for one or more properties according to the postal service of that country; a group of letters and/or numbers added to the postal address to assist in the sorting of mail. "
objectClass="Address"
propertyTerm="PostCode"
representationTerm="Text"
qualifierDataType="PostCode"
dataType="Text"
businessTerm="PostCodeNumber"/>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="Town"
minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
<ccts:BBIE dictionaryEntryName="Address. Town. Text"
definition="The name of the town used as part of an address."
objectClass="Address"
propertyTerm="Town"
representationTerm="Text"
dataType="Text"
businessTerm="LocalityName"/>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="Country"
minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
<ccts:BBIE dictionaryEntryName="Address. Country. Identifier"
definition="Provides the country part of an address."
objectClass="Address"
propertyTerm="Country"
representationTerm="Identifier"
dataType="Identifier"
businessTerm="Country"/>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="Person" type="PersonType" />
<xsd:complexType name="PersonType">
<xsd:annotation>
<xsd:documentation>
<ccts:ABIE dictionaryEntryName="Person. Details"
definition="The particulars that identify a person."
objectClass="Person"
propertyTerm="Details"
representationTerm="Details"/>
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="Name"
minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
<ccts:BBIE dictionaryEntryName="Person. Name. Text"
definition="The name of the person."
objectClass="Person"
propertyTerm="Name"
representationTerm="Text"
qualifierDataType="Name"
dataType="Text"
businessTerm="PersonName"/>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="BirthDate"
minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
<ccts:BBIE dictionaryEntryName="Person. Birth. Date"
definition="The person's birth date."
objectClass="Person"
propertyTerm="BirthDate"
representationTerm="date"
qualifierDataType="BirthDate"
dataType="Date"
businessTerm="BirthDate"/>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="OfficialAddress"
minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
<ccts:ASBIE dictionaryEntryName="Person. Official_ Address"
definition="The persons's official address."
objectClass="Person"
qualifierPropertyTerm="Official"
propertyTerm="Address"
representationTerm="Address"
dataType="Address"
qualifierAssociatedObjectClass="Official"
associatedObjectClass="Address"/>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="ResidenceAddress"
minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
<ccts:ASBIE dictionaryEntryName="Person. Residence_ Address"
definition="The persons's residence address."
objectClass="Person"
qualifierPropertyTerm="Residence"
propertyTerm="Address"
representationTerm="Address"
dataType="Address"
qualifierAssociatedObjectClass="Residence"
associatedObjectClass="Address"/>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="Street" type="cct:TextType"/>
<xsd:element name="PostCode" type="cct:TextType"/>
<xsd:element name="Town" type="cct:TextType"/>
<xsd:element name="Country" type="cct:IdentifierType"/>
<xsd:element name="Name" type="cct:TextType"/>
<xsd:element name="BirthDate" type="cct:DateType"/>
<xsd:element name="OfficialAddress" type="AddressType"/>
<xsd:element name="ResidenceAddress" type="AddressType"/>
</xsd:schema>
begin:vcard n:Chiusano;Joseph tel;work:(703) 902-6923 x-mozilla-html:FALSE url:www.bah.com org:Booz | Allen | Hamilton;IT Digital Strategies Team adr:;;8283 Greensboro Drive;McLean;VA;22012; version:2.1 email;internet:chiusano_joseph@bah.com title:Senior Consultant fn:Joseph M. Chiusano end:vcard
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]