<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
  ~ Copyright 2010-2013 Ning, Inc.
  ~
  ~ Ning licenses this file to you under the Apache License, version 2.0
  ~ (the "License"); you may not use this file except in compliance with the
  ~ License.  You may obtain a copy of the License at:
  ~
  ~    http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  ~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
  ~ License for the specific language governing permissions and limitations
  ~ under the License.
  -->

<catalog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="CatalogSchema.xsd ">

    <effectiveDate>2013-02-08T00:00:00+00:00</effectiveDate>
    <catalogName>SpyCarAdvanced</catalogName>

    <recurringBillingMode>IN_ADVANCE</recurringBillingMode>

    <currencies>
        <currency>USD</currency>
        <currency>GBP</currency>
        <currency>EUR</currency>
        <currency>JPY</currency>
        <currency>BTC</currency>
    </currencies>

    <units>
        <unit name="gallons"/>
    </units>


    <products>
        <product name="Standard">
            <category>BASE</category>
        </product>
        <product name="Sports">
            <category>BASE</category>
            <available>
                <addonProduct>OilSlick</addonProduct>
                <addonProduct>RemoteControl</addonProduct>
                <addonProduct>Gas</addonProduct>
            </available>
        </product>
        <product name="Super">
            <category>BASE</category>
            <included>
                <addonProduct>OilSlick</addonProduct>
            </included>
            <available>
                <addonProduct>RemoteControl</addonProduct>
                <addonProduct>Gas</addonProduct>
            </available>
        </product>
        <product name="OilSlick">
            <category>ADD_ON</category>
        </product>
        <product name="RemoteControl">
            <category>ADD_ON</category>
        </product>
        <product name="Gas">
            <category>ADD_ON</category>
        </product>
    </products>

    <rules>
        <changePolicy>
            <changePolicyCase>
                <phaseType>TRIAL</phaseType>
                <policy>IMMEDIATE</policy>
            </changePolicyCase>
            <changePolicyCase>
                <fromProduct>Standard</fromProduct>
                <toProduct>Sports</toProduct>
                <policy>IMMEDIATE</policy>
            </changePolicyCase>
            <changePolicyCase>
                <toProduct>Super</toProduct>
                <policy>IMMEDIATE</policy>
            </changePolicyCase>
            <changePolicyCase>
                <policy>END_OF_TERM</policy>
            </changePolicyCase>
        </changePolicy>
        <changeAlignment>
            <changeAlignmentCase>
                <toProductCategory>ADD_ON</toProductCategory>
                <alignment>START_OF_BUNDLE</alignment>
            </changeAlignmentCase>
            <changeAlignmentCase>
                <fromPriceList>SpecialDiscount</fromPriceList>
                <toPriceList>SpecialDiscount</toPriceList>
                <alignment>CHANGE_OF_PRICELIST</alignment>
            </changeAlignmentCase>
            <changeAlignmentCase>
                <alignment>START_OF_SUBSCRIPTION</alignment>
            </changeAlignmentCase>
        </changeAlignment>
        <cancelPolicy>
            <cancelPolicyCase>
                <productCategory>BASE</productCategory>
                <policy>END_OF_TERM</policy>
            </cancelPolicyCase>
            <cancelPolicyCase>
                <productCategory>ADD_ON</productCategory>
                <policy>IMMEDIATE</policy>
            </cancelPolicyCase>
            <cancelPolicyCase>
                <policy>END_OF_TERM</policy>
            </cancelPolicyCase>
        </cancelPolicy>
        <createAlignment>
            <createAlignmentCase>
                <product>OilSlick</product>
                <alignment>START_OF_BUNDLE</alignment>
            </createAlignmentCase>
            <createAlignmentCase>
                <product>RemoteControl</product>
                <alignment>START_OF_SUBSCRIPTION</alignment>
            </createAlignmentCase>
            <createAlignmentCase>
                <alignment>START_OF_BUNDLE</alignment>
            </createAlignmentCase>
        </createAlignment>
        <billingAlignment>
            <billingAlignmentCase>
                <productCategory>ADD_ON</productCategory>
                <alignment>BUNDLE</alignment>
            </billingAlignmentCase>
            <billingAlignmentCase>
                <billingPeriod>ANNUAL</billingPeriod>
                <alignment>SUBSCRIPTION</alignment>
            </billingAlignmentCase>
            <billingAlignmentCase>
                <alignment>ACCOUNT</alignment>
            </billingAlignmentCase>
        </billingAlignment>
        <priceList>
            <priceListCase>
                <fromPriceList>SpecialDiscount</fromPriceList>
                <toPriceList>DEFAULT</toPriceList>
            </priceListCase>
            <priceListCase>
                <fromPriceList>CIA</fromPriceList>
                <toPriceList>CIA</toPriceList>
            </priceListCase>
            <priceListCase>
                <toPriceList>DEFAULT</toPriceList>
            </priceListCase>
        </priceList>
    </rules>

    <plans>
        <plan name="standard-annual">
            <product>Standard</product>
            <initialPhases>
                <phase type="TRIAL">
                    <duration>
                        <unit>DAYS</unit>
                        <number>30</number>
                    </duration>
                    <fixed>
                        <fixedPrice> <!-- empty price implies $0 -->
                        </fixedPrice>
                    </fixed>
                </phase>
            </initialPhases>
            <finalPhase type="EVERGREEN">
                <duration>
                    <unit>UNLIMITED</unit>
                </duration>
                <recurring>
                    <billingPeriod>ANNUAL</billingPeriod>
                    <recurringPrice>
                        <price>
                            <currency>GBP</currency>
                            <value>750.00</value>
                        </price>
                        <price>
                            <currency>EUR</currency>
                            <value>850.00</value>
                        </price>
                        <price>
                            <currency>USD</currency>
                            <value>1000.00</value>
                        </price>
                        <price>
                            <currency>JPY</currency>
                            <value>100.00</value>
                        </price>
                        <price>
                            <currency>BTC</currency>
                            <value>1.0</value>
                        </price>
                    </recurringPrice>
                </recurring>
            </finalPhase>
        </plan>
        <plan name="standard-monthly">
            <product>Standard</product>
            <initialPhases>
                <phase type="TRIAL">
                    <duration>
                        <unit>DAYS</unit>
                        <number>30</number>
                    </duration>
                    <fixed>
                        <fixedPrice> <!-- empty price implies $0 -->
                        </fixedPrice>
                    </fixed>
                </phase>
            </initialPhases>
            <finalPhase type="EVERGREEN">
                <duration>
                    <unit>UNLIMITED</unit>
                </duration>
                <recurring>
                    <billingPeriod>MONTHLY</billingPeriod>
                    <recurringPrice>
                        <price>
                            <currency>GBP</currency>
                            <value>75.00</value>
                        </price>
                        <price>
                            <currency>EUR</currency>
                            <value>85.00</value>
                        </price>
                        <price>
                            <currency>USD</currency>
                            <value>100.00</value>
                        </price>
                        <price>
                            <currency>JPY</currency>
                            <value>10.00</value>
                        </price>
                        <price>
                            <currency>BTC</currency>
                            <value>0.1</value>
                        </price>
                    </recurringPrice>
                </recurring>
            </finalPhase>
        </plan>
        <plan name="sports-monthly">
            <product>Sports</product>
            <initialPhases>
                <phase type="TRIAL">
                    <duration>
                        <unit>DAYS</unit>
                        <number>30</number>
                    </duration>
                    <fixed>
                        <fixedPrice> <!-- empty price implies $0 -->
                        </fixedPrice>
                    </fixed>
                </phase>
            </initialPhases>
            <finalPhase type="EVERGREEN">
                <duration>
                    <unit>UNLIMITED</unit>
                </duration>
                <recurring>
                    <billingPeriod>MONTHLY</billingPeriod>
                    <recurringPrice>
                        <price>
                            <currency>GBP</currency>
                            <value>375.00</value>
                        </price>
                        <price>
                            <currency>EUR</currency>
                            <value>425.00</value>
                        </price>
                        <price>
                            <currency>USD</currency>
                            <value>500.00</value>
                        </price>
                        <price>
                            <currency>JPY</currency>
                            <value>50.00</value>
                        </price>
                        <price>
                            <currency>BTC</currency>
                            <value>0.5</value>
                        </price>
                    </recurringPrice>
                </recurring>
            </finalPhase>
        </plan>
        <plan name="super-monthly">
            <product>Super</product>
            <initialPhases>
                <phase type="TRIAL">
                    <duration>
                        <unit>DAYS</unit>
                        <number>30</number>
                    </duration>
                    <fixed>
                        <fixedPrice> <!-- empty price implies $0 -->
                        </fixedPrice>
                    </fixed>
                </phase>
            </initialPhases>
            <finalPhase type="EVERGREEN">
                <duration>
                    <unit>UNLIMITED</unit>
                </duration>
                <recurring>
                    <billingPeriod>MONTHLY</billingPeriod>
                    <recurringPrice>
                        <price>
                            <currency>GBP</currency>
                            <value>750.00</value>
                        </price>
                        <price>
                            <currency>EUR</currency>
                            <value>850.00</value>
                        </price>
                        <price>
                            <currency>USD</currency>
                            <value>1000.00</value>
                        </price>
                        <price>
                            <currency>JPY</currency>
                            <value>100.00</value>
                        </price>
                        <price>
                            <currency>BTC</currency>
                            <value>1.0</value>
                        </price>
                    </recurringPrice>
                </recurring>
            </finalPhase>
        </plan>
        <plan name="discount-standard-monthly">
            <product>Standard</product>
            <initialPhases>
                <phase type="TRIAL">
                    <duration>
                        <unit>DAYS</unit>
                        <number>30</number>
                    </duration>
                    <fixed>
                        <fixedPrice> <!-- empty price implies $0 -->
                        </fixedPrice>
                    </fixed>
                </phase>
                <phase type="DISCOUNT">
                    <duration>
                        <unit>MONTHS</unit>
                        <number>3</number>
                    </duration>
                    <recurring>
                        <billingPeriod>MONTHLY</billingPeriod>
                        <recurringPrice>
                            <price>
                                <currency>GBP</currency>
                                <value>50.00</value>
                            </price>
                            <price>
                                <currency>EUR</currency>
                                <value>60.00</value>
                            </price>
                            <price>
                                <currency>USD</currency>
                                <value>66.00</value>
                            </price>
                            <price>
                                <currency>JPY</currency>
                                <value>6.60</value>
                            </price>
                            <price>
                                <currency>BTC</currency>
                                <value>0.06</value>
                            </price>
                        </recurringPrice>
                    </recurring>
                </phase>
            </initialPhases>
            <finalPhase type="EVERGREEN">
                <duration>
                    <unit>UNLIMITED</unit>
                </duration>
                <recurring>
                    <billingPeriod>MONTHLY</billingPeriod>
                    <recurringPrice>
                        <price>
                            <currency>GBP</currency>
                            <value>75.00</value>
                        </price>
                        <price>
                            <currency>EUR</currency>
                            <value>85.00</value>
                        </price>
                        <price>
                            <currency>USD</currency>
                            <value>100.00</value>
                        </price>
                        <price>
                            <currency>JPY</currency>
                            <value>10.00</value>
                        </price>
                        <price>
                            <currency>BTC</currency>
                            <value>0.1</value>
                        </price>
                    </recurringPrice>
                </recurring>
            </finalPhase>
        </plan>
        <plan name="discount-sports-monthly">
            <product>Sports</product>
            <initialPhases>
                <phase type="TRIAL">
                    <duration>
                        <unit>DAYS</unit>
                        <number>30</number>
                    </duration>
                    <fixed>
                        <fixedPrice> <!-- empty price implies $0 -->
                        </fixedPrice>
                    </fixed>
                </phase>
                <phase type="DISCOUNT">
                    <duration>
                        <unit>MONTHS</unit>
                        <number>3</number>
                    </duration>
                    <recurring>
                        <billingPeriod>MONTHLY</billingPeriod>
                        <recurringPrice>
                            <price>
                                <currency>GBP</currency>
                                <value>250.00</value>
                            </price>
                            <price>
                                <currency>EUR</currency>
                                <value>300.00</value>
                            </price>
                            <price>
                                <currency>USD</currency>
                                <value>333.00</value>
                            </price>
                            <price>
                                <currency>JPY</currency>
                                <value>33.30</value>
                            </price>
                            <price>
                                <currency>BTC</currency>
                                <value>0.3</value>
                            </price>
                        </recurringPrice>
                    </recurring>
                </phase>
            </initialPhases>
            <finalPhase type="EVERGREEN">
                <duration>
                    <unit>UNLIMITED</unit>
                </duration>
                <recurring>
                    <billingPeriod>MONTHLY</billingPeriod>
                    <recurringPrice>
                        <price>
                            <currency>GBP</currency>
                            <value>375.00</value>
                        </price>
                        <price>
                            <currency>EUR</currency>
                            <value>425.00</value>
                        </price>
                        <price>
                            <currency>USD</currency>
                            <value>500.00</value>
                        </price>
                        <price>
                            <currency>JPY</currency>
                            <value>50.00</value>
                        </price>
                        <price>
                            <currency>BTC</currency>
                            <value>0.5</value>
                        </price>
                    </recurringPrice>
                </recurring>
            </finalPhase>
        </plan>
        <plan name="discount-super-monthly">
            <product>Super</product>
            <initialPhases>
                <phase type="TRIAL">
                    <duration>
                        <unit>DAYS</unit>
                        <number>30</number>
                    </duration>
                    <fixed>
                        <fixedPrice> <!-- empty price implies $0 -->
                        </fixedPrice>
                    </fixed>
                </phase>
                <phase type="DISCOUNT">
                    <duration>
                        <unit>MONTHS</unit>
                        <number>3</number>
                    </duration>
                    <recurring>
                        <billingPeriod>MONTHLY</billingPeriod>
                        <recurringPrice>
                            <price>
                                <currency>GBP</currency>
                                <value>500.00</value>
                            </price>
                            <price>
                                <currency>EUR</currency>
                                <value>600.00</value>
                            </price>
                            <price>
                                <currency>USD</currency>
                                <value>666.00</value>
                            </price>
                            <price>
                                <currency>JPY</currency>
                                <value>66.60</value>
                            </price>
                            <price>
                                <currency>BTC</currency>
                                <value>0.6</value>
                            </price>
                        </recurringPrice>
                    </recurring>
                </phase>
            </initialPhases>
            <finalPhase type="EVERGREEN">
                <duration>
                    <unit>UNLIMITED</unit>
                </duration>
                <recurring>
                    <billingPeriod>MONTHLY</billingPeriod>
                    <recurringPrice>
                        <price>
                            <currency>GBP</currency>
                            <value>750.00</value>
                        </price>
                        <price>
                            <currency>EUR</currency>
                            <value>850.00</value>
                        </price>
                        <price>
                            <currency>USD</currency>
                            <value>1000.00</value>
                        </price>
                        <price>
                            <currency>JPY</currency>
                            <value>100.00</value>
                        </price>
                        <price>
                            <currency>BTC</currency>
                            <value>1.0</value>
                        </price>
                    </recurringPrice>
                </recurring>
            </finalPhase>
        </plan>
        <plan name="oilslick-monthly">
            <product>OilSlick</product>
            <initialPhases>
                <phase type="DISCOUNT">
                    <duration>
                        <unit>MONTHS</unit>
                        <number>1</number>
                    </duration>
                    <recurring>
                        <billingPeriod>MONTHLY</billingPeriod>
                        <recurringPrice>
                            <price>
                                <currency>GBP</currency>
                                <value>2.00</value>
                            </price>
                            <price>
                                <currency>EUR</currency>
                                <value>3.00</value>
                            </price>
                            <price>
                                <currency>USD</currency>
                                <value>4.00</value>
                            </price>
                            <price>
                                <currency>JPY</currency>
                                <value>0.40</value>
                            </price>
                            <price>
                                <currency>BTC</currency>
                                <value>0.01</value>
                            </price>
                        </recurringPrice>
                    </recurring>
                </phase>
            </initialPhases>
            <finalPhase type="EVERGREEN">
                <duration>
                    <unit>UNLIMITED</unit>
                </duration>
                <recurring>
                    <billingPeriod>MONTHLY</billingPeriod>
                    <recurringPrice>
                        <price>
                            <currency>GBP</currency>
                            <value>5.95</value>
                        </price>
                        <price>
                            <currency>USD</currency>
                            <value>7.95</value>
                        </price>
                        <price>
                            <currency>JPY</currency>
                            <value>0.80</value>
                        </price>
                        <price>
                            <currency>BTC</currency>
                            <value>0.01</value>
                        </price>
                    </recurringPrice>
                </recurring>
            </finalPhase>
        </plan>
        <plan name="remotecontrol-monthly">
            <product>RemoteControl</product>
            <initialPhases>
                <phase type="DISCOUNT">
                    <duration>
                        <unit>MONTHS</unit>
                        <number>1</number>
                    </duration>
                    <recurring>
                        <billingPeriod>MONTHLY</billingPeriod>
                        <recurringPrice>
                            <price>
                                <currency>GBP</currency>
                                <value>5.00</value>
                            </price>
                            <price>
                                <currency>EUR</currency>
                                <value>7.00</value>
                            </price>
                            <price>
                                <currency>USD</currency>
                                <value>8.00</value>
                            </price>
                            <price>
                                <currency>JPY</currency>
                                <value>0.80</value>
                            </price>
                            <price>
                                <currency>BTC</currency>
                                <value>0.01</value>
                            </price>
                        </recurringPrice>
                    </recurring>
                </phase>
            </initialPhases>
            <finalPhase type="EVERGREEN">
                <duration>
                    <unit>UNLIMITED</unit>
                </duration>
                <recurring>
                    <billingPeriod>MONTHLY</billingPeriod>
                    <recurringPrice>
                        <price>
                            <currency>GBP</currency>
                            <value>15.95</value>
                        </price>
                        <price>
                            <currency>EUR</currency>
                            <value>16.95</value>
                        </price>
                        <price>
                            <currency>USD</currency>
                            <value>17.95</value>
                        </price>
                        <price>
                            <currency>JPY</currency>
                            <value>1.79</value>
                        </price>
                        <price>
                            <currency>BTC</currency>
                            <value>0.01</value>
                        </price>
                    </recurringPrice>
                </recurring>
            </finalPhase>
        </plan>
        <plan name="gas-monthly">
            <product>Gas</product>
            <finalPhase type="EVERGREEN">
                <duration>
                    <unit>UNLIMITED</unit>
                </duration>
                <usages>
                    <usage name="gas-monthly-in-arrear" billingMode="IN_ARREAR" usageType="CONSUMABLE">
                        <billingPeriod>MONTHLY</billingPeriod>
                        <tiers>
                            <tier>
                                <blocks>
                                    <tieredBlock>
                                        <unit>gallons</unit>
                                        <size>1</size>
                                        <prices>
                                            <price>
                                                <currency>GBP</currency>
                                                <value>1.95</value>
                                            </price>
                                            <price>
                                                <currency>EUR</currency>
                                                <value>2.95</value>
                                            </price>
                                            <price>
                                                <currency>USD</currency>
                                                <value>3.95</value>
                                            </price>
                                            <price>
                                                <currency>JPY</currency>
                                                <value>0.95</value>
                                            </price>
                                            <price>
                                                <currency>BTC</currency>
                                                <value>0.001</value>
                                            </price>
                                        </prices>
                                        <max>100</max>
                                    </tieredBlock>
                                </blocks>
                            </tier>
                        </tiers>
                    </usage>
                </usages>
            </finalPhase>
        </plan>
    </plans>
    <priceLists>
        <defaultPriceList name="DEFAULT">
            <plans>
                <plan>standard-annual</plan>
                <plan>standard-monthly</plan>
                <plan>sports-monthly</plan>
                <plan>super-monthly</plan>
                <plan>remotecontrol-monthly</plan>
                <plan>oilslick-monthly</plan>
                <plan>gas-monthly</plan>
            </plans>
        </defaultPriceList>
        <childPriceList name="SpecialDiscount">
            <plans>
                <plan>discount-standard-monthly</plan>
                <plan>discount-sports-monthly</plan>
                <plan>discount-super-monthly</plan>
                <plan>remotecontrol-monthly</plan>
                <plan>oilslick-monthly</plan>
            </plans>
        </childPriceList>
        <childPriceList name="CIA">
            <plans>
                <plan>discount-standard-monthly</plan>
                <plan>discount-sports-monthly</plan>
                <plan>discount-super-monthly</plan>
                <plan>remotecontrol-monthly</plan>
                <plan>oilslick-monthly</plan>
            </plans>
        </childPriceList>
    </priceLists>
</catalog>
