Tango · JSON-LD Context

Tango Context

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

43 Classes 0 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
tango: https://www.tangocard.com/vocab#
xsd: http://www.w3.org/2001/XMLSchema#

Classes

Order referenceOrderID orderRefID customerIdentifier accountIdentifier amount currencyCode status lineItems createdAt LineItem referenceLineItemId utid rewardName brandCode brandName fulfillment Account accountIdentifierField displayName currentBalance Customer customerIdentifierField Brand brandCodeField description items CatalogItem valueType faceValue minValue maxValue countries credentialTypes ExchangeRate exchangeRate Recipient Sender Fulfillment fulfillmentType redemptionUrl cardNumber cardPin

JSON-LD Document

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

    "Order": "schema:Order",
    "referenceOrderID": "schema:orderNumber",
    "orderRefID": "tango:externalReferenceId",
    "customerIdentifier": "schema:customer",
    "accountIdentifier": "tango:accountIdentifier",
    "amount": "schema:price",
    "currencyCode": "schema:priceCurrency",
    "status": "schema:orderStatus",
    "lineItems": "schema:orderedItem",
    "createdAt": "schema:orderDate",

    "LineItem": "schema:OrderItem",
    "referenceLineItemId": "schema:identifier",
    "utid": "tango:universalTokenId",
    "rewardName": "schema:name",
    "brandCode": "tango:brandCode",
    "brandName": "schema:brand",
    "fulfillment": "tango:fulfillment",

    "Account": "schema:BankAccount",
    "accountIdentifierField": "schema:identifier",
    "displayName": "schema:name",
    "currentBalance": "schema:amount",

    "Customer": "schema:Organization",
    "customerIdentifierField": "schema:identifier",

    "Brand": "schema:Brand",
    "brandCodeField": "schema:identifier",
    "description": "schema:description",
    "items": "schema:hasOfferCatalog",

    "CatalogItem": "schema:Offer",
    "valueType": "tango:valueType",
    "faceValue": "schema:price",
    "minValue": "schema:minPrice",
    "maxValue": "schema:maxPrice",
    "countries": "schema:areaServed",
    "credentialTypes": "tango:credentialTypes",

    "ExchangeRate": "schema:ExchangeRateSpecification",
    "exchangeRate": "schema:currentExchangeRate",

    "Recipient": "schema:Person",
    "Sender": "schema:Person",

    "Fulfillment": "tango:Fulfillment",
    "fulfillmentType": "tango:fulfillmentType",
    "redemptionUrl": "schema:url",
    "cardNumber": "tango:cardNumber",
    "cardPin": "tango:cardPin"
  }
}