{
  "$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
}
