CoW Swap · JSON-LD Context
Cow Protocol Context
JSON-LD context defining the semantic vocabulary for Cow Protocol from CoW Swap.
96 Classes
218 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
cow:
https://cow.fi/schema#
Classes
Interaction
Token
Order
LegacyQuoteResponse
QuoteResponse
Calldata
SolveRequest
SolveResponse
SettleRequest
SettleFastPathRequest
RevealRequest
RevealResponse
SurplusFee
PriceImprovement
VolumeFee
Quote
JitOrder
Error
OrderQuoteResponse
PriceEstimationError
Resource
PaymentRequirements
PaymentRequired
PaymentPayload
PaymentResponse
ChannelState
ProxyError
AppDataObject
OnchainOrderData
EthflowData
OrderKind
OrderClass
SellTokenSource
BuyTokenDestination
PriceQuality
OrderStatus
OrderParameters
OrderCreation
OrderMetaData
AuctionOrder
Auction
CompetitionAuction
ExecutedAmounts
CompetitionOrderStatus
OrderCancellations
OrderCancellation
Trade
SigningScheme
EcdsaSigningScheme
OrderPostError
OrderCancellationError
OrderQuoteSideKindSell
OrderQuoteSideKindBuy
SolverCompetitionResponse
SolverSettlement
NativePriceResponse
TotalSurplus
InteractionData
StoredOrderQuote
Surplus
Volume
ExecutedProtocolFee
DebugOrderResponse
DebugEvent
DebugAuction
DebugProposedSolution
DebugExecution
DebugProtocolFee
DebugTrade
DebugSettlementAttempt
DebugFeePolicy
SimulationType
AccessListItem
StateObject
TenderlyRequest
SimulationRequest
OrderSimulation
TokenInfo
Asset
FlashloanHint
Flashloan
SellTokenBalance
BuyTokenBalance
TokenReserve
ConstantProductPool
WeightedProductPool
StablePool
ConcentratedLiquidityPool
ForeignLimitOrder
Fulfillment
JitTrade
LiquidityInteraction
Allowance
CustomInteraction
Solution
Call
Properties
| Property | Type | Container |
|---|---|---|
| target | reference | |
| value | reference | |
| callData | string | |
| address | reference | |
| price | ||
| trusted | boolean | |
| uid | reference | |
| sellToken | ||
| buyToken | ||
| sellAmount | ||
| buyAmount | ||
| created | string | |
| validTo | integer | |
| kind | string | |
| receiver | ||
| owner | ||
| partiallyFillable | boolean | |
| executed | ||
| preInteractions | list | |
| postInteractions | list | |
| sellTokenBalance | string | |
| buyTokenBalance | string | |
| class | string | |
| appData | string | |
| signingScheme | string | |
| signature | string | |
| protocolFees | list | |
| quote | ||
| penaltyCapNative | ||
| amount | reference | |
| interactions | list | |
| solver | ||
| gas | integer | |
| txOrigin | ||
| clearingPrices | ||
| jitOrders | list | |
| supportsFastPath | boolean | |
| internalized | string | |
| uninternalized | string | |
| id | integer | |
| orders | list | |
| tokens | list | |
| deadline | reference | |
| surplusCapturingJitOrderOwners | list | |
| solutions | list | |
| solutionId | integer | |
| submissionDeadlineLatestBlock | integer | |
| auctionId | integer | |
| quoteId | integer | |
| order | ||
| limitPrices | ||
| calldata | reference | |
| maxVolumeFactor | decimal | |
| factor | decimal | |
| fee | reference | |
| executedAmount | reference | |
| side | string | |
| sellTokenSource | string | |
| buyTokenSource | string | |
| description | string | |
| from | ||
| expiration | string | |
| verified | boolean | |
| protocolFeeBps | string | |
| errorType | string | |
| data | ||
| url | reference | |
| mimeType | string | |
| scheme | string | |
| network | string | |
| asset | string | |
| payTo | ||
| maxTimeoutSeconds | integer | |
| extra | ||
| x402Version | integer | |
| resource | ||
| accepts | list | |
| error | string | |
| extensions | ||
| accepted | ||
| payload | ||
| success | boolean | |
| transaction | string | |
| payer | string | |
| errorReason | string | |
| errorMessage | string | |
| channelId | string | |
| balance | ||
| totalClaimed | ||
| chargedCumulativeAmount | ||
| withdrawRequestedAt | integer | |
| refundNonce | string | |
| message | string | |
| fullAppData | reference | |
| sender | ||
| placementError | string | |
| refundTxHash | ||
| userValidTo | integer | |
| appDataHash | ||
| feeAmount | ||
| gasAmount | string | |
| gasPrice | string | |
| sellTokenPrice | string | |
| fullBalanceCheck | boolean | |
| creationDate | string | |
| availableBalance | ||
| executedSellAmount | ||
| executedSellAmountBeforeFees | ||
| executedBuyAmount | ||
| executedFeeAmount | ||
| invalidated | boolean | |
| status | ||
| isLiquidityOrder | boolean | |
| ethflowData | ||
| onchainUser | ||
| onchainOrderData | ||
| executedFee | ||
| executedFeeToken | ||
| gasCost | ||
| validFrom | integer | |
| settlementContract | ||
| block | integer | |
| prices | reference | |
| sell | reference | |
| buy | reference | |
| type | string | |
| orderUids | list | |
| blockNumber | integer | |
| logIndex | integer | |
| orderUid | ||
| sellAmountBeforeFees | ||
| txHash | ||
| executedProtocolFees | list | |
| auctionStartBlock | integer | |
| auctionDeadlineBlock | integer | |
| fastPath | boolean | |
| transactionHashes | list | |
| referenceScores | ||
| auction | reference | |
| ranking | decimal | |
| solverAddress | string | |
| score | ||
| referenceScore | ||
| isWinner | boolean | |
| filteredOut | boolean | |
| totalSurplus | string | |
| policy | reference | |
| token | ||
| events | list | |
| auctions | list | |
| trades | list | |
| label | string | |
| timestamp | dateTime | |
| reason | string | |
| nativePrices | ||
| proposedSolutions | list | |
| executions | list | |
| settlementAttempts | list | |
| feePolicies | list | |
| solutionUid | integer | |
| executedSell | reference | |
| executedBuy | reference | |
| startTimestamp | dateTime | |
| endTimestamp | dateTime | |
| startBlock | integer | |
| endBlock | integer | |
| deadlineBlock | integer | |
| outcome | string | |
| surplusFactor | decimal | |
| surplusMaxVolumeFactor | decimal | |
| volumeFactor | decimal | |
| priceImprovementFactor | decimal | |
| priceImprovementMaxVolumeFactor | decimal | |
| storage_keys | list | |
| code | string | |
| storage | ||
| network_id | string | |
| block_number | integer | |
| transaction_index | integer | |
| to | reference | |
| input | ||
| gas_price | integer | |
| simulation_type | reference | |
| save | boolean | |
| save_if_fails | boolean | |
| generate_access_list | boolean | |
| state_objects | ||
| access_list | list | |
| tenderly_request | reference | |
| decimals | integer | |
| symbol | string | |
| referencePrice | ||
| liquidityProvider | ||
| protocolAdapter | ||
| router | reference | |
| version | string | |
| balancer_pool_id | reference | |
| amplificationParameter | reference | |
| sqrtPrice | reference | |
| liquidity | reference | |
| tick | reference | |
| liquidityNet | ||
| makerToken | reference | |
| takerToken | reference | |
| makerAmount | reference | |
| takerAmount | reference | |
| takerTokenFeeAmount | reference | |
| inputToken | reference | |
| outputToken | reference | |
| inputAmount | reference | |
| outputAmount | reference | |
| spender | reference | |
| allowances | list | |
| inputs | list | |
| outputs | list | |
| maxFeePerGas | ||
| maxPriorityFeePerGas | ||
| flashloans |
JSON-LD Document
{
"@context": {
"@vocab": "https://cow.fi/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"cow": "https://cow.fi/schema#",
"Interaction": "cow:Interaction",
"target": {
"@id": "cow:target",
"@type": "@id"
},
"value": {
"@id": "cow:value",
"@type": "@id"
},
"callData": {
"@id": "cow:callData",
"@type": "xsd:string"
},
"Token": "cow:Token",
"address": {
"@id": "cow:address",
"@type": "@id"
},
"price": {
"@id": "cow:price"
},
"trusted": {
"@id": "cow:trusted",
"@type": "xsd:boolean"
},
"Order": "cow:Order",
"uid": {
"@id": "cow:uid",
"@type": "@id"
},
"sellToken": {
"@id": "cow:sellToken"
},
"buyToken": {
"@id": "cow:buyToken"
},
"sellAmount": {
"@id": "cow:sellAmount"
},
"buyAmount": {
"@id": "cow:buyAmount"
},
"created": {
"@id": "cow:created",
"@type": "xsd:string"
},
"validTo": {
"@id": "cow:validTo",
"@type": "xsd:integer"
},
"kind": {
"@id": "cow:kind",
"@type": "xsd:string"
},
"receiver": {
"@id": "cow:receiver"
},
"owner": {
"@id": "cow:owner"
},
"partiallyFillable": {
"@id": "cow:partiallyFillable",
"@type": "xsd:boolean"
},
"executed": {
"@id": "cow:executed"
},
"preInteractions": {
"@id": "cow:preInteractions",
"@container": "@list"
},
"postInteractions": {
"@id": "cow:postInteractions",
"@container": "@list"
},
"sellTokenBalance": {
"@id": "cow:sellTokenBalance",
"@type": "xsd:string"
},
"buyTokenBalance": {
"@id": "cow:buyTokenBalance",
"@type": "xsd:string"
},
"class": {
"@id": "cow:class",
"@type": "xsd:string"
},
"appData": {
"@id": "cow:appData",
"@type": "xsd:string"
},
"signingScheme": {
"@id": "cow:signingScheme",
"@type": "xsd:string"
},
"signature": {
"@id": "cow:signature",
"@type": "xsd:string"
},
"protocolFees": {
"@id": "cow:protocolFees",
"@container": "@list"
},
"quote": {
"@id": "cow:quote"
},
"penaltyCapNative": {
"@id": "cow:penaltyCapNative"
},
"LegacyQuoteResponse": "cow:LegacyQuoteResponse",
"amount": {
"@id": "cow:amount",
"@type": "@id"
},
"interactions": {
"@id": "cow:interactions",
"@container": "@list"
},
"solver": {
"@id": "cow:solver"
},
"gas": {
"@id": "cow:gas",
"@type": "xsd:integer"
},
"txOrigin": {
"@id": "cow:txOrigin"
},
"QuoteResponse": "cow:QuoteResponse",
"clearingPrices": {
"@id": "cow:clearingPrices"
},
"jitOrders": {
"@id": "cow:jitOrders",
"@container": "@list"
},
"supportsFastPath": {
"@id": "cow:supportsFastPath",
"@type": "xsd:boolean"
},
"Calldata": "cow:Calldata",
"internalized": {
"@id": "cow:internalized",
"@type": "xsd:string"
},
"uninternalized": {
"@id": "cow:uninternalized",
"@type": "xsd:string"
},
"SolveRequest": "cow:SolveRequest",
"id": {
"@id": "cow:id",
"@type": "xsd:integer"
},
"orders": {
"@id": "cow:orders",
"@container": "@list"
},
"tokens": {
"@id": "cow:tokens",
"@container": "@list"
},
"deadline": {
"@id": "cow:deadline",
"@type": "@id"
},
"surplusCapturingJitOrderOwners": {
"@id": "cow:surplusCapturingJitOrderOwners",
"@container": "@list"
},
"SolveResponse": "cow:SolveResponse",
"solutions": {
"@id": "cow:solutions",
"@container": "@list"
},
"SettleRequest": "cow:SettleRequest",
"solutionId": {
"@id": "cow:solutionId",
"@type": "xsd:integer"
},
"submissionDeadlineLatestBlock": {
"@id": "cow:submissionDeadlineLatestBlock",
"@type": "xsd:integer"
},
"auctionId": {
"@id": "cow:auctionId",
"@type": "xsd:integer"
},
"SettleFastPathRequest": "cow:SettleFastPathRequest",
"quoteId": {
"@id": "cow:quoteId",
"@type": "xsd:integer"
},
"order": {
"@id": "cow:order"
},
"limitPrices": {
"@id": "cow:limitPrices"
},
"RevealRequest": "cow:RevealRequest",
"RevealResponse": "cow:RevealResponse",
"calldata": {
"@id": "cow:calldata",
"@type": "@id"
},
"SurplusFee": "cow:SurplusFee",
"maxVolumeFactor": {
"@id": "cow:maxVolumeFactor",
"@type": "xsd:decimal"
},
"factor": {
"@id": "cow:factor",
"@type": "xsd:decimal"
},
"PriceImprovement": "cow:PriceImprovement",
"VolumeFee": "cow:VolumeFee",
"Quote": "cow:Quote",
"fee": {
"@id": "cow:fee",
"@type": "@id"
},
"JitOrder": "cow:JitOrder",
"executedAmount": {
"@id": "cow:executedAmount",
"@type": "@id"
},
"side": {
"@id": "cow:side",
"@type": "xsd:string"
},
"sellTokenSource": {
"@id": "cow:sellTokenSource",
"@type": "xsd:string"
},
"buyTokenSource": {
"@id": "cow:buyTokenSource",
"@type": "xsd:string"
},
"Error": "cow:Error",
"description": {
"@id": "cow:description",
"@type": "xsd:string"
},
"OrderQuoteResponse": "cow:OrderQuoteResponse",
"from": {
"@id": "cow:from"
},
"expiration": {
"@id": "cow:expiration",
"@type": "xsd:string"
},
"verified": {
"@id": "cow:verified",
"@type": "xsd:boolean"
},
"protocolFeeBps": {
"@id": "cow:protocolFeeBps",
"@type": "xsd:string"
},
"PriceEstimationError": "cow:PriceEstimationError",
"errorType": {
"@id": "cow:errorType",
"@type": "xsd:string"
},
"data": {
"@id": "cow:data"
},
"Resource": "cow:Resource",
"url": {
"@id": "cow:url",
"@type": "@id"
},
"mimeType": {
"@id": "cow:mimeType",
"@type": "xsd:string"
},
"PaymentRequirements": "cow:PaymentRequirements",
"scheme": {
"@id": "cow:scheme",
"@type": "xsd:string"
},
"network": {
"@id": "cow:network",
"@type": "xsd:string"
},
"asset": {
"@id": "cow:asset",
"@type": "xsd:string"
},
"payTo": {
"@id": "cow:payTo"
},
"maxTimeoutSeconds": {
"@id": "cow:maxTimeoutSeconds",
"@type": "xsd:integer"
},
"extra": {
"@id": "cow:extra"
},
"PaymentRequired": "cow:PaymentRequired",
"x402Version": {
"@id": "cow:x402Version",
"@type": "xsd:integer"
},
"resource": {
"@id": "cow:resource"
},
"accepts": {
"@id": "cow:accepts",
"@container": "@list"
},
"error": {
"@id": "cow:error",
"@type": "xsd:string"
},
"extensions": {
"@id": "cow:extensions"
},
"PaymentPayload": "cow:PaymentPayload",
"accepted": {
"@id": "cow:accepted"
},
"payload": {
"@id": "cow:payload"
},
"PaymentResponse": "cow:PaymentResponse",
"success": {
"@id": "cow:success",
"@type": "xsd:boolean"
},
"transaction": {
"@id": "cow:transaction",
"@type": "xsd:string"
},
"payer": {
"@id": "cow:payer",
"@type": "xsd:string"
},
"errorReason": {
"@id": "cow:errorReason",
"@type": "xsd:string"
},
"errorMessage": {
"@id": "cow:errorMessage",
"@type": "xsd:string"
},
"ChannelState": "cow:ChannelState",
"channelId": {
"@id": "cow:channelId",
"@type": "xsd:string"
},
"balance": {
"@id": "cow:balance"
},
"totalClaimed": {
"@id": "cow:totalClaimed"
},
"chargedCumulativeAmount": {
"@id": "cow:chargedCumulativeAmount"
},
"withdrawRequestedAt": {
"@id": "cow:withdrawRequestedAt",
"@type": "xsd:integer"
},
"refundNonce": {
"@id": "cow:refundNonce",
"@type": "xsd:string"
},
"ProxyError": "cow:ProxyError",
"message": {
"@id": "cow:message",
"@type": "xsd:string"
},
"AppDataObject": "cow:AppDataObject",
"fullAppData": {
"@id": "cow:fullAppData",
"@type": "@id"
},
"OnchainOrderData": "cow:OnchainOrderData",
"sender": {
"@id": "cow:sender"
},
"placementError": {
"@id": "cow:placementError",
"@type": "xsd:string"
},
"EthflowData": "cow:EthflowData",
"refundTxHash": {
"@id": "cow:refundTxHash"
},
"userValidTo": {
"@id": "cow:userValidTo",
"@type": "xsd:integer"
},
"OrderKind": "cow:OrderKind",
"OrderClass": "cow:OrderClass",
"SellTokenSource": "cow:SellTokenSource",
"BuyTokenDestination": "cow:BuyTokenDestination",
"PriceQuality": "cow:PriceQuality",
"OrderStatus": "cow:OrderStatus",
"OrderParameters": "cow:OrderParameters",
"appDataHash": {
"@id": "cow:appDataHash"
},
"feeAmount": {
"@id": "cow:feeAmount"
},
"gasAmount": {
"@id": "cow:gasAmount",
"@type": "xsd:string"
},
"gasPrice": {
"@id": "cow:gasPrice",
"@type": "xsd:string"
},
"sellTokenPrice": {
"@id": "cow:sellTokenPrice",
"@type": "xsd:string"
},
"OrderCreation": "cow:OrderCreation",
"fullBalanceCheck": {
"@id": "cow:fullBalanceCheck",
"@type": "xsd:boolean"
},
"OrderMetaData": "cow:OrderMetaData",
"creationDate": {
"@id": "cow:creationDate",
"@type": "xsd:string"
},
"availableBalance": {
"@id": "cow:availableBalance"
},
"executedSellAmount": {
"@id": "cow:executedSellAmount"
},
"executedSellAmountBeforeFees": {
"@id": "cow:executedSellAmountBeforeFees"
},
"executedBuyAmount": {
"@id": "cow:executedBuyAmount"
},
"executedFeeAmount": {
"@id": "cow:executedFeeAmount"
},
"invalidated": {
"@id": "cow:invalidated",
"@type": "xsd:boolean"
},
"status": {
"@id": "cow:status"
},
"isLiquidityOrder": {
"@id": "cow:isLiquidityOrder",
"@type": "xsd:boolean"
},
"ethflowData": {
"@id": "cow:ethflowData"
},
"onchainUser": {
"@id": "cow:onchainUser"
},
"onchainOrderData": {
"@id": "cow:onchainOrderData"
},
"executedFee": {
"@id": "cow:executedFee"
},
"executedFeeToken": {
"@id": "cow:executedFeeToken"
},
"gasCost": {
"@id": "cow:gasCost"
},
"validFrom": {
"@id": "cow:validFrom",
"@type": "xsd:integer"
},
"settlementContract": {
"@id": "cow:settlementContract"
},
"AuctionOrder": "cow:AuctionOrder",
"Auction": "cow:Auction",
"block": {
"@id": "cow:block",
"@type": "xsd:integer"
},
"prices": {
"@id": "cow:prices",
"@type": "@id"
},
"CompetitionAuction": "cow:CompetitionAuction",
"ExecutedAmounts": "cow:ExecutedAmounts",
"sell": {
"@id": "cow:sell",
"@type": "@id"
},
"buy": {
"@id": "cow:buy",
"@type": "@id"
},
"CompetitionOrderStatus": "cow:CompetitionOrderStatus",
"type": {
"@id": "cow:type",
"@type": "xsd:string"
},
"OrderCancellations": "cow:OrderCancellations",
"orderUids": {
"@id": "cow:orderUids",
"@container": "@list"
},
"OrderCancellation": "cow:OrderCancellation",
"Trade": "cow:Trade",
"blockNumber": {
"@id": "cow:blockNumber",
"@type": "xsd:integer"
},
"logIndex": {
"@id": "cow:logIndex",
"@type": "xsd:integer"
},
"orderUid": {
"@id": "cow:orderUid"
},
"sellAmountBeforeFees": {
"@id": "cow:sellAmountBeforeFees"
},
"txHash": {
"@id": "cow:txHash"
},
"executedProtocolFees": {
"@id": "cow:executedProtocolFees",
"@container": "@list"
},
"SigningScheme": "cow:SigningScheme",
"EcdsaSigningScheme": "cow:EcdsaSigningScheme",
"OrderPostError": "cow:OrderPostError",
"OrderCancellationError": "cow:OrderCancellationError",
"OrderQuoteSideKindSell": "cow:OrderQuoteSideKindSell",
"OrderQuoteSideKindBuy": "cow:OrderQuoteSideKindBuy",
"SolverCompetitionResponse": "cow:SolverCompetitionResponse",
"auctionStartBlock": {
"@id": "cow:auctionStartBlock",
"@type": "xsd:integer"
},
"auctionDeadlineBlock": {
"@id": "cow:auctionDeadlineBlock",
"@type": "xsd:integer"
},
"fastPath": {
"@id": "cow:fastPath",
"@type": "xsd:boolean"
},
"transactionHashes": {
"@id": "cow:transactionHashes",
"@container": "@list"
},
"referenceScores": {
"@id": "cow:referenceScores"
},
"auction": {
"@id": "cow:auction",
"@type": "@id"
},
"SolverSettlement": "cow:SolverSettlement",
"ranking": {
"@id": "cow:ranking",
"@type": "xsd:decimal"
},
"solverAddress": {
"@id": "cow:solverAddress",
"@type": "xsd:string"
},
"score": {
"@id": "cow:score"
},
"referenceScore": {
"@id": "cow:referenceScore"
},
"isWinner": {
"@id": "cow:isWinner",
"@type": "xsd:boolean"
},
"filteredOut": {
"@id": "cow:filteredOut",
"@type": "xsd:boolean"
},
"NativePriceResponse": "cow:NativePriceResponse",
"TotalSurplus": "cow:TotalSurplus",
"totalSurplus": {
"@id": "cow:totalSurplus",
"@type": "xsd:string"
},
"InteractionData": "cow:InteractionData",
"StoredOrderQuote": "cow:StoredOrderQuote",
"Surplus": "cow:Surplus",
"Volume": "cow:Volume",
"ExecutedProtocolFee": "cow:ExecutedProtocolFee",
"policy": {
"@id": "cow:policy",
"@type": "@id"
},
"token": {
"@id": "cow:token"
},
"DebugOrderResponse": "cow:DebugOrderResponse",
"events": {
"@id": "cow:events",
"@container": "@list"
},
"auctions": {
"@id": "cow:auctions",
"@container": "@list"
},
"trades": {
"@id": "cow:trades",
"@container": "@list"
},
"DebugEvent": "cow:DebugEvent",
"label": {
"@id": "cow:label",
"@type": "xsd:string"
},
"timestamp": {
"@id": "cow:timestamp",
"@type": "xsd:dateTime"
},
"reason": {
"@id": "cow:reason",
"@type": "xsd:string"
},
"DebugAuction": "cow:DebugAuction",
"nativePrices": {
"@id": "cow:nativePrices"
},
"proposedSolutions": {
"@id": "cow:proposedSolutions",
"@container": "@list"
},
"executions": {
"@id": "cow:executions",
"@container": "@list"
},
"settlementAttempts": {
"@id": "cow:settlementAttempts",
"@container": "@list"
},
"feePolicies": {
"@id": "cow:feePolicies",
"@container": "@list"
},
"DebugProposedSolution": "cow:DebugProposedSolution",
"solutionUid": {
"@id": "cow:solutionUid",
"@type": "xsd:integer"
},
"executedSell": {
"@id": "cow:executedSell",
"@type": "@id"
},
"executedBuy": {
"@id": "cow:executedBuy",
"@type": "@id"
},
"DebugExecution": "cow:DebugExecution",
"DebugProtocolFee": "cow:DebugProtocolFee",
"DebugTrade": "cow:DebugTrade",
"DebugSettlementAttempt": "cow:DebugSettlementAttempt",
"startTimestamp": {
"@id": "cow:startTimestamp",
"@type": "xsd:dateTime"
},
"endTimestamp": {
"@id": "cow:endTimestamp",
"@type": "xsd:dateTime"
},
"startBlock": {
"@id": "cow:startBlock",
"@type": "xsd:integer"
},
"endBlock": {
"@id": "cow:endBlock",
"@type": "xsd:integer"
},
"deadlineBlock": {
"@id": "cow:deadlineBlock",
"@type": "xsd:integer"
},
"outcome": {
"@id": "cow:outcome",
"@type": "xsd:string"
},
"DebugFeePolicy": "cow:DebugFeePolicy",
"surplusFactor": {
"@id": "cow:surplusFactor",
"@type": "xsd:decimal"
},
"surplusMaxVolumeFactor": {
"@id": "cow:surplusMaxVolumeFactor",
"@type": "xsd:decimal"
},
"volumeFactor": {
"@id": "cow:volumeFactor",
"@type": "xsd:decimal"
},
"priceImprovementFactor": {
"@id": "cow:priceImprovementFactor",
"@type": "xsd:decimal"
},
"priceImprovementMaxVolumeFactor": {
"@id": "cow:priceImprovementMaxVolumeFactor",
"@type": "xsd:decimal"
},
"SimulationType": "cow:SimulationType",
"AccessListItem": "cow:AccessListItem",
"storage_keys": {
"@id": "cow:storage_keys",
"@container": "@list"
},
"StateObject": "cow:StateObject",
"code": {
"@id": "cow:code",
"@type": "xsd:string"
},
"storage": {
"@id": "cow:storage"
},
"TenderlyRequest": "cow:TenderlyRequest",
"network_id": {
"@id": "cow:network_id",
"@type": "xsd:string"
},
"block_number": {
"@id": "cow:block_number",
"@type": "xsd:integer"
},
"transaction_index": {
"@id": "cow:transaction_index",
"@type": "xsd:integer"
},
"to": {
"@id": "cow:to",
"@type": "@id"
},
"input": {
"@id": "cow:input"
},
"gas_price": {
"@id": "cow:gas_price",
"@type": "xsd:integer"
},
"simulation_type": {
"@id": "cow:simulation_type",
"@type": "@id"
},
"save": {
"@id": "cow:save",
"@type": "xsd:boolean"
},
"save_if_fails": {
"@id": "cow:save_if_fails",
"@type": "xsd:boolean"
},
"generate_access_list": {
"@id": "cow:generate_access_list",
"@type": "xsd:boolean"
},
"state_objects": {
"@id": "cow:state_objects"
},
"access_list": {
"@id": "cow:access_list",
"@container": "@list"
},
"SimulationRequest": "cow:SimulationRequest",
"OrderSimulation": "cow:OrderSimulation",
"tenderly_request": {
"@id": "cow:tenderly_request",
"@type": "@id"
},
"TokenInfo": "cow:TokenInfo",
"decimals": {
"@id": "cow:decimals",
"@type": "xsd:integer"
},
"symbol": {
"@id": "cow:symbol",
"@type": "xsd:string"
},
"referencePrice": {
"@id": "cow:referencePrice"
},
"Asset": "cow:Asset",
"FlashloanHint": "cow:FlashloanHint",
"liquidityProvider": {
"@id": "cow:liquidityProvider"
},
"protocolAdapter": {
"@id": "cow:protocolAdapter"
},
"Flashloan": "cow:Flashloan",
"SellTokenBalance": "cow:SellTokenBalance",
"BuyTokenBalance": "cow:BuyTokenBalance",
"TokenReserve": "cow:TokenReserve",
"ConstantProductPool": "cow:ConstantProductPool",
"router": {
"@id": "cow:router",
"@type": "@id"
},
"WeightedProductPool": "cow:WeightedProductPool",
"version": {
"@id": "cow:version",
"@type": "xsd:string"
},
"balancer_pool_id": {
"@id": "cow:balancer_pool_id",
"@type": "@id"
},
"StablePool": "cow:StablePool",
"amplificationParameter": {
"@id": "cow:amplificationParameter",
"@type": "@id"
},
"ConcentratedLiquidityPool": "cow:ConcentratedLiquidityPool",
"sqrtPrice": {
"@id": "cow:sqrtPrice",
"@type": "@id"
},
"liquidity": {
"@id": "cow:liquidity",
"@type": "@id"
},
"tick": {
"@id": "cow:tick",
"@type": "@id"
},
"liquidityNet": {
"@id": "cow:liquidityNet"
},
"ForeignLimitOrder": "cow:ForeignLimitOrder",
"makerToken": {
"@id": "cow:makerToken",
"@type": "@id"
},
"takerToken": {
"@id": "cow:takerToken",
"@type": "@id"
},
"makerAmount": {
"@id": "cow:makerAmount",
"@type": "@id"
},
"takerAmount": {
"@id": "cow:takerAmount",
"@type": "@id"
},
"takerTokenFeeAmount": {
"@id": "cow:takerTokenFeeAmount",
"@type": "@id"
},
"Fulfillment": "cow:Fulfillment",
"JitTrade": "cow:JitTrade",
"LiquidityInteraction": "cow:LiquidityInteraction",
"inputToken": {
"@id": "cow:inputToken",
"@type": "@id"
},
"outputToken": {
"@id": "cow:outputToken",
"@type": "@id"
},
"inputAmount": {
"@id": "cow:inputAmount",
"@type": "@id"
},
"outputAmount": {
"@id": "cow:outputAmount",
"@type": "@id"
},
"Allowance": "cow:Allowance",
"spender": {
"@id": "cow:spender",
"@type": "@id"
},
"CustomInteraction": "cow:CustomInteraction",
"allowances": {
"@id": "cow:allowances",
"@container": "@list"
},
"inputs": {
"@id": "cow:inputs",
"@container": "@list"
},
"outputs": {
"@id": "cow:outputs",
"@container": "@list"
},
"Solution": "cow:Solution",
"maxFeePerGas": {
"@id": "cow:maxFeePerGas"
},
"maxPriorityFeePerGas": {
"@id": "cow:maxPriorityFeePerGas"
},
"flashloans": {
"@id": "cow:flashloans"
},
"Call": "cow:Call"
},
"@type": "schema:Dataset",
"schema:name": "CoW Swap API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects CoW Swap'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-10-28) from openapi/driver.yml, openapi/openapi.json, openapi/orderbook.yml.",
"dcterms:created": "2026-10-28",
"dcterms:source": [
"openapi/driver.yml",
"openapi/openapi.json",
"openapi/orderbook.yml",
"openapi/solvers.yml",
"openapi/x402.json"
]
}