# com.fedproxy.temp.xrpc.registration

> 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.fedproxy.temp.xrpc.registration)
- [Documentation](https://lexicon.garden/lexicon/did:plc:5svqtrhheairglgiiyvutzik/com.fedproxy.temp.xrpc.registration/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:5svqtrhheairglgiiyvutzik/com.fedproxy.temp.xrpc.registration/examples)

## Definitions

### `com.fedproxy.temp.xrpc.registration`

**Type**: `record`

A subscriber's signed registration. Proves custody of the did:key by carrying badge.blue attestations (network.attested.signature) over the nonce returned from com.fedproxy.temp.xrpc.getRegistrationNonce. Presented as the parameter to com.fedproxy.temp.xrpc.subscribe to open a relay channel bound to this key.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `key` | `string` | Yes | did:key public-key reference that signed the nonce; must match the key passed to getRegistrationNonce. |
| `nonce` | `bytes` | Yes | The 64-byte nonce issued by com.fedproxy.temp.xrpc.getRegistrationNonce that this registration signs over. |
| `signatures` | `ref` → `network.attested.signature#signatures` | Yes | badge.blue attestations (network.attested.signature) over the issued nonce, proving liveness and custody of the did:key. |

## Raw Schema

```json
{
  "id": "com.fedproxy.temp.xrpc.registration",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "key",
          "nonce",
          "signatures"
        ],
        "properties": {
          "key": {
            "type": "string",
            "description": "did:key public-key reference that signed the nonce; must match the key passed to getRegistrationNonce."
          },
          "nonce": {
            "type": "bytes",
            "description": "The 64-byte nonce issued by com.fedproxy.temp.xrpc.getRegistrationNonce that this registration signs over."
          },
          "signatures": {
            "ref": "network.attested.signature#signatures",
            "type": "ref",
            "description": "badge.blue attestations (network.attested.signature) over the issued nonce, proving liveness and custody of the did:key."
          }
        }
      },
      "description": "A subscriber's signed registration. Proves custody of the did:key by carrying badge.blue attestations (network.attested.signature) over the nonce returned from com.fedproxy.temp.xrpc.getRegistrationNonce. Presented as the parameter to com.fedproxy.temp.xrpc.subscribe to open a relay channel bound to this key."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
