dev.jazco.boards.vote

One vote per member per subject: the rkey is derived from the subject URI, so a changed vote is a putRecord and an unvote a deleteRecord.

Details · record, key any
Kindrecord
Record keyany
Authorityboards.jazco.dev
Indexed
cid bafyreidz2v5ngfj2hnjr7wmgkt2twidm5lp7qvluqxnqrle46rz23f4rxq

Checks

Valid
  • unlimited-string defs.main.record.properties.directionNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One vote per member per subject: the rkey is derived from the subject URI, so a changed vote is a putRecord and an unvote a deleteRecord.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "direction": {
            "knownValues": [
              "up",
              "down"
            ],
            "type": "string"
          },
          "subject": {
            "description": "A post or comment URI.",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "direction",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "dev.jazco.boards.vote",
  "lexicon": 1
}