{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-billing-and-cost-management/json-schema/amazon-billing-and-cost-management-get-cost-categories-response-schema.json",
  "title": "GetCostCategoriesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-billing-and-cost-management-cost-categories-api-openapi.yml#/components/schemas/GetCostCategoriesResponse",
  "type": "object",
  "properties": {
    "NextPageToken": {
      "type": "string",
      "description": "If the number of objects that are still available for retrieval exceeds the quota, Amazon Web Services returns a NextPageToken value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request."
    },
    "CostCategoryNames": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The names of the cost categories."
    },
    "CostCategoryValues": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The cost category values. If the CostCategoryName key isn't specified in the request, the CostCategoryValues fields aren't returned."
    },
    "ReturnSize": {
      "type": "integer",
      "description": "The number of objects that are returned."
    },
    "TotalSize": {
      "type": "integer",
      "description": "The total number of objects."
    }
  },
  "required": [
    "ReturnSize",
    "TotalSize"
  ]
}