{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-evaluate-data-table-values-request-schema.json",
  "title": "EvaluateDataTableValuesRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-values-api-openapi.yml#/components/schemas/EvaluateDataTableValuesRequest",
  "type": "object",
  "properties": {
    "InstanceId": {
      "type": "string",
      "description": "The unique identifier for the Amazon Connect instance."
    },
    "DataTableId": {
      "type": "string",
      "description": "The unique identifier for the data table. Must also accept the table ARN with or without a version alias."
    },
    "Values": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DataTableValueEvaluationSet"
      },
      "description": "A list of value evaluation sets specifying which primary values and attributes to evaluate."
    },
    "TimeZone": {
      "type": "string",
      "description": "Optional IANA timezone identifier to use when resolving time based dynamic values. Defaults to the data table time zone if not provided."
    },
    "NextToken": {
      "type": "string",
      "description": "Specify the pagination token from a previous request to retrieve the next page of results."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of data table values to return in one page of results."
    }
  },
  "required": [
    "InstanceId",
    "DataTableId",
    "Values"
  ],
  "$defs": {
    "DataTableValueEvaluationSet": {
      "type": "object",
      "properties": {
        "PrimaryValues": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PrimaryValue"
          },
          "description": "The set's primary values."
        },
        "AttributeNames": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The set's attribute names."
        }
      },
      "required": [
        "AttributeNames"
      ]
    },
    "PrimaryValue": {
      "type": "object",
      "properties": {
        "AttributeName": {
          "type": "string",
          "description": "The name of the primary attribute that this value belongs to."
        },
        "Value": {
          "type": "string",
          "description": "The actual value for the primary attribute. Must be provided as a string regardless of the attribute's value type. Primary values cannot be expressions and must be explicitly specified."
        }
      },
      "required": [
        "AttributeName",
        "Value"
      ]
    }
  }
}