work.lexical.rating

A record representing a rating of a work.

Repository @lexical.work did:plc:6acm263n23glqje6xrd2mgbt namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritylexical.work
Indexed

Showing version bafyreifeiyakvpbo2k4am2p46fpsjioogvbg5p2siebvqqezdlrgnbkplq. Show the latest

cid bafyreifeiyakvpbo2k4am2p46fpsjioogvbg5p2siebvqqezdlrgnbkplq

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A record representing a rating of a work.",
      "key": "tid",
      "record": {
        "properties": {
          "action": {
            "description": "AT URI of the action this rating is tied to.",
            "format": "at-uri",
            "maxLength": 2048,
            "type": "string"
          },
          "ratedAt": {
            "description": "When the rating was made. Optional; clients may inherit from the linked action if absent.",
            "format": "datetime",
            "maxLength": 64,
            "type": "string"
          },
          "value": {
            "description": "The rating value, from 0 to 10.",
            "maximum": 10,
            "minimum": 0,
            "required": true,
            "type": "integer"
          },
          "work": {
            "description": "URI of the work; an AT URI to a work.lexical.work.* record is preferred.",
            "format": "uri",
            "maxLength": 2048,
            "required": true,
            "type": "string"
          }
        },
        "required": [
          "work",
          "value"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "work.lexical.rating",
  "lexicon": 1
}