<?xml version="1.0" encoding="UTF-8"?>
<StrolchModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://strolch.li/xsd/StrolchModel-1.6.xsd"
              xsi:schemaLocation="https://strolch.li/xsd/StrolchModel-1.6.xsd StrolchModel-1.6.xsd">

    <Resource Id="slotsByOrderUsageReport" Name="Slots by order usage report" Type="Report">

        <ParameterBag Id="parameters" Name="parameters" Type="Parameters">
            <Parameter Id="objectType" Hidden="true" Name="Object Type" Type="String" Interpretation="Resource-Ref" Uom="Slot" Value="Slot"/>
            <Parameter Id="descending" Name="Descending order" Type="Boolean" Value="true"/>
        </ParameterBag>

        <ParameterBag Id="joins" Name="Joins" Type="Joins">
            <Parameter Id="Product" Index="0" Name="Product" Type="String" Interpretation="Resource-Ref" Uom="Product" Value="Slot"/>
            <Parameter Id="Section" Index="10" Name="Section" Type="String" Interpretation="Resource-Ref" Uom="Section" Value="Slot"/>
            <Parameter Id="Storage" Index="5" Name="Storage" Type="String" Interpretation="Resource-Ref" Uom="Storage" Value="Section"/>
            <Parameter Id="Location" Hidden="true" Name="Location" Type="String" Interpretation="Resource-Ref" Uom="Location" Value="Storage"/>
        </ParameterBag>

        <ParameterBag Id="additionalType" Name="Additional Type" Type="AdditionalType">
            <Parameter Id="objectType" Hidden="true" Name="Object Type" Type="String" Interpretation="Order-Ref" Uom="Order" Value="Order"/>
            <Parameter Id="joinParam" Name="Join Param" Type="String" Value="Bags/relations/product"/>
            <Parameter Id="joinWith" Name="Join With" Type="String" Interpretation="Resource-Ref" Uom="Slot" Value="Bags/relations/product"/>
        </ParameterBag>

        <ParameterBag Id="additionalJoins" Name="Joins" Type="Joins">
            <Parameter Id="Customer" Hidden="true" Name="Customer" Type="String" Interpretation="Resource-Ref" Uom="Customer" Value="Order"/>
        </ParameterBag>

        <ParameterBag Id="ordering" Name="Ordering" Type="Ordering">
            <Parameter Id="quantity" Name="Quantity" Type="String" Interpretation="Resource-Ref" Uom="Slot" Value="Bags/parameters/quantity"/>
        </ParameterBag>

        <ParameterBag Id="columns" Name="Display Columns" Type="Display">
            <Parameter Id="location" Name="Location" Type="String" Interpretation="Resource-Ref" Uom="Location" Value="$name"/>
            <Parameter Id="storage" Name="Storage" Type="String" Interpretation="Resource-Ref" Uom="Storage" Value="$name"/>
            <Parameter Id="section" Name="Section" Type="String" Interpretation="Resource-Ref" Uom="Section" Value="$name"/>
            <Parameter Id="slot" Name="Slot" Type="String" Interpretation="Resource-Ref" Uom="Slot" Value="$name"/>
            <Parameter Id="product" Name="Product" Type="String" Interpretation="Resource-Ref" Uom="Product" Value="$name"/>
            <Parameter Id="quantity" Name="Quantity" Type="String" Interpretation="Resource-Ref" Uom="Slot" Value="Bags/parameters/quantity"/>
            <Parameter Id="firstName" Name="First Name" Type="String" Interpretation="Resource-Ref" Uom="Customer" Value="Bags/parameters/firstName"/>
            <Parameter Id="lastName" Name="Last Name" Type="String" Interpretation="Resource-Ref" Uom="Customer" Value="Bags/parameters/lastName"/>
        </ParameterBag>

        <Policies>
            <Policy Type="ReportPolicy" Value="java:li.strolch.report.policy.GenericReport"/>
        </Policies>
    </Resource>

    <Resource Id="stockReport" Name="Stock Report" Type="Report">

        <ParameterBag Id="parameters" Name="parameters" Type="Parameters">
            <Parameter Id="objectType" Hidden="true" Name="Object Type" Type="String" Interpretation="Resource-Ref" Uom="Slot" Value="Slot"/>
            <Parameter Id="dateRangeSel" Name="Date Range Selector" Type="String" Interpretation="Resource-Ref" Uom="Product"
                       Value="Bags/parameters/expirationDate"/>
            <Parameter Id="descending" Name="Descending order" Type="Boolean" Value="true"/>
        </ParameterBag>

        <ParameterBag Id="ordering" Name="Ordering" Type="Ordering">
            <Parameter Id="quantity" Name="Quantity" Type="String" Interpretation="Resource-Ref" Uom="Slot" Value="Bags/parameters/quantity"/>
        </ParameterBag>

        <ParameterBag Id="stateFilter" Name="Filter" Type="Filter">
            <Parameter Id="policy" Name="Filter Policy" Type="String" Interpretation="ReportFilterPolicy" Uom="key:IsIn" Value="valid, invalid"/>
            <Parameter Id="fieldRef" Name="Field reference" Type="String" Interpretation="Resource-Ref" Uom="Slot" Value="Bags/parameters/state"/>
        </ParameterBag>
        <ParameterBag Id="quantityFilter" Name="Filter" Type="Filter">
            <Parameter Id="policy" Name="Filter Policy" Type="String" Interpretation="ReportFilterPolicy" Uom="key:GreaterThan" Value="0.0"/>
            <Parameter Id="fieldRef" Name="Field reference" Type="String" Interpretation="Resource-Ref" Uom="Slot" Value="Bags/parameters/quantity"/>
        </ParameterBag>
        <ParameterBag Id="noProductFilter" Name="Filter" Type="Filter">
            <Parameter Id="policy" Name="Filter Policy" Type="String" Interpretation="ReportFilterPolicy" Uom="key:Equals" Value="!"/>
            <Parameter Id="fieldRef" Name="Field reference" Type="String" Interpretation="Resource-Ref" Uom="Slot" Value="Bags/relations/product"/>
        </ParameterBag>
        <ParameterBag Id="valueRef1Filter" Name="Filter" Type="Filter">
            <Parameter Id="policy" Name="Filter Policy" Type="String" Interpretation="ReportFilterPolicy" Uom="key:ValueRef" Value="GreaterThan"/>
            <Parameter Id="fieldRef1" Name="Field reference" Type="String" Interpretation="Resource-Ref" Uom="Slot" Value="Bags/parameters/maxQuantity"/>
            <Parameter Id="fieldRef2" Name="Field reference" Type="String" Interpretation="Resource-Ref" Uom="Storage" Value="$search:parent:Bags/parameters/minQuantity"/>
        </ParameterBag>
        <ParameterBag Id="valueRef2Filter" Name="Filter" Type="Filter">
            <Parameter Id="policy" Name="Filter Policy" Type="String" Interpretation="ReportFilterPolicy" Uom="key:ValueRef" Value="!Equals"/>
            <Parameter Id="fieldRef1" Name="Field reference" Type="String" Interpretation="Resource-Ref" Uom="Storage" Value="$search:parent:Bags/parameters/minQuantity"/>
            <Parameter Id="fieldRef2" Name="Field reference" Type="String" Interpretation="Resource-Ref" Uom="Slot" Value="Bags/parameters/maxQuantity"/>
        </ParameterBag>
        <ParameterBag Id="packableFilter" Name="Filter" Type="Filter">
            <Parameter Id="policy" Name="Filter Policy" Type="String" Interpretation="ReportFilterPolicy" Uom="key:Packable" Value=""/>
            <Parameter Id="fieldRef1" Name="Field reference" Type="String" Interpretation="Resource-Ref" Uom="Product" Value="Bags/parameters/packable"/>
            <Parameter Id="fieldRef2" Name="Field reference" Type="String" Interpretation="Resource-Ref" Uom="Location" Value="$object"/>
        </ParameterBag>

        <ParameterBag Id="columns" Name="Display Columns" Type="Display">
            <Parameter Id="location" Name="Location" Type="String" Interpretation="Resource-Ref" Uom="Location" Value="$name"/>
            <Parameter Id="storage" Name="Storage" Type="String" Interpretation="Resource-Ref" Uom="Storage" Value="$name"/>
            <Parameter Id="section" Name="Section" Type="String" Interpretation="Resource-Ref" Uom="Section" Value="$name"/>
            <Parameter Id="slot" Name="Slot" Type="String" Interpretation="Resource-Ref" Uom="Slot" Value="$name"/>
            <Parameter Id="product" Name="Product" Type="String" Interpretation="Resource-Ref" Uom="Product" Value="$name"/>
            <Parameter Id="quantity" Name="Quantity" Type="String" Interpretation="Resource-Ref" Uom="Slot" Value="Bags/parameters/quantity"/>
            <Parameter Id="maxQuantity" Name="Max Quantity" Type="String" Interpretation="Resource-Ref" Uom="Slot" Value="Bags/parameters/maxQuantity"/>
            <Parameter Id="minQuantity" Name="Min Quantity" Type="String" Interpretation="Resource-Ref" Uom="Storage"
                       Value="$search:parent:Bags/parameters/minQuantity"/>
        </ParameterBag>

        <ParameterBag Id="joins" Name="Joins" Type="Joins">
            <Parameter Id="Product" Index="0" Name="Product" Type="String" Interpretation="Resource-Ref" Uom="Product" Value="Slot"/>
            <Parameter Id="Storage" Index="5" Name="Storage" Type="String" Interpretation="Resource-Ref" Uom="Storage" Value="Section"/>
            <Parameter Id="Section" Index="10" Name="Section" Type="String" Interpretation="Resource-Ref" Uom="Section" Value="Slot"/>
            <Parameter Id="Location" Hidden="true" Name="Location" Type="String" Interpretation="Resource-Ref" Uom="Location" Value="Storage"/>
        </ParameterBag>

        <Policies>
            <Policy Type="ReportPolicy" Value="java:li.strolch.report.policy.GenericReport"/>
        </Policies>

    </Resource>

    <Resource Id="fromStockReport" Name="FromStock Report" Type="Report">

        <ParameterBag Id="parameters" Name="parameters" Type="Parameters">
            <Parameter Id="objectType" Name="Object Type" Type="String" Interpretation="Order-Ref" Uom="FromStock" Value="FromStock"/>
            <Parameter Id="dateRangeSel" Name="Date Range Selector" Type="String" Interpretation="Order-Ref" Uom="FromStock" Value="$date"/>
            <Parameter Id="descending" Name="Descending order" Type="Boolean" Value="true"/>
        </ParameterBag>

        <ParameterBag Id="ordering" Name="Ordering" Type="Ordering">
            <Parameter Id="quantity" Name="Quantity" Type="String" Interpretation="Order-Ref" Uom="FromStock" Value="Bags/parameters/quantity"/>
        </ParameterBag>

        <ParameterBag Id="threeMonthsAgoFilter" Name="Filter" Type="Filter">
            <Parameter Id="policy" Name="Filter Policy" Type="String" Interpretation="ReportFilterPolicy" Uom="key:LessThan" Value="now(-P3M)"/>
            <Parameter Id="fieldRef" Name="Field reference" Type="String" Interpretation="Resource-Ref" Uom="FromStock" Value="$date"/>
        </ParameterBag>

        <ParameterBag Id="columns" Name="Display Columns" Type="Display">
            <Parameter Id="location" Name="Location" Type="String" Interpretation="Resource-Ref" Uom="Location" Value="$name"/>
            <Parameter Id="product" Name="Product" Type="String" Interpretation="Resource-Ref" Uom="Product" Value="$name"/>
            <Parameter Id="quantity" Name="Quantity" Type="String" Interpretation="Order-Ref" Uom="FromStock" Value="Bags/parameters/quantity"/>
            <Parameter Id="date" Name="Date" Type="String" Interpretation="Order-Ref" Uom="FromStock" Value="$date"/>
            <Parameter Id="state" Name="State" Type="String" Interpretation="Order-Ref" Uom="FromStock" Value="$state"/>
            <Parameter Id="id" Name="Id" Type="String" Interpretation="Order-Ref" Uom="FromStock" Value="$id"/>
        </ParameterBag>

        <ParameterBag Id="joins" Name="Joins" Type="Joins">
            <Parameter Id="Product" Name="Product" Type="String" Interpretation="Resource-Ref" Uom="Product" Value="FromStock"/>
            <Parameter Id="Location" Name="Location" Type="String" Interpretation="Resource-Ref" Uom="Location" Value="FromStock"/>
        </ParameterBag>

        <Policies>
            <Policy Type="ReportPolicy" Value="java:li.strolch.report.policy.GenericReport"/>
        </Policies>

    </Resource>

    <Resource Id="product01" Name="Product 01" Type="Product">
        <ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
            <Parameter Id="expirationDate" Name="Expiration Date" Type="Date" Value="2017-02-01T10:00:00.000+01:00"/>
            <Parameter Id="packable" Name="Packable" Type="Boolean" Value="true"/>
        </ParameterBag>
    </Resource>
    <Resource Id="product02" Name="Product 02" Type="Product">
        <ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
            <Parameter Id="expirationDate" Name="Expiration Date" Type="Date" Value="2017-03-01T10:00:00.000+01:00"/>
            <Parameter Id="packable" Name="Packable" Type="Boolean" Value="true"/>
        </ParameterBag>
    </Resource>

    <Order Id="fromStock01" Name="From Stock" Type="FromStock" Date="2017-02-01T10:00:00.000+01:00" State="Executed">
        <ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
            <Parameter Id="quantity" Name="quantity" Type="Float" Value="4.0"/>
        </ParameterBag>
        <ParameterBag Id="relations" Name="Relations" Type="Parameters">
            <Parameter Id="location" Name="Location" Type="String" Interpretation="Resource-Ref" Uom="Location" Value="location01"/>
            <Parameter Id="product" Name="Product" Type="String" Value="product01" Interpretation="Resource-Ref" Uom="Product"/>
        </ParameterBag>
    </Order>
    <Order Id="fromStock02" Name="From Stock" Type="FromStock" Date="2017-02-01T10:00:00.000+01:00" State="Executed">
        <ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
            <Parameter Id="quantity" Name="quantity" Type="Float" Value="6.0"/>
        </ParameterBag>
        <ParameterBag Id="relations" Name="Relations" Type="Parameters">
            <Parameter Id="location" Name="Location" Type="String" Interpretation="Resource-Ref" Uom="Location" Value="location01"/>
            <Parameter Id="product" Name="Product" Type="String" Value="product01" Interpretation="Resource-Ref" Uom="Product"/>
        </ParameterBag>
    </Order>
    <Order Id="fromStock03" Name="From Stock" Type="FromStock" Date="2017-03-01T10:00:00.000+01:00" State="Created">
        <ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
            <Parameter Id="quantity" Name="quantity" Type="Float" Value="8.0"/>
        </ParameterBag>
        <ParameterBag Id="relations" Name="Relations" Type="Parameters">
            <Parameter Id="location" Name="Location" Type="String" Interpretation="Resource-Ref" Uom="Location" Value="location02"/>
            <Parameter Id="product" Name="Product" Type="String" Value="product02" Interpretation="Resource-Ref" Uom="Product"/>
        </ParameterBag>
    </Order>
    <Order Id="fromStock04" Name="From Stock" Type="FromStock" Date="2017-03-01T10:00:00.000+01:00" State="Created">
        <ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
            <Parameter Id="quantity" Name="quantity" Type="Float" Value="12.0"/>
        </ParameterBag>
        <ParameterBag Id="relations" Name="Relations" Type="Parameters">
            <Parameter Id="location" Name="Location" Type="String" Interpretation="Resource-Ref" Uom="Location" Value="location02"/>
            <Parameter Id="product" Name="Product" Type="String" Value="product02" Interpretation="Resource-Ref" Uom="Product"/>
        </ParameterBag>
    </Order>

    <Resource Id="location01" Name="Location 01" Type="Location">
        <ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
            <Parameter Id="description" Name="Description" Type="String" Value="Just a location"/>
            <Parameter Id="packingLocation" Name="Packing Location" Type="Boolean" Value="true"/>
        </ParameterBag>
    </Resource>
    <Resource Id="location02" Name="Location 02" Type="Location">
        <ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
            <Parameter Id="description" Name="Description" Type="String" Value="Just a location"/>
            <Parameter Id="packingLocation" Name="Packing Location" Type="Boolean" Value="true"/>
        </ParameterBag>
    </Resource>

    <Resource Id="storage00" Name="Storage 00" Type="Storage">
        <ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
            <Parameter Id="minQuantity" Name="Min Quantity" Type="Float" Value="4.0"/>
        </ParameterBag>
        <ParameterBag Id="relations" Name="Relations" Type="Parameters">
            <Parameter Id="location" Name="Location" Type="String" Interpretation="Resource-Ref" Uom="Location" Value="location00"/>
        </ParameterBag>
    </Resource>
    <Resource Id="storage01" Name="Storage 01" Type="Storage">
        <ParameterBag Id="relations" Name="Relations" Type="Parameters">
            <Parameter Id="parent" Name="Parent" Type="String" Interpretation="Resource-Ref" Uom="Storage" Value="storage00"/>
            <Parameter Id="location" Name="Location" Type="String" Interpretation="Resource-Ref" Uom="Location" Value="location01"/>
        </ParameterBag>
    </Resource>
    <Resource Id="storage02" Name="Storage 02" Type="Storage">
        <ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
            <Parameter Id="minQuantity" Name="Min Quantity" Type="Float" Value="6.0"/>
        </ParameterBag>
        <ParameterBag Id="relations" Name="Relations" Type="Parameters">
            <Parameter Id="parent" Name="Parent" Type="String" Interpretation="Resource-Ref" Uom="Storage" Value="storage00"/>
            <Parameter Id="location" Name="Location" Type="String" Interpretation="Resource-Ref" Uom="Location" Value="location02"/>
        </ParameterBag>
    </Resource>

    <Resource Id="section001" Name="Section 001" Type="Section">
        <ParameterBag Id="relations" Name="Relations" Type="Parameters">
            <Parameter Id="parentStorage" Name="Storage" Type="String" Interpretation="Resource-Ref" Uom="Storage" Value="storage01"/>
        </ParameterBag>
    </Resource>
    <Resource Id="section002" Name="Section 002" Type="Section">
        <ParameterBag Id="relations" Name="Relations" Type="Parameters">
            <Parameter Id="parentStorage" Name="Storage" Type="String" Interpretation="Resource-Ref" Uom="Storage" Value="storage02"/>
        </ParameterBag>
    </Resource>

    <Resource Id="slot001" Name="Slot 1" Type="Slot">
        <ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
            <Parameter Id="quantity" Name="Quantity" Type="Float" Value="20.0"/>
            <Parameter Id="maxQuantity" Name="max. quantity of items" Type="Float" Value="40.0"/>
            <Parameter Id="minQuantity" Name="Min Quantity" Type="Float" Value="4.0"/>
            <Parameter Id="state" Name="State" Type="String" Value="valid"/>
        </ParameterBag>
        <ParameterBag Id="relations" Name="Relations" Type="Parameters">
            <Parameter Id="parentSection" Name="Section" Type="String" Interpretation="Resource-Ref" Uom="Section" Value="section001"/>
            <Parameter Id="product" Name="Product" Type="String" Interpretation="Resource-Ref" Uom="Product" Value="product01"/>
        </ParameterBag>
    </Resource>

    <Resource Id="slot002" Name="Slot 2" Type="Slot">
        <ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
            <Parameter Id="quantity" Name="Quantity" Type="Float" Value="18.0"/>
            <Parameter Id="maxQuantity" Name="max. quantity of items" Type="Float" Value="20.0"/>
            <Parameter Id="minQuantity" Name="Min Quantity" Type="Float" Value="10.0"/>
            <Parameter Id="state" Name="State" Type="String" Value="valid"/>
        </ParameterBag>
        <ParameterBag Id="relations" Name="Relations" Type="Parameters">
            <Parameter Id="parentSection" Name="Section" Type="String" Interpretation="Resource-Ref" Uom="Section" Value="section001"/>
            <Parameter Id="product" Name="Product" Type="String" Interpretation="Resource-Ref" Uom="Product" Value="product02"/>
        </ParameterBag>
    </Resource>

    <Resource Id="slot003" Name="Slot 3" Type="Slot">
        <ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
            <Parameter Id="quantity" Name="Quantity" Type="Float" Value="11.0"/>
            <Parameter Id="maxQuantity" Name="max. quantity of items" Type="Float" Value="40.0"/>
            <Parameter Id="minQuantity" Name="Min Quantity" Type="Float" Value="6.0"/>
            <Parameter Id="state" Name="State" Type="String" Value="valid"/>
        </ParameterBag>
        <ParameterBag Id="relations" Name="Relations" Type="Parameters">
            <Parameter Id="parentSection" Name="Section" Type="String" Interpretation="Resource-Ref" Uom="Section" Value="section002"/>
            <Parameter Id="product" Name="Product" Type="String" Interpretation="Resource-Ref" Uom="Product" Value="product01"/>
        </ParameterBag>
    </Resource>

    <Resource Id="slot004" Name="Slot 4" Type="Slot">
        <ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
            <Parameter Id="quantity" Name="Quantity" Type="Float" Value="16.0"/>
            <Parameter Id="maxQuantity" Name="max. quantity of items" Type="Float" Value="20.0"/>
            <Parameter Id="minQuantity" Name="Min Quantity" Type="Float" Value="6.0"/>
            <Parameter Id="state" Name="State" Type="String" Value="valid"/>
        </ParameterBag>
        <ParameterBag Id="relations" Name="Relations" Type="Parameters">
            <Parameter Id="parentSection" Name="Section" Type="String" Interpretation="Resource-Ref" Uom="Section" Value="section002"/>
            <Parameter Id="product" Name="Product" Type="String" Interpretation="Resource-Ref" Uom="Product" Value="product02"/>
        </ParameterBag>
    </Resource>

    <Resource Id="slot005" Name="Slot 5" Type="Slot">
        <ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
            <Parameter Id="quantity" Name="Quantity" Type="Float" Value="0.0"/>
            <Parameter Id="maxQuantity" Name="max. quantity of items" Type="Float" Value="20.0"/>
            <Parameter Id="minQuantity" Name="Min Quantity" Type="Float" Value="6.0"/>
            <Parameter Id="state" Name="State" Type="String" Value="valid"/>
        </ParameterBag>
        <ParameterBag Id="relations" Name="Relations" Type="Parameters">
            <Parameter Id="parentSection" Name="Section" Type="String" Interpretation="Resource-Ref" Uom="Section" Value="section002"/>
            <Parameter Id="product" Name="Product" Type="String" Interpretation="Resource-Ref" Uom="Product" Value="product02"/>
        </ParameterBag>
    </Resource>

    <Resource Id="slot006" Name="Slot 6" Type="Slot">
        <ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
            <Parameter Id="quantity" Name="Quantity" Type="Float" Value="22.0"/>
            <Parameter Id="maxQuantity" Name="max. quantity of items" Type="Float" Value="20.0"/>
            <Parameter Id="minQuantity" Name="Min Quantity" Type="Float" Value="6.0"/>
            <Parameter Id="state" Name="State" Type="String" Value="valid"/>
        </ParameterBag>
        <ParameterBag Id="relations" Name="Relations" Type="Parameters">
            <Parameter Id="parentSection" Name="Section" Type="String" Interpretation="Resource-Ref" Uom="Section" Value="section002"/>
            <Parameter Id="product" Name="Product" Type="String" Interpretation="Resource-Ref" Uom="Product" Value=""/>
        </ParameterBag>
    </Resource>

    <Resource Id="customer1" Name="Customer Harry Barns" Type="Customer">
        <ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
            <Parameter Id="firstName" Name="firstName" Type="String" Value="Harry"/>
            <Parameter Id="lastName" Name="lastName" Type="String" Value="Barns"/>
        </ParameterBag>
    </Resource>
    <Resource Id="customer2" Name="Customer Geoffrey Bobcat" Type="Customer">
        <ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
            <Parameter Id="firstName" Name="firstName" Type="String" Value="Geoffrey"/>
            <Parameter Id="lastName" Name="lastName" Type="String" Value="Bobcat"/>
        </ParameterBag>
    </Resource>

    <Order Id="order1" Name="Customer Order 01" Type="Order">
        <ParameterBag Id="relations" Name="Relations" Type="Parameters">
            <Parameter Id="product" Name="Product" Type="String" Interpretation="Resource-Ref" Uom="Product" Value="product01"/>
            <Parameter Id="customer" Name="Customer" Type="String" Interpretation="Resource-Ref" Uom="Customer" Value="customer1"/>
        </ParameterBag>
    </Order>

    <Order Id="order2" Name="Customer Order 02" Type="Order">
        <ParameterBag Id="relations" Name="Relations" Type="Parameters">
            <Parameter Id="product" Name="Product" Type="String" Interpretation="Resource-Ref" Uom="Product" Value="product02"/>
            <Parameter Id="customer" Name="Customer" Type="String" Interpretation="Resource-Ref" Uom="Customer" Value="customer2"/>
        </ParameterBag>
    </Order>

</StrolchModel>