work.lexical.rating
A record representing a rating of a work.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | lexical.work |
| Indexed |
Checks
Valid Lint pass{
"$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
}