TRDEFI · JSON-LD Context
Trdefi Com Context
JSON-LD context defining the semantic vocabulary for Trdefi Com from TRDEFI.
14 Classes
59 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
trdefi:
https://trdefi.com/schema#
Classes
Meta
StatsResponse
Badge
PositionRequest
PreparedTransaction
FeeBreakdown
PreparedPosition
PositionStatus
SwapRequest
PreparedSwap
Error
StrategyInventory
StrategyInventoryBatch
FusionOrder
Properties
| Property | Type | Container |
|---|---|---|
| requestId | string | |
| generatedAt | dateTime | |
| apiVersion | string | |
| freshnessSeconds | integer | |
| cached | boolean | |
| data | ||
| meta | reference | |
| schemaVersion | integer | |
| label | string | |
| message | string | |
| color | string | |
| cacheSeconds | integer | |
| isError | boolean | |
| chain | string | |
| wallet | string | |
| deposits | list | |
| makerFeeBps | integer | |
| includeApprovals | boolean | |
| checkBalances | boolean | |
| metadata | ||
| step | integer | |
| purpose | string | |
| to | string | |
| value | string | |
| description | string | |
| protocolFeeBps | integer | |
| protocolFeePercent | string | |
| makerFeePercent | string | |
| totalFeePercent | string | |
| embeddedIn | string | |
| removable | boolean | |
| explanation | string | |
| strategyHash | string | |
| amount | string | |
| direction | string | |
| tokenIn | string | |
| tokenOut | string | |
| error | string | |
| code | string | |
| retryable | boolean | |
| documentation | reference | |
| issues | list | |
| strategy_hash | string | |
| chain_id | integer | |
| pair | string | |
| catalogue_status | string | |
| fillable | boolean | |
| partial | boolean | |
| tokens | list | |
| count | integer | |
| results | list | |
| salt | string | |
| maker | string | |
| makerAsset | string | |
| takerAsset | string | |
| makingAmount | string | |
| takingAmount | string | |
| receiver | string | |
| makerTraits | string |
JSON-LD Document
{
"@context": {
"@vocab": "https://trdefi.com/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"trdefi": "https://trdefi.com/schema#",
"Meta": "trdefi:Meta",
"requestId": {
"@id": "trdefi:requestId",
"@type": "xsd:string"
},
"generatedAt": {
"@id": "trdefi:generatedAt",
"@type": "xsd:dateTime"
},
"apiVersion": {
"@id": "trdefi:apiVersion",
"@type": "xsd:string"
},
"freshnessSeconds": {
"@id": "trdefi:freshnessSeconds",
"@type": "xsd:integer"
},
"cached": {
"@id": "trdefi:cached",
"@type": "xsd:boolean"
},
"StatsResponse": "trdefi:StatsResponse",
"data": {
"@id": "trdefi:data"
},
"meta": {
"@id": "trdefi:meta",
"@type": "@id"
},
"Badge": "trdefi:Badge",
"schemaVersion": {
"@id": "trdefi:schemaVersion",
"@type": "xsd:integer"
},
"label": {
"@id": "trdefi:label",
"@type": "xsd:string"
},
"message": {
"@id": "trdefi:message",
"@type": "xsd:string"
},
"color": {
"@id": "trdefi:color",
"@type": "xsd:string"
},
"cacheSeconds": {
"@id": "trdefi:cacheSeconds",
"@type": "xsd:integer"
},
"isError": {
"@id": "trdefi:isError",
"@type": "xsd:boolean"
},
"PositionRequest": "trdefi:PositionRequest",
"chain": {
"@id": "trdefi:chain",
"@type": "xsd:string"
},
"wallet": {
"@id": "trdefi:wallet",
"@type": "xsd:string"
},
"deposits": {
"@id": "trdefi:deposits",
"@container": "@list"
},
"makerFeeBps": {
"@id": "trdefi:makerFeeBps",
"@type": "xsd:integer"
},
"includeApprovals": {
"@id": "trdefi:includeApprovals",
"@type": "xsd:boolean"
},
"checkBalances": {
"@id": "trdefi:checkBalances",
"@type": "xsd:boolean"
},
"metadata": {
"@id": "trdefi:metadata"
},
"PreparedTransaction": "trdefi:PreparedTransaction",
"step": {
"@id": "trdefi:step",
"@type": "xsd:integer"
},
"purpose": {
"@id": "trdefi:purpose",
"@type": "xsd:string"
},
"to": {
"@id": "trdefi:to",
"@type": "xsd:string"
},
"value": {
"@id": "trdefi:value",
"@type": "xsd:string"
},
"description": {
"@id": "trdefi:description",
"@type": "xsd:string"
},
"FeeBreakdown": "trdefi:FeeBreakdown",
"protocolFeeBps": {
"@id": "trdefi:protocolFeeBps",
"@type": "xsd:integer"
},
"protocolFeePercent": {
"@id": "trdefi:protocolFeePercent",
"@type": "xsd:string"
},
"makerFeePercent": {
"@id": "trdefi:makerFeePercent",
"@type": "xsd:string"
},
"totalFeePercent": {
"@id": "trdefi:totalFeePercent",
"@type": "xsd:string"
},
"embeddedIn": {
"@id": "trdefi:embeddedIn",
"@type": "xsd:string"
},
"removable": {
"@id": "trdefi:removable",
"@type": "xsd:boolean"
},
"explanation": {
"@id": "trdefi:explanation",
"@type": "xsd:string"
},
"PreparedPosition": "trdefi:PreparedPosition",
"PositionStatus": "trdefi:PositionStatus",
"SwapRequest": "trdefi:SwapRequest",
"strategyHash": {
"@id": "trdefi:strategyHash",
"@type": "xsd:string"
},
"amount": {
"@id": "trdefi:amount",
"@type": "xsd:string"
},
"direction": {
"@id": "trdefi:direction",
"@type": "xsd:string"
},
"tokenIn": {
"@id": "trdefi:tokenIn",
"@type": "xsd:string"
},
"tokenOut": {
"@id": "trdefi:tokenOut",
"@type": "xsd:string"
},
"PreparedSwap": "trdefi:PreparedSwap",
"Error": "trdefi:Error",
"error": {
"@id": "trdefi:error",
"@type": "xsd:string"
},
"code": {
"@id": "trdefi:code",
"@type": "xsd:string"
},
"retryable": {
"@id": "trdefi:retryable",
"@type": "xsd:boolean"
},
"documentation": {
"@id": "trdefi:documentation",
"@type": "@id"
},
"issues": {
"@id": "trdefi:issues",
"@container": "@list"
},
"StrategyInventory": "trdefi:StrategyInventory",
"strategy_hash": {
"@id": "trdefi:strategy_hash",
"@type": "xsd:string"
},
"chain_id": {
"@id": "trdefi:chain_id",
"@type": "xsd:integer"
},
"pair": {
"@id": "trdefi:pair",
"@type": "xsd:string"
},
"catalogue_status": {
"@id": "trdefi:catalogue_status",
"@type": "xsd:string"
},
"fillable": {
"@id": "trdefi:fillable",
"@type": "xsd:boolean"
},
"partial": {
"@id": "trdefi:partial",
"@type": "xsd:boolean"
},
"tokens": {
"@id": "trdefi:tokens",
"@container": "@list"
},
"StrategyInventoryBatch": "trdefi:StrategyInventoryBatch",
"count": {
"@id": "trdefi:count",
"@type": "xsd:integer"
},
"results": {
"@id": "trdefi:results",
"@container": "@list"
},
"FusionOrder": "trdefi:FusionOrder",
"salt": {
"@id": "trdefi:salt",
"@type": "xsd:string"
},
"maker": {
"@id": "trdefi:maker",
"@type": "xsd:string"
},
"makerAsset": {
"@id": "trdefi:makerAsset",
"@type": "xsd:string"
},
"takerAsset": {
"@id": "trdefi:takerAsset",
"@type": "xsd:string"
},
"makingAmount": {
"@id": "trdefi:makingAmount",
"@type": "xsd:string"
},
"takingAmount": {
"@id": "trdefi:takingAmount",
"@type": "xsd:string"
},
"receiver": {
"@id": "trdefi:receiver",
"@type": "xsd:string"
},
"makerTraits": {
"@id": "trdefi:makerTraits",
"@type": "xsd:string"
}
},
"@type": "schema:Dataset",
"schema:name": "TRDEFI API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects TRDEFI'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-27) from openapi/trdefi-com-openapi.json.",
"dcterms:created": "2026-11-27",
"dcterms:source": [
"openapi/trdefi-com-openapi.json"
]
}