{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/recorded-future/main/json-schema/recorded-future-create-yara-job-request-schema.json",
  "title": "CreateYaraJobRequest",
  "description": "Request to create an Auto YARA rule generation job from malware sample hashes.",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/recorded-future-malware-intelligence-api-openapi.yml#/components/schemas/CreateYaraJobRequest",
  "properties": {
    "hashes": {
      "items": {
        "type": "string"
      },
      "title": "SHA256 Hashes",
      "type": "array",
      "description": "A list of up to 100 SHA-256 hash values used to identify common hexadecimal patterns for YARA rules."
    },
    "name": {
      "title": "Name",
      "type": "string",
      "description": "The name of the Auto YARA job."
    },
    "query": {
      "title": "Query",
      "type": "string",
      "description": "The query that was used to find the initial hashes."
    }
  },
  "required": [
    "name",
    "hashes"
  ],
  "type": "object"
}