{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-registered-swgdevice-settings-schema.json",
  "title": "RegisteredSWGDeviceSettings",
  "description": "The information about the Secure Web Gateway (SWG) setting for the devices in the organization.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-umbrella-swg-device-settings-api-openapi.yml#/components/schemas/RegisteredSWGDeviceSettings",
  "type": "object",
  "required": [
    "totalCount",
    "successCount",
    "failCount",
    "items",
    "value"
  ],
  "properties": {
    "totalCount": {
      "type": "integer",
      "description": "The total number of devices that requested to update the device setting."
    },
    "successCount": {
      "type": "integer",
      "description": "The number of devices that successfully changed the device setting."
    },
    "failCount": {
      "type": "integer",
      "description": "The number of devices that failed to change the device setting."
    },
    "items": {
      "type": "array",
      "description": "The list of device setting status properties.",
      "items": {
        "type": "object",
        "description": "The status and description for the device setting.",
        "required": [
          "originId",
          "code",
          "message"
        ],
        "properties": {
          "originId": {
            "$ref": "#/$defs/originId"
          },
          "code": {
            "type": "integer",
            "description": "The status code of the response."
          },
          "message": {
            "type": "string",
            "description": "The description of the response."
          }
        }
      }
    },
    "value": {
      "$ref": "#/$defs/value"
    }
  },
  "$defs": {
    "originId": {
      "description": "The origin ID of the device.",
      "type": "integer",
      "format": "int64"
    },
    "value": {
      "type": "string",
      "enum": [
        "0",
        "1"
      ],
      "description": "Specifies whether to enable the Secure Web Gateway (SWG) device settings.\nValid values are: `0` or `1` where `1` indicates enable."
    }
  }
}