# tech.lenooby09.atbloons.epochRecoveryBallot

> Published by [lenooby09.twinkers.online](https://lexicon.garden/identity/did:plc:xocoka6dmx74ciqskczoh6ci)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:xocoka6dmx74ciqskczoh6ci/tech.lenooby09.atbloons.epochRecoveryBallot)
- [Documentation](https://lexicon.garden/lexicon/did:plc:xocoka6dmx74ciqskczoh6ci/tech.lenooby09.atbloons.epochRecoveryBallot/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:xocoka6dmx74ciqskczoh6ci/tech.lenooby09.atbloons.epochRecoveryBallot/examples)

## Definitions

### `tech.lenooby09.atbloons.epochRecoveryBallot`

**Type**: `record`

Proposes a recovery candidate for an account's stuck or failed epoch.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `epoch` | `integer` | Yes |  |
| `round` | `integer` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `networkId` | `string` | Yes |  |
| `accountDid` | `string` (did) | Yes |  |
| `genesisHash` | `string` | Yes |  |
| `previousEpoch` | `ref` → `com.atproto.repo.strongRef` | No |  |
| `selectedEpoch` | `ref` → `com.atproto.repo.strongRef` | Yes |  |
| `candidateEpochs` | `array` | Yes |  |
| `protocolVersion` | `string` | Yes |  |

## Raw Schema

```json
{
  "id": "tech.lenooby09.atbloons.epochRecoveryBallot",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "networkId",
          "protocolVersion",
          "genesisHash",
          "createdAt",
          "accountDid",
          "epoch",
          "round",
          "candidateEpochs",
          "selectedEpoch"
        ],
        "properties": {
          "epoch": {
            "type": "integer",
            "minimum": 0
          },
          "round": {
            "type": "integer",
            "minimum": 1
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "networkId": {
            "type": "string",
            "maxLength": 64,
            "minLength": 3
          },
          "accountDid": {
            "type": "string",
            "format": "did"
          },
          "genesisHash": {
            "type": "string",
            "maxLength": 64,
            "minLength": 64
          },
          "previousEpoch": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "selectedEpoch": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "candidateEpochs": {
            "type": "array",
            "items": {
              "ref": "com.atproto.repo.strongRef",
              "type": "ref"
            },
            "minLength": 2
          },
          "protocolVersion": {
            "type": "string",
            "maxLength": 64,
            "knownValues": [
              "v1",
              "v2"
            ]
          }
        }
      },
      "description": "Proposes a recovery candidate for an account's stuck or failed epoch."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
