{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/virustotal/refs/heads/main/json-schema/CommentObject-schema.json", "title": "CommentObject", "description": "A user-contributed comment attached to a file, URL, IP, domain, graph, or collection.", "type": "object", "properties": { "id": { "type": "string", "description": "Object identifier." }, "type": { "type": "string", "description": "Object type discriminator." }, "links": { "type": "object", "description": "Hypermedia links.", "properties": { "self": { "type": "string", "format": "uri" } } }, "attributes": { "type": "object", "description": "Type-specific attributes for CommentObject.", "properties": { "date": { "type": "integer", "description": "Unix epoch when posted." }, "text": { "type": "string", "description": "Comment body (markdown)." }, "html": { "type": "string", "description": "Rendered HTML of the comment." }, "tags": { "type": "array", "items": { "type": "string" } }, "votes": { "type": "object", "properties": { "abuse": { "type": "integer" }, "negative": { "type": "integer" }, "positive": { "type": "integer" } } } } }, "relationships": { "type": "object", "description": "Pre-expanded relationships, keyed by relationship name.", "additionalProperties": true } }, "required": [ "id", "type", "attributes" ] }