Kraken · JSON-LD Context

Kraken Context

JSON-LD context defining the semantic vocabulary for Kraken from Kraken.

16 Classes 25 Properties 4 Namespaces
View Context View on GitHub

Namespaces

kraken: https://raw.githubusercontent.com/api-evangelist/kraken/refs/heads/main/json-ld/kraken-context.jsonld#
schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
fibo: https://spec.edmcouncil.org/fibo/ontology/

Classes

Asset AssetPair Ticker OrderBook Order Trade Position Balance LedgerEntry Instrument EarnStrategy EarnAllocation FundingTxn Exchange Order_ Position_

Properties

Property Type Container
txid string
pair string
symbol string
asset string
type
ordertype
side
status
price decimal
limitPrice decimal
stopPrice decimal
volume decimal
size decimal
balance decimal
amount decimal
fee decimal
leverage
time dateTime
opentm dateTime
closetm dateTime
lastTime dateTime
currency
strategy_id string
lock_type
apr_estimate

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "kraken": "https://raw.githubusercontent.com/api-evangelist/kraken/refs/heads/main/json-ld/kraken-context.jsonld#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "fibo": "https://spec.edmcouncil.org/fibo/ontology/",
    "Asset": "kraken:Asset",
    "AssetPair": "kraken:AssetPair",
    "Ticker": "kraken:Ticker",
    "OrderBook": "kraken:OrderBook",
    "Order": "kraken:Order",
    "Trade": "kraken:Trade",
    "Position": "kraken:Position",
    "Balance": "kraken:Balance",
    "LedgerEntry": "kraken:LedgerEntry",
    "Instrument": "kraken:Instrument",
    "EarnStrategy": "kraken:EarnStrategy",
    "EarnAllocation": "kraken:EarnAllocation",
    "FundingTxn": "kraken:FundingTxn",
    "txid": {
      "@id": "kraken:txid",
      "@type": "xsd:string"
    },
    "pair": {
      "@id": "kraken:pair",
      "@type": "xsd:string"
    },
    "symbol": {
      "@id": "kraken:symbol",
      "@type": "xsd:string"
    },
    "asset": {
      "@id": "kraken:asset",
      "@type": "xsd:string"
    },
    "type": {
      "@id": "kraken:orderSide"
    },
    "ordertype": {
      "@id": "kraken:orderType"
    },
    "side": {
      "@id": "kraken:orderSide"
    },
    "status": {
      "@id": "kraken:status"
    },
    "price": {
      "@id": "kraken:price",
      "@type": "xsd:decimal"
    },
    "limitPrice": {
      "@id": "kraken:limitPrice",
      "@type": "xsd:decimal"
    },
    "stopPrice": {
      "@id": "kraken:stopPrice",
      "@type": "xsd:decimal"
    },
    "volume": {
      "@id": "kraken:volume",
      "@type": "xsd:decimal"
    },
    "size": {
      "@id": "kraken:size",
      "@type": "xsd:decimal"
    },
    "balance": {
      "@id": "kraken:balance",
      "@type": "xsd:decimal"
    },
    "amount": {
      "@id": "kraken:amount",
      "@type": "xsd:decimal"
    },
    "fee": {
      "@id": "kraken:fee",
      "@type": "xsd:decimal"
    },
    "leverage": {
      "@id": "kraken:leverage"
    },
    "time": {
      "@id": "kraken:time",
      "@type": "xsd:dateTime"
    },
    "opentm": {
      "@id": "kraken:opentm",
      "@type": "xsd:dateTime"
    },
    "closetm": {
      "@id": "kraken:closetm",
      "@type": "xsd:dateTime"
    },
    "lastTime": {
      "@id": "kraken:lastTime",
      "@type": "xsd:dateTime"
    },
    "currency": {
      "@id": "schema:currency"
    },
    "strategy_id": {
      "@id": "kraken:strategyId",
      "@type": "xsd:string"
    },
    "lock_type": {
      "@id": "kraken:lockType"
    },
    "apr_estimate": {
      "@id": "kraken:aprEstimate"
    },
    "Exchange": "schema:ExchangeRateSpecification",
    "Order_": "fibo:FBC/ProductsAndServices/FinancialProductsAndServices/Order",
    "Position_": "fibo:FBC/ProductsAndServices/FinancialProductsAndServices/Position"
  }
}