{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/anomalyarmor-ai/json-schema/anomalyarmor-ai-bulk-apply-job-request-schema.json",
  "title": "BulkApplyJobRequest",
  "description": "Request body for POST /contracts/apply-jobs.\n\n`asset_public_ids` is required (non-empty); the job applies the\nsame contract to each. `yaml_body` is the raw ODCS document;\nparsing happens in the job so a retry re-validates on every run.\n`prune`/`include`/`exclude` mirror the single-asset apply\nendpoint's query params.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anomalyarmor-ai-contracts-api-openapi.yml#/components/schemas/BulkApplyJobRequest",
  "properties": {
    "asset_public_ids": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "minItems": 1,
      "title": "Asset Public Ids"
    },
    "yaml_body": {
      "type": "string",
      "minLength": 1,
      "title": "Yaml Body"
    },
    "prune": {
      "type": "boolean",
      "title": "Prune",
      "default": false
    },
    "include": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Include"
    },
    "exclude": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Exclude"
    }
  },
  "type": "object",
  "required": [
    "asset_public_ids",
    "yaml_body"
  ]
}