{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/telnyx/json-schema/telnyx-usage-reports-options-response-schema.json",
  "title": "UsageReportsOptionsResponse",
  "description": "An object following one of the schemas published in https://developers.telnyx.com/docs/api/v2/detail-records",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-usage-reports-beta-api-openapi.yml#/components/schemas/UsageReportsOptionsResponse",
  "properties": {
    "data": {
      "description": "Collection of product description",
      "items": {
        "$ref": "#/$defs/UsageReportsOptionsRecord"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "UsageReportsOptionsRecord": {
      "description": "An object following one of the schemas published in https://developers.telnyx.com/docs/api/v2/detail-records",
      "properties": {
        "product": {
          "description": "Telnyx Product",
          "type": "string"
        },
        "product_dimensions": {
          "description": "Telnyx Product Dimensions",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "product_metrics": {
          "description": "Telnyx Product Metrics",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "record_types": {
          "description": "Subproducts if applicable",
          "items": {
            "$ref": "#/$defs/usage-reports_RecordType"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "usage-reports_RecordType": {
      "description": "An object following one of the schemas published in https://developers.telnyx.com/docs/api/v2/detail-records",
      "properties": {
        "product_dimensions": {
          "description": "Telnyx Product Dimensions",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "product_metrics": {
          "description": "Telnyx Product Metrics",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "record_type": {
          "description": "Telnyx Product type",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}