{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/snow-software/json-schema/snow-software-bulk-update-applications-request-schema.json",
  "title": "BulkUpdateApplicationsRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snow-software-applications-api-openapi.yml#/components/schemas/BulkUpdateApplicationsRequest",
  "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 applications whose IDs are specified.",
        "All": "The operation is performed on all applications.",
        "AllExcept": "The operation is performed on every application except those whose IDs are specified."
      },
      "type": "string",
      "enum": [
        "Only",
        "All",
        "AllExcept"
      ]
    },
    "ids": {
      "description": "The IDs that the operation is performed on.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "body": {
      "$ref": "#/$defs/ApplicationMarkers"
    }
  },
  "$defs": {
    "ApplicationMarkers": {
      "description": "The update to be applied to all IDs.",
      "type": "object",
      "properties": {
        "singleSignOn": {
          "description": "```true``` if the application is marked as single sign-on only; otherwise, ```false```.",
          "type": "boolean"
        },
        "approved": {
          "description": "```true``` if the application is marked as for approved; otherwise, ```false```.",
          "type": "boolean"
        }
      },
      "required": [
        "singleSignOn",
        "approved"
      ]
    }
  }
}