{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/webex/main/json-schema/webex-bulk-request-dtoauto-csatquestion-dto-schema.json",
  "title": "BulkRequestDTOAutoCSATQuestionDTO",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/webex-ai-feature-api-openapi.yml#/components/schemas/BulkRequestDTOAutoCSATQuestionDTO",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "description": "List of items in the bulk request.",
      "items": {
        "$ref": "#/$defs/BulkRequestItemDTOAutoCSATQuestionDTO"
      }
    }
  },
  "$defs": {
    "AutoCSATQuestionDTO": {
      "type": "object",
      "properties": {
        "organizationId": {
          "type": "string",
          "format": "uuid",
          "description": "ID of the contact center organization. This field is required for all bulk save operations.",
          "maxLength": 36,
          "minLength": 32,
          "pattern": "^[0-9a-fA-F]{8}-?[0-9a-fA-F]{4}-?[0-9a-fA-F]{4}-?[0-9a-fA-F]{4}-?[0-9a-fA-F]{12}$"
        },
        "id": {
          "type": "string",
          "description": "ID of this contact center resource. It should not be specified when creating a new resource. However, it is mandatory when updating a resource."
        },
        "version": {
          "type": "integer",
          "format": "int32",
          "description": "The version of this resource. For a newly created resource, it will be 0 unless specified otherwise."
        },
        "questionId": {
          "type": "string",
          "description": "Question ID that is mapped for Auto CSAT configuration",
          "minLength": 1
        },
        "questionnaireId": {
          "type": "string",
          "description": "Questionnaire ID corresponding to the Question ID that is mapped for Auto CSAT configuration",
          "minLength": 1
        },
        "createdTime": {
          "type": "integer",
          "format": "int64",
          "description": "This is the created time of the entity."
        },
        "lastUpdatedTime": {
          "type": "integer",
          "format": "int64",
          "description": "This is the updated time of the entity."
        }
      },
      "required": [
        "questionId",
        "questionnaireId"
      ]
    },
    "BulkRequestItemDTOAutoCSATQuestionDTO": {
      "type": "object",
      "description": "List of items in the bulk request.",
      "properties": {
        "itemIdentifier": {
          "type": "integer",
          "format": "int32",
          "description": "Unique item identifier for a bulk operation."
        },
        "item": {
          "$ref": "#/$defs/AutoCSATQuestionDTO"
        },
        "requestAction": {
          "type": "string",
          "description": "Identifier for action type. Possible values are `SAVE` and `DELETE`."
        }
      }
    }
  }
}