{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-apps-collection-schema.json",
  "title": "AppsCollection",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-umbrella-apps-api-openapi.yml#/components/schemas/AppsCollection",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The application's internal CloudLock ID."
    },
    "app": {
      "$ref": "#/$defs/App"
    },
    "scope_categories": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ScopeCategory"
      },
      "description": "The list of application scope category."
    },
    "classification": {
      "$ref": "#/$defs/Classification"
    },
    "detected_at": {
      "type": "string",
      "description": "The time when the app was detected, specified as a timestamp in UTC."
    },
    "users_count": {
      "type": "integer",
      "description": "The number of users that have the application installed."
    },
    "admins_count": {
      "type": "integer",
      "description": "The number of administrators that have the application installed."
    }
  },
  "$defs": {
    "App": {
      "type": "object",
      "description": "The information about the application.",
      "properties": {
        "category": {
          "type": "string",
          "description": "The app's category."
        },
        "id": {
          "type": "string",
          "description": "The internal Cloudlock id for the application."
        },
        "install_type": {
          "type": "string",
          "description": "A string that describes the installation type (across the domain or by a user). Possible values are: domain_wide, user."
        },
        "is_revokable": {
          "type": "boolean",
          "description": "Indicates whether the app can be revoked."
        },
        "name": {
          "type": "string",
          "description": "The name of the application, for example: Google Drive."
        },
        "origin_id": {
          "type": "string",
          "description": "The location where the app was installed."
        },
        "trust_rating": {
          "type": "string",
          "description": "The community trust rating score."
        },
        "vendor": {
          "$ref": "#/$defs/Vendor"
        }
      }
    },
    "Classification": {
      "type": "object",
      "properties": {
        "method": {
          "type": "string",
          "description": "The method where the classification was changed. Possible values are: manual, policy."
        },
        "reason": {
          "type": "string",
          "description": "The reason for the classification."
        },
        "type": {
          "type": "string",
          "description": "Application's classification type. Possible values are: unclassified, trusted, restricted, banned."
        },
        "updated_at": {
          "type": "string",
          "description": "The classification's last update time, specified as a timestamp in UTC."
        }
      },
      "description": "The application's classification resource."
    },
    "ScopeCategory": {
      "type": "object",
      "description": "The scope categories resource returns information on the access scopes, which exist per each category.\nScope category strings: `FDATA` (full data access), `BINFO` (basic info), `LACES` (limited access to data and files),\n`PINFO` (payment information), and `INBO`X (access inbox or contact information).",
      "properties": {
        "title": {
          "type": "string",
          "description": "The categories title, for example: `Basic Information`."
        },
        "category_id": {
          "type": "string",
          "description": "The category id. For example: `FDATA`, `BINFO`, `LACES`, and `PINFO`."
        }
      }
    },
    "Vendor": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the vendor. For example: google."
        }
      }
    }
  }
}