{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-intune/json-schema/microsoft-intune-device-compliance-policy-assignment-schema.json",
  "title": "deviceCompliancePolicyAssignment",
  "description": "Device compliance policy assignment.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-intune-device-compliance-policies-api-openapi.yml#/components/schemas/deviceCompliancePolicyAssignment",
  "type": "object",
  "properties": {
    "@odata.type": {
      "type": "string",
      "default": "#microsoft.graph.deviceCompliancePolicyAssignment"
    },
    "id": {
      "type": "string",
      "description": "Key of the entity."
    },
    "target": {
      "$ref": "#/$defs/deviceAndAppManagementAssignmentTarget"
    }
  },
  "$defs": {
    "deviceAndAppManagementAssignmentTarget": {
      "type": "object",
      "description": "Base type for assignment targets.",
      "properties": {
        "@odata.type": {
          "type": "string",
          "description": "The OData type of the assignment target."
        }
      }
    }
  }
}