{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-cognitive-services/json-schema/microsoft-cognitive-services-commitment-tier-list-result-schema.json",
  "title": "CommitmentTierListResult",
  "description": "The list of cognitive services accounts operation response.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-cognitive-services-commitmenttiers-api-openapi.yml#/components/schemas/CommitmentTierListResult",
  "type": "object",
  "properties": {
    "nextLink": {
      "type": "string",
      "description": "The link used to get the next page of CommitmentTier."
    },
    "value": {
      "type": "array",
      "description": "Gets the list of Cognitive Services accounts CommitmentTier and their properties.",
      "items": {
        "$ref": "#/$defs/CommitmentTier"
      },
      "readOnly": true,
      "x-ms-identifiers": [
        "kind",
        "tier",
        "skuName",
        "hostingModel",
        "planType"
      ]
    }
  },
  "$defs": {
    "CommitmentCost": {
      "type": "object",
      "description": "Cognitive Services account commitment cost.",
      "properties": {
        "commitmentMeterId": {
          "type": "string",
          "description": "Commitment meter Id."
        },
        "overageMeterId": {
          "type": "string",
          "description": "Overage meter Id."
        }
      }
    },
    "CommitmentQuota": {
      "type": "object",
      "description": "Cognitive Services account commitment quota.",
      "properties": {
        "quantity": {
          "type": "integer",
          "format": "int64",
          "description": "Commitment quota quantity."
        },
        "unit": {
          "type": "string",
          "description": "Commitment quota unit."
        }
      }
    },
    "CommitmentTier": {
      "type": "object",
      "description": "Cognitive Services account commitment tier.",
      "properties": {
        "kind": {
          "type": "string",
          "description": "The kind (type) of cognitive service account."
        },
        "skuName": {
          "type": "string",
          "description": "The name of the SKU. Ex - P3. It is typically a letter+number code"
        },
        "hostingModel": {
          "$ref": "#/$defs/HostingModel",
          "description": "Account hosting model."
        },
        "planType": {
          "type": "string",
          "description": "Commitment plan type."
        },
        "tier": {
          "type": "string",
          "description": "Commitment period commitment tier."
        },
        "maxCount": {
          "type": "integer",
          "format": "int32",
          "description": "Commitment period commitment max count."
        },
        "quota": {
          "$ref": "#/$defs/CommitmentQuota",
          "description": "Cognitive Services account commitment quota."
        },
        "cost": {
          "$ref": "#/$defs/CommitmentCost",
          "description": "Cognitive Services account commitment cost."
        }
      }
    },
    "HostingModel": {
      "type": "string",
      "description": "Account hosting model.",
      "enum": [
        "Web",
        "ConnectedContainer",
        "DisconnectedContainer",
        "ProvisionedWeb"
      ],
      "x-ms-enum": {
        "name": "HostingModel",
        "modelAsString": true,
        "values": [
          {
            "name": "Web",
            "value": "Web"
          },
          {
            "name": "ConnectedContainer",
            "value": "ConnectedContainer"
          },
          {
            "name": "DisconnectedContainer",
            "value": "DisconnectedContainer"
          },
          {
            "name": "ProvisionedWeb",
            "value": "ProvisionedWeb"
          }
        ]
      }
    }
  }
}