{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-application-list-with-info-schema.json",
  "title": "ApplicationListWithInfo",
  "description": "The properties of the information for the applications.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-umbrella-applications-api-openapi.yml#/components/schemas/ApplicationListWithInfo",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "description": "The list of information about the applications.",
      "items": {
        "$ref": "#/$defs/ApplicationObject"
      }
    },
    "currentPage": {
      "type": "integer",
      "description": "The index of the current page in the collection."
    },
    "totalPages": {
      "type": "integer",
      "description": "The total number of pages in the collection."
    },
    "itemsCount": {
      "type": "integer",
      "description": "The number of items in the collection."
    }
  },
  "$defs": {
    "AppType": {
      "type": "string",
      "description": "The type of the app.",
      "enum": [
        "saas",
        "paas",
        "iaas"
      ]
    },
    "ApplicationObject": {
      "type": "object",
      "description": "The properties of the app.",
      "required": [
        "id",
        "name",
        "description",
        "label",
        "weightedRisk",
        "category",
        "appType",
        "url",
        "vendor",
        "identitiesCount",
        "sources",
        "firstDetected",
        "lastDetected"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "The ID of the app."
        },
        "name": {
          "type": "string",
          "description": "The name of the app."
        },
        "description": {
          "type": "string",
          "description": "The description of the app."
        },
        "label": {
          "$ref": "#/$defs/Label"
        },
        "weightedRisk": {
          "$ref": "#/$defs/WeightedRisk"
        },
        "category": {
          "type": "string",
          "description": "The category applied to the app."
        },
        "subcategory": {
          "$ref": "#/$defs/subcategory"
        },
        "subcategory_content_types": {
          "$ref": "#/$defs/subcategory_content_types"
        },
        "appType": {
          "$ref": "#/$defs/AppType"
        },
        "url": {
          "type": "string",
          "description": "The URL of the app."
        },
        "vendor": {
          "type": "string",
          "description": "The vendor that owns the app."
        },
        "identitiesCount": {
          "type": "integer",
          "description": "The number of identities."
        },
        "sources": {
          "$ref": "#/$defs/Sources"
        },
        "firstDetected": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time (ISO 8601 timestamp) when the system first detected the app."
        },
        "lastDetected": {
          "type": "string",
          "description": "The date and time (ISO 8601 timestamp) when the system last detected the app.",
          "format": "date-time"
        }
      }
    },
    "CdfwSource": {
      "type": "object",
      "description": "The properties of the app's requests that are managed by the cloud-delivered firewall (CDFW).",
      "properties": {
        "name": {
          "type": "string",
          "description": "The type of traffic associated with the source.",
          "enum": [
            "cdfw"
          ]
        },
        "events": {
          "type": "integer",
          "description": "The number of CDFW L7 events for this app."
        },
        "blockedEvents": {
          "type": "integer",
          "description": "The number of CDFW L7 events that are blocked."
        }
      }
    },
    "DnsSource": {
      "type": "object",
      "description": "The properties of the app's DNS requests.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The type of traffic associated with the source.",
          "enum": [
            "dns"
          ]
        },
        "requests": {
          "type": "integer",
          "description": "The number of DNS requests for this app."
        },
        "blockedRequests": {
          "type": "integer",
          "description": "The number of DNS requests blocked, based on the policy configurations."
        }
      }
    },
    "Label": {
      "type": "string",
      "description": "The application label. Valid values are: `unreviewed`, `approved`, `notApproved`, `underAudit`.",
      "enum": [
        "unreviewed",
        "approved",
        "notApproved",
        "underAudit"
      ]
    },
    "Sources": {
      "type": "array",
      "description": "The list of app sources where the sources are DNS, Web (Secure Web Gateway), and cloud-delivered firewall (CDFW) traffic events.\nThe list can contain one or more of the source types.",
      "items": {
        "anyOf": [
          {
            "$ref": "#/$defs/DnsSource"
          },
          {
            "$ref": "#/$defs/SwgSource"
          },
          {
            "$ref": "#/$defs/CdfwSource"
          }
        ]
      }
    },
    "SwgSource": {
      "type": "object",
      "description": "The properties of the app's web requests.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The type of traffic associated with the source.",
          "enum": [
            "swg"
          ]
        },
        "totalTraffic": {
          "type": "integer",
          "description": "The total number of bytes inbound and outbound for this app in your environment."
        },
        "bytesIn": {
          "type": "integer",
          "description": "The number of bytes received (inbound)."
        },
        "bytesOut": {
          "type": "integer",
          "description": "The number of bytes sent (outbound)."
        },
        "blockedBytesOut": {
          "type": "integer",
          "description": "The number of bytes of outbound traffic that are blocked."
        }
      }
    },
    "WeightedRisk": {
      "type": "string",
      "description": "The risk the app poses to the environment.",
      "enum": [
        "veryLow",
        "low",
        "medium",
        "high",
        "veryHigh"
      ]
    },
    "subcategory": {
      "type": "string",
      "description": "The subcategory applied to the app."
    },
    "subcategory_content_types": {
      "type": "array",
      "description": "The list of content types for the subcategory applied to the app.",
      "items": {
        "type": "string",
        "description": "The content type of the subcategory applied to the app."
      }
    }
  }
}