# space.opendeck.signal

> Published by [opendeck.space](https://lexicon.garden/identity/did:plc:5xoilbawtptc3wha4zplgkwd)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:5xoilbawtptc3wha4zplgkwd/space.opendeck.signal)
- [Documentation](https://lexicon.garden/lexicon/did:plc:5xoilbawtptc3wha4zplgkwd/space.opendeck.signal/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:5xoilbawtptc3wha4zplgkwd/space.opendeck.signal/examples)

## Definitions

### `space.opendeck.signal`

**Type**: `record`

An encrypted WebRTC offer or answer to join a live battle. Deleted once the peers connect.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `payload` | `string` | Yes | AES-GCM ciphertext, readable only with the key in the invite link. |
| `subject` | `string` (at-uri) | Yes | The battle a guest offers to join, or the guest signal a host answers. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An encrypted WebRTC offer or answer to join a live battle. Deleted once the peers connect.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "payload": {
            "description": "AES-GCM ciphertext, readable only with the key in the invite link.",
            "maxGraphemes": 30000,
            "maxLength": 300000,
            "type": "string"
          },
          "subject": {
            "description": "The battle a guest offers to join, or the guest signal a host answers.",
            "format": "at-uri",
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          }
        },
        "required": [
          "subject",
          "payload",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "space.opendeck.signal",
  "lexicon": 1
}
```
