# blue.cosm.forums.vote

> An upvote on a topic or comment, stored in the voter's own repo.

- Kind: record
- Record key: tid
- Authority: forums.cosm.blue
- 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/blue.cosm.forums.vote)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:rnn63n5auoexnihjf7zllr6l/blue.cosm.forums.vote/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:rnn63n5auoexnihjf7zllr6l/blue.cosm.forums.vote/analytics)

## Record (`blue.cosm.forums.vote`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `subject` (ref, required): The topic or comment being voted on.
  - Reference: `#strongRef`

## #strongRef (`blue.cosm.forums.vote#strongRef`)

Type: object

### Properties

- `cid` (string · cid, required)
- `uri` (string · at-uri, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An upvote on a topic or comment, stored in the voter's own repo.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "subject": {
            "description": "The topic or comment being voted on.",
            "ref": "#strongRef",
            "type": "ref"
          }
        },
        "required": [
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "strongRef": {
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid"
      ],
      "type": "object"
    }
  },
  "id": "blue.cosm.forums.vote",
  "lexicon": 1
}
```
