com.alephcubed.starmark.review
A review for a piece of media
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | starmark.alephcubed.com |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.bodyNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.mediaNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.subjectNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A review for a piece of media",
"key": "tid",
"record": {
"properties": {
"body": {
"description": "The optional content of the review.",
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"lang": {
"format": "language",
"type": "string"
},
"media": {
"description": "The type of media that is being reviewed.",
"knownValues": [
"com.alephcubed.starmark.review.book",
"com.alephcubed.starmark.review.movie",
"com.alephcubed.starmark.review.tvshow",
"com.alephcubed.starmark.review.game"
],
"type": "string"
},
"rating": {
"description": "The rating value of the review, usually in the form O <= rating <= ratingScale.",
"type": "integer"
},
"ratingScale": {
"default": 5,
"description": "The number of values (not including zero) in the rating scale, usually in the form O <= rating <= ratingScale.",
"type": "integer"
},
"spoiler": {
"default": false,
"description": "Whether the body of the review contains spoilers or not.",
"type": "boolean"
},
"subject": {
"description": "The name of the media being reviewed.",
"type": "string"
}
},
"required": [
"type",
"subject",
"ratingScale",
"rating",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "com.alephcubed.starmark.review",
"lexicon": 1
}