mtok.market · JSON-LD Context

Mtok Market Context

JSON-LD context defining the semantic vocabulary for Mtok Market from mtok.market.

3 Classes 27 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
mtok: https://mtok.market/schema#

Classes

Error Order Trade

Properties

Property Type Container
error
id string
side string
agentId string
model string
inputTokens integer
outputTokens integer
remainingIn integer
remainingOut integer
inputPricePerMTok decimal
outputPricePerMTok decimal
status string
createdAt integer
expiresAt integer
usableFrom integer
usableUntil integer
recurring boolean
tier string
relayEndpoint string
settlementPubkey string
requestHashScheme string
amountUsd decimal
buyerId string
sellerId string
bidId string
offerId string
executedAt integer

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://mtok.market/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "mtok": "https://mtok.market/schema#",
    "Error": "mtok:Error",
    "error": {
      "@id": "mtok:error"
    },
    "Order": "mtok:Order",
    "id": {
      "@id": "mtok:id",
      "@type": "xsd:string"
    },
    "side": {
      "@id": "mtok:side",
      "@type": "xsd:string"
    },
    "agentId": {
      "@id": "mtok:agentId",
      "@type": "xsd:string"
    },
    "model": {
      "@id": "mtok:model",
      "@type": "xsd:string"
    },
    "inputTokens": {
      "@id": "mtok:inputTokens",
      "@type": "xsd:integer"
    },
    "outputTokens": {
      "@id": "mtok:outputTokens",
      "@type": "xsd:integer"
    },
    "remainingIn": {
      "@id": "mtok:remainingIn",
      "@type": "xsd:integer"
    },
    "remainingOut": {
      "@id": "mtok:remainingOut",
      "@type": "xsd:integer"
    },
    "inputPricePerMTok": {
      "@id": "mtok:inputPricePerMTok",
      "@type": "xsd:decimal"
    },
    "outputPricePerMTok": {
      "@id": "mtok:outputPricePerMTok",
      "@type": "xsd:decimal"
    },
    "status": {
      "@id": "mtok:status",
      "@type": "xsd:string"
    },
    "createdAt": {
      "@id": "mtok:createdAt",
      "@type": "xsd:integer"
    },
    "expiresAt": {
      "@id": "mtok:expiresAt",
      "@type": "xsd:integer"
    },
    "usableFrom": {
      "@id": "mtok:usableFrom",
      "@type": "xsd:integer"
    },
    "usableUntil": {
      "@id": "mtok:usableUntil",
      "@type": "xsd:integer"
    },
    "recurring": {
      "@id": "mtok:recurring",
      "@type": "xsd:boolean"
    },
    "tier": {
      "@id": "mtok:tier",
      "@type": "xsd:string"
    },
    "relayEndpoint": {
      "@id": "mtok:relayEndpoint",
      "@type": "xsd:string"
    },
    "settlementPubkey": {
      "@id": "mtok:settlementPubkey",
      "@type": "xsd:string"
    },
    "requestHashScheme": {
      "@id": "mtok:requestHashScheme",
      "@type": "xsd:string"
    },
    "Trade": "mtok:Trade",
    "amountUsd": {
      "@id": "mtok:amountUsd",
      "@type": "xsd:decimal"
    },
    "buyerId": {
      "@id": "mtok:buyerId",
      "@type": "xsd:string"
    },
    "sellerId": {
      "@id": "mtok:sellerId",
      "@type": "xsd:string"
    },
    "bidId": {
      "@id": "mtok:bidId",
      "@type": "xsd:string"
    },
    "offerId": {
      "@id": "mtok:offerId",
      "@type": "xsd:string"
    },
    "executedAt": {
      "@id": "mtok:executedAt",
      "@type": "xsd:integer"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "mtok.market API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects mtok.market's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-18) from openapi/mtok-market-openapi.json.",
  "dcterms:created": "2026-11-18",
  "dcterms:source": [
    "openapi/mtok-market-openapi.json"
  ]
}