work.lexical.review

A record representing a review of a work.

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

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A record representing a review of a work.",
      "key": "tid",
      "record": {
        "properties": {
          "action": {
            "description": "AT URI of the action this review is tied to.",
            "format": "at-uri",
            "maxLength": 2048,
            "type": "string"
          },
          "facets": {
            "items": {
              "nullable": false,
              "ref": "social.lexical.richtext.facet",
              "type": "ref"
            },
            "nullable": false,
            "required": false,
            "type": "array"
          },
          "rating": {
            "description": "AT URI of a rating associated with this review.",
            "format": "at-uri",
            "maxLength": 2048,
            "type": "string"
          },
          "text": {
            "description": "The review text.",
            "maxGraphemes": 20480,
            "maxLength": 10240,
            "required": true,
            "type": "string"
          },
          "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",
          "text"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "work.lexical.review",
  "lexicon": 1
}