{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/virustotal/refs/heads/main/json-schema/RetrohuntJobObject-schema.json", "title": "RetrohuntJobObject", "description": "A Retrohunt job \u2014 scans the VT corpus historically with a YARA ruleset.", "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 RetrohuntJobObject.", "properties": { "rules": { "type": "string", "description": "Raw YARA rule text." }, "notification_email": { "type": "string", "format": "email" }, "corpus": { "type": "string", "enum": [ "main", "goodware" ], "description": "Which corpus the retrohunt runs against." }, "scanned_bytes": { "type": "integer" }, "num_matches": { "type": "integer" }, "status": { "type": "string", "enum": [ "queued", "starting", "running", "aborting", "aborted", "finished" ] }, "progress": { "type": "number" }, "eta_seconds": { "type": "integer" }, "creation_date": { "type": "integer" }, "start_date": { "type": "integer" }, "finish_date": { "type": "integer" }, "time_range": { "type": "object", "properties": { "start": { "type": "integer" }, "end": { "type": "integer" } } } } }, "relationships": { "type": "object", "description": "Pre-expanded relationships, keyed by relationship name.", "additionalProperties": true } }, "required": [ "id", "type", "attributes" ] }