{
"id": "com.publicdomainrelay.temp.market.bids.x402",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"cost",
"currency",
"frequency",
"prepay",
"url"
],
"properties": {
"url": {
"type": "string",
"description": "x402 payment endpoint URL. To settle payment the requester first mints a com.publicdomainrelay.temp.market.accepts.x402 record, then issues an x402-gated GET to `{url}/{accepts.x402 AT-URI}/{accepts.x402 CID}`; on payment the bidder mints and returns a com.publicdomainrelay.temp.market.receipts.x402 proof-of-payment record. That receipt is then used as the payload of the higher-level com.publicdomainrelay.temp.market.accept."
},
"cost": {
"type": "unknown",
"description": "Numeric price (integer or float) per the chosen frequency."
},
"prepay": {
"type": "boolean",
"description": "Whether payment is required before compute starts."
},
"currency": {
"type": "string",
"description": "Currency code, e.g. 'USDC'."
},
"frequency": {
"type": "string",
"description": "Billing frequency, e.g. 'monthly', 'hourly', 'one-time'."
}
}
},
"description": "Includes pricing/payment terms and x402 endpoint for issuing a receipt against an accept."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}