<!--
 File: data/contexts/OASIS/templates/Envelope/test_data/envelope.xml
 -->
<!--
    $Id: envelope.xml,v 1.12 2013/02/13 11:55:59 robbod Exp $
    Author: Rob Bodington, Eurostep Limited
    Owner:  Developed by Eurostep 
    Purpose: envelope test data
 -->
<cmn:Uos xsi:schemaLocation="http://docs.oasis-open.org/plcs/ns/plcslib/v1.0/data/plcs/plcs-psm/xml-schema/plcs-psm ../../../../../PLCS/psm_model/plcs_psm.xsd">
<!--
 header information present in every file 
 -->
Rob Bodington
 </Name>
 </Author>
Eurostep Limited
 </Name>
 </Organization>
Hand created
 </OriginatingSystem>
A hand coded example showing how an envelope is represented
 </Documentation>
 </Header>
<DataContainer xsi:type="plcs:PlcsDataContainer">
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
    Main Body  
 -->
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
 
        every file should identify the ExchangeContextClassLibrary to indicate the 
        main OWL ontology that imports all the reference data used.
    
 -->

<!-- id-eccl: Referenced by: Message:id-msg, -->
<!--
 The URI of the Ontology NOT the OWL file 
 -->
http://www.plcs.org/Exemplar/Exemplar-rdl
 </LibraryId>
 </ExchangeContextClassLibrary>
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
    Classes  
 -->
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
 Class of Exemplar identifiers. 
            Note the ExternalOwlClass for PLCSPSM_v001_message should only appear once 
 -->

<!-- cls-PLCSPSM_v1_0: -->
<!--
 Class of CAGE identifiers. 
        Note the ExternalOwlClass for CAGE_code should only appear once 
 -->

<!-- cls-CAGE_code: -->
<!--
 Class of Date_message_sent  . 
        Note the ExternalOwlClass for Date_message_sent should only appear once 
 -->

<!-- cls-Date_message_sent: -->
<!--
 Class of Envelope  identifiers. 
        Note the ExternalOwlClass for Envelope_identification_code should only appear once 
 -->

<!-- cls-Envelope_identification_code: -->
<!--
 Class of Message identifiers. 
        Note the ExternalOwlClass for Message_identification_code should only appear once 
 -->

<!-- cls-Message_identification_code: -->
<!--
 Class of Receiver_of. 
        Note the ExternalOwlClass for Receiver_of should only appear once 
 -->

<!-- cls-Receiver_of: -->
<!--
 Class of Sender_of. 
        Note the ExternalOwlClass for Sender_of should only appear once 
 -->

<!-- cls-Sender_of: -->
<!--
 Class of WorkOrder number identifiers. 
        Note the ExternalOwlClass for Work_order_identification_code should only appear once 
 -->

<!-- cls-Work_order_identification_code: -->
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
    Envelope  
 -->
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->

<!-- id-env: -->
<Id>
<!--
 idContextRef is the Organization that owns the envelope number 
 -->
 <Identifier id="msg-1" idContextRef="org6" idRoleRef="cls-Envelope_identification_code"/>
 </Id>
 <Wrapping uidRef="id-msg"/>
 </ClassifiedAs>
2011-07-12T16:25:00
 </AssignedDate>
 </DateTimeAssignment>
 </Envelope>
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
    Organization sending Envelope 
 -->
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
 Organization identified by its CAGE code:  OrganizationX 
 -->

<!-- org6: Referenced by: Message:id-msg, WorkOrder:id-wo, OrganizationOrPersonInOrganizationAssignment:id-orgasg-sender, -->
<Id>
 <Identifier id="OrganizationX" idRoleRef="cls-CAGE_code"/>
 </Id>
 </Organization>
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
    Organization receiving Envelope 
 -->
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
 Organization identified by its CAGE code:  OrganizationRCV 
 -->

<!-- org-reciever: Referenced by: WorkOrder:id-wo, OrganizationOrPersonInOrganizationAssignment:id-orgasg-rcv, -->
<Id>
 <Identifier id="OrganizationRCX" idRoleRef="cls-CAGE_code"/>
 </Id>
 </Organization>
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
    Message  
 -->
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->

<!-- id-msg: Referenced by: Envelope:id-env, -->
<Message uid="id-msg">
<Id>
 <Identifier id="msg-1" idContextRef="org6" idRoleRef="cls-Message_identification_code"/>
 </Id>
 </ClassifiedAs>
 <WorkOrder uidRef="id-wo"/>
 </Contains>
 <Organization uidRef="org6"/>
 </DefinedBy>
 </Message>
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
    Content of message - a work order  
 -->
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->

<!-- id-wo: Referenced by: Message:id-msg, -->
<Id>
 <Identifier id="wo-1" idContextRef="org6" idRoleRef="cls-Work_order_identification_code"/>
 </Id>

<!-- id-orgasg-sender: -->
 </ClassifiedAs>
 <AssignedEntity uidRef="org6"/>
 </OrganizationOrPersonInOrganizationAssignment>

<!-- id-orgasg-rcv: -->
 </ClassifiedAs>
 </OrganizationOrPersonInOrganizationAssignment>
 </WorkOrder>
 </DataContainer>
 </cmn:Uos>