<!--
 File: data/contexts/OASIS/templates/Requirement/test_data/requirement.xml
 -->
<!--
 $Id: requirement.xml,v 1.7 2013/02/19 06:33:23 robbod Exp $ 
 -->
<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 a Requirement is represented
 </Documentation>
 </Header>
<DataContainer xsi:type="psm:PlcsDataContainer">
<!--
 
        every file should identify the ExchangeContextClassLibrary to indicate the 
        main OWL ontology that imports all the reference data used.
    
 -->

<!-- id001: -->
<!--
 The IRI of the Ontology NOT the OWL file 
 -->
http://docs.oasis-open.org/plcs/ns/plcslib/v1.0/data/contexts/OASIS/refdata/plcs-rdl
 </LibraryId>
 </ExchangeContextClassLibrary>

<!-- clsOrganization_identification_code: -->
<!--
 Class of Requirement identifiers. 
        Note the ExternalOwlClass for Part_identification_code should only appear once 
 -->

<!-- clsReqIdCode: -->
<!--
 Class of Version identifiers. 
        Note the ExternalOwlClass for Version_identification_code should only appear once 
 -->

<!-- clsVersionIdCode: -->

<!-- clsNCAGE_code: -->
<!--
 Individual: Product_life_cycle_support
        Note the ExternalOwlObject for Product_life_cycle_support should only appear once 
 -->

<!-- indApDomain: Referenced by: ApplicationDomain:ApDomain, -->
<!--
 Individual: Utilization_stage
        Note the ExternalOwlObject for Utilization_stage should only appear once 
 -->

<!-- indLifeCycleStage: Referenced by: LifeCycleStage:LifeCycleStage, -->

<!-- indRequirementDefinition: Referenced by: Requirement:req1, ProductVersion:reqV1, ProductViewDefinition:id018, PropertyValue:reqSVdef, Requirement:req1, ProductVersion:reqV1, ProductViewDefinition:id018, PropertyValue:reqPVdef, -->

<!-- indQualMax: -->

<!-- indKg: Referenced by: ExternalUnit:idKgs, -->

<!-- ApDomain: Referenced by: ViewDefinitionContext:idViewDefnContext, -->
 <Definition uidRef="indApDomain"/>
 </ApplicationDomain>

<!-- LifeCycleStage: Referenced by: ViewDefinitionContext:idViewDefnContext, -->
 </LifeCycleStage>
<!--
  ViewDefinitionContext  
 -->

<!-- idViewDefnContext: Referenced by: Requirement:req1, ProductVersion:reqV1, ProductViewDefinition:id018, -->
 </ViewDefinitionContext>
<!--
 Units 
 -->

<!-- idKgs: Referenced by: Requirement:req1, ProductVersion:reqV1, ProductViewDefinition:id018, PropertyValue:reqPVdef, -->
 <Definition uidRef="indKg"/>
 </ExternalUnit>

<!-- extQualMax: Referenced by: Requirement:req1, ProductVersion:reqV1, ProductViewDefinition:id018, PropertyValue:reqPVdef, -->
 <Proxy sameAsRef="indQualMax"/>
 </SameAs>
 </ExternalTypeQualifier>
<!--
  Organizations 
 -->

<!-- idBikeOwner: -->
<Id>
 <Identifier id="BikeOwner-CAGECODE" idRoleRef="clsNCAGE_code"/>
 </Id>
 </Organization>
<!--
 
    
 -->

<!-- req1: -->
<Id>
 <Identifier id="p4" idContextRef="idBikeOwner" idRoleRef="clsReqIdCode"/>
 </Id>

<!-- reqV1: -->
<ProductVersion xsi:type="psm:RequirementVersion" uid="reqV1">
<Id>
 <Identifier id="REV-B" idContextRef="idBikeOwner" idRoleRef="clsVersionIdCode"/>
 </Id>

<!-- id018: -->
<ProductViewDefinition xsi:type="psm:RequirementViewDefinition" uid="id018">

<!-- reqSVdef: -->
<PropertyValue xsi:type="psm:StringValue" uid="reqSVdef">
 <Related uidRef="reqPVdef"/>
 </PropertyValueRelationship>
The wheel shall be less than 10 Kgs
 </LocalizedString>
 </ValueComponent>
 </PropertyValue>

<!-- reqPVdef: Referenced by: Requirement:req1, ProductVersion:reqV1, ProductViewDefinition:id018, PropertyValue:reqSVdef, -->
<PropertyValue xsi:type="psm:ValueLimit" uid="reqPVdef">
 <Unit uidRef="idKgs"/>
10
 </ValueComponent>
 <Qualifier uidRef="extQualMax"/>
 </PropertyValue>
 </DefinitionalRepresentations>
 </ProductViewDefinition>
 </ViewDefinitions>
 </ProductVersion>
 </Versions>
 </Requirement>
 </DataContainer>
 </cmn:Uos>