<?xml version="1.0" encoding="UTF-8"?>

<!--
    $Id: stock_item.xml,v 1.9 2012/10/23 07:45:41 robbod Exp $
    Author: Rob Bodington, Eurostep Limited
    Owner:  Developed by Eurostep 
    Purpose: state item test data
-->

<cmn:Uos
    xmlns:plcs="http://docs.oasis-open.org/plcs/ns/plcslib/v1.0/data/plcs/plcs-psm/xml-schema/plcs-psm"
    xmlns:cmn="http://standards.iso.org/iso/ts/10303/-3000/-ed-1/tech/xml-schema/common"
    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"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <!-- header information present in every file -->
    <Header>
        <Author>
            <Name>Rob Bodington</Name>
        </Author>
        <Organization>
            <Name>Eurostep Limited</Name>
        </Organization>
        <OriginatingSystem>Hand created</OriginatingSystem>
        <Documentation>A hand coded example showing how a StickItem is represented</Documentation>
    </Header>

    <DataContainer xsi:type="plcs:PlcsDataContainer">
        <!-- 
        every file should identify the ExchangeContextClassLibrary to indicate the 
        main OWL ontology that imports all the reference data used.
    -->
        <ExchangeContextClassLibrary uid="id001">
            <!-- The IRI of the Ontology NOT the OWL file -->
            <LibraryId>http://docs.oasis-open.org/plcs/ns/plcslib/v1.0/data/contexts/OASIS/refdata/plcs-rdl</LibraryId>
        </ExchangeContextClassLibrary>
        
        <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
        <!--    Classes  -->
        <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
        <!-- Class of CAGE identifiers. 
        Note the ExternalOwlClass for CAGE_code should only appear once -->
        <ExternalOwlClass uid="id002">
            <Class>http://docs.oasis-open.org/plcs/ns/plcslib/v1.0/data/contexts/OASIS/refdata/plcs-rdl#CAGE_code</Class>
        </ExternalOwlClass>
        
        <!-- Class of Part number identifiers. 
        Note the ExternalOwlClass for Part_identification_code should only appear once -->
        <ExternalOwlClass uid="id003">
            <Class>http://docs.oasis-open.org/plcs/ns/plcslib/v1.0/data/contexts/OASIS/refdata/plcs-rdl#Part_identification_code</Class>
        </ExternalOwlClass>
        
        <!-- Class of NSN identifiers. 
        Note the ExternalOwlClass for NSN_code should only appear once -->
        <ExternalOwlClass uid="id004">
            <Class>http://docs.oasis-open.org/plcs/ns/plcslib/v1.0/data/contexts/OASIS/refdata/plcs-rdl#NSN_code</Class>
        </ExternalOwlClass>
        
        <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
        <!--    Individuals  -->
        <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
        <!-- Individual: Product_life_cycle_support
        Note the ExternalOwlObject for Product_life_cycle_support should only appear once -->
        <ExternalOwlObject uid="id005">
            <Individual>http://docs.oasis-open.org/plcs/ns/plcslib/v1.0/data/contexts/OASIS/refdata/plcs-rdl#Product_life_cycle_support</Individual>
        </ExternalOwlObject>
        <!-- Individual: Utilization_stage
        Note the ExternalOwlObject for Utilization_stage should only appear once -->
        <ExternalOwlObject uid="id006">
            <Individual>http://docs.oasis-open.org/plcs/ns/plcslib/v1.0/data/contexts/OASIS/refdata/plcs-rdl#Utilization_stage</Individual>
        </ExternalOwlObject>
        
        <!-- Organization identified by its CAGE code:  OrganizationX -->
        <Organization uid="id007">
            <Id>
                <Identifier id="OrganizationX" idRoleRef="id002"/>
            </Id>
        </Organization>
        <!-- 
        Part identified by its Part number:  p2 
    -->
        <Part uid="id018">
            <Id>
                <Identifier id="p2" idContextRef="id007" idRoleRef="id003"/>
            </Id>
        </Part>
        <ResourceItem uid="id019">
            <Id>
                <Identifier id="3055-00-721-4790" idContextRef="id007" idRoleRef="id004"/>
            </Id>
        </ResourceItem>
        <Organization uid="id021">
            <Id>
                <Identifier id="NATO" idRoleRef="id023"/>
            </Id>
        </Organization>
        <ExternalOwlClass uid="id023">
            <Class>http://docs.oasis-open.org/plcs/ns/plcslib/v1.0/data/contexts/OASIS/refdata/plcs-rdl#Organization_identification_code</Class>
        </ExternalOwlClass>
        <ResourceItemRealization uid="id024">
            <Item uidRef="id018"/>
            <ResourceItem uidRef="id019"/>
        </ResourceItemRealization>
    </DataContainer>
</cmn:Uos>
