{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-android/json-schema/google-android-managed-configuration-schema.json",
  "title": "ManagedConfiguration",
  "description": " *Deprecated:* New integrations cannot use this method and can refer to our new recommendations ",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-android-androidenterprise-managedconfigurationsfordevice-api-openapi.yml#/components/schemas/ManagedConfiguration",
  "type": "object",
  "properties": {
    "productId": {
      "description": "The ID of the product that the managed configuration is for, e.g. \"app:com.google.android.gm\".",
      "type": "string"
    },
    "managedProperty": {
      "description": "The set of managed properties for this configuration.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/ManagedProperty"
      }
    },
    "configurationVariables": {
      "$ref": "#/$defs/ConfigurationVariables",
      "description": "Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user."
    },
    "kind": {
      "description": "Deprecated.",
      "type": "string"
    }
  },
  "$defs": {
    "ConfigurationVariables": {
      "description": "A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user. The variable set will be used to replace placeholders in the managed configuration settings.",
      "properties": {
        "variableSet": {
          "description": "The variable set that is attributed to the user.",
          "items": {
            "$ref": "#/$defs/VariableSet"
          },
          "type": "array"
        },
        "mcmId": {
          "description": "The ID of the managed configurations settings.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ManagedProperty": {
      "description": "A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema.",
      "type": "object",
      "properties": {
        "valueInteger": {
          "type": "integer",
          "description": "The integer value - this will only be present if type of the property is integer.",
          "format": "int32"
        },
        "valueStringArray": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "The list of string values - this will only be present if type of the property is multiselect."
        },
        "valueBundleArray": {
          "description": "The list of bundles of properties - this will only be present if type of the property is bundle_array.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ManagedPropertyBundle"
          }
        },
        "valueBool": {
          "type": "boolean",
          "description": "The boolean value - this will only be present if type of the property is bool."
        },
        "valueBundle": {
          "$ref": "#/$defs/ManagedPropertyBundle",
          "description": "The bundle of managed properties - this will only be present if type of the property is bundle."
        },
        "valueString": {
          "description": "The string value - this will only be present if type of the property is string, choice or hidden.",
          "type": "string"
        },
        "key": {
          "type": "string",
          "description": "The unique key that identifies the property."
        }
      }
    },
    "ManagedPropertyBundle": {
      "properties": {
        "managedProperty": {
          "items": {
            "$ref": "#/$defs/ManagedProperty"
          },
          "description": "The list of managed properties.",
          "type": "array"
        }
      },
      "description": "A bundle of managed properties.",
      "type": "object"
    },
    "VariableSet": {
      "type": "object",
      "properties": {
        "placeholder": {
          "description": "The placeholder string; defined by EMM.",
          "type": "string"
        },
        "userValue": {
          "description": "The value of the placeholder, specific to the user.",
          "type": "string"
        }
      },
      "description": "A variable set is a key-value pair of EMM-provided placeholders and its corresponding value, which is attributed to a user. For example, $FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders should start with a '$' sign and should be alphanumeric only."
    }
  }
}