Abstract API · JSON-LD Context

Abstract Api Exchange Rates Context

JSON-LD context defining the semantic vocabulary for Abstract Api Exchange Rates from Abstract API.

3 Classes 8 Properties 4 Namespaces
View Context View on GitHub

Namespaces

abstract: https://abstractapi.com/schema/
schema: https://schema.org/
dcterms: http://purl.org/dc/terms/
xsd: http://www.w3.org/2001/XMLSchema#

Classes

ConvertResponse HistoricalRatesResponse LiveRatesResponse

Properties

Property Type Container
baseCurrency string
targetCurrency string
baseAmount decimal
convertedAmount decimal
base string
date date
exchangeRates reference
lastUpdated integer

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "abstract": "https://abstractapi.com/schema/",
    "schema": "https://schema.org/",
    "dcterms": "http://purl.org/dc/terms/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "ConvertResponse": "abstract:ConvertResponse",
    "HistoricalRatesResponse": "abstract:HistoricalRatesResponse",
    "LiveRatesResponse": "abstract:LiveRatesResponse",
    "baseCurrency": {
      "@id": "abstract:base_currency",
      "@type": "xsd:string"
    },
    "targetCurrency": {
      "@id": "abstract:target_currency",
      "@type": "xsd:string"
    },
    "baseAmount": {
      "@id": "abstract:base_amount",
      "@type": "xsd:decimal"
    },
    "convertedAmount": {
      "@id": "abstract:converted_amount",
      "@type": "xsd:decimal"
    },
    "base": {
      "@id": "abstract:base",
      "@type": "xsd:string"
    },
    "date": {
      "@id": "abstract:date",
      "@type": "xsd:date"
    },
    "exchangeRates": {
      "@id": "abstract:exchange_rates",
      "@type": "@id"
    },
    "lastUpdated": {
      "@id": "abstract:last_updated",
      "@type": "xsd:integer"
    }
  }
}