{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-blob-storage/json-schema/microsoft-azure-blob-storage-list-containers-segment-response-schema.json",
  "title": "ListContainersSegmentResponse",
  "description": "An enumeration of containers",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-blob-storage-openapi.yml#/components/schemas/ListContainersSegmentResponse",
  "type": "object",
  "required": [
    "ServiceEndpoint",
    "ContainerItems"
  ],
  "properties": {
    "ServiceEndpoint": {
      "type": "string"
    },
    "Prefix": {
      "type": "string"
    },
    "Marker": {
      "type": "string"
    },
    "MaxResults": {
      "type": "integer"
    },
    "ContainerItems": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ContainerItem"
      }
    },
    "NextMarker": {
      "type": "string"
    }
  },
  "$defs": {
    "ContainerItem": {
      "type": "object",
      "required": [
        "Name",
        "Properties"
      ],
      "description": "An Azure Storage container",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Deleted": {
          "type": "boolean"
        },
        "Version": {
          "type": "string"
        },
        "Properties": {
          "$ref": "#/$defs/ContainerProperties"
        },
        "Metadata": {
          "$ref": "#/$defs/ContainerMetadata"
        }
      }
    },
    "ContainerMetadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "ContainerProperties": {
      "type": "object",
      "required": [
        "Last-Modified",
        "Etag"
      ],
      "description": "Properties of a container",
      "properties": {
        "Last-Modified": {
          "type": "string",
          "format": "date-time-rfc1123"
        },
        "Etag": {
          "type": "string"
        },
        "LeaseStatus": {
          "$ref": "#/$defs/LeaseStatus"
        },
        "LeaseState": {
          "$ref": "#/$defs/LeaseState"
        },
        "LeaseDuration": {
          "$ref": "#/$defs/LeaseDuration"
        },
        "PublicAccess": {
          "$ref": "#/$defs/PublicAccessType"
        },
        "HasImmutabilityPolicy": {
          "type": "boolean"
        },
        "HasLegalHold": {
          "type": "boolean"
        },
        "DefaultEncryptionScope": {
          "type": "string"
        },
        "DenyEncryptionScopeOverride": {
          "type": "boolean",
          "x-ms-client-name": "PreventEncryptionScopeOverride"
        },
        "DeletedTime": {
          "type": "string",
          "format": "date-time-rfc1123"
        },
        "RemainingRetentionDays": {
          "type": "integer"
        },
        "ImmutableStorageWithVersioningEnabled": {
          "x-ms-client-name": "IsImmutableStorageWithVersioningEnabled",
          "type": "boolean",
          "description": "Indicates if version level worm is enabled on this container."
        }
      }
    },
    "LeaseDuration": {
      "type": "string",
      "enum": [
        "infinite",
        "fixed"
      ],
      "x-ms-enum": {
        "name": "LeaseDurationType",
        "modelAsString": false
      }
    },
    "LeaseState": {
      "type": "string",
      "enum": [
        "available",
        "leased",
        "expired",
        "breaking",
        "broken"
      ],
      "x-ms-enum": {
        "name": "LeaseStateType",
        "modelAsString": false
      }
    },
    "LeaseStatus": {
      "type": "string",
      "enum": [
        "locked",
        "unlocked"
      ],
      "x-ms-enum": {
        "name": "LeaseStatusType",
        "modelAsString": false
      }
    },
    "PublicAccessType": {
      "type": "string",
      "enum": [
        "container",
        "blob"
      ],
      "x-ms-enum": {
        "name": "PublicAccessType",
        "modelAsString": true
      }
    }
  }
}