{
  "openapi": "3.0.0",
  "info": {
    "title": "VisitReport Events API",
    "version": "1",
    "description": "Find VisitReport events, check their status, and duplicate an event into a draft."
  },
  "servers": [
    {
      "url": "https://backend.snapaddy.com/questionnaire"
    }
  ],
  "tags": [
    {
      "name": "Events"
    }
  ],
  "paths": {
    "/v1/questionnaire-management/find-questionnaires": {
      "get": {
        "operationId": "QuestionnaireManagementController_findQuestionnaires",
        "summary": "Find events",
        "description": "Find the VisitReport events you can access. Search by name, filter by status, and use limit and offset to page through the summaries. Use the id of a result to retrieve its details.",
        "tags": [
          "Events"
        ],
        "parameters": [
          {
            "name": "limit",
            "required": false,
            "in": "query",
            "description": "Amount of items that should be fetched at once.\n    - Default: 50.\n    - Maximum:  1000. ",
            "schema": {
              "minimum": 1,
              "maximum": 1000,
              "default": 50,
              "type": "number"
            }
          },
          {
            "name": "offset",
            "required": false,
            "in": "query",
            "description": "Amount of items that should be skipped, defaults to 0.",
            "schema": {
              "minimum": 0,
              "default": 0,
              "type": "number"
            }
          },
          {
            "name": "sortOrder",
            "required": false,
            "in": "query",
            "description": "Sort order for the questionnaires. Defaults to descending.",
            "schema": {
              "nullable": false,
              "default": "DESC",
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ]
            }
          },
          {
            "name": "sortBy",
            "required": false,
            "in": "query",
            "description": "Field by which the questionnaires should be sorted. Defaults to last update date.",
            "schema": {
              "nullable": false,
              "default": "UPDATED_AT",
              "type": "string",
              "enum": [
                "EVENT_NAME",
                "CREATED_BY",
                "CREATED_AT",
                "UPDATED_AT",
                "START_DATE",
                "END_DATE",
                "REPORT_COUNT",
                "STATUS"
              ]
            }
          },
          {
            "name": "filterByStatus",
            "required": false,
            "in": "query",
            "description": "Filter by event status. Use FINALIZED for live events.",
            "schema": {
              "nullable": false,
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "DRAFT",
                  "FINALIZED",
                  "ARCHIVED",
                  "MASTER"
                ]
              }
            }
          },
          {
            "name": "filterByCreatorId",
            "required": false,
            "in": "query",
            "description": "Filter questionnaires by their creator id.",
            "schema": {
              "nullable": false,
              "type": "string"
            }
          },
          {
            "name": "filterByTags",
            "required": false,
            "in": "query",
            "description": "Set of tags to filter questionnaires by. Questionnaires must contain all of the provided tags to be included in the result.",
            "schema": {
              "nullable": false,
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "searchTerm",
            "required": false,
            "in": "query",
            "description": "Search term to filter the questionnaires by. The text will be matched against the event name.",
            "schema": {
              "nullable": false,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of event summaries and the total number of matching events.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FindQuestionnairesResponseDto"
                },
                "example": {
                  "questionnaires": [
                    {
                      "id": "ExampleEvent0001",
                      "titles": {
                        "en": "Spring Expo"
                      },
                      "defaultLanguage": "en",
                      "languages": [
                        "en"
                      ],
                      "created": "2026-03-03T09:00:00Z",
                      "updated": "2026-03-04T11:00:00Z",
                      "createdByUserId": "ExampleUser00001",
                      "finalized": true,
                      "archived": false,
                      "master": false,
                      "mappingId": null,
                      "reportsCount": 0,
                      "meetingsActive": false,
                      "voiceAiActive": false,
                      "teamCoordinationActive": false,
                      "emailTemplateGroupActive": false,
                      "timezone": "Europe/Berlin",
                      "tradeShowId": null,
                      "tagIds": [],
                      "lifespanActive": false,
                      "lifespanStart": null,
                      "lifespanEnd": null
                    }
                  ],
                  "total": 1
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid."
          },
          "403": {
            "description": "In case your user lacks the required access rights.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        },
        "security": [
          {
            "x-api-key": []
          }
        ]
      }
    },
    "/v1/{questionnaireId}": {
      "get": {
        "operationId": "QuestionnaireController_getQuestionnaire",
        "summary": "Get an event",
        "description": "Get event configuration and questionnaire structure, including question groups. Pass the event id returned by Find events. The path parameter is named questionnaireId.",
        "tags": [
          "Events"
        ],
        "parameters": [
          {
            "name": "questionnaireId",
            "required": true,
            "in": "path",
            "description": "VisitReport event ID returned by Find events.",
            "schema": {
              "type": "string",
              "example": "ExampleEvent0001"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The questionnaire details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuestionnaireResponseDto"
                }
              }
            }
          },
          "403": {
            "description": "The account cannot access this event."
          },
          "404": {
            "description": "Requested resource not found."
          }
        },
        "security": [
          {
            "x-api-key": []
          }
        ]
      }
    },
    "/event/v1/{eventId}/status": {
      "get": {
        "operationId": "EventController_getEventStatus",
        "summary": "Get event status",
        "description": "Get the event state and configured availability dates. This operation requires access to the event in the VisitReport app.",
        "tags": [
          "Events"
        ],
        "parameters": [
          {
            "name": "eventId",
            "required": true,
            "in": "path",
            "description": "The event id returned by Find events.",
            "schema": {
              "type": "string",
              "example": "ExampleEvent0001"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The status of the event including the current state and possible availability settings.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventStatusResponseDto"
                },
                "example": {
                  "eventState": "LIVE",
                  "lifespanActive": false,
                  "lifespanStart": null,
                  "lifespanEnd": null
                }
              }
            }
          },
          "403": {
            "description": "In case the user lacks the required access rights for the given questionnaire id.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorArrayDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "No event with this ID exists."
          }
        },
        "security": [
          {
            "x-api-key": []
          }
        ]
      }
    },
    "/v1/{questionnaireId}/duplicate": {
      "post": {
        "operationId": "QuestionnaireController_duplicateQuestionnaire",
        "summary": "Duplicate an event",
        "description": "Copy an event or master event. With createMaster set to false, the copy starts as a draft. Existing reports stay with the source event. Use a VisitReport role that can duplicate the source event in the dashboard.",
        "tags": [
          "Events"
        ],
        "parameters": [
          {
            "name": "questionnaireId",
            "required": true,
            "in": "path",
            "description": "VisitReport event ID returned by Find events.",
            "schema": {
              "type": "string",
              "example": "ExampleMaster001"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "The copy was created. Use questionnaireId to open or configure it.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DuplicateQuestionnaireResponseDto"
                },
                "example": {
                  "success": true,
                  "questionnaireId": "ExampleDraft0001"
                }
              }
            }
          },
          "400": {
            "description": "In case the provided questionnaire id is invalid."
          },
          "403": {
            "description": "Use an administrative VisitReport role to duplicate events in your organization."
          },
          "404": {
            "description": "Requested resource to duplicate not found."
          }
        },
        "security": [
          {
            "x-api-key": []
          }
        ],
        "requestBody": {
          "required": true,
          "description": "Contains boolean to decide whether a master questionnaire should be created, and titles for the new questionnaire.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DuplicateQuestionnaireRequestDto"
              },
              "example": {
                "titles": {
                  "en": "Spring Expo 2027"
                },
                "createMaster": false
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "FindQuestionnairesResponseDto": {
        "type": "object",
        "properties": {
          "questionnaires": {
            "description": "Events on this page. Pass an event’s id as questionnaireId to read its configuration.",
            "nullable": false,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuestionnaireListResponseDto"
            }
          },
          "total": {
            "type": "number",
            "description": "Number of matching events across all pages.",
            "nullable": false
          }
        },
        "required": [
          "questionnaires",
          "total"
        ],
        "title": "Event search results"
      },
      "QuestionnaireListResponseDto": {
        "type": "object",
        "properties": {
          "created": {
            "type": "string",
            "description": "Date and time the questionnaire was created. ISO 8601 format.",
            "format": "date-time",
            "nullable": true
          },
          "createdByUserId": {
            "type": "string",
            "description": "Unique identifier of the snapaddy user who created this questionnaire.",
            "nullable": true
          },
          "defaultLanguage": {
            "type": "string",
            "description": "Key of the default language of the questionnaire.",
            "enum": [
              "af",
              "ar",
              "be",
              "bg",
              "bs",
              "ca",
              "cnr",
              "cs",
              "da",
              "de",
              "el",
              "en",
              "es",
              "es-sa",
              "et",
              "fi",
              "fr",
              "he",
              "hi",
              "hr",
              "hu",
              "id",
              "is",
              "it",
              "ja",
              "kk",
              "ko",
              "lb",
              "lt",
              "lv",
              "mk",
              "mt",
              "nl",
              "no",
              "pl",
              "pt",
              "pt-sa",
              "ro",
              "ru",
              "sk",
              "sl",
              "sq",
              "sr",
              "sv",
              "th",
              "tr",
              "uk",
              "vi",
              "zh-Hans",
              "zh-Hant"
            ]
          },
          "finalized": {
            "type": "boolean",
            "description": "Flag indicating whether the questionnaire is finalized or still a draft."
          },
          "id": {
            "type": "string",
            "description": "Unique identifier of the questionnaire."
          },
          "languages": {
            "type": "array",
            "description": "All languages the question is available in",
            "items": {
              "type": "string",
              "enum": [
                "af",
                "ar",
                "be",
                "bg",
                "bs",
                "ca",
                "cnr",
                "cs",
                "da",
                "de",
                "el",
                "en",
                "es",
                "es-sa",
                "et",
                "fi",
                "fr",
                "he",
                "hi",
                "hr",
                "hu",
                "id",
                "is",
                "it",
                "ja",
                "kk",
                "ko",
                "lb",
                "lt",
                "lv",
                "mk",
                "mt",
                "nl",
                "no",
                "pl",
                "pt",
                "pt-sa",
                "ro",
                "ru",
                "sk",
                "sl",
                "sq",
                "sr",
                "sv",
                "th",
                "tr",
                "uk",
                "vi",
                "zh-Hans",
                "zh-Hant"
              ]
            }
          },
          "lifespanActive": {
            "type": "boolean",
            "description": "Flag indicating whether the questionnaire has a lifespan or not."
          },
          "lifespanEnd": {
            "type": "number",
            "description": "End date and time of the questionnaire as UNIX timestamp in milliseconds.",
            "nullable": true
          },
          "lifespanStart": {
            "type": "number",
            "description": "Start date and time of the questionnaire as UNIX timestamp in milliseconds",
            "nullable": true
          },
          "titles": {
            "type": "object",
            "description": "Map of language abbreviations as keys and the according titles as values.",
            "properties": {
              "af": {
                "type": "string"
              },
              "ar": {
                "type": "string"
              },
              "be": {
                "type": "string"
              },
              "bg": {
                "type": "string"
              },
              "bs": {
                "type": "string"
              },
              "ca": {
                "type": "string"
              },
              "cnr": {
                "type": "string"
              },
              "cs": {
                "type": "string"
              },
              "da": {
                "type": "string"
              },
              "de": {
                "type": "string"
              },
              "el": {
                "type": "string"
              },
              "en": {
                "type": "string"
              },
              "es": {
                "type": "string"
              },
              "es-sa": {
                "type": "string"
              },
              "et": {
                "type": "string"
              },
              "fi": {
                "type": "string"
              },
              "fr": {
                "type": "string"
              },
              "he": {
                "type": "string"
              },
              "hi": {
                "type": "string"
              },
              "hr": {
                "type": "string"
              },
              "hu": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "is": {
                "type": "string"
              },
              "it": {
                "type": "string"
              },
              "ja": {
                "type": "string"
              },
              "kk": {
                "type": "string"
              },
              "ko": {
                "type": "string"
              },
              "lb": {
                "type": "string"
              },
              "lt": {
                "type": "string"
              },
              "lv": {
                "type": "string"
              },
              "mk": {
                "type": "string"
              },
              "mt": {
                "type": "string"
              },
              "nl": {
                "type": "string"
              },
              "no": {
                "type": "string"
              },
              "pl": {
                "type": "string"
              },
              "pt": {
                "type": "string"
              },
              "pt-sa": {
                "type": "string"
              },
              "ro": {
                "type": "string"
              },
              "ru": {
                "type": "string"
              },
              "sk": {
                "type": "string"
              },
              "sl": {
                "type": "string"
              },
              "sq": {
                "type": "string"
              },
              "sr": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              },
              "th": {
                "type": "string"
              },
              "tr": {
                "type": "string"
              },
              "uk": {
                "type": "string"
              },
              "vi": {
                "type": "string"
              },
              "zh-Hans": {
                "type": "string"
              },
              "zh-Hant": {
                "type": "string"
              }
            }
          },
          "updated": {
            "type": "string",
            "description": "Date and time the questionnaire was last updated. ISO 8601 format.",
            "format": "date-time",
            "nullable": true
          },
          "archived": {
            "type": "boolean",
            "description": "Flag indicating whether the questionnaire is archived or not."
          },
          "mappingId": {
            "type": "string",
            "description": "The mapping ID of the questionnaire.",
            "nullable": true
          },
          "master": {
            "type": "boolean",
            "description": "Flag indicating whether the questionnaire is a master or not."
          },
          "reportsCount": {
            "type": "number",
            "description": "Number of reports that were created for this questionnaire."
          },
          "meetingsActive": {
            "type": "boolean",
            "description": "Whether the meetings feature is active for this event."
          },
          "voiceAiActive": {
            "type": "boolean",
            "description": "Whether the VoiceAI feature is active for this event."
          },
          "teamCoordinationActive": {
            "type": "boolean",
            "description": "Whether the team coordination feature is active for this event."
          },
          "emailTemplateGroupActive": {
            "type": "boolean",
            "description": "Whether the email template group is active for this event."
          },
          "timezone": {
            "type": "string",
            "description": "Timezone of the event."
          },
          "tradeShowId": {
            "type": "string",
            "description": "UUID of the trade show of this event",
            "nullable": true
          },
          "tagIds": {
            "description": "IDs of the tags assigned to this event.",
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "created",
          "createdByUserId",
          "defaultLanguage",
          "finalized",
          "id",
          "languages",
          "lifespanActive",
          "lifespanEnd",
          "lifespanStart",
          "titles",
          "updated",
          "archived",
          "mappingId",
          "master",
          "reportsCount",
          "meetingsActive",
          "voiceAiActive",
          "teamCoordinationActive",
          "emailTemplateGroupActive",
          "timezone",
          "tradeShowId",
          "tagIds"
        ],
        "title": "Event summary"
      },
      "ErrorDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "A short, technical ID of the occurred error"
          },
          "message": {
            "type": "string",
            "description": "A longer, more detailed error cause explanation"
          }
        },
        "required": [
          "id",
          "message"
        ],
        "title": "Error"
      },
      "QuestionnaireResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Event ID used by the reports, meetings, and event analytics APIs."
          },
          "titles": {
            "type": "object",
            "properties": {
              "af": {
                "type": "string"
              },
              "ar": {
                "type": "string"
              },
              "be": {
                "type": "string"
              },
              "bg": {
                "type": "string"
              },
              "bs": {
                "type": "string"
              },
              "ca": {
                "type": "string"
              },
              "cnr": {
                "type": "string"
              },
              "cs": {
                "type": "string"
              },
              "da": {
                "type": "string"
              },
              "de": {
                "type": "string"
              },
              "el": {
                "type": "string"
              },
              "en": {
                "type": "string"
              },
              "es": {
                "type": "string"
              },
              "es-sa": {
                "type": "string"
              },
              "et": {
                "type": "string"
              },
              "fi": {
                "type": "string"
              },
              "fr": {
                "type": "string"
              },
              "he": {
                "type": "string"
              },
              "hi": {
                "type": "string"
              },
              "hr": {
                "type": "string"
              },
              "hu": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "is": {
                "type": "string"
              },
              "it": {
                "type": "string"
              },
              "ja": {
                "type": "string"
              },
              "kk": {
                "type": "string"
              },
              "ko": {
                "type": "string"
              },
              "lb": {
                "type": "string"
              },
              "lt": {
                "type": "string"
              },
              "lv": {
                "type": "string"
              },
              "mk": {
                "type": "string"
              },
              "mt": {
                "type": "string"
              },
              "nl": {
                "type": "string"
              },
              "no": {
                "type": "string"
              },
              "pl": {
                "type": "string"
              },
              "pt": {
                "type": "string"
              },
              "pt-sa": {
                "type": "string"
              },
              "ro": {
                "type": "string"
              },
              "ru": {
                "type": "string"
              },
              "sk": {
                "type": "string"
              },
              "sl": {
                "type": "string"
              },
              "sq": {
                "type": "string"
              },
              "sr": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              },
              "th": {
                "type": "string"
              },
              "tr": {
                "type": "string"
              },
              "uk": {
                "type": "string"
              },
              "vi": {
                "type": "string"
              },
              "zh-Hans": {
                "type": "string"
              },
              "zh-Hant": {
                "type": "string"
              }
            },
            "description": "Maps title-locales to their corresponding i18n-values."
          },
          "descriptions": {
            "type": "object",
            "properties": {
              "af": {
                "type": "string"
              },
              "ar": {
                "type": "string"
              },
              "be": {
                "type": "string"
              },
              "bg": {
                "type": "string"
              },
              "bs": {
                "type": "string"
              },
              "ca": {
                "type": "string"
              },
              "cnr": {
                "type": "string"
              },
              "cs": {
                "type": "string"
              },
              "da": {
                "type": "string"
              },
              "de": {
                "type": "string"
              },
              "el": {
                "type": "string"
              },
              "en": {
                "type": "string"
              },
              "es": {
                "type": "string"
              },
              "es-sa": {
                "type": "string"
              },
              "et": {
                "type": "string"
              },
              "fi": {
                "type": "string"
              },
              "fr": {
                "type": "string"
              },
              "he": {
                "type": "string"
              },
              "hi": {
                "type": "string"
              },
              "hr": {
                "type": "string"
              },
              "hu": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "is": {
                "type": "string"
              },
              "it": {
                "type": "string"
              },
              "ja": {
                "type": "string"
              },
              "kk": {
                "type": "string"
              },
              "ko": {
                "type": "string"
              },
              "lb": {
                "type": "string"
              },
              "lt": {
                "type": "string"
              },
              "lv": {
                "type": "string"
              },
              "mk": {
                "type": "string"
              },
              "mt": {
                "type": "string"
              },
              "nl": {
                "type": "string"
              },
              "no": {
                "type": "string"
              },
              "pl": {
                "type": "string"
              },
              "pt": {
                "type": "string"
              },
              "pt-sa": {
                "type": "string"
              },
              "ro": {
                "type": "string"
              },
              "ru": {
                "type": "string"
              },
              "sk": {
                "type": "string"
              },
              "sl": {
                "type": "string"
              },
              "sq": {
                "type": "string"
              },
              "sr": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              },
              "th": {
                "type": "string"
              },
              "tr": {
                "type": "string"
              },
              "uk": {
                "type": "string"
              },
              "vi": {
                "type": "string"
              },
              "zh-Hans": {
                "type": "string"
              },
              "zh-Hant": {
                "type": "string"
              }
            },
            "description": "Maps description-locales to their corresponding i18n-values."
          },
          "defaultLanguage": {
            "type": "string",
            "description": "Default language for this event’s questionnaire.",
            "enum": [
              "af",
              "ar",
              "be",
              "bg",
              "bs",
              "ca",
              "cnr",
              "cs",
              "da",
              "de",
              "el",
              "en",
              "es",
              "es-sa",
              "et",
              "fi",
              "fr",
              "he",
              "hi",
              "hr",
              "hu",
              "id",
              "is",
              "it",
              "ja",
              "kk",
              "ko",
              "lb",
              "lt",
              "lv",
              "mk",
              "mt",
              "nl",
              "no",
              "pl",
              "pt",
              "pt-sa",
              "ro",
              "ru",
              "sk",
              "sl",
              "sq",
              "sr",
              "sv",
              "th",
              "tr",
              "uk",
              "vi",
              "zh-Hans",
              "zh-Hant"
            ]
          },
          "languages": {
            "type": "array",
            "description": "All languages the question is available in",
            "items": {
              "type": "string",
              "enum": [
                "af",
                "ar",
                "be",
                "bg",
                "bs",
                "ca",
                "cnr",
                "cs",
                "da",
                "de",
                "el",
                "en",
                "es",
                "es-sa",
                "et",
                "fi",
                "fr",
                "he",
                "hi",
                "hr",
                "hu",
                "id",
                "is",
                "it",
                "ja",
                "kk",
                "ko",
                "lb",
                "lt",
                "lv",
                "mk",
                "mt",
                "nl",
                "no",
                "pl",
                "pt",
                "pt-sa",
                "ro",
                "ru",
                "sk",
                "sl",
                "sq",
                "sr",
                "sv",
                "th",
                "tr",
                "uk",
                "vi",
                "zh-Hans",
                "zh-Hant"
              ]
            }
          },
          "organizationId": {
            "type": "string",
            "description": "The unique ID of the related organization."
          },
          "organizationName": {
            "type": "string",
            "description": "The name of the organization the questionnaire relates to."
          },
          "createdByUserId": {
            "type": "string",
            "description": "The unique ID of the user who created this questionnaire.",
            "nullable": true
          },
          "color": {
            "nullable": true,
            "description": "Hue, saturation and lightness of the questionnaire appearance.",
            "type": "object",
            "allOf": [
              {
                "$ref": "#/components/schemas/ColorHslDto"
              }
            ]
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "urls": {
            "type": "object",
            "properties": {
              "af": {
                "type": "string"
              },
              "ar": {
                "type": "string"
              },
              "be": {
                "type": "string"
              },
              "bg": {
                "type": "string"
              },
              "bs": {
                "type": "string"
              },
              "ca": {
                "type": "string"
              },
              "cnr": {
                "type": "string"
              },
              "cs": {
                "type": "string"
              },
              "da": {
                "type": "string"
              },
              "de": {
                "type": "string"
              },
              "el": {
                "type": "string"
              },
              "en": {
                "type": "string"
              },
              "es": {
                "type": "string"
              },
              "es-sa": {
                "type": "string"
              },
              "et": {
                "type": "string"
              },
              "fi": {
                "type": "string"
              },
              "fr": {
                "type": "string"
              },
              "he": {
                "type": "string"
              },
              "hi": {
                "type": "string"
              },
              "hr": {
                "type": "string"
              },
              "hu": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "is": {
                "type": "string"
              },
              "it": {
                "type": "string"
              },
              "ja": {
                "type": "string"
              },
              "kk": {
                "type": "string"
              },
              "ko": {
                "type": "string"
              },
              "lb": {
                "type": "string"
              },
              "lt": {
                "type": "string"
              },
              "lv": {
                "type": "string"
              },
              "mk": {
                "type": "string"
              },
              "mt": {
                "type": "string"
              },
              "nl": {
                "type": "string"
              },
              "no": {
                "type": "string"
              },
              "pl": {
                "type": "string"
              },
              "pt": {
                "type": "string"
              },
              "pt-sa": {
                "type": "string"
              },
              "ro": {
                "type": "string"
              },
              "ru": {
                "type": "string"
              },
              "sk": {
                "type": "string"
              },
              "sl": {
                "type": "string"
              },
              "sq": {
                "type": "string"
              },
              "sr": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              },
              "th": {
                "type": "string"
              },
              "tr": {
                "type": "string"
              },
              "uk": {
                "type": "string"
              },
              "vi": {
                "type": "string"
              },
              "zh-Hans": {
                "type": "string"
              },
              "zh-Hant": {
                "type": "string"
              }
            },
            "description": "Maps url-locales to their corresponding web domains.",
            "nullable": true
          },
          "urlsEnabled": {
            "type": "boolean",
            "nullable": true
          },
          "contactListId": {
            "type": "string",
            "description": "The unique ID of the related contact list.",
            "nullable": true
          },
          "logo": {
            "type": "string",
            "nullable": true
          },
          "finalized": {
            "type": "boolean",
            "nullable": true
          },
          "mappingId": {
            "type": "string",
            "nullable": true
          },
          "settings": {
            "nullable": true,
            "type": "object",
            "allOf": [
              {
                "$ref": "#/components/schemas/QuestionnaireSettingsResponseDto"
              }
            ]
          },
          "archived": {
            "type": "boolean",
            "nullable": true
          },
          "accentColor": {
            "nullable": true,
            "type": "object",
            "allOf": [
              {
                "$ref": "#/components/schemas/ColorHslDto"
              }
            ]
          },
          "emailTemplateGroupId": {
            "type": "string",
            "nullable": true
          },
          "master": {
            "type": "boolean"
          },
          "teamCoordinationActive": {
            "type": "boolean"
          },
          "sharingDigitalCardsAllowed": {
            "type": "boolean",
            "description": "Whether sharing digital cards of users in the same organization is allowed."
          },
          "brandingContrast": {
            "type": "string",
            "enum": [
              "WHITE"
            ]
          },
          "brandingTabsColor": {
            "type": "string",
            "enum": [
              "BASIC",
              "ALTERNATE"
            ]
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "customFields": {
            "type": "object",
            "description": "A dictionary mapping custom field names to their respective values.",
            "nullable": true,
            "additionalProperties": true
          },
          "appointmentsActive": {
            "type": "boolean"
          },
          "meetingsActive": {
            "type": "boolean"
          },
          "infoCenterActive": {
            "type": "boolean"
          },
          "mediaRootFolderId": {
            "type": "string",
            "nullable": true
          },
          "questionGroups": {
            "description": "Groups of questions configured for this event. Use their IDs to interpret report answers.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuestionGroupResponseDto"
            }
          },
          "appAccessConstrained": {
            "type": "boolean",
            "default": false
          },
          "dashboardAccessConstrained": {
            "type": "boolean",
            "default": false
          },
          "mediaLibraryDisabled": {
            "type": "boolean"
          },
          "notesDisabled": {
            "type": "boolean"
          },
          "notesParticipantsDisabled": {
            "type": "boolean"
          },
          "attachmentsDisabled": {
            "type": "boolean"
          },
          "mandatoryContactFieldsState": {
            "type": "string",
            "description": "The question's mandatory contact field state, defaults to Inherit",
            "enum": [
              "none",
              "inherit",
              "custom"
            ]
          },
          "mandatoryContactFields": {
            "type": "object",
            "description": "A dictionary stating which profile fields are mandatory for new contacts.",
            "nullable": true,
            "additionalProperties": true
          },
          "contactFieldSettings": {
            "type": "object",
            "description": "A dictionary stating which contact fields are visible, hidden or mandatory.",
            "nullable": true,
            "additionalProperties": {
              "type": "string",
              "enum": [
                "mandatory",
                "visible",
                "hidden"
              ]
            }
          },
          "participantSources": {
            "type": "object",
            "description": "A dictionary stating which participant sources are available.",
            "nullable": true,
            "additionalProperties": true
          },
          "dailyGoal": {
            "type": "number",
            "description": "Daily goal for the number of exported reports."
          },
          "leaderboardEnabled": {
            "type": "boolean",
            "default": false,
            "description": "Whether leaderboard feature is enabled."
          },
          "kioskModeEnabled": {
            "type": "boolean",
            "default": false,
            "description": "Whether kiosk mode is enabled."
          },
          "contactCaptureEnabled": {
            "type": "boolean",
            "description": "Whether contact capture is enabled"
          },
          "tradeShowId": {
            "type": "string",
            "description": "UUID of the trade show of this event",
            "nullable": false
          },
          "handoverEnabled": {
            "type": "boolean",
            "description": "Whether handover is enabled for the questionnaire."
          },
          "tagIds": {
            "description": "IDs of the tags assigned to this event.",
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "id",
          "titles",
          "descriptions",
          "defaultLanguage",
          "languages",
          "organizationId",
          "organizationName",
          "createdByUserId",
          "color",
          "urls",
          "contactListId",
          "settings",
          "accentColor",
          "emailTemplateGroupId",
          "master",
          "teamCoordinationActive",
          "sharingDigitalCardsAllowed",
          "brandingContrast",
          "brandingTabsColor",
          "customFields",
          "appointmentsActive",
          "meetingsActive",
          "infoCenterActive",
          "questionGroups",
          "appAccessConstrained",
          "dashboardAccessConstrained",
          "mediaLibraryDisabled",
          "notesDisabled",
          "notesParticipantsDisabled",
          "attachmentsDisabled",
          "mandatoryContactFieldsState",
          "dailyGoal",
          "leaderboardEnabled",
          "kioskModeEnabled",
          "contactCaptureEnabled",
          "handoverEnabled",
          "tagIds"
        ],
        "title": "Event configuration"
      },
      "ColorHslDto": {
        "type": "object",
        "properties": {
          "hue": {
            "type": "number",
            "description": "Hue of the color, an integer number in range 0..360 inclusive."
          },
          "saturation": {
            "type": "number",
            "description": "Saturation of the color, an integer number in range 0..100 inclusive."
          },
          "lightness": {
            "type": "number",
            "description": "Lightness of the color, an integer number in range 0..100 inclusive."
          }
        },
        "required": [
          "hue",
          "saturation",
          "lightness"
        ],
        "title": "Color Hsl"
      },
      "QuestionnaireSettingsResponseDto": {
        "type": "object",
        "properties": {
          "allowCustomCountry": {
            "type": "boolean",
            "description": "Whether it is allowed to enter custom values in the country field instead of ISO country codes."
          },
          "campaignId": {
            "type": "string",
            "description": "The campaign ID for the event (can be used during the export into other systems)."
          },
          "compactContactView": {
            "type": "boolean",
            "description": "Whether the compact contact view should be shown when adding contacts to the report."
          },
          "companyDataSearch": {
            "type": "boolean",
            "description": "Whether company data search should be executed when editing a contact in the report."
          },
          "contactDataMandatory": {
            "type": "boolean",
            "description": "Whether contact data is mandatory for the event (at least one contact per report)."
          },
          "crmSystemExport": {
            "type": "boolean",
            "description": "Whether the report can be exported to a CRM system from within the dashboard."
          },
          "download": {
            "type": "boolean",
            "description": "Whether reports can be downloaded as a file (PDF, Excel, etc.)."
          },
          "eloquaFormTargetUrl": {
            "type": "string",
            "description": "The Eloqua URL to which a report can be posted to as form."
          },
          "evalancheExport": {
            "type": "boolean",
            "description": "Whether the report can be exported to Evalanche from within the dashboard."
          },
          "formTargetUrl": {
            "type": "string",
            "description": "The URL to which a report can be posted to as form."
          },
          "hubspotMarketingExport": {
            "type": "boolean",
            "description": "Whether the report can be exported to HubSpot Marketing from within the dashboard."
          },
          "leadResearchExport": {
            "type": "boolean",
            "description": "Whether reports can be exported from the VisitReport dashboard to LeadResearch."
          },
          "lifespanActive": {
            "type": "boolean",
            "description": "Enables the lifespan feature for the event, which allows setting a start and end date for the event."
          },
          "lifespanEnd": {
            "type": "number",
            "description": "The end date of the event lifespan (if lifespanActive is true)."
          },
          "lifespanStart": {
            "type": "number",
            "description": "The start date of the event lifespan (if lifespanActive is true)."
          },
          "limitNumberOfContacts": {
            "type": "boolean",
            "description": "Whether the number of contacts is limited for the event."
          },
          "mandrillTemplateName": {
            "type": "string",
            "description": "The name of the email template in Mandrill which can be sent to contacts."
          },
          "marketoExport": {
            "type": "boolean",
            "description": "Whether the report can be exported to Marketo from within the dashboard."
          },
          "maxNumberOfContacts": {
            "type": "number",
            "description": "The maximum number of contacts allowed for the event (if limited).",
            "maximum": 40,
            "minimum": 1
          },
          "optivoMailingId": {
            "type": "string",
            "description": "The ID of the mailing template in Optivo (Optimizely) which can be sent to contacts."
          },
          "pardotFormTargetUrl": {
            "type": "string",
            "description": "The Pardot URL to which a report can be posted to as form."
          },
          "quickScan": {
            "type": "boolean",
            "description": "Whether the quick scan feature is enabled for the event."
          },
          "rapidMailRecipientListId": {
            "type": "string",
            "description": "The ID of the recipient list in RapidMail to which a contact can be sent."
          },
          "screensaver": {
            "type": "string",
            "nullable": true,
            "description": "The path to the screensaver image to be used in the kiosk mode."
          },
          "screensaverTimeout": {
            "type": "number",
            "nullable": true,
            "description": "The timeout in seconds after which the screensaver should be shown in the kiosk mode.",
            "maximum": 60,
            "minimum": 1
          },
          "voiceAi": {
            "description": "The settings for the Voice AI feature.",
            "allOf": [
              {
                "$ref": "#/components/schemas/VoiceAiSettingsResponseDto"
              }
            ]
          },
          "vrAppExport": {
            "type": "string",
            "description": "Defines the possible export targets for the event.",
            "enum": [
              "both",
              "crm",
              "dashboard"
            ]
          },
          "webhookAuthHeader": {
            "type": "string",
            "description": "The (optional) authorization header to be used when posting a report to the webhook URL."
          },
          "webhookTargetUrl": {
            "type": "string",
            "description": "The URL to which a report can be posted to as webhook."
          }
        },
        "title": "Event settings"
      },
      "VoiceAiSettingsResponseDto": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean",
            "description": "Whether Voice AI is enabled for the event."
          },
          "diagnostics": {
            "type": "boolean",
            "description": "Whether it is allowed to use data collected by Voice AI to further improve the AI."
          }
        },
        "required": [
          "enabled"
        ],
        "title": "Voice Ai Settings Response"
      },
      "QuestionGroupResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "titles": {
            "type": "object",
            "properties": {
              "af": {
                "type": "string"
              },
              "ar": {
                "type": "string"
              },
              "be": {
                "type": "string"
              },
              "bg": {
                "type": "string"
              },
              "bs": {
                "type": "string"
              },
              "ca": {
                "type": "string"
              },
              "cnr": {
                "type": "string"
              },
              "cs": {
                "type": "string"
              },
              "da": {
                "type": "string"
              },
              "de": {
                "type": "string"
              },
              "el": {
                "type": "string"
              },
              "en": {
                "type": "string"
              },
              "es": {
                "type": "string"
              },
              "es-sa": {
                "type": "string"
              },
              "et": {
                "type": "string"
              },
              "fi": {
                "type": "string"
              },
              "fr": {
                "type": "string"
              },
              "he": {
                "type": "string"
              },
              "hi": {
                "type": "string"
              },
              "hr": {
                "type": "string"
              },
              "hu": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "is": {
                "type": "string"
              },
              "it": {
                "type": "string"
              },
              "ja": {
                "type": "string"
              },
              "kk": {
                "type": "string"
              },
              "ko": {
                "type": "string"
              },
              "lb": {
                "type": "string"
              },
              "lt": {
                "type": "string"
              },
              "lv": {
                "type": "string"
              },
              "mk": {
                "type": "string"
              },
              "mt": {
                "type": "string"
              },
              "nl": {
                "type": "string"
              },
              "no": {
                "type": "string"
              },
              "pl": {
                "type": "string"
              },
              "pt": {
                "type": "string"
              },
              "pt-sa": {
                "type": "string"
              },
              "ro": {
                "type": "string"
              },
              "ru": {
                "type": "string"
              },
              "sk": {
                "type": "string"
              },
              "sl": {
                "type": "string"
              },
              "sq": {
                "type": "string"
              },
              "sr": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              },
              "th": {
                "type": "string"
              },
              "tr": {
                "type": "string"
              },
              "uk": {
                "type": "string"
              },
              "vi": {
                "type": "string"
              },
              "zh-Hans": {
                "type": "string"
              },
              "zh-Hant": {
                "type": "string"
              }
            },
            "description": "Maps title-locales to their corresponding i18n-values."
          },
          "questionnaireId": {
            "type": "string"
          },
          "sequenceNumber": {
            "type": "number"
          },
          "settings": {
            "type": "object",
            "additionalProperties": true,
            "description": "The question group settings, probably with dependency information.",
            "nullable": true
          },
          "questions": {
            "description": "Questions, that belong to the group.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuestionWithSubQuestionsResponseDto"
            }
          },
          "createdAt": {
            "format": "date-time",
            "type": "string",
            "nullable": false
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string",
            "nullable": false
          }
        },
        "required": [
          "id",
          "titles",
          "questionnaireId",
          "sequenceNumber",
          "settings",
          "questions",
          "createdAt",
          "updatedAt"
        ],
        "title": "Question Group Response"
      },
      "QuestionWithSubQuestionsResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "questionGroupId": {
            "type": "string"
          },
          "sequenceNumber": {
            "type": "number"
          },
          "column": {
            "type": "number"
          },
          "questionType": {
            "type": "string",
            "enum": [
              "SingleSelection",
              "MultiSelection",
              "Text",
              "Textarea",
              "Number",
              "Date",
              "Signature",
              "TypeaheadSingleSelection",
              "TypeaheadMultiSelection",
              "DateOnly",
              "TimeOnly",
              "Photo"
            ]
          },
          "texts": {
            "type": "object",
            "properties": {
              "af": {
                "type": "string"
              },
              "ar": {
                "type": "string"
              },
              "be": {
                "type": "string"
              },
              "bg": {
                "type": "string"
              },
              "bs": {
                "type": "string"
              },
              "ca": {
                "type": "string"
              },
              "cnr": {
                "type": "string"
              },
              "cs": {
                "type": "string"
              },
              "da": {
                "type": "string"
              },
              "de": {
                "type": "string"
              },
              "el": {
                "type": "string"
              },
              "en": {
                "type": "string"
              },
              "es": {
                "type": "string"
              },
              "es-sa": {
                "type": "string"
              },
              "et": {
                "type": "string"
              },
              "fi": {
                "type": "string"
              },
              "fr": {
                "type": "string"
              },
              "he": {
                "type": "string"
              },
              "hi": {
                "type": "string"
              },
              "hr": {
                "type": "string"
              },
              "hu": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "is": {
                "type": "string"
              },
              "it": {
                "type": "string"
              },
              "ja": {
                "type": "string"
              },
              "kk": {
                "type": "string"
              },
              "ko": {
                "type": "string"
              },
              "lb": {
                "type": "string"
              },
              "lt": {
                "type": "string"
              },
              "lv": {
                "type": "string"
              },
              "mk": {
                "type": "string"
              },
              "mt": {
                "type": "string"
              },
              "nl": {
                "type": "string"
              },
              "no": {
                "type": "string"
              },
              "pl": {
                "type": "string"
              },
              "pt": {
                "type": "string"
              },
              "pt-sa": {
                "type": "string"
              },
              "ro": {
                "type": "string"
              },
              "ru": {
                "type": "string"
              },
              "sk": {
                "type": "string"
              },
              "sl": {
                "type": "string"
              },
              "sq": {
                "type": "string"
              },
              "sr": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              },
              "th": {
                "type": "string"
              },
              "tr": {
                "type": "string"
              },
              "uk": {
                "type": "string"
              },
              "vi": {
                "type": "string"
              },
              "zh-Hans": {
                "type": "string"
              },
              "zh-Hant": {
                "type": "string"
              }
            },
            "description": "Maps question-texts to their corresponding i18n-values."
          },
          "answers": {
            "type": "number",
            "nullable": true
          },
          "mappingId": {
            "type": "string",
            "nullable": true
          },
          "settings": {
            "type": "object",
            "additionalProperties": true,
            "description": "Associates settings via name to their respective values."
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string",
            "nullable": false
          },
          "createdAt": {
            "format": "date-time",
            "type": "string",
            "nullable": false
          },
          "descriptions": {
            "type": "object",
            "properties": {
              "af": {
                "type": "string"
              },
              "ar": {
                "type": "string"
              },
              "be": {
                "type": "string"
              },
              "bg": {
                "type": "string"
              },
              "bs": {
                "type": "string"
              },
              "ca": {
                "type": "string"
              },
              "cnr": {
                "type": "string"
              },
              "cs": {
                "type": "string"
              },
              "da": {
                "type": "string"
              },
              "de": {
                "type": "string"
              },
              "el": {
                "type": "string"
              },
              "en": {
                "type": "string"
              },
              "es": {
                "type": "string"
              },
              "es-sa": {
                "type": "string"
              },
              "et": {
                "type": "string"
              },
              "fi": {
                "type": "string"
              },
              "fr": {
                "type": "string"
              },
              "he": {
                "type": "string"
              },
              "hi": {
                "type": "string"
              },
              "hr": {
                "type": "string"
              },
              "hu": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "is": {
                "type": "string"
              },
              "it": {
                "type": "string"
              },
              "ja": {
                "type": "string"
              },
              "kk": {
                "type": "string"
              },
              "ko": {
                "type": "string"
              },
              "lb": {
                "type": "string"
              },
              "lt": {
                "type": "string"
              },
              "lv": {
                "type": "string"
              },
              "mk": {
                "type": "string"
              },
              "mt": {
                "type": "string"
              },
              "nl": {
                "type": "string"
              },
              "no": {
                "type": "string"
              },
              "pl": {
                "type": "string"
              },
              "pt": {
                "type": "string"
              },
              "pt-sa": {
                "type": "string"
              },
              "ro": {
                "type": "string"
              },
              "ru": {
                "type": "string"
              },
              "sk": {
                "type": "string"
              },
              "sl": {
                "type": "string"
              },
              "sq": {
                "type": "string"
              },
              "sr": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              },
              "th": {
                "type": "string"
              },
              "tr": {
                "type": "string"
              },
              "uk": {
                "type": "string"
              },
              "vi": {
                "type": "string"
              },
              "zh-Hans": {
                "type": "string"
              },
              "zh-Hant": {
                "type": "string"
              }
            },
            "description": "Maps description-locales to their corresponding i18n-values.",
            "nullable": true
          },
          "masterQuestionId": {
            "type": "string",
            "nullable": true
          },
          "questionOptions": {
            "description": "The question's related answer options.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuestionOptionResponseDto"
            }
          },
          "subQuestionGroup": {
            "description": "Question-groups that are related to the questionnaire.",
            "allOf": [
              {
                "$ref": "#/components/schemas/SubQuestionGroupResponseDto"
              }
            ]
          }
        },
        "required": [
          "id",
          "questionGroupId",
          "sequenceNumber",
          "column",
          "questionType",
          "texts",
          "settings",
          "updatedAt",
          "createdAt",
          "descriptions",
          "questionOptions"
        ],
        "title": "Question With Sub Questions Response"
      },
      "QuestionOptionResponseDto": {
        "type": "object",
        "properties": {
          "questionOptionAttachments": {
            "type": "object",
            "description": "Attachments linked to the question option.",
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/QuestionOptionAttachmentResponseDto"
              }
            }
          },
          "id": {
            "type": "string"
          },
          "questionId": {
            "type": "string"
          },
          "questionOptionType": {
            "type": "string",
            "enum": [
              "Text",
              "Input"
            ]
          },
          "texts": {
            "type": "object",
            "properties": {
              "af": {
                "type": "string"
              },
              "ar": {
                "type": "string"
              },
              "be": {
                "type": "string"
              },
              "bg": {
                "type": "string"
              },
              "bs": {
                "type": "string"
              },
              "ca": {
                "type": "string"
              },
              "cnr": {
                "type": "string"
              },
              "cs": {
                "type": "string"
              },
              "da": {
                "type": "string"
              },
              "de": {
                "type": "string"
              },
              "el": {
                "type": "string"
              },
              "en": {
                "type": "string"
              },
              "es": {
                "type": "string"
              },
              "es-sa": {
                "type": "string"
              },
              "et": {
                "type": "string"
              },
              "fi": {
                "type": "string"
              },
              "fr": {
                "type": "string"
              },
              "he": {
                "type": "string"
              },
              "hi": {
                "type": "string"
              },
              "hr": {
                "type": "string"
              },
              "hu": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "is": {
                "type": "string"
              },
              "it": {
                "type": "string"
              },
              "ja": {
                "type": "string"
              },
              "kk": {
                "type": "string"
              },
              "ko": {
                "type": "string"
              },
              "lb": {
                "type": "string"
              },
              "lt": {
                "type": "string"
              },
              "lv": {
                "type": "string"
              },
              "mk": {
                "type": "string"
              },
              "mt": {
                "type": "string"
              },
              "nl": {
                "type": "string"
              },
              "no": {
                "type": "string"
              },
              "pl": {
                "type": "string"
              },
              "pt": {
                "type": "string"
              },
              "pt-sa": {
                "type": "string"
              },
              "ro": {
                "type": "string"
              },
              "ru": {
                "type": "string"
              },
              "sk": {
                "type": "string"
              },
              "sl": {
                "type": "string"
              },
              "sq": {
                "type": "string"
              },
              "sr": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              },
              "th": {
                "type": "string"
              },
              "tr": {
                "type": "string"
              },
              "uk": {
                "type": "string"
              },
              "vi": {
                "type": "string"
              },
              "zh-Hans": {
                "type": "string"
              },
              "zh-Hant": {
                "type": "string"
              }
            },
            "description": "Maps the answer option's locales to their corresponding i18n-values."
          },
          "sequenceNumber": {
            "type": "number",
            "nullable": true
          },
          "mappingId": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "default": {
            "type": "boolean"
          },
          "defaultValue": {
            "type": "object",
            "properties": {
              "af": {
                "type": "string"
              },
              "ar": {
                "type": "string"
              },
              "be": {
                "type": "string"
              },
              "bg": {
                "type": "string"
              },
              "bs": {
                "type": "string"
              },
              "ca": {
                "type": "string"
              },
              "cnr": {
                "type": "string"
              },
              "cs": {
                "type": "string"
              },
              "da": {
                "type": "string"
              },
              "de": {
                "type": "string"
              },
              "el": {
                "type": "string"
              },
              "en": {
                "type": "string"
              },
              "es": {
                "type": "string"
              },
              "es-sa": {
                "type": "string"
              },
              "et": {
                "type": "string"
              },
              "fi": {
                "type": "string"
              },
              "fr": {
                "type": "string"
              },
              "he": {
                "type": "string"
              },
              "hi": {
                "type": "string"
              },
              "hr": {
                "type": "string"
              },
              "hu": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "is": {
                "type": "string"
              },
              "it": {
                "type": "string"
              },
              "ja": {
                "type": "string"
              },
              "kk": {
                "type": "string"
              },
              "ko": {
                "type": "string"
              },
              "lb": {
                "type": "string"
              },
              "lt": {
                "type": "string"
              },
              "lv": {
                "type": "string"
              },
              "mk": {
                "type": "string"
              },
              "mt": {
                "type": "string"
              },
              "nl": {
                "type": "string"
              },
              "no": {
                "type": "string"
              },
              "pl": {
                "type": "string"
              },
              "pt": {
                "type": "string"
              },
              "pt-sa": {
                "type": "string"
              },
              "ro": {
                "type": "string"
              },
              "ru": {
                "type": "string"
              },
              "sk": {
                "type": "string"
              },
              "sl": {
                "type": "string"
              },
              "sq": {
                "type": "string"
              },
              "sr": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              },
              "th": {
                "type": "string"
              },
              "tr": {
                "type": "string"
              },
              "uk": {
                "type": "string"
              },
              "vi": {
                "type": "string"
              },
              "zh-Hans": {
                "type": "string"
              },
              "zh-Hant": {
                "type": "string"
              }
            },
            "description": "Maps locales to their respective suggested default value i18n-strings.",
            "nullable": true
          },
          "createdAt": {
            "format": "date-time",
            "type": "string",
            "nullable": false
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string",
            "nullable": false
          }
        },
        "required": [
          "questionOptionAttachments",
          "id",
          "questionId",
          "questionOptionType",
          "texts",
          "default",
          "defaultValue",
          "createdAt",
          "updatedAt"
        ],
        "title": "Question Option Response"
      },
      "QuestionOptionAttachmentResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "file": {
            "description": "Attachment file",
            "allOf": [
              {
                "$ref": "#/components/schemas/FileResponseDto"
              }
            ]
          },
          "createdAt": {
            "format": "date-time",
            "type": "string",
            "nullable": false
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string",
            "nullable": false
          }
        },
        "required": [
          "id",
          "file",
          "createdAt",
          "updatedAt"
        ],
        "title": "Question Option Attachment Response"
      },
      "FileResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "ID of the file."
          },
          "name": {
            "type": "string",
            "description": "Name of the file."
          },
          "title": {
            "type": "string",
            "description": "Title of the file.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description of the file.",
            "nullable": true
          },
          "mimetype": {
            "type": "string",
            "description": "Mime type of the file."
          },
          "size": {
            "type": "number",
            "description": "Size of the file in bytes."
          },
          "created": {
            "type": "string",
            "description": "Creation date of the file (ISO 8601)."
          },
          "updated": {
            "type": "string",
            "description": "Last updated date of the file (ISO 8601)."
          },
          "createdByUserId": {
            "type": "string",
            "description": "User id of the user who created the file."
          },
          "updatedByUserId": {
            "type": "string",
            "description": "Last user id of the user who updated the file."
          },
          "fileContentId": {
            "type": "string",
            "description": "ID of the content of the file"
          },
          "thumbnailImageFile": {
            "description": "Thumbnail image for the file",
            "allOf": [
              {
                "$ref": "#/components/schemas/FileResponseDto"
              }
            ]
          }
        },
        "required": [
          "id",
          "name",
          "title",
          "description",
          "mimetype",
          "size",
          "created",
          "createdByUserId",
          "fileContentId"
        ],
        "title": "File Response"
      },
      "SubQuestionGroupResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "titles": {
            "type": "object",
            "properties": {
              "af": {
                "type": "string"
              },
              "ar": {
                "type": "string"
              },
              "be": {
                "type": "string"
              },
              "bg": {
                "type": "string"
              },
              "bs": {
                "type": "string"
              },
              "ca": {
                "type": "string"
              },
              "cnr": {
                "type": "string"
              },
              "cs": {
                "type": "string"
              },
              "da": {
                "type": "string"
              },
              "de": {
                "type": "string"
              },
              "el": {
                "type": "string"
              },
              "en": {
                "type": "string"
              },
              "es": {
                "type": "string"
              },
              "es-sa": {
                "type": "string"
              },
              "et": {
                "type": "string"
              },
              "fi": {
                "type": "string"
              },
              "fr": {
                "type": "string"
              },
              "he": {
                "type": "string"
              },
              "hi": {
                "type": "string"
              },
              "hr": {
                "type": "string"
              },
              "hu": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "is": {
                "type": "string"
              },
              "it": {
                "type": "string"
              },
              "ja": {
                "type": "string"
              },
              "kk": {
                "type": "string"
              },
              "ko": {
                "type": "string"
              },
              "lb": {
                "type": "string"
              },
              "lt": {
                "type": "string"
              },
              "lv": {
                "type": "string"
              },
              "mk": {
                "type": "string"
              },
              "mt": {
                "type": "string"
              },
              "nl": {
                "type": "string"
              },
              "no": {
                "type": "string"
              },
              "pl": {
                "type": "string"
              },
              "pt": {
                "type": "string"
              },
              "pt-sa": {
                "type": "string"
              },
              "ro": {
                "type": "string"
              },
              "ru": {
                "type": "string"
              },
              "sk": {
                "type": "string"
              },
              "sl": {
                "type": "string"
              },
              "sq": {
                "type": "string"
              },
              "sr": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              },
              "th": {
                "type": "string"
              },
              "tr": {
                "type": "string"
              },
              "uk": {
                "type": "string"
              },
              "vi": {
                "type": "string"
              },
              "zh-Hans": {
                "type": "string"
              },
              "zh-Hant": {
                "type": "string"
              }
            },
            "description": "Maps title-locales to their corresponding i18n-values."
          },
          "questionnaireId": {
            "type": "string"
          },
          "sequenceNumber": {
            "type": "number"
          },
          "settings": {
            "description": "The question settings, probably with dependency information.",
            "nullable": true,
            "type": "object",
            "allOf": [
              {
                "$ref": "#/components/schemas/DependantSettingsDto"
              }
            ]
          },
          "questions": {
            "description": "Questions, that belong to the group.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuestionResponseDto"
            }
          }
        },
        "required": [
          "id",
          "titles",
          "questionnaireId",
          "sequenceNumber",
          "settings",
          "questions"
        ],
        "title": "Sub Question Group Response"
      },
      "DependantSettingsDto": {
        "type": "object",
        "properties": {
          "dependsOn": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DependencyDto"
            }
          }
        },
        "title": "Dependant Settings"
      },
      "DependencyDto": {
        "type": "object",
        "properties": {
          "questionId": {
            "type": "string",
            "description": "ID of the question this dependency refers to."
          },
          "questionOptionId": {
            "type": "string",
            "description": "ID of the question option this dependency refers to."
          },
          "condition": {
            "type": "string",
            "enum": [
              "presented",
              "notPresented"
            ]
          }
        },
        "title": "Dependency"
      },
      "QuestionResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "questionGroupId": {
            "type": "string"
          },
          "sequenceNumber": {
            "type": "number"
          },
          "column": {
            "type": "number"
          },
          "questionType": {
            "type": "string",
            "enum": [
              "SingleSelection",
              "MultiSelection",
              "Text",
              "Textarea",
              "Number",
              "Date",
              "Signature",
              "TypeaheadSingleSelection",
              "TypeaheadMultiSelection",
              "DateOnly",
              "TimeOnly",
              "Photo"
            ]
          },
          "texts": {
            "type": "object",
            "properties": {
              "af": {
                "type": "string"
              },
              "ar": {
                "type": "string"
              },
              "be": {
                "type": "string"
              },
              "bg": {
                "type": "string"
              },
              "bs": {
                "type": "string"
              },
              "ca": {
                "type": "string"
              },
              "cnr": {
                "type": "string"
              },
              "cs": {
                "type": "string"
              },
              "da": {
                "type": "string"
              },
              "de": {
                "type": "string"
              },
              "el": {
                "type": "string"
              },
              "en": {
                "type": "string"
              },
              "es": {
                "type": "string"
              },
              "es-sa": {
                "type": "string"
              },
              "et": {
                "type": "string"
              },
              "fi": {
                "type": "string"
              },
              "fr": {
                "type": "string"
              },
              "he": {
                "type": "string"
              },
              "hi": {
                "type": "string"
              },
              "hr": {
                "type": "string"
              },
              "hu": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "is": {
                "type": "string"
              },
              "it": {
                "type": "string"
              },
              "ja": {
                "type": "string"
              },
              "kk": {
                "type": "string"
              },
              "ko": {
                "type": "string"
              },
              "lb": {
                "type": "string"
              },
              "lt": {
                "type": "string"
              },
              "lv": {
                "type": "string"
              },
              "mk": {
                "type": "string"
              },
              "mt": {
                "type": "string"
              },
              "nl": {
                "type": "string"
              },
              "no": {
                "type": "string"
              },
              "pl": {
                "type": "string"
              },
              "pt": {
                "type": "string"
              },
              "pt-sa": {
                "type": "string"
              },
              "ro": {
                "type": "string"
              },
              "ru": {
                "type": "string"
              },
              "sk": {
                "type": "string"
              },
              "sl": {
                "type": "string"
              },
              "sq": {
                "type": "string"
              },
              "sr": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              },
              "th": {
                "type": "string"
              },
              "tr": {
                "type": "string"
              },
              "uk": {
                "type": "string"
              },
              "vi": {
                "type": "string"
              },
              "zh-Hans": {
                "type": "string"
              },
              "zh-Hant": {
                "type": "string"
              }
            },
            "description": "Maps question-texts to their corresponding i18n-values."
          },
          "answers": {
            "type": "number",
            "nullable": true
          },
          "mappingId": {
            "type": "string",
            "nullable": true
          },
          "settings": {
            "type": "object",
            "additionalProperties": true,
            "description": "Associates settings via name to their respective values."
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string",
            "nullable": false
          },
          "createdAt": {
            "format": "date-time",
            "type": "string",
            "nullable": false
          },
          "descriptions": {
            "type": "object",
            "properties": {
              "af": {
                "type": "string"
              },
              "ar": {
                "type": "string"
              },
              "be": {
                "type": "string"
              },
              "bg": {
                "type": "string"
              },
              "bs": {
                "type": "string"
              },
              "ca": {
                "type": "string"
              },
              "cnr": {
                "type": "string"
              },
              "cs": {
                "type": "string"
              },
              "da": {
                "type": "string"
              },
              "de": {
                "type": "string"
              },
              "el": {
                "type": "string"
              },
              "en": {
                "type": "string"
              },
              "es": {
                "type": "string"
              },
              "es-sa": {
                "type": "string"
              },
              "et": {
                "type": "string"
              },
              "fi": {
                "type": "string"
              },
              "fr": {
                "type": "string"
              },
              "he": {
                "type": "string"
              },
              "hi": {
                "type": "string"
              },
              "hr": {
                "type": "string"
              },
              "hu": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "is": {
                "type": "string"
              },
              "it": {
                "type": "string"
              },
              "ja": {
                "type": "string"
              },
              "kk": {
                "type": "string"
              },
              "ko": {
                "type": "string"
              },
              "lb": {
                "type": "string"
              },
              "lt": {
                "type": "string"
              },
              "lv": {
                "type": "string"
              },
              "mk": {
                "type": "string"
              },
              "mt": {
                "type": "string"
              },
              "nl": {
                "type": "string"
              },
              "no": {
                "type": "string"
              },
              "pl": {
                "type": "string"
              },
              "pt": {
                "type": "string"
              },
              "pt-sa": {
                "type": "string"
              },
              "ro": {
                "type": "string"
              },
              "ru": {
                "type": "string"
              },
              "sk": {
                "type": "string"
              },
              "sl": {
                "type": "string"
              },
              "sq": {
                "type": "string"
              },
              "sr": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              },
              "th": {
                "type": "string"
              },
              "tr": {
                "type": "string"
              },
              "uk": {
                "type": "string"
              },
              "vi": {
                "type": "string"
              },
              "zh-Hans": {
                "type": "string"
              },
              "zh-Hant": {
                "type": "string"
              }
            },
            "description": "Maps description-locales to their corresponding i18n-values.",
            "nullable": true
          },
          "masterQuestionId": {
            "type": "string",
            "nullable": true
          },
          "questionOptions": {
            "description": "The question's related answer options.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuestionOptionResponseDto"
            }
          }
        },
        "required": [
          "id",
          "questionGroupId",
          "sequenceNumber",
          "column",
          "questionType",
          "texts",
          "settings",
          "updatedAt",
          "createdAt",
          "descriptions",
          "questionOptions"
        ],
        "title": "Question Response"
      },
      "EventStatusResponseDto": {
        "type": "object",
        "properties": {
          "eventState": {
            "type": "string",
            "description": "Current state of the event.",
            "enum": [
              "ARCHIVED",
              "DRAFT",
              "LIVE",
              "MASTER"
            ]
          },
          "lifespanActive": {
            "type": "boolean",
            "description": "Flag indicating whether the questionnaire has a lifespan or not."
          },
          "lifespanEnd": {
            "type": "number",
            "description": "End date and time of the questionnaire as UNIX timestamp in milliseconds.",
            "nullable": true
          },
          "lifespanStart": {
            "type": "number",
            "description": "Start date and time of the questionnaire as UNIX timestamp in milliseconds.",
            "nullable": true
          }
        },
        "required": [
          "eventState",
          "lifespanActive",
          "lifespanEnd",
          "lifespanStart"
        ],
        "title": "Event Status Response"
      },
      "ErrorArrayDto": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "description": "Holds one or more errors that occurred.",
            "items": {
              "$ref": "#/components/schemas/ErrorDto"
            }
          }
        },
        "required": [
          "errors"
        ],
        "title": "Error Array"
      },
      "DuplicateQuestionnaireResponseDto": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Shows whether the duplication was successful or not."
          },
          "questionnaireId": {
            "type": "string",
            "description": "ID of the newly created event or master event."
          }
        },
        "required": [
          "success"
        ],
        "title": "Duplicate Questionnaire Response"
      },
      "DuplicateQuestionnaireRequestDto": {
        "type": "object",
        "properties": {
          "createMaster": {
            "type": "boolean",
            "default": false,
            "description": "Whether a master questionnaire should be created."
          },
          "titles": {
            "type": "object",
            "description": "Optional list of titles for each language to use over the default ones.",
            "properties": {
              "af": {
                "type": "string"
              },
              "ar": {
                "type": "string"
              },
              "be": {
                "type": "string"
              },
              "bg": {
                "type": "string"
              },
              "bs": {
                "type": "string"
              },
              "ca": {
                "type": "string"
              },
              "cnr": {
                "type": "string"
              },
              "cs": {
                "type": "string"
              },
              "da": {
                "type": "string"
              },
              "de": {
                "type": "string"
              },
              "el": {
                "type": "string"
              },
              "en": {
                "type": "string"
              },
              "es": {
                "type": "string"
              },
              "es-sa": {
                "type": "string"
              },
              "et": {
                "type": "string"
              },
              "fi": {
                "type": "string"
              },
              "fr": {
                "type": "string"
              },
              "he": {
                "type": "string"
              },
              "hi": {
                "type": "string"
              },
              "hr": {
                "type": "string"
              },
              "hu": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "is": {
                "type": "string"
              },
              "it": {
                "type": "string"
              },
              "ja": {
                "type": "string"
              },
              "kk": {
                "type": "string"
              },
              "ko": {
                "type": "string"
              },
              "lb": {
                "type": "string"
              },
              "lt": {
                "type": "string"
              },
              "lv": {
                "type": "string"
              },
              "mk": {
                "type": "string"
              },
              "mt": {
                "type": "string"
              },
              "nl": {
                "type": "string"
              },
              "no": {
                "type": "string"
              },
              "pl": {
                "type": "string"
              },
              "pt": {
                "type": "string"
              },
              "pt-sa": {
                "type": "string"
              },
              "ro": {
                "type": "string"
              },
              "ru": {
                "type": "string"
              },
              "sk": {
                "type": "string"
              },
              "sl": {
                "type": "string"
              },
              "sq": {
                "type": "string"
              },
              "sr": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              },
              "th": {
                "type": "string"
              },
              "tr": {
                "type": "string"
              },
              "uk": {
                "type": "string"
              },
              "vi": {
                "type": "string"
              },
              "zh-Hans": {
                "type": "string"
              },
              "zh-Hant": {
                "type": "string"
              }
            }
          },
          "lifespanStart": {
            "type": "number",
            "description": "Timestamp of the start of the event. Should be set if the event is only active in a certain time period."
          },
          "lifespanEnd": {
            "type": "number",
            "description": "Timestamp of the end of the event. Should be set if the event is only active in a certain time period."
          },
          "restrictAccessToCreator": {
            "type": "boolean",
            "description": "setting to restrict event access to the event creator",
            "default": false
          },
          "timezone": {
            "type": "string",
            "description": "Timezone of the new event",
            "default": "Europe/Berlin"
          },
          "location": {
            "description": "Location of the event",
            "allOf": [
              {
                "$ref": "#/components/schemas/CreateEventLocationRequestDto"
              }
            ]
          },
          "additionalFeatures": {
            "description": "Additional features to be duplicated",
            "allOf": [
              {
                "$ref": "#/components/schemas/AdditionalFeaturesDto"
              }
            ]
          },
          "tradeShowId": {
            "type": "string",
            "description": "UUID of the trade show of the duplicated questionnaire"
          },
          "tagIds": {
            "description": "IDs of the tags to assign to the duplicated event.",
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "title": "Duplicate Questionnaire Request"
      },
      "CreateEventLocationRequestDto": {
        "type": "object",
        "properties": {
          "locationId": {
            "type": "string",
            "description": "Unique ID of the requested location"
          },
          "displayName": {
            "type": "string",
            "description": "Name of the location that should be displayed to the user"
          },
          "positionDetails": {
            "type": "string",
            "description": "Additional details about the region to uniquely identify a location together with the displayName"
          },
          "latitude": {
            "type": "number",
            "description": "Latitude of the location"
          },
          "longitude": {
            "type": "number",
            "description": "Longitude of the location"
          },
          "country": {
            "type": "string",
            "description": "Country of the location"
          },
          "formattedAddress": {
            "type": "string",
            "description": "Address of the location"
          },
          "locality": {
            "type": "string",
            "description": "Locality of the location"
          },
          "postalCode": {
            "type": "string",
            "description": "Postal code of the location"
          },
          "regionCode": {
            "type": "string",
            "description": "Region code of the location"
          }
        },
        "title": "Create Event Location Request"
      },
      "AdditionalFeaturesDto": {
        "type": "object",
        "properties": {
          "meetings": {
            "type": "boolean",
            "description": "Whether the Meetings feature should be duplicated",
            "default": false
          },
          "voiceAi": {
            "type": "boolean",
            "description": "Whether the VoiceAI feature should be duplicated",
            "default": false
          },
          "teamCoordination": {
            "type": "boolean",
            "description": "Whether the TeamCoordination feature should be duplicated",
            "default": false
          },
          "followUpEmails": {
            "type": "boolean",
            "description": "Whether the Follow-Up-Emails feature should be duplicated",
            "default": false
          },
          "badgeScan": {
            "type": "boolean",
            "description": "Whether the BadgeScan provider configuration should be duplicated",
            "default": false
          }
        },
        "title": "Additional Features"
      }
    },
    "securitySchemes": {
      "x-api-key": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key",
        "description": "Use a [personal API token](/authentication/#personal-api-token)."
      }
    }
  }
}
