Note: you are viewing the webschemas.org development version of schema.org. See How we work for more details.
core + pending (Pending Extension): these terms are pending wider review. Feedback is welcomed!

ExchangeRateSpecification

Defined in the pending.schema.org extension.
Canonical URL: http://schema.org/ExchangeRateSpecification

Thing > Intangible > StructuredValue > ExchangeRateSpecification

A structured value representing exchange rate.
PropertyExpected TypeDescription
Properties from ExchangeRateSpecification
currency Text The currency in which the monetary amount is expressed (in 3-letter ISO 4217 format).
currentExchangeRate UnitPriceSpecification The current price of a currency.
exchangeRateSpread MonetaryAmount  or
Number 
The difference between the price at which a broker or other intermediary buys and sells foreign currency.
Properties from Thing
additionalType URL An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the 'typeof' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.
alternateName Text An alias for the item.
description Text A description of the item.
disambiguatingDescription Text A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.
identifier PropertyValue  or
Text  or
URL 
The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details.
image ImageObject  or
URL 
An image of the item. This can be a URL or a fully described ImageObject.
mainEntityOfPage CreativeWork  or
URL 
Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See background notes for details.
Inverse property: mainEntity.
name Text The name of the item.
potentialAction Action Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.
sameAs URL URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.
subjectOf CreativeWork  or
Event 
A CreativeWork or Event about this Thing..
Inverse property: about.
url URL URL of the item.


Instances of ExchangeRateSpecification may appear as values for the following properties

PropertyOn TypesDescription
exchangeRate The price of a currency in terms of another currency.

Source

https://github.com/schemaorg/schemaorg/issues/1253

Acknowledgement

This element is based on the work of the Financial Industry Business Ontology project (see http://www.fibo.org/schema for details), in support of the W3C Financial Industry Business Ontology Community Group (http://www.fibo.org/community). Many class and property definitions are inspired by or based on http://www.fibo.org.



Examples

Example 1
<body>
<h1>Middle exchange rates of foreign currencies – table A</h1> <h2>Table No. 047/A/NBP/2016 of 2016-03-0</h2> <div> <table>
  <tr>
    <th>Currency</th>
    <th>Code</th>
    <th>Mid-rate </th>
  </tr>
  <tr>
    <td>Euro</td>
    <td>1 EUR</td>
    <td>4.3215</td>
  </tr>
  <tr>
    <td>Brazilian Real</td>
    <td>1 BRL</td>
    <td>1.0490</td>
  </tr>
</table>
</div>
</body>
<body itemscope itemtype="http://schema.org/WebPage">
<h1 itemprop="name">Middle exchange rates of foreign currencies – table A</h1>
<div itemprop="mainEntity" itemscope itemtype="http://schema.org/ItemList">
<table>
  <caption itemprop="name">Table No. 047/A/NBP/2016 of 2016-03-09</caption>
  <tr>
    <th>Currency</th>
    <th>Code</th>
    <th>Mid-rate </th>
  </tr>
  <tr itemprop="itemListElement" itemscope itemtype="http://schema.org/ExchangeRateSpecification">
    <td itemprop="currency" content="EUR">Euro</td>
    <td>1 EUR</td>
    <td itemprop="currentExchangeRate" itemscope itemtype="http://schema.org/UnitPriceSpecification">
      <span itemprop="price">4.3215</span>
      <meta itemprop="priceCurrency" content="PLN"/>
    </td>
  </tr>
  <tr itemprop="itemListElement" itemscope itemtype="http://schema.org/ExchangeRateSpecification">
    <td itemprop="currency" content="BRL">Brazilian Real</td>
    <td>1 BRL</td>
    <td  itemprop="currentExchangeRate" itemscope itemtype="http://schema.org/UnitPriceSpecification">
      <span itemprop="price">1.0490</span>
      <meta itemprop="priceCurrency" content="PLN"/>
    </td>
  </tr>
</table>
</div>
</body>
<body vocab="http://schema.org/" typeof="WebPage">
<h1 property="name">Middle exchange rates of foreign currencies – table A</h1>
<div property="mainEntity" typeof="ItemList">
<table>
  <caption property="name">Table No. 047/A/NBP/2016 of 2016-03-09</caption>
  <tr>
    <th>Currency</th>
    <th>Code</th>
    <th>Mid-rate </th>
  </tr>
  <tr property="itemListElement" typeof="ExchangeRateSpecification">
    <td property="currency" content="EUR">Euro</td>
    <td>1 EUR</td>
    <td property="currentExchangeRate" typeof="UnitPriceSpecification">
      <span property="price">4.3215</span>
      <meta property="priceCurrency" content="PLN"/>
    </td>
  </tr>
  <tr property="itemListElement" typeof="ExchangeRateSpecification">
    <td property="currency" content="BRL">Brazilian Real</td>
    <td>1 BRL</td>
    <td  property="currentExchangeRate" typeof="UnitPriceSpecification">
      <span property="price">1.0490</span>
      <meta property="priceCurrency" content="PLN"/>
    </td>
  </tr>
</table>
</div>
</body>
<script type="application/ld+json">
  {
    "@context": "http://schema.org",
    "@type": "WebPage",
    "name": "Middle exchange rates of foreign currencies – table A",
    "mainEntity": {
      "@type": "ItemList",
      "name": "Table No. 047/A/NBP/2016 of 2016-03-09",
      "itemListElement": [
          {
            "@type": "ExchangeRateSpecification",
            "currency":"EUR",
            "currentExchangeRate":{
              "@type": "UnitPriceSpecification",
              "price": "4.3215",
              "priceCurrency": "PLN"
              }
          },
          {
            "@type": "ExchangeRateSpecification",
            "currency":"BRL",
            "currentExchangeRate":{
              "@type": "UnitPriceSpecification",
              "price": "1.0490",
              "priceCurrency": "PLN"
              }
          }
      ]
    }
  }
</script>

Schema Version 3.3