{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/anilist/refs/heads/main/json-schema/anilist-threadcomment-schema.json", "title": "ThreadComment", "description": "Forum Thread Comment", "type": "object", "properties": { "id": { "type": "integer", "description": "The id of the comment" }, "userId": { "type": "integer", "description": "The user id of the comment's owner" }, "threadId": { "type": "integer", "description": "The id of thread the comment belongs to" }, "comment": { "type": "string", "description": "The text content of the comment (Markdown)" }, "likeCount": { "type": "integer", "description": "The amount of likes the comment has" }, "isLiked": { "type": "boolean", "description": "If the currently authenticated user liked the comment" }, "siteUrl": { "type": "string", "description": "The url for the comment page on the AniList website" }, "createdAt": { "type": "integer", "description": "The time of the comments creation" }, "updatedAt": { "type": "integer", "description": "The time of the comments last update" }, "thread": { "$ref": "./anilist-thread-schema.json", "description": "The thread the comment belongs to" }, "user": { "$ref": "./anilist-user-schema.json", "description": "The user who created the comment" }, "likes": { "type": "array", "items": { "$ref": "./anilist-user-schema.json" }, "description": "The users who liked the comment" }, "childComments": { "type": "object", "description": "The comment's child reply comments" }, "isLocked": { "type": "boolean", "description": "If the comment tree is locked and may not receive replies or edits" } }, "required": [ "id", "likeCount", "createdAt", "updatedAt" ] }