OpenNode · JSON-LD Context

Opennode Context

JSON-LD context defining the semantic vocabulary for Opennode from OpenNode.

26 Classes 11 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
opennode: https://developers.opennode.com/vocab#
xsd: http://www.w3.org/2001/XMLSchema#

Classes

Charge Withdrawal Refund StaticAddress LightningInvoice ChainInvoice id description status currency address payreq order_id auto_settle ttl notify_receiver customer_name customer_email type fee checkout_id email hashed_order lnurl min_amount max_amount

Properties

Property Type Container
amount integer
fiat_value decimal
source_fiat_value decimal
lightning_invoice opennode:LightningInvoice
chain_invoice opennode:ChainInvoice
created_at integer
expires_at integer
settled_at integer
callback_url reference
success_url reference
processed_at integer

JSON-LD Document

opennode-context.jsonld Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "opennode": "https://developers.opennode.com/vocab#",
    "xsd": "http://www.w3.org/2001/XMLSchema#",

    "Charge": "opennode:Charge",
    "Withdrawal": "opennode:Withdrawal",
    "Refund": "opennode:Refund",
    "StaticAddress": "opennode:StaticAddress",
    "LightningInvoice": "opennode:LightningInvoice",
    "ChainInvoice": "opennode:ChainInvoice",

    "id": "@id",
    "description": "schema:description",
    "amount": {
      "@id": "opennode:amount",
      "@type": "xsd:integer"
    },
    "status": "opennode:status",
    "currency": "opennode:currency",
    "fiat_value": {
      "@id": "opennode:fiatValue",
      "@type": "xsd:decimal"
    },
    "source_fiat_value": {
      "@id": "opennode:sourceFiatValue",
      "@type": "xsd:decimal"
    },
    "lightning_invoice": {
      "@id": "opennode:lightningInvoice",
      "@type": "opennode:LightningInvoice"
    },
    "chain_invoice": {
      "@id": "opennode:chainInvoice",
      "@type": "opennode:ChainInvoice"
    },
    "address": "opennode:address",
    "payreq": "opennode:paymentRequest",
    "created_at": {
      "@id": "schema:dateCreated",
      "@type": "xsd:integer"
    },
    "expires_at": {
      "@id": "schema:expires",
      "@type": "xsd:integer"
    },
    "settled_at": {
      "@id": "opennode:settledAt",
      "@type": "xsd:integer"
    },
    "order_id": "schema:orderNumber",
    "callback_url": {
      "@id": "opennode:callbackUrl",
      "@type": "@id"
    },
    "success_url": {
      "@id": "opennode:successUrl",
      "@type": "@id"
    },
    "auto_settle": "opennode:autoSettle",
    "ttl": "opennode:timeToLive",
    "notify_receiver": "opennode:notifyReceiver",
    "customer_name": "schema:name",
    "customer_email": "schema:email",
    "type": "opennode:paymentType",
    "fee": "opennode:networkFee",
    "processed_at": {
      "@id": "opennode:processedAt",
      "@type": "xsd:integer"
    },
    "checkout_id": "opennode:checkoutId",
    "email": "schema:email",
    "hashed_order": "opennode:hashedOrder",
    "lnurl": "opennode:lnurl",
    "min_amount": "opennode:minAmount",
    "max_amount": "opennode:maxAmount"
  }
}