{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-sample-schema.json",
  "title": "Sample",
  "description": "The information about the hash sample.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-umbrella-cisco-secure-malware-analytics-integration-api-openapi.yml#/components/schemas/Sample",
  "type": "object",
  "properties": {
    "sha256": {
      "type": "string",
      "description": "The sha256 hash string."
    },
    "sha1": {
      "type": "string",
      "description": "The sha1 hash string."
    },
    "md5": {
      "type": "string",
      "description": "The md5 hash string."
    },
    "magictype": {
      "type": "string"
    },
    "threatscore": {
      "type": "integer",
      "format": "int64",
      "description": "The threat score assigned to the sample."
    },
    "size": {
      "type": "integer",
      "format": "int64",
      "description": "The size of the sample."
    },
    "firstSeen": {
      "$ref": "#/$defs/firstSeen"
    },
    "lastSeen": {
      "$ref": "#/$defs/lastSeen"
    },
    "visible": {
      "type": "boolean",
      "description": "Specifies whether the threat is visible."
    },
    "avresults": {
      "type": "array",
      "description": "The list of antivirus results.",
      "items": {
        "$ref": "#/$defs/Avresult"
      }
    }
  },
  "$defs": {
    "Avresult": {
      "type": "object",
      "description": "The information about the antivirus result.",
      "properties": {
        "signature": {
          "type": "string",
          "description": "The signature of the antivirus."
        },
        "product": {
          "type": "string",
          "description": "The name of the product associated with the antivirus."
        }
      }
    },
    "firstSeen": {
      "type": "integer",
      "format": "int64",
      "description": "The first time Umbrella related the domain for the resource record, specified\nin Unix Epoch time."
    },
    "lastSeen": {
      "type": "integer",
      "format": "int64",
      "description": "The last time Umbrella related the domain for the resource record, specified\nin Unix Epoch time."
    }
  }
}