Example compoundPrice-1

RDFa (source lint)

This example is currently available in Microdata and JSON-LD syntaxes only.

microdata (source lint)

<div itemscope itemtype="http://schema.org/Offer">
  <h1 itemprop="description">Our Private Bank Account Package: Low monthly fees and fair per-use charges.</h1>
  <b itemprop="name">Private Bank Account Package</b>
  <span itemprop="itemOffered" itemscope itemtype="http://schema.org/BankAccount">
    <span itemprop="name">ACME Private Bank Account</span>
    APR: <meta itemprop="annualPercentageRate" content="0.0314">3.14%
  </span> 
  <span itemprop="priceSpecification" itemscope itemtype="http://schema.org/CompoundPriceSpecification">
    <span itemprop="priceComponent" itemscope itemtype="http://schema.org/UnitPriceSpecification">
      <span itemprop="price">5</span> 
      <meta itemprop="priceCurrency" content="USD"> US$
      <meta itemprop="unitCode" content="MON"> per month
    </span>
    <span itemprop="priceComponent" itemscope itemtype="http://schema.org/UnitPriceSpecification">
      <span itemprop="price">0.10</span> 
      <meta itemprop="priceCurrency" content="USD"> US$
      <span itemprop="unitText"> per transaction</span>
    </span>
  </span>
</div>

JSON-LD (source lint)

<script type="application/ld+json">
{
    "@context": "http://schema.org",
    "@type": "Offer",
    "description": "Our Private Bank Account Package: Low monthly fees and fair per-use charges.",
    "name" : "Private Bank Account Package",
    "itemOffered" : { 
        "@type" : "BankAccount",
        "name" : "ACME Private Bank Account",
        "annualPercentageRate" : 0.0314 },
    "priceSpecification" : {
        "@type" : "CompoundPriceSpecification",
        "priceComponent" : 
        [
        {
            "@type" : "UnitPriceSpecification",
            "price" : 5,
            "priceCurrency" : "USD",
            "unitCode" : "MON"
        },
        {
            "@type" : "UnitPriceSpecification",
            "price" : 0.10,
            "priceCurrency" : "USD",
            "unitText" : "per transaction"
        }
        ]
    }
}
</script>

Example fiboex-3

RDFa (source lint)

<div vocab="http://schema.org/">
    <h1>RBS current accounts</h1>
    <h2>Most popular accounts</h2>
    <ul>
        <li typeof="BankAccount"><b><span property="name">Select Account</span></b><br/>
            <span property="offers" typeof="Offer"> 
                <link property="eligibleCustomerType" content="http://purl.org/goodrelations/v1#Enduser"/>
            -   <span property="description">No monthly account fee<br/>- You need to be aged 18 or over, and UK resident to apply</span>
                <meta property="price" content="0"/>
                <span property="offeredBy" typeof="BankOrCreditUnion">
                    <meta property="name" content="RBS"/>
                    <link property="url" href="http://rbs.co.uk"/>
                </span>
            </span>
            <link property="feesAndCommissionsSpecification" href="http://personal.rbs.co.uk/content/dam/rbs_co_uk/currentaccounts/downloads/Reward/Personal%20and%20Private%20Current%20Account%20Fees%20and%20Interest%20Rates.pdf"/>
        </li>
        <li typeof="BankAccount"><b><span property="name">Select Silver Account</span></b><br/>
            <span property="offers" typeof="Offer">
                <link property="eligibleCustomerType" content="http://purl.org/goodrelations/v1#Enduser"/>
                <span property="priceSpecification" typeof="PriceSpecification">
                    <meta property="priceCurrency" content="GBP"/>
                    - £<span property="price">10</span> per month<br/>
                    <span property="eligibleQuantity" typeof="QuantitativeValue">
                        <meta property="value" content="1"/><meta property="unitCode" content="ANN"/>
                    </span>
                </span>
            -   <span property="description">You need to be aged 18 or over, and UK resident to apply</span>
                <span property="offeredBy" typeof="BankOrCreditUnion">
                    <meta property="name" content="RBS"/>
                    <link property="url" href="http://rbs.co.uk"/>
                </span>
            </span>
            <link property="feesAndCommissionsSpecification" href="http://personal.rbs.co.uk/content/dam/rbs_co_uk/currentaccounts/downloads/Reward/Personal%20and%20Private%20Current%20Account%20Fees%20and%20Interest%20Rates.pdf"/>
        </li>
        <li typeof="BankAccount"><b><span property="name">Select Platinum Account</span></b><br/>
            <span property="offers" typeof="Offer">
                <link property="eligibleCustomerType" content="http://purl.org/goodrelations/v1#Enduser"/>
                <span property="priceSpecification" typeof="PriceSpecification">
                    <meta property="priceCurrency" content="GBP"/>
                    - £<span property="price">16</span> per month<br/>
                    <span property="eligibleQuantity" typeof="QuantitativeValue">
                        <meta property="value" content="1"/><meta property="unitCode" content="ANN"/>
                    </span>
                </span>
            -   <span property="description">You need to be aged 18 or over, and UK resident to apply</span>
                <span property="offeredBy" typeof="BankOrCreditUnion">
                    <meta property="name" content="RBS"/>
                    <link property="url" href="http://rbs.co.uk"/>
                </span>
            </span>
            <link property="feesAndCommissionsSpecification" href="http://personal.rbs.co.uk/content/dam/rbs_co_uk/currentaccounts/downloads/Reward/Personal%20and%20Private%20Current%20Account%20Fees%20and%20Interest%20Rates.pdf"/>
        </li>
        <li typeof="BankAccount"><b><span property="name">Black Account</span></b><br/>
            <span property="offers" typeof="http://schema.org/Offer">
                <link property="eligibleCustomerType" content="http://purl.org/goodrelations/v1#Enduser"/>
                <span property="priceSpecification" typeof="PriceSpecification">
                    <meta property="priceCurrency" content="GBP"/>
                    - £<span property="price">24</span> per month<br/>
                    <span property="eligibleQuantity" typeof="QuantitativeValue">
                        <meta property="value" content="1"/><meta property="unitCode" content="ANN"/>
                    </span>
                </span>
            -   <span property="description">You need to be aged 18 or over, and UK resident to apply, with either:
                <ul>
                    <li>£100,000 sole income paid into this account</li>
                    <li>a RBS mortgage of at lease £300,000</li>
                    <li>£100,000 in RBS savings and investments</li>
                </ul>
                </span>
                <span property="offeredBy" typeof="BankOrCreditUnion">
                    <meta property="name" content="RBS"/>
                    <link property="url" href="http://rbs.co.uk"/>
                </span>
            </span>
            <link property="feesAndCommissionsSpecification" href="http://personal.rbs.co.uk/content/dam/rbs_co_uk/currentaccounts/downloads/Reward/Personal%20and%20Private%20Current%20Account%20Fees%20and%20Interest%20Rates.pdf"/>
        </li>
    </ul>
    <a href="http://personal.rbs.co.uk/content/dam/rbs_co_uk/currentaccounts/downloads/Reward/Personal%20and%20Private%20Current%20Account%20Fees%20and%20Interest%20Rates.pdf">Account Terms</a>
</div>

microdata (source lint)

<div>
    <h1>RBS current accounts</h1>
    <h2>Most popular accounts</h2>
    <ul>
        <li itemscope itemtype="http://schema.org/BankAccount"><b><span itemprop="name">Select Account</span></b><br/>
            <span itemprop="offers" itemscope itemtype="http://schema.org/Offer">
                <link itemprop="eligibleCustomerType" content="http://purl.org/goodrelations/v1#Enduser"/>
                <span itemprop="offeredBy" itemscope itemtype="http://schema.org/BankOrCreditUnion">
                    <meta itemprop="name" content="RBS"/>
                    <link itemprop="url" href="http://rbs.co.uk"/>
                </span>
            -   <span itemprop="description">No monthly account fee<br/>- You need to be aged 18 or over, and UK resident to apply</span>
                <meta itemprop="price" content="0"/>
            </span>
            <link itemprop="feesAndCommissionsSpecification" href="http://personal.rbs.co.uk/content/dam/rbs_co_uk/currentaccounts/downloads/Reward/Personal%20and%20Private%20Current%20Account%20Fees%20and%20Interest%20Rates.pdf"/>
        </li>
        <li itemscope itemtype="http://schema.org/BankAccount"><b><span itemprop="name">Select Silver Account</span></b><br/>
            <span itemprop="offers" itemscope itemtype="http://schema.org/Offer">
                <link itemprop="eligibleCustomerType" content="http://purl.org/goodrelations/v1#Enduser"/>
                <span itemprop="priceSpecification" itemscope itemtype="http://schema.org/PriceSpecification">
                    <meta itemprop="priceCurrency" content="GBP"/>
                    - £<span itemprop="price">10</span> per month<br/>
                    <span itemprop="eligibleQuantity" itemscope itemtype="http://schema.org/QuantitativeValue">
                        <meta itemprop="value" content="1"/><meta itemprop="unitCode" content="ANN"/>
                    <s/pan>
                </span>
            -   <span itemprop="description">You need to be aged 18 or over, and UK resident to apply</span>
                <span itemprop="offeredBy" itemscope itemtype="http://schema.org/BankOrCreditUnion">
                    <meta itemprop="name" content="RBS"/>
                    <link itemprop="url" href="http://rbs.co.uk"/>
                </span>
            </span>
            <link itemprop="feesAndCommissionsSpecification" href="http://personal.rbs.co.uk/content/dam/rbs_co_uk/currentaccounts/downloads/Reward/Personal%20and%20Private%20Current%20Account%20Fees%20and%20Interest%20Rates.pdf"/>
        </li>
        <li itemscope itemtype="http://schema.org/BankAccount"><b><span itemprop="name">Select Platinum Account</span></b><br/>
            <span itemprop="offers" itemscope itemtype="http://schema.org/Offer">
                <link itemprop="eligibleCustomerType" content="http://purl.org/goodrelations/v1#Enduser"/>
                <span itemprop="priceSpecification" itemscope itemtype="http://schema.org/PriceSpecification">
                    <meta itemprop="priceCurrency" content="GBP"/>
                    - £<span itemprop="price">16</span> per month<br/>
                    <span itemprop="eligibleQuantity" itemscope itemtype="http://schema.org/QuantitativeValue">
                        <meta itemprop="value" content="1"/><meta itemprop="unitCode" content="ANN"/>
                    </span>
                </span>
            -   <span itemprop="description">You need to be aged 18 or over, and UK resident to apply</span>
                <span itemprop="offeredBy" itemscope itemtype="http://schema.org/BankOrCreditUnion">
                    <meta itemprop="name" content="RBS"/>
                    <link itemprop="url" href="http://rbs.co.uk"/>
                </span>
            </span>
            <link itemprop="feesAndCommissionsSpecification" href="http://personal.rbs.co.uk/content/dam/rbs_co_uk/currentaccounts/downloads/Reward/Personal%20and%20Private%20Current%20Account%20Fees%20and%20Interest%20Rates.pdf"/>
        </li>
        <li itemscope itemtype="http://schema.org/BankAccount"><b><span itemprop="name">Black Account</span></b><br/>
            <span itemprop="offers" itemscope itemtype="http://schema.org/Offer">
                <link itemprop="eligibleCustomerType" content="http://purl.org/goodrelations/v1#Enduser">
                <span itemprop="priceSpecification" itemscope itemtype="http://schema.org/PriceSpecification">
                    <meta itemprop="priceCurrency" content="GBP"/>
                    - £<span itemprop="price">24</span> per month<br/>
                    <span itemprop="eligibleQuantity" itemscope itemtype="http://schema.org/QuantitativeValue">
                        <meta itemprop="value" content="1"/><meta itemprop="unitCode" content="ANN"/>
                    </span>
                </span>
            -   <span itemprop="description">   You need to be aged 18 or over, and UK resident to apply, with either:
                <ul>
                    <li>£100,000 sole income paid into this account</li>
                    <li>a RBS mortgage of at lease £300,000</li>
                    <li>£100,000 in RBS savings and investments</li>
                </ul></span>
                <span itemprop="offeredBy" itemscope itemtype="http://schema.org/BankOrCreditUnion">
                    <meta itemprop="name" content="RBS"/>
                    <link itemprop="url" href="http://rbs.co.uk"/>
                </span>
            </span>
            <link itemprop="feesAndCommissionsSpecification" href="http://personal.rbs.co.uk/content/dam/rbs_co_uk/currentaccounts/downloads/Reward/Personal%20and%20Private%20Current%20Account%20Fees%20and%20Interest%20Rates.pdf"/>
        </li>
    </ul>
    <a href="http://personal.rbs.co.uk/content/dam/rbs_co_uk/currentaccounts/downloads/Reward/Personal%20and%20Private%20Current%20Account%20Fees%20and%20Interest%20Rates.pdf">Account Terms</a>
</div>

JSON-LD (source lint)

<script type="application/ld+json">
{
    "@context": "http://schema.org/",
    "@graph": [
    {
        "@type": "BankAccount",
        "name": "Select  account",
        "offers": {
            "@type": "Offer",
            "eligibleCustomerType": {
                "@id":"http://purl.org/goodrelations/v1#Enduser"
            },
            "price": "0",
            "description": "You need to be aged 18 or over, and UK resident to apply.",
            "offeredBy": {
                "@type": "BankOrCreditUnion",
                "@id": "http://rbs.co.uk",
                "name": "RBS"
            }
        },
        "feesAndCommissionsSpecification": "http://personal.rbs.co.uk/content/dam/rbs_co_uk/currentaccounts/downloads/Reward/Personal%20and%20Private%20Current%20Account%20Fees%20and%20Interest%20Rates.pdf"
    },
    {
        "@type": "BankAccount",
        "name": "Select Silver account",
        "offers": {
            "@type": "Offer",
            "eligibleCustomerType": "http://purl.org/goodrelations/v1#Enduser",
            "priceSpecification": {
                "@type": "PriceSpecification",
                "priceCurrency": "GBP",
                "price": "10",
                "eligibleQuantity": {
                    "@type": "QuantitativeValue",
                    "value":"1",
                    "unitCode": "ANN"
                }
            },
            "description": "You need to be aged 18 or over, and UK resident to apply.",
            "offeredBy": {
                "@type": "BankOrCreditUnion",
                "@id": "http://rbs.co.uk",
                "name": "RBS"
            }
        },
        "feesAndCommissionsSpecification": "http://personal.rbs.co.uk/content/dam/rbs_co_uk/currentaccounts/downloads/Reward/Personal%20and%20Private%20Current%20Account%20Fees%20and%20Interest%20Rates.pdf"
    },
    {
        "@type": "BankAccount",
        "name": "Select Platinum account",
        "offers": {
            "@type": "Offer",
            "eligibleCustomerType": "http://purl.org/goodrelations/v1#Enduser",
            "priceSpecification": {
                "@type": "PriceSpecification",
                "priceCurrency": "GBP",
                "price": "16",
                "eligibleQuantity": {
                    "@type": "QuantitativeValue",
                    "value":"1",
                    "unitCode": "ANN"
                }
            },
            "description": "You need to be aged 18 or over, and UK resident to apply.",
            "offeredBy": {
                "@type": "BankOrCreditUnion",
                "@id": "http://rbs.co.uk",
                "name": "RBS"
            }
        },
        "feesAndCommissionsSpecification": "http://personal.rbs.co.uk/content/dam/rbs_co_uk/currentaccounts/downloads/Reward/Personal%20and%20Private%20Current%20Account%20Fees%20and%20Interest%20Rates.pdf"
    },
    {
        "@type": "BankAccount",
        "name": "Black account",
        "offers": {
            "@type": "Offer",
            "eligibleCustomerType": "http://purl.org/goodrelations/v1#Enduser",
            "priceSpecification": {
                "@type": "PriceSpecification",
                "priceCurrency": "GBP",
                "price": "24",
                "eligibleQuantity": {
                    "@type": "QuantitativeValue",
                    "value":"1",
                    "unitCode": "ANN"
                }
            },
            "description": "You need to be aged 18 or over, and UK resident to apply, with either:<ul><li>£100,000 sole income paid into this account<\/li><li>a RBS mortgage of at lease £300,000<\/li><li>£100,000 in RBS savings and investments<\/li><\/ul>",
            "offeredBy": {
                "@type": "BankOrCreditUnion",
                "@id": "http://rbs.co.uk",
                "name": "RBS"
            }
        },
        "feesAndCommissionsSpecification": "http://personal.rbs.co.uk/content/dam/rbs_co_uk/currentaccounts/downloads/Reward/Personal%20and%20Private%20Current%20Account%20Fees%20and%20Interest%20Rates.pdf"
        
    }
    ]   
}</script>