{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-android/json-schema/google-android-application-schema.json",
  "title": "Application",
  "description": "Information about an app.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-android-androidmanagement-enterprises-api-openapi.yml#/components/schemas/Application",
  "type": "object",
  "properties": {
    "playStoreUrl": {
      "type": "string",
      "description": "A link to the (consumer) Google Play details page for the app."
    },
    "screenshotUrls": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "description": "A list of screenshot links representing the app."
    },
    "features": {
      "description": "Noteworthy features (if any) of this app.",
      "type": "array",
      "items": {
        "enum": [
          "APP_FEATURE_UNSPECIFIED",
          "VPN_APP"
        ],
        "type": "string"
      }
    },
    "distributionChannel": {
      "description": "How and to whom the package is made available.",
      "enum": [
        "DISTRIBUTION_CHANNEL_UNSPECIFIED",
        "PUBLIC_GOOGLE_HOSTED",
        "PRIVATE_GOOGLE_HOSTED",
        "PRIVATE_SELF_HOSTED"
      ],
      "type": "string"
    },
    "appTracks": {
      "items": {
        "$ref": "#/$defs/AppTrackInfo"
      },
      "description": "Application tracks visible to the enterprise.",
      "type": "array"
    },
    "smallIconUrl": {
      "type": "string",
      "description": "A link to a smaller image that can be used as an icon for the app. This image is suitable for use up to a pixel size of 128 x 128."
    },
    "title": {
      "type": "string",
      "description": "The title of the app. Localized."
    },
    "updateTime": {
      "description": "Output only. The approximate time (within 7 days) the app was last published.",
      "format": "google-datetime",
      "readOnly": true,
      "type": "string"
    },
    "description": {
      "description": "The localized promotional description, if available.",
      "type": "string"
    },
    "author": {
      "type": "string",
      "description": "The name of the author of the apps (for example, the app developer)."
    },
    "managedProperties": {
      "items": {
        "$ref": "#/$defs/ManagedProperty"
      },
      "type": "array",
      "description": "The set of managed properties available to be pre-configured for the app."
    },
    "fullDescription": {
      "type": "string",
      "description": "Full app description, if available."
    },
    "permissions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ApplicationPermission"
      },
      "description": "The permissions required by the app."
    },
    "iconUrl": {
      "description": "A link to an image that can be used as an icon for the app. This image is suitable for use up to a pixel size of 512 x 512.",
      "type": "string"
    },
    "name": {
      "description": "The name of the app in the form enterprises/{enterprise}/applications/{package_name}.",
      "type": "string"
    },
    "appVersions": {
      "description": "Versions currently available for this app.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/AppVersion"
      }
    },
    "appPricing": {
      "type": "string",
      "description": "Whether this app is free, free with in-app purchases, or paid. If the pricing is unspecified, this means the app is not generally available anymore (even though it might still be available to people who own it).",
      "enum": [
        "APP_PRICING_UNSPECIFIED",
        "FREE",
        "FREE_WITH_IN_APP_PURCHASE",
        "PAID"
      ]
    },
    "minAndroidSdkVersion": {
      "format": "int32",
      "description": "The minimum Android SDK necessary to run the app.",
      "type": "integer"
    },
    "recentChanges": {
      "description": "A localised description of the recent changes made to the app.",
      "type": "string"
    },
    "category": {
      "type": "string",
      "description": "The app category (e.g. RACING, SOCIAL, etc.)"
    },
    "contentRating": {
      "enum": [
        "CONTENT_RATING_UNSPECIFIED",
        "THREE_YEARS",
        "SEVEN_YEARS",
        "TWELVE_YEARS",
        "SIXTEEN_YEARS",
        "EIGHTEEN_YEARS"
      ],
      "description": "The content rating for this app.",
      "type": "string"
    },
    "availableCountries": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "description": "The countries which this app is available in as per ISO 3166-1 alpha-2."
    }
  },
  "$defs": {
    "AppTrackInfo": {
      "description": "Id to name association of a app track.",
      "type": "object",
      "properties": {
        "trackAlias": {
          "type": "string",
          "description": "The track name associated with the trackId, set in the Play Console. The name is modifiable from Play Console."
        },
        "trackId": {
          "type": "string",
          "description": "The unmodifiable unique track identifier, taken from the releaseTrackId in the URL of the Play Console page that displays the app’s track information."
        }
      }
    },
    "AppVersion": {
      "type": "object",
      "properties": {
        "versionString": {
          "type": "string",
          "description": "The string used in the Play store by the app developer to identify the version. The string is not necessarily unique or localized (for example, the string could be \"1.4\")."
        },
        "trackIds": {
          "description": "Track identifiers that the app version is published in. This does not include the production track (see production instead).",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "production": {
          "type": "boolean",
          "description": "If the value is True, it indicates that this version is a production track."
        },
        "versionCode": {
          "type": "integer",
          "format": "int32",
          "description": "Unique increasing identifier for the app version."
        }
      },
      "description": "This represents a single version of the app."
    },
    "ApplicationPermission": {
      "type": "object",
      "properties": {
        "permissionId": {
          "type": "string",
          "description": "An opaque string uniquely identifying the permission. Not localized."
        },
        "name": {
          "description": "The name of the permission. Localized.",
          "type": "string"
        },
        "description": {
          "type": "string",
          "description": "A longer description of the permission, providing more detail on what it affects. Localized."
        }
      },
      "description": "A permission required by the app."
    },
    "ManagedProperty": {
      "properties": {
        "type": {
          "type": "string",
          "description": "The type of the property.",
          "enum": [
            "MANAGED_PROPERTY_TYPE_UNSPECIFIED",
            "BOOL",
            "STRING",
            "INTEGER",
            "CHOICE",
            "MULTISELECT",
            "HIDDEN",
            "BUNDLE",
            "BUNDLE_ARRAY"
          ]
        },
        "key": {
          "type": "string",
          "description": "The unique key that the app uses to identify the property, e.g. \"com.google.android.gm.fieldname\"."
        },
        "description": {
          "description": "A longer description of the property, providing more detail of what it affects. Localized.",
          "type": "string"
        },
        "title": {
          "description": "The name of the property. Localized.",
          "type": "string"
        },
        "entries": {
          "items": {
            "$ref": "#/$defs/ManagedPropertyEntry"
          },
          "description": "For CHOICE or MULTISELECT properties, the list of possible entries.",
          "type": "array"
        },
        "defaultValue": {
          "description": "The default value of the property. BUNDLE_ARRAY properties don't have a default value."
        },
        "nestedProperties": {
          "items": {
            "$ref": "#/$defs/ManagedProperty"
          },
          "type": "array",
          "description": "For BUNDLE_ARRAY properties, the list of nested properties. A BUNDLE_ARRAY property is at most two levels deep."
        }
      },
      "description": "Managed property.",
      "type": "object"
    },
    "ManagedPropertyEntry": {
      "description": "An entry of a managed property.",
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The human-readable name of the value. Localized."
        },
        "value": {
          "type": "string",
          "description": "The machine-readable value of the entry, which should be used in the configuration. Not localized."
        }
      }
    }
  }
}