# com.publicdomainrelay.temp.market.submitRfp

> Published by [johnandersen777.bsky.social](https://lexicon.garden/identity/did:plc:5svqtrhheairglgiiyvutzik)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:5svqtrhheairglgiiyvutzik/com.publicdomainrelay.temp.market.submitRfp)
- [Documentation](https://lexicon.garden/lexicon/did:plc:5svqtrhheairglgiiyvutzik/com.publicdomainrelay.temp.market.submitRfp/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:5svqtrhheairglgiiyvutzik/com.publicdomainrelay.temp.market.submitRfp/examples)

## Definitions

### `com.publicdomainrelay.temp.market.submitRfp`

**Type**: `procedure`

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.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `rfpCid` | `string` | Yes | CID of the RFP record. |
| `rfpUri` | `string` | Yes | AT-URI of the RFP record. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `ok` | `boolean` | Yes |  |
| `bidCid` | `string` | No |  |
| `bidUri` | `string` | No |  |

#### Errors

- **InvalidRequest**
- **NotApplicable**

## Raw Schema

```json
{
  "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
}
```
