{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-storage-accounts/json-schema/azure-storage-accounts-encryption-scope-list-result-schema.json",
  "title": "EncryptionScopeListResult",
  "description": "The response of a EncryptionScope list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-storage-accounts-encryptionscopes-api-openapi.yml#/components/schemas/EncryptionScopeListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The EncryptionScope items on this page",
      "items": {
        "$ref": "#/$defs/EncryptionScope"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "EncryptionScope": {
      "type": "object",
      "description": "The Encryption Scope resource.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/EncryptionScopeProperties",
          "description": "Properties of the encryption scope.",
          "x-ms-client-flatten": true,
          "x-ms-client-name": "EncryptionScopeProperties"
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "EncryptionScopeKeyVaultProperties": {
      "type": "object",
      "description": "The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.",
      "properties": {
        "keyUri": {
          "type": "string",
          "description": "The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope."
        },
        "currentVersionedKeyIdentifier": {
          "type": "string",
          "description": "The object identifier of the current versioned Key Vault Key in use.",
          "readOnly": true
        },
        "lastKeyRotationTimestamp": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp of last rotation of the Key Vault Key.",
          "readOnly": true
        }
      }
    },
    "EncryptionScopeProperties": {
      "type": "object",
      "description": "Properties of the encryption scope.",
      "properties": {
        "source": {
          "$ref": "#/$defs/EncryptionScopeSource",
          "description": "The provider for the encryption scope. Possible values (case-insensitive):  Microsoft.Storage, Microsoft.KeyVault."
        },
        "state": {
          "$ref": "#/$defs/EncryptionScopeState",
          "description": "The state of the encryption scope. Possible values (case-insensitive):  Enabled, Disabled."
        },
        "creationTime": {
          "type": "string",
          "format": "date-time",
          "description": "Gets the creation date and time of the encryption scope in UTC.",
          "readOnly": true
        },
        "lastModifiedTime": {
          "type": "string",
          "format": "date-time",
          "description": "Gets the last modification date and time of the encryption scope in UTC.",
          "readOnly": true
        },
        "keyVaultProperties": {
          "$ref": "#/$defs/EncryptionScopeKeyVaultProperties",
          "description": "The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'."
        },
        "requireInfrastructureEncryption": {
          "type": "boolean",
          "description": "A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest."
        }
      }
    },
    "EncryptionScopeSource": {
      "type": "string",
      "description": "The provider for the encryption scope. Possible values (case-insensitive):  Microsoft.Storage, Microsoft.KeyVault.",
      "enum": [
        "Microsoft.Storage",
        "Microsoft.KeyVault"
      ],
      "x-ms-enum": {
        "name": "EncryptionScopeSource",
        "modelAsString": true,
        "values": [
          {
            "name": "Microsoft.Storage",
            "value": "Microsoft.Storage"
          },
          {
            "name": "Microsoft.KeyVault",
            "value": "Microsoft.KeyVault"
          }
        ]
      }
    },
    "EncryptionScopeState": {
      "type": "string",
      "description": "The state of the encryption scope. Possible values (case-insensitive):  Enabled, Disabled.",
      "enum": [
        "Enabled",
        "Disabled"
      ],
      "x-ms-enum": {
        "name": "EncryptionScopeState",
        "modelAsString": true,
        "values": [
          {
            "name": "Enabled",
            "value": "Enabled"
          },
          {
            "name": "Disabled",
            "value": "Disabled"
          }
        ]
      }
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "Resource": {
      "type": "object",
      "title": "Resource",
      "description": "Common fields that are returned in the response for all Azure Resource Manager resources",
      "properties": {
        "id": {
          "type": "string",
          "format": "arm-id",
          "description": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\"",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "The name of the resource",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"",
          "readOnly": true
        },
        "systemData": {
          "$ref": "#/$defs/systemData",
          "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "readOnly": true
        }
      },
      "x-ms-azure-resource": true
    }
  }
}