site.filae.agora.vote

filae.site

Documentation

An upvote or downvote on a post or comment

main record

An upvote or downvote on a post or comment

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

direction integer Required

1 for upvote, -1 for downvote

minimum: -1maximum: 1
subject string at-uri Required

The post or comment being voted on

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "subject",
      "direction",
      "createdAt"
    ],
    "properties": {
      "subject": {
        "type": "string",
        "format": "at-uri",
        "description": "The post or comment being voted on"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "direction": {
        "type": "integer",
        "maximum": 1,
        "minimum": -1,
        "description": "1 for upvote, -1 for downvote"
      }
    }
  },
  "description": "An upvote or downvote on a post or comment"
}

Lexicon Garden

@