{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-intune/json-schema/microsoft-intune-device-compliance-policy-schema.json",
  "title": "deviceCompliancePolicy",
  "description": "This is the base class for Compliance policy. Compliance policies are platform specific and individual per-platform compliance policies inherit from here.",
  "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/deviceCompliancePolicy",
  "type": "object",
  "properties": {
    "@odata.type": {
      "type": "string",
      "default": "#microsoft.graph.deviceCompliancePolicy"
    },
    "id": {
      "type": "string",
      "description": "Key of the entity."
    },
    "createdDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "DateTime the object was created.",
      "readOnly": true
    },
    "description": {
      "type": "string",
      "description": "Admin provided description of the Device Configuration."
    },
    "lastModifiedDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "DateTime the object was last modified.",
      "readOnly": true
    },
    "displayName": {
      "type": "string",
      "description": "Admin provided name of the device configuration."
    },
    "version": {
      "type": "integer",
      "format": "int32",
      "description": "Version of the device configuration.",
      "readOnly": true
    }
  }
}