{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-storage-accounts/json-schema/azure-storage-accounts-context-cache-container-list-result-schema.json",
  "title": "ContextCacheContainerListResult",
  "description": "The response of a ContextCacheContainer list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-storage-accounts-contextcachecontainers-api-openapi.yml#/components/schemas/ContextCacheContainerListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The ContextCacheContainer items on this page",
      "items": {
        "$ref": "#/$defs/ContextCacheContainer"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "AiProvider": {
      "type": "string",
      "description": "The AI provider associated with a container.",
      "enum": [
        "OpenAI"
      ],
      "x-ms-enum": {
        "name": "AiProvider",
        "modelAsString": true,
        "values": [
          {
            "name": "OpenAI",
            "value": "OpenAI",
            "description": "OpenAI provider."
          }
        ]
      }
    },
    "ContextCacheContainer": {
      "type": "object",
      "description": "A container resource within a Context Cache",
      "properties": {
        "properties": {
          "$ref": "#/$defs/ContextCacheContainerProperties",
          "description": "The resource-specific properties for this resource."
        }
      },
      "required": [
        "properties"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "ContextCacheContainerProperties": {
      "type": "object",
      "description": "Details of a container within a Context Cache.",
      "properties": {
        "description": {
          "type": "string",
          "description": "Container description.",
          "maxLength": 250
        },
        "modelName": {
          "type": "string",
          "description": "The model name associated with this container (e.g., gpt-4, claude-3).",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "provider": {
          "$ref": "#/$defs/AiProvider",
          "description": "The AI provider associated with this container.",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "timeToLive": {
          "type": "integer",
          "format": "int32",
          "description": "The Time to Live (TTL) in days (1–30) for this container. Blobs in the container that have not been accessed within this number of days will be automatically deleted. If not specified at creation time, it defaults to 1 day.",
          "minimum": 1,
          "maximum": 30
        },
        "provisioningState": {
          "$ref": "#/$defs/ContextCacheProvisioningState",
          "description": "The status of the last operation.",
          "readOnly": true
        }
      },
      "required": [
        "modelName",
        "provider"
      ]
    },
    "ContextCacheProvisioningState": {
      "type": "string",
      "description": "The status of the current operation.",
      "enum": [
        "Succeeded",
        "Failed",
        "Canceled",
        "Creating",
        "Updating",
        "Deleting",
        "Accepted"
      ],
      "x-ms-enum": {
        "name": "ContextCacheProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "Resource has been created."
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Resource creation failed."
          },
          {
            "name": "Canceled",
            "value": "Canceled",
            "description": "Resource creation was canceled."
          },
          {
            "name": "Creating",
            "value": "Creating",
            "description": "Initial provisioning in progress"
          },
          {
            "name": "Updating",
            "value": "Updating",
            "description": "Update in progress"
          },
          {
            "name": "Deleting",
            "value": "Deleting",
            "description": "Deletion in progress"
          },
          {
            "name": "Accepted",
            "value": "Accepted",
            "description": "Change accepted for processing"
          }
        ]
      },
      "readOnly": true
    },
    "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
    }
  }
}