{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-graph/json-schema/microsoft-graph-microsoft-graph-targeted-managed-app-configuration-schema.json",
  "title": "microsoft.graph.targetedManagedAppConfiguration",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-graph-deviceappmanagement-targetedmanagedappconfiguration-api-openapi.yml#/components/schemas/microsoft.graph.targetedManagedAppConfiguration",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.managedAppConfiguration"
    },
    {
      "title": "targetedManagedAppConfiguration",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "deployedAppCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Count of apps to which the current policy is deployed.",
          "format": "int32"
        },
        "isAssigned": {
          "type": "boolean",
          "description": "Indicates if the policy is deployed to any inclusion groups or not."
        },
        "apps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.managedMobileApp"
          },
          "description": "List of apps to which the policy is deployed.",
          "x-ms-navigationProperty": true
        },
        "assignments": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.targetedManagedAppPolicyAssignment"
          },
          "description": "Navigation property to list of inclusion and exclusion groups to which the policy is deployed.",
          "x-ms-navigationProperty": true
        },
        "deploymentSummary": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.managedAppPolicyDeploymentSummary"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Navigation property to deployment summary of the configuration.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string",
          "default": "#microsoft.graph.targetedManagedAppConfiguration"
        }
      },
      "description": "Configuration used to deliver a set of custom settings as-is to all users in the targeted security group"
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.targetedManagedAppConfiguration",
  "$defs": {
    "microsoft.graph.deviceAndAppManagementAssignmentTarget": {
      "title": "deviceAndAppManagementAssignmentTarget",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "@odata.type": {
          "type": "string"
        }
      },
      "description": "Base type for assignment targets."
    },
    "microsoft.graph.entity": {
      "title": "entity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.keyValuePair": {
      "title": "keyValuePair",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name for this key-value pair"
        },
        "value": {
          "type": [
            "string",
            "null"
          ],
          "description": "Value for this key-value pair"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.managedAppConfiguration": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.managedAppPolicy"
        },
        {
          "title": "managedAppConfiguration",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "customSettings": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.keyValuePair"
              },
              "description": "A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service"
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.managedAppConfiguration"
            }
          },
          "description": "Configuration used to deliver a set of custom settings as-is to apps for users to whom the configuration is scoped"
        }
      ]
    },
    "microsoft.graph.managedAppPolicy": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "managedAppPolicy",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "createdDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": "string",
              "description": "The date and time the policy was created.",
              "format": "date-time"
            },
            "description": {
              "type": [
                "string",
                "null"
              ],
              "description": "The policy's description."
            },
            "displayName": {
              "type": "string",
              "description": "Policy display name."
            },
            "lastModifiedDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": "string",
              "description": "Last time the policy was modified.",
              "format": "date-time"
            },
            "version": {
              "type": [
                "string",
                "null"
              ],
              "description": "Version of the entity."
            },
            "@odata.type": {
              "type": "string"
            }
          },
          "description": "The ManagedAppPolicy resource represents a base type for platform specific policies."
        }
      ]
    },
    "microsoft.graph.managedAppPolicyDeploymentSummary": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "managedAppPolicyDeploymentSummary",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "configurationDeployedUserCount": {
              "maximum": 2147483647,
              "minimum": -2147483648,
              "type": "number",
              "format": "int32"
            },
            "configurationDeploymentSummaryPerApp": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.managedAppPolicyDeploymentSummaryPerApp"
              }
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ]
            },
            "lastRefreshTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": "string",
              "format": "date-time"
            },
            "version": {
              "type": [
                "string",
                "null"
              ],
              "description": "Version of the entity."
            },
            "@odata.type": {
              "type": "string"
            }
          },
          "description": "The ManagedAppEntity is the base entity type for all other entity types under app management workflow."
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.managedAppPolicyDeploymentSummary"
    },
    "microsoft.graph.managedAppPolicyDeploymentSummaryPerApp": {
      "title": "managedAppPolicyDeploymentSummaryPerApp",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "configurationAppliedUserCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Number of users the policy is applied.",
          "format": "int32"
        },
        "mobileAppIdentifier": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.mobileAppIdentifier"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Deployment of an app."
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "description": "Represents policy deployment summary per app."
    },
    "microsoft.graph.managedMobileApp": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "managedMobileApp",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "mobileAppIdentifier": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.mobileAppIdentifier"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The identifier for an app with it's operating system type."
            },
            "version": {
              "type": [
                "string",
                "null"
              ],
              "description": "Version of the entity."
            },
            "@odata.type": {
              "type": "string"
            }
          },
          "description": "The identifier for the deployment an app."
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.managedMobileApp"
    },
    "microsoft.graph.mobileAppIdentifier": {
      "title": "mobileAppIdentifier",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "@odata.type": {
          "type": "string"
        }
      },
      "description": "The identifier for a mobile app."
    },
    "microsoft.graph.targetedManagedAppPolicyAssignment": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "targetedManagedAppPolicyAssignment",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "target": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.deviceAndAppManagementAssignmentTarget"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Identifier for deployment to a group or app"
            },
            "@odata.type": {
              "type": "string"
            }
          },
          "description": "The type for deployment of groups or apps."
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.targetedManagedAppPolicyAssignment"
    }
  }
}