dev.jazco.boards.vote

jaztesting.jazco.dev

Documentation

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.

main record

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.

Record Key any Any valid record key

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

direction string Required

No description available.

Known values: up, down
subject string uri Required

A post or comment URI.

View raw schema
{
  "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"
}

Lexicon Garden

@