{
"id": "com.publicdomainrelay.temp.market.submitRfp",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"rfpUri",
"rfpCid"
],
"properties": {
"rfpCid": {
"type": "string",
"description": "CID of the RFP record."
},
"rfpUri": {
"type": "string",
"description": "AT-URI of the RFP record."
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "NotApplicable"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"ok"
],
"properties": {
"ok": {
"type": "boolean"
},
"bidCid": {
"type": "string"
},
"bidUri": {
"type": "string"
}
}
},
"encoding": "application/json"
},
"description": "Submit an RFP directly to a bidder whose offering record matches the RFP payload NSID. The bidder creates a bid and optionally calls submitBid back to the RFP issuer. Must be called via PDS service-proxying (atproto-proxy); the receiver verifies the inter-service auth JWT and requires its issuer to be the DID that authored the referenced RFP record. The receiver additionally verifies the RFP's badge.blue attestations (network.attested.signature): at least one inline signature must verify against the attestation CID recomputed for the record in its authoring repository — the same durable, replayable check applied to RFPs discovered via the firehose, where no service-auth JWT exists."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}