Hashlock Markets · JSON-LD Context

Hashlock Markets Context

JSON-LD context defining the semantic vocabulary for Hashlock Markets from Hashlock Markets.

12 Classes 100 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/
hashlock: https://hashlock.markets/schema#

Classes

Error Asset Rfq CreateRfq FundOutpoint Swap AcceptResult Quote Thread Message Webhook SigningMaterial

Properties

Property Type Container
error string
id string
chain string
symbol string
name string
address string
decimals integer
enabled boolean
verified boolean
source string
logoAt dateTime
logoAnimated boolean
direction string
baseAssetId string
baseAmount string
quoteAssetId string
status string
expiresAt dateTime
ttlSeconds integer
visibility string
askAmount string
targetAddress string
txid string
vout integer
value integer
rfqId string
threadId string
makerId string
takerId string
initiatorUserId string
secretCiphertext string
meta
feeBps integer
feeAmount string
feeAssetId string
aAssetId string
aChain string
aAmount string
aTimelock dateTime
aPayoutAddress string
aClaimTo string
aRefundAddress string
aHtlcAddress string
aFundTx string
aFundOutpoints list
aClaimTx string
aRefundTx string
bAssetId string
bChain string
bAmount string
bTimelock dateTime
bPayoutAddress string
bClaimTo string
bRefundAddress string
bHtlcAddress string
bFundTx string
bFundOutpoints list
bClaimTx string
bRefundTx string
createdAt dateTime
updatedAt dateTime
thread reference
swap reference
quoteAmount string
currentQuoteAmount string
pendingAmount string
pendingBy string
takerAccepted boolean
makerAccepted boolean
counterpartyName string
senderId string
kind string
body string
url string
events list
lastDeliveryAt dateTime
lastStatus integer
family string
sign string
note string
chainId integer
from string
txs list
payTo string
amountSats string
topUp boolean
feePayTo string
feeAmountSats string
toAddress string
psbtBase64 string
sighashHex string
sighashHexes list
feeSats integer
preimageHex string
timelockUnix integer
escrow string
transactionBase64 string
blockhash string
lastValidBlockHeight integer
transactions list

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://hashlock.markets/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "hashlock": "https://hashlock.markets/schema#",
    "Error": "hashlock:Error",
    "error": {
      "@id": "hashlock:error",
      "@type": "xsd:string"
    },
    "Asset": "hashlock:Asset",
    "id": {
      "@id": "hashlock:id",
      "@type": "xsd:string"
    },
    "chain": {
      "@id": "hashlock:chain",
      "@type": "xsd:string"
    },
    "symbol": {
      "@id": "hashlock:symbol",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "hashlock:name",
      "@type": "xsd:string"
    },
    "address": {
      "@id": "hashlock:address",
      "@type": "xsd:string"
    },
    "decimals": {
      "@id": "hashlock:decimals",
      "@type": "xsd:integer"
    },
    "enabled": {
      "@id": "hashlock:enabled",
      "@type": "xsd:boolean"
    },
    "verified": {
      "@id": "hashlock:verified",
      "@type": "xsd:boolean"
    },
    "source": {
      "@id": "hashlock:source",
      "@type": "xsd:string"
    },
    "logoAt": {
      "@id": "hashlock:logoAt",
      "@type": "xsd:dateTime"
    },
    "logoAnimated": {
      "@id": "hashlock:logoAnimated",
      "@type": "xsd:boolean"
    },
    "Rfq": "hashlock:Rfq",
    "direction": {
      "@id": "hashlock:direction",
      "@type": "xsd:string"
    },
    "baseAssetId": {
      "@id": "hashlock:baseAssetId",
      "@type": "xsd:string"
    },
    "baseAmount": {
      "@id": "hashlock:baseAmount",
      "@type": "xsd:string"
    },
    "quoteAssetId": {
      "@id": "hashlock:quoteAssetId",
      "@type": "xsd:string"
    },
    "status": {
      "@id": "hashlock:status",
      "@type": "xsd:string"
    },
    "expiresAt": {
      "@id": "hashlock:expiresAt",
      "@type": "xsd:dateTime"
    },
    "CreateRfq": "hashlock:CreateRfq",
    "ttlSeconds": {
      "@id": "hashlock:ttlSeconds",
      "@type": "xsd:integer"
    },
    "visibility": {
      "@id": "hashlock:visibility",
      "@type": "xsd:string"
    },
    "askAmount": {
      "@id": "hashlock:askAmount",
      "@type": "xsd:string"
    },
    "targetAddress": {
      "@id": "hashlock:targetAddress",
      "@type": "xsd:string"
    },
    "FundOutpoint": "hashlock:FundOutpoint",
    "txid": {
      "@id": "hashlock:txid",
      "@type": "xsd:string"
    },
    "vout": {
      "@id": "hashlock:vout",
      "@type": "xsd:integer"
    },
    "value": {
      "@id": "hashlock:value",
      "@type": "xsd:integer"
    },
    "Swap": "hashlock:Swap",
    "rfqId": {
      "@id": "hashlock:rfqId",
      "@type": "xsd:string"
    },
    "threadId": {
      "@id": "hashlock:threadId",
      "@type": "xsd:string"
    },
    "makerId": {
      "@id": "hashlock:makerId",
      "@type": "xsd:string"
    },
    "takerId": {
      "@id": "hashlock:takerId",
      "@type": "xsd:string"
    },
    "initiatorUserId": {
      "@id": "hashlock:initiatorUserId",
      "@type": "xsd:string"
    },
    "secretCiphertext": {
      "@id": "hashlock:secretCiphertext",
      "@type": "xsd:string"
    },
    "meta": {
      "@id": "hashlock:meta"
    },
    "feeBps": {
      "@id": "hashlock:feeBps",
      "@type": "xsd:integer"
    },
    "feeAmount": {
      "@id": "hashlock:feeAmount",
      "@type": "xsd:string"
    },
    "feeAssetId": {
      "@id": "hashlock:feeAssetId",
      "@type": "xsd:string"
    },
    "aAssetId": {
      "@id": "hashlock:aAssetId",
      "@type": "xsd:string"
    },
    "aChain": {
      "@id": "hashlock:aChain",
      "@type": "xsd:string"
    },
    "aAmount": {
      "@id": "hashlock:aAmount",
      "@type": "xsd:string"
    },
    "aTimelock": {
      "@id": "hashlock:aTimelock",
      "@type": "xsd:dateTime"
    },
    "aPayoutAddress": {
      "@id": "hashlock:aPayoutAddress",
      "@type": "xsd:string"
    },
    "aClaimTo": {
      "@id": "hashlock:aClaimTo",
      "@type": "xsd:string"
    },
    "aRefundAddress": {
      "@id": "hashlock:aRefundAddress",
      "@type": "xsd:string"
    },
    "aHtlcAddress": {
      "@id": "hashlock:aHtlcAddress",
      "@type": "xsd:string"
    },
    "aFundTx": {
      "@id": "hashlock:aFundTx",
      "@type": "xsd:string"
    },
    "aFundOutpoints": {
      "@id": "hashlock:aFundOutpoints",
      "@container": "@list"
    },
    "aClaimTx": {
      "@id": "hashlock:aClaimTx",
      "@type": "xsd:string"
    },
    "aRefundTx": {
      "@id": "hashlock:aRefundTx",
      "@type": "xsd:string"
    },
    "bAssetId": {
      "@id": "hashlock:bAssetId",
      "@type": "xsd:string"
    },
    "bChain": {
      "@id": "hashlock:bChain",
      "@type": "xsd:string"
    },
    "bAmount": {
      "@id": "hashlock:bAmount",
      "@type": "xsd:string"
    },
    "bTimelock": {
      "@id": "hashlock:bTimelock",
      "@type": "xsd:dateTime"
    },
    "bPayoutAddress": {
      "@id": "hashlock:bPayoutAddress",
      "@type": "xsd:string"
    },
    "bClaimTo": {
      "@id": "hashlock:bClaimTo",
      "@type": "xsd:string"
    },
    "bRefundAddress": {
      "@id": "hashlock:bRefundAddress",
      "@type": "xsd:string"
    },
    "bHtlcAddress": {
      "@id": "hashlock:bHtlcAddress",
      "@type": "xsd:string"
    },
    "bFundTx": {
      "@id": "hashlock:bFundTx",
      "@type": "xsd:string"
    },
    "bFundOutpoints": {
      "@id": "hashlock:bFundOutpoints",
      "@container": "@list"
    },
    "bClaimTx": {
      "@id": "hashlock:bClaimTx",
      "@type": "xsd:string"
    },
    "bRefundTx": {
      "@id": "hashlock:bRefundTx",
      "@type": "xsd:string"
    },
    "createdAt": {
      "@id": "hashlock:createdAt",
      "@type": "xsd:dateTime"
    },
    "updatedAt": {
      "@id": "hashlock:updatedAt",
      "@type": "xsd:dateTime"
    },
    "AcceptResult": "hashlock:AcceptResult",
    "thread": {
      "@id": "hashlock:thread",
      "@type": "@id"
    },
    "swap": {
      "@id": "hashlock:swap",
      "@type": "@id"
    },
    "Quote": "hashlock:Quote",
    "quoteAmount": {
      "@id": "hashlock:quoteAmount",
      "@type": "xsd:string"
    },
    "Thread": "hashlock:Thread",
    "currentQuoteAmount": {
      "@id": "hashlock:currentQuoteAmount",
      "@type": "xsd:string"
    },
    "pendingAmount": {
      "@id": "hashlock:pendingAmount",
      "@type": "xsd:string"
    },
    "pendingBy": {
      "@id": "hashlock:pendingBy",
      "@type": "xsd:string"
    },
    "takerAccepted": {
      "@id": "hashlock:takerAccepted",
      "@type": "xsd:boolean"
    },
    "makerAccepted": {
      "@id": "hashlock:makerAccepted",
      "@type": "xsd:boolean"
    },
    "counterpartyName": {
      "@id": "hashlock:counterpartyName",
      "@type": "xsd:string"
    },
    "Message": "hashlock:Message",
    "senderId": {
      "@id": "hashlock:senderId",
      "@type": "xsd:string"
    },
    "kind": {
      "@id": "hashlock:kind",
      "@type": "xsd:string"
    },
    "body": {
      "@id": "hashlock:body",
      "@type": "xsd:string"
    },
    "Webhook": "hashlock:Webhook",
    "url": {
      "@id": "hashlock:url",
      "@type": "xsd:string"
    },
    "events": {
      "@id": "hashlock:events",
      "@container": "@list"
    },
    "lastDeliveryAt": {
      "@id": "hashlock:lastDeliveryAt",
      "@type": "xsd:dateTime"
    },
    "lastStatus": {
      "@id": "hashlock:lastStatus",
      "@type": "xsd:integer"
    },
    "SigningMaterial": "hashlock:SigningMaterial",
    "family": {
      "@id": "hashlock:family",
      "@type": "xsd:string"
    },
    "sign": {
      "@id": "hashlock:sign",
      "@type": "xsd:string"
    },
    "note": {
      "@id": "hashlock:note",
      "@type": "xsd:string"
    },
    "chainId": {
      "@id": "hashlock:chainId",
      "@type": "xsd:integer"
    },
    "from": {
      "@id": "hashlock:from",
      "@type": "xsd:string"
    },
    "txs": {
      "@id": "hashlock:txs",
      "@container": "@list"
    },
    "payTo": {
      "@id": "hashlock:payTo",
      "@type": "xsd:string"
    },
    "amountSats": {
      "@id": "hashlock:amountSats",
      "@type": "xsd:string"
    },
    "topUp": {
      "@id": "hashlock:topUp",
      "@type": "xsd:boolean"
    },
    "feePayTo": {
      "@id": "hashlock:feePayTo",
      "@type": "xsd:string"
    },
    "feeAmountSats": {
      "@id": "hashlock:feeAmountSats",
      "@type": "xsd:string"
    },
    "toAddress": {
      "@id": "hashlock:toAddress",
      "@type": "xsd:string"
    },
    "psbtBase64": {
      "@id": "hashlock:psbtBase64",
      "@type": "xsd:string"
    },
    "sighashHex": {
      "@id": "hashlock:sighashHex",
      "@type": "xsd:string"
    },
    "sighashHexes": {
      "@id": "hashlock:sighashHexes",
      "@container": "@list"
    },
    "feeSats": {
      "@id": "hashlock:feeSats",
      "@type": "xsd:integer"
    },
    "preimageHex": {
      "@id": "hashlock:preimageHex",
      "@type": "xsd:string"
    },
    "timelockUnix": {
      "@id": "hashlock:timelockUnix",
      "@type": "xsd:integer"
    },
    "escrow": {
      "@id": "hashlock:escrow",
      "@type": "xsd:string"
    },
    "transactionBase64": {
      "@id": "hashlock:transactionBase64",
      "@type": "xsd:string"
    },
    "blockhash": {
      "@id": "hashlock:blockhash",
      "@type": "xsd:string"
    },
    "lastValidBlockHeight": {
      "@id": "hashlock:lastValidBlockHeight",
      "@type": "xsd:integer"
    },
    "transactions": {
      "@id": "hashlock:transactions",
      "@container": "@list"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Hashlock Markets API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Hashlock Markets'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-11) from openapi/hashlock-markets-openapi.json.",
  "dcterms:created": "2026-11-11",
  "dcterms:source": [
    "openapi/hashlock-markets-openapi.json"
  ]
}