# ca.astronomi.boards.vote

> An upvote on a topic or comment; deleting the record withdraws the vote. Stored in the voter's own repo.

- Kind: record
- Record key: tid
- Authority: boards.astronomi.ca
- Lexicon: 1
- Published by [cosm.blue](https://lexicon.garden/identity/did:plc:rnn63n5auoexnihjf7zllr6l), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:rnn63n5auoexnihjf7zllr6l/ca.astronomi.boards.vote)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:rnn63n5auoexnihjf7zllr6l/ca.astronomi.boards.vote/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:rnn63n5auoexnihjf7zllr6l/ca.astronomi.boards.vote/analytics)

## Record (`ca.astronomi.boards.vote`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `subject` (ref, required): The topic or comment being upvoted.
  - Reference: `ca.astronomi.boards.defs#strongRef`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An upvote on a topic or comment; deleting the record withdraws the vote. Stored in the voter's own repo.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "subject": {
            "description": "The topic or comment being upvoted.",
            "ref": "ca.astronomi.boards.defs#strongRef",
            "type": "ref"
          }
        },
        "required": [
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "ca.astronomi.boards.vote",
  "lexicon": 1
}
```
