{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-sample-hash-samples-schema.json",
  "title": "SampleHashSamples",
  "description": "The hash sample information and list of hash samples.",
  "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/SampleHashSamples",
  "type": "object",
  "properties": {
    "totalresults": {
      "type": "integer",
      "description": "The total number of samples.",
      "format": "int64"
    },
    "moreDataAvailable": {
      "$ref": "#/$defs/moreDataAvailable"
    },
    "limit": {
      "$ref": "#/$defs/limit"
    },
    "offset": {
      "$ref": "#/$defs/offset"
    },
    "artifacts": {
      "type": "array",
      "description": "The list of samples.",
      "items": {
        "$ref": "#/$defs/Sample"
      }
    },
    "samples": {
      "type": "array",
      "description": "The list of all samples associated with the destination and related sample information.",
      "items": {
        "$ref": "#/$defs/Grids"
      }
    }
  },
  "$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."
        }
      }
    },
    "Grid": {
      "type": "object",
      "description": "The samples and information associated with the destination.",
      "properties": {
        "query": {
          "type": "string",
          "description": "The domain, IP, or URL."
        },
        "totalresults": {
          "type": "integer",
          "description": "The number of total results.",
          "format": "int64"
        },
        "moreDataAvailable": {
          "$ref": "#/$defs/moreDataAvailable"
        },
        "limit": {
          "$ref": "#/$defs/limit"
        },
        "offset": {
          "$ref": "#/$defs/offset"
        },
        "samples": {
          "type": "array",
          "description": "The list of hash samples and information for the destination.",
          "items": {
            "$ref": "#/$defs/Sample"
          }
        }
      }
    },
    "Grids": {
      "type": "array",
      "description": "The list of all samples associated with the destination.",
      "items": {
        "$ref": "#/$defs/Grid"
      }
    },
    "Sample": {
      "type": "object",
      "description": "The information about the hash sample.",
      "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"
          }
        }
      }
    },
    "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."
    },
    "limit": {
      "type": "integer",
      "description": "The maximum number of records to include in the response.",
      "format": "int64"
    },
    "moreDataAvailable": {
      "type": "boolean",
      "description": "Specifies whether more samples are available for the destination."
    },
    "offset": {
      "type": "integer",
      "description": "The place to start reading in the collection.",
      "format": "int64",
      "default": 0
    }
  }
}