{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/snow-software/json-schema/snow-software-license-bulk-update-operation-schema.json",
  "title": "LicenseBulkUpdateOperation",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snow-software-licenses-api-openapi.yml#/components/schemas/LicenseBulkUpdateOperation",
  "type": "object",
  "required": [
    "scope",
    "body"
  ],
  "properties": {
    "filter": {
      "description": "For more information on the available operators and which data types those operators work on, see [Filter API call results](https://docs.snowsoftware.io/snow-atlas-api/resources/get-started-with-apis/api-conventions#filter-api-call-results).",
      "type": "string"
    },
    "scope": {
      "description": "The scope of the update operation.",
      "x-enumDescriptions": {
        "Only": "The operation is performed only on the licenses whose IDs are specified.",
        "All": "The operation is performed on all licenses.",
        "AllExcept": "The operation is performed on every license except those whose IDs are specified."
      },
      "type": "string"
    },
    "ids": {
      "description": "The IDs that the operation is performed on.",
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      }
    },
    "body": {
      "$ref": "#/$defs/LicenseUpdate"
    }
  },
  "$defs": {
    "LicenseUpdate": {
      "description": "The update to be applied to all IDs.",
      "type": "object",
      "properties": {
        "status": {
          "description": "The scope of the update operation.",
          "x-enumDescriptions": {
            "Active": "The license is active and affects compliance position.",
            "Archived": "The license is archived and does not affect compliance position."
          },
          "type": "string"
        }
      }
    }
  }
}