{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-bitlocker-recovery-key-schema.json",
  "title": "microsoft.graph.bitlockerRecoveryKey",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ad-informationprotection-bitlocker-api-openapi.yml#/components/schemas/microsoft.graph.bitlockerRecoveryKey",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "bitlockerRecoveryKey",
      "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 when the key was originally backed up to Microsoft Entra ID. Not nullable.",
          "format": "date-time"
        },
        "deviceId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Identifier of the device the BitLocker key is originally backed up from. Supports $filter (eq)."
        },
        "key": {
          "type": "string",
          "description": "The BitLocker recovery key. Requires $select to retrieve. Not nullable."
        },
        "volumeType": {
          "$ref": "#/$defs/microsoft.graph.volumeType"
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    }
  ],
  "$defs": {
    "microsoft.graph.entity": {
      "title": "entity",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    },
    "microsoft.graph.volumeType": {
      "title": "volumeType",
      "enum": [
        "operatingSystemVolume",
        "fixedDataVolume",
        "removableDataVolume",
        "unknownFutureValue"
      ],
      "type": "string"
    }
  }
}