{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/snow-software/json-schema/snow-software-bulk-update-computer-status-request-schema.json",
  "title": "BulkUpdateComputerStatusRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snow-software-computers-api-openapi.yml#/components/schemas/BulkUpdateComputerStatusRequest",
  "type": "object",
  "properties": {
    "scope": {
      "type": "string",
      "enum": [
        "Only"
      ],
      "description": "Scope for the bulk status update. Must be 'Only'."
    },
    "ids": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "description": "List of computer IDs to update."
    },
    "body": {
      "$ref": "#/$defs/BulkUpdateComputerStatusBody"
    }
  },
  "required": [
    "scope",
    "ids",
    "body"
  ],
  "$defs": {
    "BulkUpdateComputerStatusBody": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "Active",
            "Inactive",
            "Quarantined"
          ],
          "description": "Target status value for the bulk update."
        }
      },
      "required": [
        "Status"
      ]
    }
  }
}