VirusTotal · Schema

CommentObject

A user-contributed comment attached to a file, URL, IP, domain, graph, or collection.

Anti-MalwareThreat IntelligenceSecurityFile AnalysisURL AnalysisYARAIoCSandboxMITRE ATT&CKGoogle Cloud

Properties

Name Type Description
id string Object identifier.
type string Object type discriminator.
links object Hypermedia links.
attributes object Type-specific attributes for CommentObject.
relationships object Pre-expanded relationships, keyed by relationship name.
View JSON Schema on GitHub

JSON Schema

virustotal-comment-object-schema.json Raw ↑
{
  "$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"
  ]
}