{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-android/json-schema/google-android-administrator-web-token-spec-schema.json",
  "title": "AdministratorWebTokenSpec",
  "description": "Specification for a token used to generate iframes. The token specifies what data the admin is allowed to modify and the URI the iframe is allowed to communiate with.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-android-androidenterprise-enterprises-api-openapi.yml#/components/schemas/AdministratorWebTokenSpec",
  "properties": {
    "webApps": {
      "$ref": "#/$defs/AdministratorWebTokenSpecWebApps",
      "description": "Options for displaying the Web Apps page."
    },
    "privateApps": {
      "$ref": "#/$defs/AdministratorWebTokenSpecPrivateApps",
      "description": "Options for displaying the Private Apps page."
    },
    "playSearch": {
      "$ref": "#/$defs/AdministratorWebTokenSpecPlaySearch",
      "description": "Options for displaying the managed Play Search apps page."
    },
    "zeroTouch": {
      "$ref": "#/$defs/AdministratorWebTokenSpecZeroTouch",
      "description": "Options for displaying the Zero Touch page."
    },
    "permission": {
      "type": "array",
      "description": "Deprecated. Use PlaySearch.approveApps.",
      "items": {
        "type": "string",
        "enum": [
          "unknown",
          "approveApps",
          "manageMcm"
        ]
      }
    },
    "parent": {
      "description": "The URI of the parent frame hosting the iframe. To prevent XSS, the iframe may not be hosted at other URIs. This URI must be https. Use whitespaces to separate multiple parent URIs.",
      "type": "string"
    },
    "storeBuilder": {
      "$ref": "#/$defs/AdministratorWebTokenSpecStoreBuilder",
      "description": "Options for displaying the Organize apps page."
    },
    "managedConfigurations": {
      "$ref": "#/$defs/AdministratorWebTokenSpecManagedConfigurations",
      "description": "Options for displaying the Managed Configuration page."
    }
  },
  "type": "object",
  "$defs": {
    "AdministratorWebTokenSpecManagedConfigurations": {
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Whether the Managed Configuration page is displayed. Default is true."
        }
      },
      "type": "object"
    },
    "AdministratorWebTokenSpecPlaySearch": {
      "type": "object",
      "properties": {
        "enabled": {
          "description": "Whether the managed Play Search apps page is displayed. Default is true.",
          "type": "boolean"
        },
        "approveApps": {
          "type": "boolean",
          "description": "Allow access to the iframe in approve mode. Default is false."
        }
      }
    },
    "AdministratorWebTokenSpecPrivateApps": {
      "properties": {
        "enabled": {
          "description": "Whether the Private Apps page is displayed. Default is true.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "AdministratorWebTokenSpecStoreBuilder": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Whether the Organize apps page is displayed. Default is true."
        }
      }
    },
    "AdministratorWebTokenSpecWebApps": {
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Whether the Web Apps page is displayed. Default is true."
        }
      },
      "type": "object"
    },
    "AdministratorWebTokenSpecZeroTouch": {
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Whether zero-touch embedded UI is usable with this token. If enabled, the admin can link zero-touch customers to this enterprise."
        }
      },
      "type": "object"
    }
  }
}