{
  "openapi": "3.0.0",
  "info": {
    "title": "VisitReport Reports API",
    "version": "1",
    "description": "Find and read visit reports, edit participant details, and manage report snapshots."
  },
  "servers": [
    {
      "url": "https://backend.snapaddy.com/questionnaire"
    }
  ],
  "paths": {
    "/v1/{questionnaireId}/reports/grid-view": {
      "post": {
        "operationId": "ReportsGridController_getReportsForReportsGrid",
        "summary": "Search reports",
        "description": "Filter and page through reports in an event. Each report in the selected page expands into participant rows.",
        "parameters": [
          {
            "name": "questionnaireId",
            "required": true,
            "in": "path",
            "description": "VisitReport event ID returned by Find events.",
            "schema": {
              "type": "string",
              "example": "ExampleEvent0001"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "A page of matching reports expanded into participant rows, with separate totals for reports and participants.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostReportsGridResponseDto"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorArrayDto"
                }
              }
            }
          },
          "403": {
            "description": "Your account lacks access to this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorArrayDto"
                }
              }
            }
          },
          "404": {
            "description": "In case the event is not found."
          }
        },
        "security": [
          {
            "x-api-key": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostReportsGridRequestDto"
              },
              "example": {
                "pagination": {
                  "limit": 10,
                  "offset": 0
                }
              }
            }
          }
        }
      }
    },
    "/v1/report/{reportId}": {
      "get": {
        "operationId": "ReportController_getReport",
        "summary": "Get a report",
        "description": "Read a report by its parent participant ID. The response includes participants, answers, and questionnaire details.",
        "parameters": [
          {
            "name": "reportId",
            "required": true,
            "in": "path",
            "description": "ID of the report’s parent participant.",
            "schema": {
              "type": "string",
              "example": "ExampleReport001"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The report details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportResponseDto"
                }
              }
            }
          },
          "403": {
            "description": "Your account lacks access to this operation."
          },
          "404": {
            "description": "The requested record was not found."
          }
        },
        "security": [
          {
            "x-api-key": []
          }
        ]
      }
    },
    "/v1/participant/{participantId}": {
      "patch": {
        "operationId": "ParticipantController_updateParticipant",
        "summary": "Update a participant",
        "description": "Updates the participant with the given ID",
        "parameters": [
          {
            "name": "participantId",
            "required": true,
            "in": "path",
            "description": "ID of the individual participant you want to change.",
            "schema": {
              "type": "string",
              "example": "ExamplePerson001"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The participant was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportParticipantResponseDto"
                }
              }
            }
          },
          "403": {
            "description": "Your account lacks access to this operation."
          },
          "404": {
            "description": "The requested record was not found."
          }
        },
        "security": [
          {
            "x-api-key": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchParticipantUpdateRequestDto"
              },
              "example": {
                "firstName": "Alex"
              }
            }
          }
        }
      }
    },
    "/v1/{questionnaireId}/report/create": {
      "post": {
        "operationId": "ReportUploadController_create",
        "summary": "Create an in-progress report",
        "description": "Start a report with the first participant’s details. Keep the returned participantId to save the report and add answers.",
        "parameters": [
          {
            "name": "questionnaireId",
            "required": true,
            "in": "path",
            "description": "VisitReport event ID returned by Find events.",
            "schema": {
              "type": "string",
              "example": "ExampleEvent0001"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Creates a new parent participant for the questionnaire report",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateReportResponseDto"
                }
              }
            }
          },
          "403": {
            "description": "User lacks access to create report for this questionnaire"
          },
          "404": {
            "description": "Questionnaire not found"
          }
        },
        "security": [
          {
            "x-api-key": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateReportRequestDto"
              },
              "example": {
                "firstname": "Alex",
                "lastname": "Morgan",
                "organization": "Example Company",
                "email": "alex@example.com",
                "city": null,
                "contactSource": null,
                "country": null,
                "customFields": {},
                "fax": null,
                "gender": null,
                "linkedIn": null,
                "mobile": null,
                "meta": {},
                "note": null,
                "phone": null,
                "poBox": null,
                "position": null,
                "quickScan": false,
                "state": null,
                "street": null,
                "street2": null,
                "title": null,
                "vat": null,
                "website": null,
                "zip": null
              }
            }
          }
        }
      }
    },
    "/v1/report/{reportId}/download": {
      "get": {
        "operationId": "ReportUploadController_download",
        "summary": "Download a report snapshot",
        "description": "Read the current JSON snapshot, including participants, answers, and file references.",
        "parameters": [
          {
            "name": "reportId",
            "required": true,
            "in": "path",
            "description": "ID of the report’s parent participant.",
            "schema": {
              "type": "string",
              "example": "ExampleReport001"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A JSON snapshot containing the report’s participants, answers, and file references.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DownloadReportResponseDto"
                }
              }
            }
          },
          "403": {
            "description": "Your account lacks access to this operation."
          },
          "404": {
            "description": "In case the requested data does not exist."
          }
        },
        "security": [
          {
            "x-api-key": []
          }
        ]
      }
    },
    "/v1/report/{reportId}/upload": {
      "put": {
        "operationId": "ReportUploadController_upload",
        "summary": "Replace a report snapshot",
        "description": "Replace the participants and answers with the collections in the request. Include every existing record you want to keep. The report stays in progress.",
        "parameters": [
          {
            "name": "reportId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string",
              "example": "ExampleReport001"
            },
            "description": "ID of the report’s parent participant."
          }
        ],
        "responses": {
          "200": {
            "description": "The report was saved and remains in progress."
          },
          "400": {
            "description": "Invalid participants or answers data"
          },
          "403": {
            "description": "User lacks access to upload report for this questionnaire"
          },
          "404": {
            "description": "Questionnaire or participant not found"
          },
          "409": {
            "description": "Questionnaire ID mismatch between resources"
          }
        },
        "security": [
          {
            "x-api-key": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UploadReportRequestDto"
              },
              "example": {
                "participants": {
                  "parent": {
                    "firstname": "Alex",
                    "lastname": "Morgan",
                    "organization": "Example Company",
                    "email": "alex@example.com",
                    "city": null,
                    "contactSource": null,
                    "country": null,
                    "customFields": {},
                    "fax": null,
                    "gender": null,
                    "linkedIn": null,
                    "mobile": null,
                    "meta": {},
                    "note": null,
                    "phone": null,
                    "poBox": null,
                    "position": null,
                    "quickScan": false,
                    "state": null,
                    "street": null,
                    "street2": null,
                    "title": null,
                    "vat": null,
                    "website": null,
                    "zip": null,
                    "participantId": "ExampleReport001"
                  },
                  "children": []
                },
                "answers": [
                  {
                    "questionId": "ExampleQuestion1",
                    "parentQuestionOptionId": null,
                    "options": [
                      {
                        "questionOptionId": "ExampleOption001",
                        "text": "Send pricing for the autumn rollout."
                      }
                    ]
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/v1/report/{reportId}/answers": {
      "put": {
        "operationId": "ReportUploadController_putAnswers",
        "summary": "Replace the answers on a report",
        "description": "Submit the complete answer collection for the parent participant’s report. Omitted answers are removed. This operation checks dashboard access and leaves the participant records in place.",
        "parameters": [
          {
            "name": "reportId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string",
              "example": "ExampleReport001"
            },
            "description": "ID of the report’s parent participant."
          }
        ],
        "responses": {
          "200": {
            "description": "Replaces all report answers."
          },
          "400": {
            "description": "Invalid answer data"
          },
          "403": {
            "description": "User lacks access to upload report answers"
          },
          "404": {
            "description": "Questionnaire or parent participant not found"
          },
          "409": {
            "description": "The participant is not a parent or a report participant is complete"
          }
        },
        "security": [
          {
            "x-api-key": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutReportAnswersRequestDto"
              },
              "example": {
                "answers": [
                  {
                    "questionId": "ExampleQuestion1",
                    "parentQuestionOptionId": null,
                    "options": [
                      {
                        "questionOptionId": "ExampleOption001",
                        "text": "Send pricing for the autumn rollout."
                      }
                    ]
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/v1/report/{reportId}/handover/recipients": {
      "get": {
        "operationId": "ReportUploadController_listHandOverRecipients",
        "summary": "List handover recipients",
        "description": "Find potential recipients for this unfinished report. Use recipients[].userId for handover. The handover request rechecks the recipient’s event access.",
        "parameters": [
          {
            "name": "reportId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string",
              "example": "ExampleReport001"
            },
            "description": "ID of the report’s parent participant."
          }
        ],
        "responses": {
          "200": {
            "description": "The list of users that are eligible to receive the handed over report",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListHandOverRecipientsResponseDto"
                }
              }
            }
          },
          "403": {
            "description": "User lacks access to hand over the report"
          },
          "404": {
            "description": "Report or questionnaire not found"
          },
          "409": {
            "description": "When:<br> - the handover feature is disabled for the questionnaire<br> - the given reportId is not a parent participant"
          }
        },
        "security": [
          {
            "x-api-key": []
          }
        ]
      }
    },
    "/v1/report/{reportId}/handover/recipient/{recipientId}": {
      "post": {
        "operationId": "ReportUploadController_handOver",
        "summary": "Hand over an unfinished report",
        "description": "Hand the report to a different member of the organization who can access the event in the app. Use the parent participant ID. The event must have handover enabled. A completed report returns 409.",
        "parameters": [
          {
            "name": "reportId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string",
              "example": "ExampleReport001"
            },
            "description": "ID of the report’s parent participant."
          },
          {
            "name": "recipientId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string",
              "example": "ExampleUser00001"
            },
            "description": "User ID from this report’s handover recipients list."
          }
        ],
        "responses": {
          "204": {
            "description": "The report was handed over to the specified recipient"
          },
          "403": {
            "description": "User lacks access to hand over the report"
          },
          "404": {
            "description": "Report, questionnaire, or recipient user not found"
          },
          "409": {
            "description": "When:<br> - the handover feature is disabled for the questionnaire<br> - the given reportId is not a parent participant<br> - the recipient ID matches the requester"
          }
        },
        "security": [
          {
            "x-api-key": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "PostReportsGridResponseDto": {
        "type": "object",
        "properties": {
          "reports": {
            "description": "Participant rows for the selected page of reports. A report with several participants contributes several rows.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReportsGridResponseDto"
            }
          },
          "participantCount": {
            "type": "number",
            "description": "Total number of participants belonging to the matching reports, before pagination."
          },
          "reportCount": {
            "type": "number",
            "description": "Total number of matching reports, before pagination."
          }
        },
        "required": [
          "reports",
          "participantCount",
          "reportCount"
        ],
        "title": "Report search results"
      },
      "ReportsGridResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "ID of this participant. If parentId is empty, this is also the report ID.",
            "nullable": false
          },
          "finished": {
            "type": "boolean",
            "description": "Flag indicating whether the participant is finished.",
            "nullable": false,
            "default": false
          },
          "quickScan": {
            "type": "boolean",
            "description": "Flag indicating whether the participant was captured as a quick scan.",
            "nullable": false,
            "default": false
          },
          "exportedToExcel": {
            "type": "boolean",
            "description": "Flag indicating whether the participant was exported to Excel.",
            "nullable": false,
            "default": false
          },
          "exportedToIntegration": {
            "type": "boolean",
            "description": "Flag indicating whether the participant was exported to an integration.",
            "nullable": false,
            "default": false
          },
          "checked": {
            "type": "boolean",
            "description": "Flag indicating whether the participant was checked.",
            "nullable": false,
            "default": false
          },
          "checkedByUserId": {
            "type": "string",
            "description": "Unique identifier of the user who checked the participant.",
            "nullable": true
          },
          "checkedAt": {
            "type": "string",
            "description": "Timestamp when the participant was checked.",
            "nullable": true
          },
          "settings": {
            "type": "object",
            "description": "Settings including additional information about the participant.",
            "nullable": true
          },
          "index": {
            "type": "number",
            "description": "Index of the participant used to create report IDs.",
            "nullable": true
          },
          "exportErrorMessage": {
            "type": "string",
            "description": "Error message if the export of the participant failed.",
            "nullable": true
          },
          "parentId": {
            "type": "string",
            "description": "ID of the report containing this participant. Use parentId when present, otherwise id, to group rows by report.",
            "nullable": true
          },
          "childIndex": {
            "type": "number",
            "description": "Child index of the participant used to create report IDs.",
            "nullable": true
          },
          "exportedToPdf": {
            "type": "boolean",
            "description": "Flag indicating whether the participant was exported to PDF.",
            "nullable": false,
            "default": false
          },
          "notificationSendingStatus": {
            "type": "string",
            "description": "Status of the notification sending for this participant.",
            "enum": [
              "sent-successfully",
              "not-sent",
              "sent-with-errors"
            ],
            "nullable": false,
            "default": "not-sent"
          },
          "exportedAt": {
            "type": "string",
            "description": "Timestamp when the participant was exported to an external system.",
            "nullable": true
          },
          "completedAt": {
            "type": "string",
            "description": "Timestamp when the report was completed.",
            "nullable": true
          },
          "completedByUserId": {
            "type": "string",
            "description": "Unique identifier of the user who completed the report.",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "description": "Timestamp when the participant was created.",
            "nullable": false
          },
          "firstName": {
            "type": "string",
            "description": "First name of the participant.",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "Last name of the participant.",
            "nullable": true
          },
          "organization": {
            "type": "string",
            "description": "Organization of the participant.",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "Email address of the participant.",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "description": "Phone number of the participant.",
            "nullable": true
          },
          "bcImage": {
            "type": "string",
            "description": "Url to the image of the business card of the participant.",
            "nullable": true
          },
          "bcImageBackside": {
            "type": "string",
            "description": "Url to the backside image of the business card of the participant.",
            "nullable": true
          },
          "createdByUserId": {
            "type": "string",
            "description": "Unique identifier of the user who created the participant.",
            "nullable": true
          },
          "customFields": {
            "type": "object",
            "description": "Dictionary containing the custom fields associated with the participant as key value pairs.",
            "additionalProperties": true,
            "nullable": true
          },
          "note": {
            "type": "string",
            "description": "Note or comment about the participant.",
            "nullable": true
          },
          "gender": {
            "type": "number",
            "description": "Gender of the participant.",
            "enum": [
              -1,
              0,
              1
            ],
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "Title of the participant.",
            "nullable": true
          },
          "position": {
            "type": "string",
            "description": "Position of the participant.",
            "nullable": true
          },
          "mobile": {
            "type": "string",
            "description": "Mobile number of the participant.",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "description": "Fax number of the participant.",
            "nullable": true
          },
          "website": {
            "type": "string",
            "description": "Website of the participant.",
            "nullable": true
          },
          "vat": {
            "type": "string",
            "description": "VAT number of the participant.",
            "nullable": true
          },
          "street": {
            "type": "string",
            "description": "Street address of the participant.",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "description": "Additional address information (e.g. apartment number) of the participant.",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "City of the participant.",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "description": "Postal code of the city of the participant.",
            "nullable": true
          },
          "poBox": {
            "type": "string",
            "description": "Post office box of the participant.",
            "nullable": true
          },
          "state": {
            "type": "string",
            "description": "State of the participant.",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "Country of the participant.",
            "nullable": true
          },
          "linkedin": {
            "type": "string",
            "description": "URL to the LinkedIn profile of the participant.",
            "nullable": true
          },
          "attachments": {
            "description": "Array of objects containing an URL to get the attachment for each attachment related to the participant.",
            "nullable": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExportedAttachmentDto"
            }
          },
          "image": {
            "type": "string",
            "description": "URL to the appended image of the participant.",
            "nullable": true
          },
          "companySize": {
            "type": "string",
            "description": "Company size of the participants organization.",
            "nullable": true
          },
          "actualCreatorId": {
            "type": "string",
            "description": "Unique identifier of the creator in case a terminal license was used to create the report.",
            "nullable": true
          },
          "source": {
            "type": "string",
            "description": "Source of the participant.",
            "nullable": true
          },
          "meta": {
            "type": "object",
            "description": "Dictionary containing the meta data of the participant as key value pairs.",
            "nullable": true
          },
          "emailStatus": {
            "default": "none",
            "description": "Shows the email status of a participant.",
            "allOf": [
              {
                "$ref": "#/components/schemas/ReportEmailRecordType"
              }
            ]
          },
          "lastWorkflowExecutionState": {
            "description": "Shows the last workflow execution state of a participant if there is exists one with a state of Accepted values: active=ACTIVE, canceled=CANCELED, completed=COMPLETED, delayed=DELAYED, failed=FAILED, waiting=WAITING, waiting-children=WAITING_CHILDREN.",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowExecutionState"
              }
            ]
          },
          "leadScore": {
            "type": "number",
            "description": "Lead score of the participant, between 0 and 100.",
            "nullable": true
          },
          "leadScoreText": {
            "type": "string",
            "description": "Lead score text of the participant.",
            "nullable": true,
            "maxLength": 4096
          },
          "answers": {
            "type": "object",
            "description": "Dictionary containing the answers to the questions of the report. The keys are the question IDs and the values are the answers.",
            "nullable": false,
            "default": {},
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ReportAnswerResponseDto"
              }
            }
          },
          "matchesFilterCriteria": {
            "type": "boolean",
            "description": "Indicates whether this participant directly matches the applied filter and search criteria."
          }
        },
        "required": [
          "id",
          "finished",
          "quickScan",
          "exportedToExcel",
          "exportedToIntegration",
          "checked",
          "checkedByUserId",
          "checkedAt",
          "settings",
          "index",
          "exportErrorMessage",
          "parentId",
          "childIndex",
          "exportedToPdf",
          "notificationSendingStatus",
          "exportedAt",
          "completedAt",
          "completedByUserId",
          "createdAt",
          "firstName",
          "lastName",
          "organization",
          "email",
          "phone",
          "bcImage",
          "bcImageBackside",
          "createdByUserId",
          "customFields",
          "note",
          "gender",
          "title",
          "position",
          "mobile",
          "fax",
          "website",
          "vat",
          "street",
          "street2",
          "city",
          "zip",
          "poBox",
          "state",
          "country",
          "linkedin",
          "attachments",
          "image",
          "companySize",
          "actualCreatorId",
          "source",
          "meta",
          "emailStatus",
          "lastWorkflowExecutionState",
          "leadScore",
          "leadScoreText",
          "answers",
          "matchesFilterCriteria"
        ],
        "title": "Participant row"
      },
      "ExportedAttachmentDto": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "URL of the attachment.",
            "nullable": false
          },
          "description": {
            "type": "string",
            "description": "Description of the attachment. Absent if the attachment has none.",
            "maxLength": 100,
            "nullable": false
          }
        },
        "title": "Exported Attachment"
      },
      "ReportEmailRecordType": {
        "type": "string",
        "enum": [
          "failed",
          "none",
          "scheduled",
          "sent"
        ],
        "description": "Shows the email status of a participant."
      },
      "WorkflowExecutionState": {
        "type": "string",
        "enum": [
          "active",
          "canceled",
          "completed",
          "delayed",
          "failed",
          "waiting",
          "waiting-children"
        ],
        "description": "Shows the last workflow execution state of a participant if there is exists one with a state of Accepted values: active=ACTIVE, canceled=CANCELED, completed=COMPLETED, delayed=DELAYED, failed=FAILED, waiting=WAITING, waiting-children=WAITING_CHILDREN."
      },
      "ReportAnswerResponseDto": {
        "type": "object",
        "properties": {
          "questionOptionId": {
            "type": "string",
            "description": "Unique identifier of the question option used to answer the question.",
            "nullable": false
          },
          "parentQuestionOptionId": {
            "type": "string",
            "description": "Unique identifier of the parent question option. If this is set, the answer is a child answer of the parent question option.",
            "nullable": false
          },
          "answerOptionText": {
            "type": "string",
            "description": "Depending on the question type, this contains the given answer text for the question.",
            "nullable": false
          }
        },
        "required": [
          "questionOptionId"
        ],
        "title": "Report Answer 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"
      },
      "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"
      },
      "PostReportsGridRequestDto": {
        "type": "object",
        "properties": {
          "order": {
            "description": "Order object, containing a field name and sort direction by which the contacts should be ordered. Defaults to the last created contact first",
            "default": {
              "field": "createdAt",
              "sortDirection": "DESC"
            },
            "allOf": [
              {
                "$ref": "#/components/schemas/ReportOrderDto"
              }
            ]
          },
          "pagination": {
            "description": "Pagination parameters for the request. Defaults to a limit of 50 and an offset of 0",
            "default": {
              "limit": 50,
              "offset": 0
            },
            "allOf": [
              {
                "$ref": "#/components/schemas/PaginationQueryDto"
              }
            ]
          },
          "reportFilters": {
            "description": "Report filters to be applied. Distinguished between participant and answer filters.",
            "allOf": [
              {
                "$ref": "#/components/schemas/ReportFilterDto"
              }
            ]
          },
          "searchTerm": {
            "type": "string",
            "description": "Search term to filter contacts by first name, last name, email address or organization."
          }
        },
        "title": "Post Reports Grid Request"
      },
      "ReportOrderDto": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string",
            "description": "Contact field to which the order applies.",
            "enum": [
              "city",
              "companySize",
              "country",
              "createdAt",
              "createdByName",
              "email",
              "fax",
              "firstName",
              "gender",
              "lastName",
              "linkedin",
              "mobile",
              "note",
              "organization",
              "phone",
              "poBox",
              "position",
              "source",
              "state",
              "street",
              "street2",
              "title",
              "vat",
              "website",
              "zip",
              "checkedAt",
              "checkedByName",
              "completedAt",
              "completedByName",
              "exportedAt",
              "finished",
              "index",
              "leadScore",
              "leadScoreText"
            ]
          },
          "sortDirection": {
            "type": "string",
            "description": "Direction in which the ordering should be made.",
            "enum": [
              "ASC",
              "DESC"
            ]
          }
        },
        "required": [
          "field",
          "sortDirection"
        ],
        "title": "Report Order"
      },
      "PaginationQueryDto": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "number",
            "description": "Amount of items that should be fetched at once.\n    - Default: 50.\n    - Maximum:  1000. ",
            "minimum": 1,
            "maximum": 1000,
            "default": 50
          },
          "offset": {
            "type": "number",
            "description": "Number of reports to skip. Count distinct report IDs when advancing to the next page.",
            "minimum": 0,
            "default": 0
          }
        },
        "title": "Pagination Query"
      },
      "ReportFilterDto": {
        "type": "object",
        "properties": {
          "participantFilters": {
            "description": "Set of participant filters containing contact data to be applied.",
            "default": [],
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReportParticipantFilterDto"
            }
          },
          "selectQuestionAnswerFilters": {
            "description": "Set of answer filters for \"select\" questions to be applied.",
            "default": [],
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SelectQuestionAnswerFilterDto"
            }
          },
          "textQuestionAnswerFilters": {
            "description": "Set of answer filters for \"text\" questions to be applied.",
            "default": [],
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TextQuestionAnswerFilterDto"
            }
          },
          "numberQuestionAnswerFilters": {
            "description": "Set of answer filters for \"number\" questions to be applied.",
            "default": [],
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NumberQuestionAnswerFilterDto"
            }
          },
          "dateQuestionAnswerFilters": {
            "description": "Set of answer filters for \"date\", \"date-only\" and \"time-only\" questions to be applied.",
            "default": [],
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DateQuestionAnswerFilterDto"
            }
          },
          "signatureQuestionAnswerFilters": {
            "description": "Set of answer filters for \"signature\" questions to be applied.",
            "default": [],
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SignatureQuestionAnswerFilterDto"
            }
          },
          "statusFilters": {
            "type": "array",
            "description": "Set of status filters to be applied.",
            "default": [],
            "items": {
              "type": "string",
              "enum": [
                "checked",
                "not-checked",
                "export-failed",
                "exported",
                "not-exported",
                "excel-exported",
                "not-excel-exported",
                "pdf-exported",
                "not-pdf-exported",
                "thank-you-email-sent-success",
                "thank-you-email-sent-failed",
                "thank-you-email-sent-pending",
                "thank-you-email-not-sent",
                "notification-sent",
                "notification-not-sent",
                "notification-sending-error",
                "workflow-completed",
                "workflow-failed",
                "workflow-not-executed",
                "quick-scan",
                "not-quick-scan",
                "finished",
                "not-finished",
                "in-progress",
                "completed"
              ]
            }
          },
          "workflowExecutionFilters": {
            "description": "Set of workflow execution filters to be applied.",
            "default": [],
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WorkflowExecutionFilterDto"
            }
          },
          "crmDuplicateCheckFilters": {
            "description": "Set of filters regarding the duplicate check.",
            "default": [],
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CrmDuplicateCheckFilterDto"
            }
          },
          "userGroupFilters": {
            "description": "Set of filters regarding user groups of report creators.",
            "default": [],
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserGroupFilterDto"
            }
          },
          "textCustomProfileFieldFilters": {
            "description": "Set of filters regarding user text custom profile fields of report creators.",
            "default": [],
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserTextCustomProfileFieldFilterDto"
            }
          },
          "selectCustomProfileFieldFilters": {
            "description": "Set of filters regarding user select custom profile fields of report creators.",
            "default": [],
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserSelectCustomProfileFieldFilterDto"
            }
          }
        },
        "title": "Report Filter"
      },
      "ReportParticipantFilterDto": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string",
            "description": "Field to which the filter applies.",
            "enum": [
              "city",
              "companySize",
              "country",
              "createdAt",
              "createdByUserId",
              "email",
              "fax",
              "firstName",
              "gender",
              "lastName",
              "linkedin",
              "mobile",
              "note",
              "organization",
              "phone",
              "poBox",
              "position",
              "source",
              "state",
              "street",
              "street2",
              "title",
              "vat",
              "website",
              "zip",
              "checkedAt",
              "checkedByUserId",
              "completedAt",
              "completedByUserId",
              "exportedAt",
              "leadScore",
              "leadScoreText"
            ]
          },
          "operator": {
            "type": "string",
            "description": "Comparison operator.",
            "enum": [
              "is",
              "is-not",
              "contains",
              "starts-with",
              "ends-with",
              "does-not-contain",
              "is-empty",
              "is-not-empty",
              "has-any-of",
              "has-all-of",
              "has-none-of",
              "is-between",
              "is-date",
              "from",
              "until",
              "is-greater-than",
              "is-greater-than-or-equal",
              "is-less-than",
              "is-less-than-or-equal"
            ]
          },
          "values": {
            "description": "Value or set of values to be compared.",
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "field",
          "operator",
          "values"
        ],
        "title": "Report Participant Filter"
      },
      "SelectQuestionAnswerFilterDto": {
        "type": "object",
        "properties": {
          "questionId": {
            "type": "string",
            "description": "Question ID of the question for which the answers get filtered."
          },
          "operator": {
            "type": "string",
            "description": "Operator to compare answers.",
            "enum": [
              "is",
              "is-not",
              "has-all-of",
              "has-any-of",
              "has-none-of",
              "is-empty",
              "is-not-empty"
            ]
          },
          "values": {
            "description": "Values or set of question options IDs.",
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "questionId",
          "operator",
          "values"
        ],
        "title": "Select Question Answer Filter"
      },
      "TextQuestionAnswerFilterDto": {
        "type": "object",
        "properties": {
          "questionId": {
            "type": "string",
            "description": "Question ID of the text question for which the answers get filtered."
          },
          "operator": {
            "type": "string",
            "description": "Operator to compare answers.",
            "enum": [
              "is",
              "is-not",
              "contains",
              "does-not-contain",
              "starts-with",
              "ends-with",
              "is-empty",
              "is-not-empty"
            ]
          },
          "value": {
            "type": "string",
            "description": "Value for which the answers get filtered."
          }
        },
        "required": [
          "questionId",
          "operator",
          "value"
        ],
        "title": "Text Question Answer Filter"
      },
      "NumberQuestionAnswerFilterDto": {
        "type": "object",
        "properties": {
          "questionId": {
            "type": "string",
            "description": "Question ID of the question for which the answers get filtered."
          },
          "operator": {
            "type": "string",
            "description": "Operator to compare answers.",
            "enum": [
              "is",
              "is-greater-than",
              "is-greater-than-or-equal",
              "is-less-than",
              "is-less-than-or-equal",
              "is-between"
            ]
          },
          "values": {
            "description": "Values to compare the answers with.",
            "type": "array",
            "items": {
              "type": "number"
            }
          }
        },
        "required": [
          "questionId",
          "operator",
          "values"
        ],
        "title": "Number Question Answer Filter"
      },
      "DateQuestionAnswerFilterDto": {
        "type": "object",
        "properties": {
          "questionId": {
            "type": "string",
            "description": "Question ID of the question for which the answers get filtered."
          },
          "operator": {
            "type": "string",
            "description": "Operator to compare answers.",
            "enum": [
              "is-date",
              "from",
              "until",
              "is-between"
            ]
          },
          "values": {
            "description": "Date/time values to compare the answers with. Different formats are accepted depending on the question type: Date and time questions accept YYYY-MM-DDTHH:mm, date-only questions accept YYYY-MM-DD, time-only questions accept HH:mm.",
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "questionId",
          "operator",
          "values"
        ],
        "title": "Date Question Answer Filter"
      },
      "SignatureQuestionAnswerFilterDto": {
        "type": "object",
        "properties": {
          "questionId": {
            "type": "string",
            "description": "Question ID of the question for which the answers get filtered."
          },
          "operator": {
            "type": "string",
            "description": "Operator to compare answers.",
            "enum": [
              "is-empty",
              "is-not-empty"
            ]
          }
        },
        "required": [
          "questionId",
          "operator"
        ],
        "title": "Signature Question Answer Filter"
      },
      "WorkflowExecutionFilterDto": {
        "type": "object",
        "properties": {
          "condition": {
            "type": "string",
            "description": "Workflow execution condition to be applied.",
            "enum": [
              "any-completed",
              "any-failed",
              "last-completed",
              "last-failed",
              "not-executed"
            ]
          },
          "workflowId": {
            "type": "string",
            "description": "Workflow to which the condition applies. If omitted, the condition applies to all workflows.",
            "format": "uuid"
          }
        },
        "required": [
          "condition"
        ],
        "title": "Workflow Execution Filter"
      },
      "CrmDuplicateCheckFilterDto": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Crm entity type for which the filter is applied."
          },
          "operator": {
            "type": "string",
            "description": "Operator used to filter entity types.",
            "enum": [
              "missing-data",
              "not-executed",
              "not-exists",
              "exists",
              "might-exist"
            ]
          }
        },
        "required": [
          "type",
          "operator"
        ],
        "title": "Crm Duplicate Check Filter"
      },
      "UserGroupFilterDto": {
        "type": "object",
        "properties": {
          "target": {
            "type": "string",
            "description": "Type of the user related to the report. E.g. creator, checker or completer.",
            "enum": [
              "CHECKER",
              "COMPLETER",
              "CREATOR"
            ]
          },
          "operator": {
            "type": "string",
            "description": "Comparison operator.",
            "enum": [
              "is",
              "is-not",
              "has-all-of",
              "has-any-of",
              "has-none-of",
              "is-empty",
              "is-not-empty"
            ]
          },
          "values": {
            "description": "Values or set of user group IDs.",
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "target",
          "operator",
          "values"
        ],
        "title": "User Group Filter"
      },
      "UserTextCustomProfileFieldFilterDto": {
        "type": "object",
        "properties": {
          "target": {
            "type": "string",
            "description": "Type of the user related to the report. E.g. creator, checker or completer.",
            "enum": [
              "CHECKER",
              "COMPLETER",
              "CREATOR"
            ]
          },
          "customProfileFieldId": {
            "type": "string",
            "description": "Custom profile field ID of the text field for which the value get filtered."
          },
          "operator": {
            "type": "string",
            "description": "Operator to compare custom profile field values.",
            "enum": [
              "is",
              "is-not",
              "contains",
              "does-not-contain",
              "starts-with",
              "ends-with",
              "is-empty",
              "is-not-empty"
            ]
          },
          "value": {
            "type": "string",
            "description": "Value for which the custom profile field value get filtered."
          }
        },
        "required": [
          "target",
          "customProfileFieldId",
          "operator",
          "value"
        ],
        "title": "User Text Custom Profile Field Filter"
      },
      "UserSelectCustomProfileFieldFilterDto": {
        "type": "object",
        "properties": {
          "target": {
            "type": "string",
            "description": "Type of the user related to the report. E.g. creator, checker or completer.",
            "enum": [
              "CHECKER",
              "COMPLETER",
              "CREATOR"
            ]
          },
          "customProfileFieldId": {
            "type": "string",
            "description": "Custom profile field ID of the select custom profile field for which the values get filtered."
          },
          "operator": {
            "type": "string",
            "description": "Operator to compare custom profile field values.",
            "enum": [
              "is",
              "is-not",
              "has-all-of",
              "has-any-of",
              "has-none-of",
              "is-empty",
              "is-not-empty"
            ]
          },
          "values": {
            "description": "Values or set of custom profile field option IDs.",
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "target",
          "customProfileFieldId",
          "operator",
          "values"
        ],
        "title": "User Select Custom Profile Field Filter"
      },
      "ReportResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique identifier of the report."
          },
          "organizationId": {
            "type": "string",
            "description": "The unique identifier of the owning organization."
          },
          "organizationName": {
            "type": "string",
            "description": "The name of the organization the report relates to."
          },
          "questionnaireId": {
            "type": "string",
            "description": "ID of the event that defines this report’s questionnaire."
          },
          "participants": {
            "description": "The people that participated in answering the questionnaire.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ParticipantResponseDto"
            }
          },
          "answers": {
            "description": "Recorded answers. Match questionId and questionOptionId to the event’s questionnaire to display their labels.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnswerResponseDto"
            }
          }
        },
        "required": [
          "id",
          "organizationId",
          "organizationName",
          "questionnaireId",
          "participants",
          "answers"
        ],
        "title": "Report details"
      },
      "ParticipantResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique ID of the participant."
          },
          "reportId": {
            "type": "string",
            "description": "The unique ID of the report this participant refers to."
          },
          "questionnaireId": {
            "type": "string",
            "description": "The unique ID of the questionnaire this participant refers to."
          },
          "finished": {
            "type": "boolean",
            "nullable": true
          },
          "exportedToExcel": {
            "type": "boolean",
            "nullable": true
          },
          "exportedToIntegration": {
            "type": "boolean",
            "nullable": true
          },
          "checked": {
            "type": "boolean"
          },
          "checkedByUserId": {
            "type": "string",
            "description": "ID of the user, who has checked the report",
            "nullable": true
          },
          "checkedByName": {
            "type": "string",
            "description": "Name of the user, who has checked the report",
            "nullable": true
          },
          "checkedByUserName": {
            "type": "string",
            "description": "Username of the user, who has checked the report",
            "nullable": true
          },
          "checkedAt": {
            "format": "date-time",
            "type": "string"
          },
          "completedByUserId": {
            "type": "string",
            "description": "ID of the user, who has completed the report",
            "nullable": true
          },
          "completedByName": {
            "type": "string",
            "description": "Name of the user, who has completed the report",
            "nullable": true
          },
          "completedByUserName": {
            "type": "string",
            "description": "Username of the user, who has completed the report",
            "nullable": true
          },
          "completedAt": {
            "format": "date-time",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string",
            "description": "Timestamp of last update of participant",
            "nullable": true
          },
          "sourceContactItemId": {
            "type": "string",
            "nullable": true
          },
          "sourceContactListId": {
            "type": "string",
            "nullable": true
          },
          "settings": {
            "$ref": "#/components/schemas/ParticipantSettingsResponseDto"
          },
          "index": {
            "type": "number",
            "nullable": true
          },
          "exportErrorMessage": {
            "type": "string",
            "nullable": true
          },
          "childIndex": {
            "type": "number",
            "nullable": true
          },
          "exportedToPdf": {
            "type": "boolean",
            "nullable": true
          },
          "notificationSendingStatus": {
            "type": "string",
            "enum": [
              "sent-successfully",
              "not-sent",
              "sent-with-errors"
            ]
          },
          "address": {
            "description": "Contact information related to this participant.",
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactResponseDto"
              }
            ]
          },
          "quickScan": {
            "type": "boolean",
            "description": "Contact was created with the quick scan feature.",
            "nullable": false
          }
        },
        "required": [
          "id",
          "reportId",
          "questionnaireId",
          "notificationSendingStatus",
          "address",
          "quickScan"
        ],
        "title": "Participant Response"
      },
      "ParticipantSettingsResponseDto": {
        "type": "object",
        "properties": {
          "integrations": {
            "$ref": "#/components/schemas/ParticipantSettingsIntegrationsResponseDto"
          }
        },
        "title": "Participant Settings Response"
      },
      "ParticipantSettingsIntegrationsResponseDto": {
        "type": "object",
        "properties": {
          "thanksEmailSent": {
            "type": "boolean"
          }
        },
        "title": "Participant Settings Integrations Response"
      },
      "ContactResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique ID"
          },
          "contactListId": {
            "type": "string",
            "description": "ID of the contact list to which this contact belongs."
          },
          "bcImage": {
            "type": "string",
            "description": "Image of the contacts scanned business card"
          },
          "bcImageBackside": {
            "type": "string",
            "description": "Image of the backside of the contacts scanned business card"
          },
          "bcChecked": {
            "type": "boolean",
            "description": "Has the business card been checked?"
          },
          "createdByUserId": {
            "type": "string",
            "nullable": true
          },
          "createdByName": {
            "type": "string",
            "description": "Name of the user, who has created the contact"
          },
          "createdByUserName": {
            "type": "string",
            "description": "Username of the user, who has created the contact"
          },
          "drawing": {
            "type": "string",
            "description": "Relative path to the image of a drawing, possibly created by VR"
          },
          "city": {
            "type": "string",
            "description": "Name of the city in which the contact lives in"
          },
          "country": {
            "type": "string",
            "description": "Country where the contact lives in"
          },
          "companySize": {
            "type": "string",
            "description": "The company size of the contact"
          },
          "customFields": {
            "type": "object",
            "description": "Custom fields of the contact",
            "additionalProperties": true
          },
          "meta": {
            "description": "Maps meta-information keys with their related respective values.",
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactMetaRootObjectResponseDto"
              }
            ]
          },
          "email": {
            "type": "string",
            "description": "Email address"
          },
          "fax": {
            "type": "string",
            "description": "Phone number (Fax)"
          },
          "firstName": {
            "type": "string",
            "description": "The contact's first name"
          },
          "gender": {
            "type": "number",
            "description": "Maybe the gender. Accepted values: -1=Unknown, 0=Male, 1=Female",
            "enum": [
              -1,
              0,
              1
            ]
          },
          "lastName": {
            "type": "string",
            "description": "The contact's last name"
          },
          "note": {
            "type": "string",
            "description": "Notes about the contact"
          },
          "mobile": {
            "type": "string",
            "description": "Phone number (mobile)"
          },
          "organization": {
            "type": "string",
            "description": "Name of the company for which the contact works for"
          },
          "position": {
            "type": "string",
            "description": "Job position"
          },
          "phone": {
            "type": "string",
            "description": "Phone number"
          },
          "street": {
            "type": "string",
            "description": "Street"
          },
          "street2": {
            "type": "string",
            "description": "Street 2"
          },
          "state": {
            "type": "string",
            "description": "State in which the contact lives in"
          },
          "title": {
            "type": "string",
            "description": "Job title"
          },
          "website": {
            "type": "string",
            "description": "Website URL"
          },
          "vat": {
            "type": "string",
            "description": "Valued added tax number, e.g. german UmsatzsteuerId"
          },
          "attachments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AttachmentDto"
            }
          },
          "image": {
            "type": "string",
            "description": "Relative path to the contact avatar image"
          },
          "industry": {
            "type": "string",
            "description": "Industry the contact is in"
          },
          "revenue": {
            "type": "string",
            "description": "Revenue of the contact"
          },
          "zip": {
            "type": "string",
            "description": "ZIP-Code of the city in which the contact lives in"
          },
          "startDate": {
            "format": "date-time",
            "type": "string",
            "description": "Timestamp where communication with the contact started, eg. creation date."
          },
          "actualCreatorId": {
            "type": "string"
          },
          "facebook": {
            "type": "string",
            "description": "Facebook of the contact"
          },
          "twitter": {
            "type": "string",
            "description": "Twitter of the contact"
          },
          "xing": {
            "type": "string",
            "description": "Xing of the contact"
          },
          "linkedIn": {
            "type": "string",
            "description": "LinkedIn of the contact"
          },
          "poBox": {
            "type": "string",
            "description": "PO Box for the contact"
          },
          "contactAddress": {
            "description": "Address-facade of a contact, deprecated and only used for FormExport.",
            "deprecated": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactAddressResponseDto"
              }
            ]
          },
          "contactNetworks": {
            "description": "Networks-facade of a contact, deprecated and only used for FormExport.",
            "deprecated": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactNetworksResponseDto"
              }
            ]
          }
        },
        "required": [
          "id",
          "startDate"
        ],
        "title": "Contact Response"
      },
      "ContactMetaRootObjectResponseDto": {
        "type": "object",
        "properties": {
          "contactSource": {
            "type": "string"
          },
          "duplicateCheck": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/ContactMetaDuplicateCheckResponseDto"
            }
          },
          "entityId": {
            "type": "string"
          },
          "grabber": {
            "$ref": "#/components/schemas/ContactMetaGrabberResponseDto"
          },
          "snapaddyAssistant": {
            "$ref": "#/components/schemas/ContactMetaSnapaddyAssistantResponseDto"
          },
          "suggestion": {
            "$ref": "#/components/schemas/ContactMetaSuggestionResponseDto"
          },
          "unread": {
            "type": "boolean"
          }
        },
        "title": "Contact Meta Root Object Response"
      },
      "ContactMetaDuplicateCheckResponseDto": {
        "type": "object",
        "properties": {
          "lastUpdate": {
            "type": "number"
          },
          "states": {
            "type": "object",
            "additionalProperties": {
              "type": "integer"
            }
          }
        },
        "title": "Contact Meta Duplicate Check Response"
      },
      "ContactMetaGrabberResponseDto": {
        "type": "object",
        "properties": {
          "isExported": {
            "type": "boolean"
          },
          "isPhoneNumberFormatted": {
            "type": "boolean"
          },
          "updater": {
            "$ref": "#/components/schemas/ContactMetaUpdaterResponseDto"
          }
        },
        "title": "Contact Meta Grabber Response"
      },
      "ContactMetaUpdaterResponseDto": {
        "type": "object",
        "properties": {
          "entityMetaData": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/ContactMetaEntityIntentDto"
            }
          },
          "url": {
            "type": "string"
          }
        },
        "title": "Contact Meta Updater Response"
      },
      "ContactMetaEntityIntentDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "intent": {
            "type": "string"
          }
        },
        "title": "Contact Meta Entity Intent"
      },
      "ContactMetaSnapaddyAssistantResponseDto": {
        "type": "object",
        "properties": {
          "msResource": {
            "type": "string"
          },
          "msUserId": {
            "type": "string"
          },
          "originalValues": {
            "type": "object",
            "additionalProperties": true
          },
          "type": {
            "type": "string"
          },
          "uuid": {
            "type": "string"
          }
        },
        "title": "Contact Meta Snapaddy Assistant Response"
      },
      "ContactMetaSuggestionResponseDto": {
        "type": "object",
        "properties": {
          "changedFields": {
            "type": "object",
            "additionalProperties": {
              "items": {
                "type": "string"
              }
            }
          },
          "crm": {
            "type": "string"
          },
          "hash": {
            "type": "string"
          },
          "receiveDateTime": {
            "type": "string"
          },
          "sender": {
            "$ref": "#/components/schemas/ContactMetaSenderResponseDto"
          },
          "source": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "webLink": {
            "type": "string"
          }
        },
        "title": "Contact Meta Suggestion Response"
      },
      "ContactMetaSenderResponseDto": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "title": "Contact Meta Sender Response"
      },
      "AttachmentDto": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "The URL to download the attachment contents from."
          },
          "type": {
            "type": "string",
            "description": "Maybe the type of the attachment, if provided along with the attachment contents",
            "enum": [
              "*",
              "NOTE",
              "IMAGE",
              "BCIMAGE",
              "BCIMAGEBACKSIDE",
              "DRAWING",
              "PDF",
              "SIGNATURE",
              "VISITREPORT_PDF"
            ]
          },
          "fileName": {
            "type": "string",
            "description": "Maybe the original filename the attachment was uploaded with."
          },
          "success": {
            "type": "boolean",
            "description": "Indicating whether the attachment was successfully uploaded."
          }
        },
        "required": [
          "url"
        ],
        "title": "Attachment"
      },
      "ContactAddressResponseDto": {
        "type": "object",
        "properties": {
          "contactId": {
            "type": "string"
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "street": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "poBox": {
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "contactId"
        ],
        "title": "Contact Address Response"
      },
      "ContactNetworksResponseDto": {
        "type": "object",
        "properties": {
          "contactId": {
            "type": "string"
          },
          "facebook": {
            "type": "string",
            "nullable": true
          },
          "twitter": {
            "type": "string",
            "nullable": true
          },
          "xing": {
            "type": "string",
            "nullable": true
          },
          "linkedIn": {
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "contactId"
        ],
        "title": "Contact Networks Response"
      },
      "AnswerResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique ID of the answer."
          },
          "reportId": {
            "type": "string",
            "description": "The unique ID of the report this answer refers to."
          },
          "questionId": {
            "type": "string",
            "description": "The unique ID of the question this answer refers to."
          },
          "parentQuestionOptionId": {
            "type": "string",
            "description": "Maybe the unique ID of the parent question option this answer refers to.",
            "nullable": true
          },
          "custom": {
            "$ref": "#/components/schemas/AnswerResponseCustomDto"
          },
          "answerOptions": {
            "description": "Answers that were given to the question.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnswerOptionResponseDto"
            }
          }
        },
        "required": [
          "id",
          "reportId",
          "questionId",
          "parentQuestionOptionId",
          "answerOptions"
        ],
        "title": "Answer Response"
      },
      "AnswerResponseCustomDto": {
        "type": "object",
        "properties": {
          "childParticipantId": {
            "type": "string",
            "description": "The unique ID of the child participant this answer refers to."
          }
        },
        "title": "Answer Response Custom"
      },
      "AnswerOptionResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique ID of the answer option."
          },
          "answerId": {
            "type": "string",
            "description": "The unique ID of the answer this answer option refers to."
          },
          "questionOptionId": {
            "type": "string"
          },
          "text": {
            "type": "string",
            "nullable": true
          },
          "parentQuestionOptionId": {
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "id",
          "answerId",
          "questionOptionId"
        ],
        "title": "Answer Option Response"
      },
      "ReportParticipantResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier of the participant.",
            "nullable": false
          },
          "finished": {
            "type": "boolean",
            "description": "Flag indicating whether the participant is finished.",
            "nullable": false,
            "default": false
          },
          "quickScan": {
            "type": "boolean",
            "description": "Flag indicating whether the participant was captured as a quick scan.",
            "nullable": false,
            "default": false
          },
          "exportedToExcel": {
            "type": "boolean",
            "description": "Flag indicating whether the participant was exported to Excel.",
            "nullable": false,
            "default": false
          },
          "exportedToIntegration": {
            "type": "boolean",
            "description": "Flag indicating whether the participant was exported to an integration.",
            "nullable": false,
            "default": false
          },
          "checked": {
            "type": "boolean",
            "description": "Flag indicating whether the participant was checked.",
            "nullable": false,
            "default": false
          },
          "checkedByUserId": {
            "type": "string",
            "description": "Unique identifier of the user who checked the participant.",
            "nullable": true
          },
          "checkedAt": {
            "type": "string",
            "description": "Timestamp when the participant was checked.",
            "nullable": true
          },
          "settings": {
            "type": "object",
            "description": "Settings including additional information about the participant.",
            "nullable": true
          },
          "index": {
            "type": "number",
            "description": "Index of the participant used to create report IDs.",
            "nullable": true
          },
          "exportErrorMessage": {
            "type": "string",
            "description": "Error message if the export of the participant failed.",
            "nullable": true
          },
          "parentId": {
            "type": "string",
            "description": "Unique identifier of the parent participant",
            "nullable": true
          },
          "childIndex": {
            "type": "number",
            "description": "Child index of the participant used to create report IDs.",
            "nullable": true
          },
          "exportedToPdf": {
            "type": "boolean",
            "description": "Flag indicating whether the participant was exported to PDF.",
            "nullable": false,
            "default": false
          },
          "notificationSendingStatus": {
            "type": "string",
            "description": "Status of the notification sending for this participant.",
            "enum": [
              "sent-successfully",
              "not-sent",
              "sent-with-errors"
            ],
            "nullable": false,
            "default": "not-sent"
          },
          "exportedAt": {
            "type": "string",
            "description": "Timestamp when the participant was exported to an external system.",
            "nullable": true
          },
          "completedAt": {
            "type": "string",
            "description": "Timestamp when the report was completed.",
            "nullable": true
          },
          "completedByUserId": {
            "type": "string",
            "description": "Unique identifier of the user who completed the report.",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "description": "Timestamp when the participant was created.",
            "nullable": false
          },
          "firstName": {
            "type": "string",
            "description": "First name of the participant.",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "Last name of the participant.",
            "nullable": true
          },
          "organization": {
            "type": "string",
            "description": "Organization of the participant.",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "Email address of the participant.",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "description": "Phone number of the participant.",
            "nullable": true
          },
          "bcImage": {
            "type": "string",
            "description": "Url to the image of the business card of the participant.",
            "nullable": true
          },
          "bcImageBackside": {
            "type": "string",
            "description": "Url to the backside image of the business card of the participant.",
            "nullable": true
          },
          "createdByUserId": {
            "type": "string",
            "description": "Unique identifier of the user who created the participant.",
            "nullable": true
          },
          "customFields": {
            "type": "object",
            "description": "Dictionary containing the custom fields associated with the participant as key value pairs.",
            "additionalProperties": true,
            "nullable": true
          },
          "note": {
            "type": "string",
            "description": "Note or comment about the participant.",
            "nullable": true
          },
          "gender": {
            "type": "number",
            "description": "Gender of the participant.",
            "enum": [
              -1,
              0,
              1
            ],
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "Title of the participant.",
            "nullable": true
          },
          "position": {
            "type": "string",
            "description": "Position of the participant.",
            "nullable": true
          },
          "mobile": {
            "type": "string",
            "description": "Mobile number of the participant.",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "description": "Fax number of the participant.",
            "nullable": true
          },
          "website": {
            "type": "string",
            "description": "Website of the participant.",
            "nullable": true
          },
          "vat": {
            "type": "string",
            "description": "VAT number of the participant.",
            "nullable": true
          },
          "street": {
            "type": "string",
            "description": "Street address of the participant.",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "description": "Additional address information (e.g. apartment number) of the participant.",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "City of the participant.",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "description": "Postal code of the city of the participant.",
            "nullable": true
          },
          "poBox": {
            "type": "string",
            "description": "Post office box of the participant.",
            "nullable": true
          },
          "state": {
            "type": "string",
            "description": "State of the participant.",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "Country of the participant.",
            "nullable": true
          },
          "linkedin": {
            "type": "string",
            "description": "URL to the LinkedIn profile of the participant.",
            "nullable": true
          },
          "attachments": {
            "description": "Array of objects containing an URL to get the attachment for each attachment related to the participant.",
            "nullable": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExportedAttachmentDto"
            }
          },
          "image": {
            "type": "string",
            "description": "URL to the appended image of the participant.",
            "nullable": true
          },
          "companySize": {
            "type": "string",
            "description": "Company size of the participants organization.",
            "nullable": true
          },
          "actualCreatorId": {
            "type": "string",
            "description": "Unique identifier of the creator in case a terminal license was used to create the report.",
            "nullable": true
          },
          "source": {
            "type": "string",
            "description": "Source of the participant.",
            "nullable": true
          },
          "meta": {
            "type": "object",
            "description": "Dictionary containing the meta data of the participant as key value pairs.",
            "nullable": true
          },
          "emailStatus": {
            "default": "none",
            "description": "Shows the email status of a participant.",
            "allOf": [
              {
                "$ref": "#/components/schemas/ReportEmailRecordType"
              }
            ]
          },
          "lastWorkflowExecutionState": {
            "description": "Shows the last workflow execution state of a participant if there is exists one with a state of Accepted values: active=ACTIVE, canceled=CANCELED, completed=COMPLETED, delayed=DELAYED, failed=FAILED, waiting=WAITING, waiting-children=WAITING_CHILDREN.",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowExecutionState"
              }
            ]
          },
          "leadScore": {
            "type": "number",
            "description": "Lead score of the participant, between 0 and 100.",
            "nullable": true
          },
          "leadScoreText": {
            "type": "string",
            "description": "Lead score text of the participant.",
            "nullable": true,
            "maxLength": 4096
          }
        },
        "required": [
          "id",
          "finished",
          "quickScan",
          "exportedToExcel",
          "exportedToIntegration",
          "checked",
          "checkedByUserId",
          "checkedAt",
          "settings",
          "index",
          "exportErrorMessage",
          "parentId",
          "childIndex",
          "exportedToPdf",
          "notificationSendingStatus",
          "exportedAt",
          "completedAt",
          "completedByUserId",
          "createdAt",
          "firstName",
          "lastName",
          "organization",
          "email",
          "phone",
          "bcImage",
          "bcImageBackside",
          "createdByUserId",
          "customFields",
          "note",
          "gender",
          "title",
          "position",
          "mobile",
          "fax",
          "website",
          "vat",
          "street",
          "street2",
          "city",
          "zip",
          "poBox",
          "state",
          "country",
          "linkedin",
          "attachments",
          "image",
          "companySize",
          "actualCreatorId",
          "source",
          "meta",
          "emailStatus",
          "lastWorkflowExecutionState",
          "leadScore",
          "leadScoreText"
        ],
        "title": "Report participant"
      },
      "PatchParticipantUpdateRequestDto": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "description": "Contact's first name.",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "Contact's last name.",
            "nullable": true
          },
          "organization": {
            "type": "string",
            "description": "Contact's organization.",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "Contact's email address.",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "description": "Contact's phone number.",
            "nullable": true
          },
          "note": {
            "type": "string",
            "description": "Contact's note.",
            "nullable": true
          },
          "gender": {
            "type": "number",
            "description": "Contact's gender. Accepted values: -1=Unknown, 0=Male, 1=Female",
            "enum": [
              -1,
              0,
              1
            ],
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "Contact's title.",
            "nullable": true
          },
          "position": {
            "type": "string",
            "description": "Contact's position.",
            "nullable": true
          },
          "mobile": {
            "type": "string",
            "description": "Contact's mobile phone number.",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "description": "Contact's fax number.",
            "nullable": true
          },
          "website": {
            "type": "string",
            "description": "Contact's website.",
            "nullable": true
          },
          "vat": {
            "type": "string",
            "description": "Contact's vat.",
            "nullable": true
          },
          "street": {
            "type": "string",
            "description": "Contact's street info.",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "Contact's city.",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "description": "Contact's zip.",
            "nullable": true
          },
          "poBox": {
            "type": "string",
            "description": "Contact's po box.",
            "nullable": true
          },
          "state": {
            "type": "string",
            "description": "Contact's state.",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "Contact's country.",
            "nullable": true
          },
          "xing": {
            "type": "string",
            "description": "Link to the contact's \"xing\" profile.",
            "nullable": true
          },
          "linkedin": {
            "type": "string",
            "description": "Link to the contact's \"linkedIn\" profile.",
            "nullable": true
          },
          "facebook": {
            "type": "string",
            "description": "Link to the contact's \"facebook\" profile.",
            "nullable": true
          },
          "twitter": {
            "type": "string",
            "description": "Link to the contact's \"twitter\" profile.",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "description": "Additional street information for the contact.",
            "nullable": true
          },
          "industry": {
            "type": "string",
            "description": "Contact's industry.",
            "nullable": true
          },
          "revenue": {
            "type": "string",
            "description": "Contact's revenue.",
            "nullable": true
          },
          "companySize": {
            "type": "string",
            "description": "Contact's company size.",
            "nullable": true
          },
          "meta": {
            "type": "object",
            "description": "Additional meta information for the contact.",
            "nullable": true
          },
          "customFields": {
            "type": "object",
            "description": "Dictionary containing the custom fields associated with the participant as key value pairs.",
            "nullable": true
          },
          "checked": {
            "type": "boolean",
            "description": "Flag indicating whether the participant is checked.",
            "nullable": true
          },
          "exportErrorMessage": {
            "type": "string",
            "description": "Error message in case of an export error.",
            "nullable": true
          },
          "exportedToExcel": {
            "type": "boolean",
            "description": "Flag indicating whether the participant is exportedToExcel.",
            "nullable": true
          },
          "exportedToIntegration": {
            "type": "boolean",
            "description": "Flag indicating whether the participant is exportedToIntegration.",
            "nullable": true
          },
          "exportedToPdf": {
            "type": "boolean",
            "description": "Flag indicating whether the participant is exportedToPdf.",
            "nullable": true
          },
          "finished": {
            "type": "boolean",
            "description": "Flag indicating whether the participant is finished.",
            "nullable": true
          },
          "notificationSendingStatus": {
            "type": "string",
            "description": "Shows if a notification was sent to the participant. Accepted values: sent-successfully=SENT_SUCCESSFULLY, not-sent=NOT_SENT, sent-with-errors=SENT_WITH_ERRORS",
            "enum": [
              "sent-successfully",
              "not-sent",
              "sent-with-errors"
            ],
            "nullable": true
          },
          "settings": {
            "type": "object",
            "description": "Object containing additional settings for the participant.",
            "nullable": true
          }
        },
        "title": "Patch Participant Update Request"
      },
      "CreateReportResponseDto": {
        "type": "object",
        "properties": {
          "city": {
            "type": "string",
            "description": "The city of the participant.",
            "nullable": true
          },
          "contactSource": {
            "type": "string",
            "description": "The contact source of the participant. Accepted values: BE_INBOUND_FORM=BE_INBOUND_FORM, BE_JOB_WORKER=BE_JOB_WORKER, BE_SUGGESTIONS=BE_SUGGESTIONS, DQ_BUSINESS_CARD_SCAN=DQ_BUSINESS_CARD_SCAN, DQ_COPY_PASTE=DQ_COPY_PASTE, DQ_EXCEL_IMPORT=DQ_EXCEL_IMPORT, DQ_GOOGLE_MAPS_BUTTON_GRAB=DQ_GOOGLE_MAPS_BUTTON_GRAB, DQ_LINKEDIN_SEARCH=DQ_LINKEDIN_SEARCH, DQ_LINKEDIN_BUTTON_GRAB=DQ_LINKEDIN_BUTTON_GRAB, DQ_LINKEDIN_CPS_GRAB=DQ_LINKEDIN_CPS_GRAB, DQ_UPDATER_BUTTON=DQ_UPDATER_BUTTON, DQ_XING_BUTTON_GRAB=DQ_XING_BUTTON_GRAB, DQ_XING_CPS_GRAB=DQ_XING_CPS_GRAB, DQ_MANUAL_ENTRY=DQ_MANUAL_ENTRY, DQ_COMPANY_DATA_SEARCH=DQ_COMPANY_DATA_SEARCH, VR_BADGE_SCAN=VR_BADGE_SCAN, VR_BUSINESS_CARD_SCAN=VR_BUSINESS_CARD_SCAN, VR_CRM_INVENTORY=VR_CRM_INVENTORY, VR_MANUAL_ENTRY=VR_MANUAL_ENTRY, VR_BARCODE_SCAN=VR_BARCODE_SCAN, VR_INVENTORY=VR_INVENTORY, VR_LINKEDIN_SEARCH=VR_LINKEDIN_SEARCH, VR_MEETING=VR_MEETING, VR_DIGITAL_BUSINESS_CARD=VR_DIGITAL_BUSINESS_CARD, VR_BULK_BADGE_SCAN=VR_BULK_BADGE_SCAN, VR_BULK_BUSINESS_CARD_SCAN=VR_BULK_BUSINESS_CARD_SCAN, VR_BULK_BARCODE_SCAN=VR_BULK_BARCODE_SCAN, VR_NFC_SCAN=VR_NFC_SCAN, BCS_BUSINESS_CARD_SCAN=BCS_BUSINESS_CARD_SCAN, BCS_MANUAL_ENTRY=BCS_MANUAL_ENTRY, BCS_NFC_SCAN=BCS_NFC_SCAN, BCS_QR_CODE_SCAN=BCS_QR_CODE_SCAN, BCS_DIGITAL_BUSINESS_CARD=BCS_DIGITAL_BUSINESS_CARD",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "The country of the participant.",
            "nullable": true
          },
          "customFields": {
            "type": "object",
            "description": "Dictionary containing the custom fields associated with the participant as key-value pairs.",
            "additionalProperties": true
          },
          "email": {
            "type": "string",
            "description": "The email address of the participant.",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "description": "The fax number of the participant",
            "nullable": true
          },
          "gender": {
            "type": "number",
            "description": "Contact's gender. Accepted values: -1=Unknown, 0=Male, 1=Female",
            "nullable": true
          },
          "firstname": {
            "type": "string",
            "description": "The firstname of the participant.",
            "nullable": true
          },
          "lastname": {
            "type": "string",
            "description": "The lastname of the participant.",
            "nullable": true
          },
          "linkedIn": {
            "type": "string",
            "description": "The LinkedIn profile of the participant.",
            "nullable": true
          },
          "mobile": {
            "type": "string",
            "description": "The mobile number of the participant.",
            "nullable": true
          },
          "meta": {
            "type": "object",
            "description": "Dictionary containing the meta fields associated with the participant as key-value pairs.",
            "additionalProperties": true
          },
          "note": {
            "type": "string",
            "description": "Notes about the participant.",
            "nullable": true
          },
          "organization": {
            "type": "string",
            "description": "The organization of the participant.",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "description": "The phone number of the participant.",
            "nullable": true
          },
          "poBox": {
            "type": "string",
            "description": "The PO box of the participant.",
            "nullable": true
          },
          "position": {
            "type": "string",
            "description": "The position of the participant.",
            "nullable": true
          },
          "quickScan": {
            "type": "boolean",
            "description": "Indicates whether the participant was created via Quick Scan."
          },
          "state": {
            "type": "string",
            "description": "The state of the participant.",
            "nullable": true
          },
          "street": {
            "type": "string",
            "description": "The street of the participant.",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "description": "Additional street address information of the participant.",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "The title of the participant.",
            "nullable": true
          },
          "vat": {
            "type": "string",
            "description": "The VAT number of the participant.",
            "nullable": true
          },
          "website": {
            "type": "string",
            "description": "The website of the participant.",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "description": "The ZIP of the participant.",
            "nullable": true
          },
          "participantId": {
            "type": "string",
            "description": "ID of the first participant, also used as the report ID for subsequent saves and completion."
          }
        },
        "required": [
          "city",
          "contactSource",
          "country",
          "customFields",
          "email",
          "fax",
          "gender",
          "firstname",
          "lastname",
          "linkedIn",
          "mobile",
          "meta",
          "note",
          "organization",
          "phone",
          "poBox",
          "position",
          "quickScan",
          "state",
          "street",
          "street2",
          "title",
          "vat",
          "website",
          "zip",
          "participantId"
        ],
        "title": "Create Report Response"
      },
      "CreateReportRequestDto": {
        "type": "object",
        "properties": {
          "city": {
            "type": "string",
            "description": "The city of the participant.",
            "nullable": true
          },
          "contactSource": {
            "type": "string",
            "description": "The contact source of the participant. Accepted values: BE_INBOUND_FORM=BE_INBOUND_FORM, BE_JOB_WORKER=BE_JOB_WORKER, BE_SUGGESTIONS=BE_SUGGESTIONS, DQ_BUSINESS_CARD_SCAN=DQ_BUSINESS_CARD_SCAN, DQ_COPY_PASTE=DQ_COPY_PASTE, DQ_EXCEL_IMPORT=DQ_EXCEL_IMPORT, DQ_GOOGLE_MAPS_BUTTON_GRAB=DQ_GOOGLE_MAPS_BUTTON_GRAB, DQ_LINKEDIN_SEARCH=DQ_LINKEDIN_SEARCH, DQ_LINKEDIN_BUTTON_GRAB=DQ_LINKEDIN_BUTTON_GRAB, DQ_LINKEDIN_CPS_GRAB=DQ_LINKEDIN_CPS_GRAB, DQ_UPDATER_BUTTON=DQ_UPDATER_BUTTON, DQ_XING_BUTTON_GRAB=DQ_XING_BUTTON_GRAB, DQ_XING_CPS_GRAB=DQ_XING_CPS_GRAB, DQ_MANUAL_ENTRY=DQ_MANUAL_ENTRY, DQ_COMPANY_DATA_SEARCH=DQ_COMPANY_DATA_SEARCH, VR_BADGE_SCAN=VR_BADGE_SCAN, VR_BUSINESS_CARD_SCAN=VR_BUSINESS_CARD_SCAN, VR_CRM_INVENTORY=VR_CRM_INVENTORY, VR_MANUAL_ENTRY=VR_MANUAL_ENTRY, VR_BARCODE_SCAN=VR_BARCODE_SCAN, VR_INVENTORY=VR_INVENTORY, VR_LINKEDIN_SEARCH=VR_LINKEDIN_SEARCH, VR_MEETING=VR_MEETING, VR_DIGITAL_BUSINESS_CARD=VR_DIGITAL_BUSINESS_CARD, VR_BULK_BADGE_SCAN=VR_BULK_BADGE_SCAN, VR_BULK_BUSINESS_CARD_SCAN=VR_BULK_BUSINESS_CARD_SCAN, VR_BULK_BARCODE_SCAN=VR_BULK_BARCODE_SCAN, VR_NFC_SCAN=VR_NFC_SCAN, BCS_BUSINESS_CARD_SCAN=BCS_BUSINESS_CARD_SCAN, BCS_MANUAL_ENTRY=BCS_MANUAL_ENTRY, BCS_NFC_SCAN=BCS_NFC_SCAN, BCS_QR_CODE_SCAN=BCS_QR_CODE_SCAN, BCS_DIGITAL_BUSINESS_CARD=BCS_DIGITAL_BUSINESS_CARD",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "The country of the participant.",
            "nullable": true
          },
          "customFields": {
            "type": "object",
            "description": "Dictionary containing the custom fields associated with the participant as key-value pairs.",
            "additionalProperties": true
          },
          "email": {
            "type": "string",
            "description": "The email address of the participant.",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "description": "The fax number of the participant",
            "nullable": true
          },
          "gender": {
            "type": "number",
            "description": "Contact's gender. Accepted values: -1=Unknown, 0=Male, 1=Female",
            "nullable": true
          },
          "firstname": {
            "type": "string",
            "description": "The firstname of the participant.",
            "nullable": true
          },
          "lastname": {
            "type": "string",
            "description": "The lastname of the participant.",
            "nullable": true
          },
          "linkedIn": {
            "type": "string",
            "description": "The LinkedIn profile of the participant.",
            "nullable": true
          },
          "mobile": {
            "type": "string",
            "description": "The mobile number of the participant.",
            "nullable": true
          },
          "meta": {
            "type": "object",
            "description": "Dictionary containing the meta fields associated with the participant as key-value pairs.",
            "additionalProperties": true
          },
          "note": {
            "type": "string",
            "description": "Notes about the participant.",
            "nullable": true
          },
          "organization": {
            "type": "string",
            "description": "The organization of the participant.",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "description": "The phone number of the participant.",
            "nullable": true
          },
          "poBox": {
            "type": "string",
            "description": "The PO box of the participant.",
            "nullable": true
          },
          "position": {
            "type": "string",
            "description": "The position of the participant.",
            "nullable": true
          },
          "quickScan": {
            "type": "boolean",
            "description": "Indicates whether the participant was created via Quick Scan."
          },
          "state": {
            "type": "string",
            "description": "The state of the participant.",
            "nullable": true
          },
          "street": {
            "type": "string",
            "description": "The street of the participant.",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "description": "Additional street address information of the participant.",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "The title of the participant.",
            "nullable": true
          },
          "vat": {
            "type": "string",
            "description": "The VAT number of the participant.",
            "nullable": true
          },
          "website": {
            "type": "string",
            "description": "The website of the participant.",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "description": "The ZIP of the participant.",
            "nullable": true
          },
          "createdByUserId": {
            "type": "string",
            "description": "ID of the snapAddy user who created the report; when a terminal user submits it, the user they created it for. Expected when the caller is a terminal user and the report is not in Kiosk mode."
          }
        },
        "required": [
          "city",
          "contactSource",
          "country",
          "customFields",
          "email",
          "fax",
          "gender",
          "firstname",
          "lastname",
          "linkedIn",
          "mobile",
          "meta",
          "note",
          "organization",
          "phone",
          "poBox",
          "position",
          "quickScan",
          "state",
          "street",
          "street2",
          "title",
          "vat",
          "website",
          "zip"
        ],
        "title": "Create Report Request"
      },
      "DownloadReportResponseDto": {
        "type": "object",
        "properties": {
          "answers": {
            "description": "Answers associated with the report.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DownloadReportAnswerResponseDto"
            }
          },
          "participants": {
            "description": "Participants associated with the report.",
            "allOf": [
              {
                "$ref": "#/components/schemas/DownloadReportParticipantsResponseDto"
              }
            ]
          },
          "files": {
            "type": "array",
            "description": "List of attachments associated with the report.",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/DownloadReportFileAttachmentResponseDto"
                },
                {
                  "$ref": "#/components/schemas/DownloadReportFileAvatarResponseDto"
                },
                {
                  "$ref": "#/components/schemas/DownloadReportFileBcBackResponseDto"
                },
                {
                  "$ref": "#/components/schemas/DownloadReportFileBcFrontResponseDto"
                },
                {
                  "$ref": "#/components/schemas/DownloadReportFileSignatureResponseDto"
                }
              ]
            }
          },
          "startDate": {
            "type": "string",
            "description": "The timestamp when the report was started.",
            "format": "date-time"
          }
        },
        "required": [
          "answers",
          "participants",
          "files",
          "startDate"
        ],
        "title": "Download Report Response"
      },
      "DownloadReportAnswerResponseDto": {
        "type": "object",
        "properties": {
          "questionId": {
            "type": "string",
            "description": "ID of the question associated with the answer."
          },
          "parentQuestionOptionId": {
            "type": "string",
            "description": "ID of the parent question option associated with the answer.",
            "nullable": true
          },
          "options": {
            "description": "Options associated with the answer.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DownloadReportAnswerOptionResponseDto"
            }
          }
        },
        "required": [
          "questionId",
          "parentQuestionOptionId",
          "options"
        ],
        "title": "Download Report Answer Response"
      },
      "DownloadReportAnswerOptionResponseDto": {
        "type": "object",
        "properties": {
          "questionOptionId": {
            "type": "string",
            "description": "ID of the question option associated with the answer."
          },
          "text": {
            "type": "string",
            "description": "Text of the question option.",
            "nullable": true
          }
        },
        "required": [
          "questionOptionId",
          "text"
        ],
        "title": "Download Report Answer Option Response"
      },
      "DownloadReportParticipantsResponseDto": {
        "type": "object",
        "properties": {
          "parent": {
            "description": "Parent participant associated with the report.",
            "allOf": [
              {
                "$ref": "#/components/schemas/DownloadReportParticipantResponseDto"
              }
            ]
          },
          "children": {
            "description": "List of child participants associated with the report.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DownloadReportParticipantResponseDto"
            }
          }
        },
        "required": [
          "parent",
          "children"
        ],
        "title": "Download Report Participants Response"
      },
      "DownloadReportParticipantResponseDto": {
        "type": "object",
        "properties": {
          "participantId": {
            "type": "string",
            "description": "ID of the participant associated with the report."
          },
          "city": {
            "type": "string",
            "description": "The city of the participant.",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "The country of the participant.",
            "nullable": true
          },
          "customFields": {
            "type": "object",
            "description": "Dictionary containing the custom fields associated with the participant as key-value pairs.",
            "additionalProperties": true
          },
          "contactSource": {
            "type": "string",
            "description": "The contact source of the participant.",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "The email address of the participant.",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "description": "The fax number of the participant.",
            "nullable": true
          },
          "firstname": {
            "type": "string",
            "description": "The firstname of the participant.",
            "nullable": true
          },
          "gender": {
            "type": "number",
            "description": "Contact's gender. Accepted values: -1=Unknown, 0=Male, 1=Female",
            "nullable": true
          },
          "lastname": {
            "type": "string",
            "description": "The lastname of the participant.",
            "nullable": true
          },
          "linkedIn": {
            "type": "string",
            "description": "The LinkedIn profile of the participant.",
            "nullable": true
          },
          "meta": {
            "type": "object",
            "description": "Dictionary containing the meta fields associated with the participant as key-value pairs.",
            "additionalProperties": true
          },
          "mobile": {
            "type": "string",
            "description": "The mobile number of the participant.",
            "nullable": true
          },
          "note": {
            "type": "string",
            "description": "Notes about the participant.",
            "nullable": true
          },
          "organization": {
            "type": "string",
            "description": "The organization of the participant.",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "description": "The phone number of the participant.",
            "nullable": true
          },
          "poBox": {
            "type": "string",
            "description": "The PO box of the participant.",
            "nullable": true
          },
          "position": {
            "type": "string",
            "description": "The position of the participant.",
            "nullable": true
          },
          "quickScan": {
            "type": "boolean",
            "description": "Indicates whether the participant was created via quick scan."
          },
          "state": {
            "type": "string",
            "description": "The state of the participant.",
            "nullable": true
          },
          "street": {
            "type": "string",
            "description": "The street of the participant.",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "description": "Additional street address information of the participant.",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "The title of the participant.",
            "nullable": true
          },
          "vat": {
            "type": "string",
            "description": "The VAT ID of the participant.",
            "nullable": true
          },
          "website": {
            "type": "string",
            "description": "The website of the participant.",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "description": "The ZIP of the participant.",
            "nullable": true
          },
          "createdByUserId": {
            "type": "string",
            "description": "ID of the participant creator. \"null\" is returned if the user was deleted.",
            "nullable": true
          }
        },
        "required": [
          "participantId",
          "city",
          "country",
          "customFields",
          "contactSource",
          "email",
          "fax",
          "firstname",
          "gender",
          "lastname",
          "linkedIn",
          "meta",
          "mobile",
          "note",
          "organization",
          "phone",
          "poBox",
          "position",
          "quickScan",
          "state",
          "street",
          "street2",
          "title",
          "vat",
          "website",
          "zip",
          "createdByUserId"
        ],
        "title": "Download Report Participant Response"
      },
      "DownloadReportFileAttachmentResponseDto": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Type of the file, should be ATTACHMENT for a file attachment.",
            "enum": [
              "ATTACHMENT"
            ]
          },
          "participantId": {
            "type": "string",
            "description": "ID of the participant associated with the attachment."
          },
          "fileId": {
            "type": "string",
            "description": "File ID in form: <40-chars-long-alpha-numerical-hash>.<extension>"
          },
          "publicUrlPath": {
            "type": "string",
            "description": "Public url path of the given file."
          },
          "description": {
            "type": "string",
            "description": "Description of the attachment. Absent if the attachment has none.",
            "maxLength": 100,
            "nullable": false
          }
        },
        "required": [
          "type",
          "participantId",
          "fileId",
          "publicUrlPath"
        ],
        "title": "Download Report File Attachment Response"
      },
      "DownloadReportFileAvatarResponseDto": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Type of the attachment, should be AVATAR for avatar image.",
            "enum": [
              "AVATAR"
            ]
          },
          "participantId": {
            "type": "string",
            "description": "ID of the participant associated with the attachment."
          },
          "fileId": {
            "type": "string",
            "description": "File ID in form: <40-chars-long-alpha-numerical-hash>.<extension>"
          },
          "publicUrlPath": {
            "type": "string",
            "description": "Public url path of the given file."
          }
        },
        "required": [
          "type",
          "participantId",
          "fileId",
          "publicUrlPath"
        ],
        "title": "Download Report File Avatar Response"
      },
      "DownloadReportFileBcBackResponseDto": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Type of the attachment, should be BC_BACK for back image of the business card.",
            "enum": [
              "BC_BACK"
            ]
          },
          "participantId": {
            "type": "string",
            "description": "ID of the participant associated with the attachment."
          },
          "fileId": {
            "type": "string",
            "description": "File ID in form: <40-chars-long-alpha-numerical-hash>.<extension>"
          },
          "publicUrlPath": {
            "type": "string",
            "description": "Public url path of the given file."
          }
        },
        "required": [
          "type",
          "participantId",
          "fileId",
          "publicUrlPath"
        ],
        "title": "Download Report File Bc Back Response"
      },
      "DownloadReportFileBcFrontResponseDto": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Type of the attachment, should be BC_FRONT for front image of the business card.",
            "enum": [
              "BC_FRONT"
            ]
          },
          "participantId": {
            "type": "string",
            "description": "ID of the participant associated with the attachment."
          },
          "fileId": {
            "type": "string",
            "description": "File ID in form: <40-chars-long-alpha-numerical-hash>.<extension>"
          },
          "publicUrlPath": {
            "type": "string",
            "description": "Public url path of the given file."
          }
        },
        "required": [
          "type",
          "participantId",
          "fileId",
          "publicUrlPath"
        ],
        "title": "Download Report File Bc Front Response"
      },
      "DownloadReportFileSignatureResponseDto": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Type of the attachment, should be SIGNATURE for a signature image.",
            "enum": [
              "SIGNATURE"
            ]
          },
          "participantId": {
            "type": "string",
            "description": "ID of the participant associated with the attachment."
          },
          "fileId": {
            "type": "string",
            "description": "File ID in form: <40-chars-long-alpha-numerical-hash>.<extension>"
          },
          "questionId": {
            "type": "string",
            "description": "ID of the question associated with the signature image."
          },
          "publicUrlPath": {
            "type": "string",
            "description": "Public url path of the given file."
          }
        },
        "required": [
          "type",
          "participantId",
          "fileId",
          "questionId",
          "publicUrlPath"
        ],
        "title": "Download Report File Signature Response"
      },
      "UploadReportRequestDto": {
        "type": "object",
        "properties": {
          "participants": {
            "description": "Participants object for report upload.",
            "allOf": [
              {
                "$ref": "#/components/schemas/UploadReportParticipantsRequestDto"
              }
            ]
          },
          "answers": {
            "description": "List of answers associated with the uploaded report.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UploadReportAnswerRequestDto"
            }
          }
        },
        "required": [
          "participants",
          "answers"
        ],
        "title": "Upload Report Request"
      },
      "UploadReportParticipantsRequestDto": {
        "type": "object",
        "properties": {
          "parent": {
            "description": "Parent participant associated with the uploaded report.",
            "allOf": [
              {
                "$ref": "#/components/schemas/UploadReportParentParticipantRequestDto"
              }
            ]
          },
          "children": {
            "description": "List of child participants associated with the uploaded report. If \"null\" is provided, a new child participant will be created.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UploadReportChildParticipantRequestDto"
            }
          }
        },
        "required": [
          "parent",
          "children"
        ],
        "title": "Upload Report Participants Request"
      },
      "UploadReportParentParticipantRequestDto": {
        "type": "object",
        "properties": {
          "city": {
            "type": "string",
            "description": "The city of the participant.",
            "nullable": true
          },
          "contactSource": {
            "type": "string",
            "description": "The contact source of the participant. Accepted values: BE_INBOUND_FORM=BE_INBOUND_FORM, BE_JOB_WORKER=BE_JOB_WORKER, BE_SUGGESTIONS=BE_SUGGESTIONS, DQ_BUSINESS_CARD_SCAN=DQ_BUSINESS_CARD_SCAN, DQ_COPY_PASTE=DQ_COPY_PASTE, DQ_EXCEL_IMPORT=DQ_EXCEL_IMPORT, DQ_GOOGLE_MAPS_BUTTON_GRAB=DQ_GOOGLE_MAPS_BUTTON_GRAB, DQ_LINKEDIN_SEARCH=DQ_LINKEDIN_SEARCH, DQ_LINKEDIN_BUTTON_GRAB=DQ_LINKEDIN_BUTTON_GRAB, DQ_LINKEDIN_CPS_GRAB=DQ_LINKEDIN_CPS_GRAB, DQ_UPDATER_BUTTON=DQ_UPDATER_BUTTON, DQ_XING_BUTTON_GRAB=DQ_XING_BUTTON_GRAB, DQ_XING_CPS_GRAB=DQ_XING_CPS_GRAB, DQ_MANUAL_ENTRY=DQ_MANUAL_ENTRY, DQ_COMPANY_DATA_SEARCH=DQ_COMPANY_DATA_SEARCH, VR_BADGE_SCAN=VR_BADGE_SCAN, VR_BUSINESS_CARD_SCAN=VR_BUSINESS_CARD_SCAN, VR_CRM_INVENTORY=VR_CRM_INVENTORY, VR_MANUAL_ENTRY=VR_MANUAL_ENTRY, VR_BARCODE_SCAN=VR_BARCODE_SCAN, VR_INVENTORY=VR_INVENTORY, VR_LINKEDIN_SEARCH=VR_LINKEDIN_SEARCH, VR_MEETING=VR_MEETING, VR_DIGITAL_BUSINESS_CARD=VR_DIGITAL_BUSINESS_CARD, VR_BULK_BADGE_SCAN=VR_BULK_BADGE_SCAN, VR_BULK_BUSINESS_CARD_SCAN=VR_BULK_BUSINESS_CARD_SCAN, VR_BULK_BARCODE_SCAN=VR_BULK_BARCODE_SCAN, VR_NFC_SCAN=VR_NFC_SCAN, BCS_BUSINESS_CARD_SCAN=BCS_BUSINESS_CARD_SCAN, BCS_MANUAL_ENTRY=BCS_MANUAL_ENTRY, BCS_NFC_SCAN=BCS_NFC_SCAN, BCS_QR_CODE_SCAN=BCS_QR_CODE_SCAN, BCS_DIGITAL_BUSINESS_CARD=BCS_DIGITAL_BUSINESS_CARD",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "The country of the participant.",
            "nullable": true
          },
          "customFields": {
            "type": "object",
            "description": "Dictionary containing the custom fields associated with the participant as key-value pairs.",
            "additionalProperties": true
          },
          "email": {
            "type": "string",
            "description": "The email address of the participant.",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "description": "The fax number of the participant",
            "nullable": true
          },
          "gender": {
            "type": "number",
            "description": "Contact's gender. Accepted values: -1=Unknown, 0=Male, 1=Female",
            "nullable": true
          },
          "firstname": {
            "type": "string",
            "description": "The firstname of the participant.",
            "nullable": true
          },
          "lastname": {
            "type": "string",
            "description": "The lastname of the participant.",
            "nullable": true
          },
          "linkedIn": {
            "type": "string",
            "description": "The LinkedIn profile of the participant.",
            "nullable": true
          },
          "mobile": {
            "type": "string",
            "description": "The mobile number of the participant.",
            "nullable": true
          },
          "meta": {
            "type": "object",
            "description": "Dictionary containing the meta fields associated with the participant as key-value pairs.",
            "additionalProperties": true
          },
          "note": {
            "type": "string",
            "description": "Notes about the participant.",
            "nullable": true
          },
          "organization": {
            "type": "string",
            "description": "The organization of the participant.",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "description": "The phone number of the participant.",
            "nullable": true
          },
          "poBox": {
            "type": "string",
            "description": "The PO box of the participant.",
            "nullable": true
          },
          "position": {
            "type": "string",
            "description": "The position of the participant.",
            "nullable": true
          },
          "quickScan": {
            "type": "boolean",
            "description": "Indicates whether the participant was created via Quick Scan."
          },
          "state": {
            "type": "string",
            "description": "The state of the participant.",
            "nullable": true
          },
          "street": {
            "type": "string",
            "description": "The street of the participant.",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "description": "Additional street address information of the participant.",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "The title of the participant.",
            "nullable": true
          },
          "vat": {
            "type": "string",
            "description": "The VAT number of the participant.",
            "nullable": true
          },
          "website": {
            "type": "string",
            "description": "The website of the participant.",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "description": "The ZIP of the participant.",
            "nullable": true
          },
          "participantId": {
            "type": "string",
            "description": "ID of the parent participant associated with the uploaded report."
          }
        },
        "required": [
          "city",
          "contactSource",
          "country",
          "customFields",
          "email",
          "fax",
          "gender",
          "firstname",
          "lastname",
          "linkedIn",
          "mobile",
          "meta",
          "note",
          "organization",
          "phone",
          "poBox",
          "position",
          "quickScan",
          "state",
          "street",
          "street2",
          "title",
          "vat",
          "website",
          "zip",
          "participantId"
        ],
        "title": "Upload Report Parent Participant Request"
      },
      "UploadReportChildParticipantRequestDto": {
        "type": "object",
        "properties": {
          "city": {
            "type": "string",
            "description": "The city of the participant.",
            "nullable": true
          },
          "contactSource": {
            "type": "string",
            "description": "The contact source of the participant. Accepted values: BE_INBOUND_FORM=BE_INBOUND_FORM, BE_JOB_WORKER=BE_JOB_WORKER, BE_SUGGESTIONS=BE_SUGGESTIONS, DQ_BUSINESS_CARD_SCAN=DQ_BUSINESS_CARD_SCAN, DQ_COPY_PASTE=DQ_COPY_PASTE, DQ_EXCEL_IMPORT=DQ_EXCEL_IMPORT, DQ_GOOGLE_MAPS_BUTTON_GRAB=DQ_GOOGLE_MAPS_BUTTON_GRAB, DQ_LINKEDIN_SEARCH=DQ_LINKEDIN_SEARCH, DQ_LINKEDIN_BUTTON_GRAB=DQ_LINKEDIN_BUTTON_GRAB, DQ_LINKEDIN_CPS_GRAB=DQ_LINKEDIN_CPS_GRAB, DQ_UPDATER_BUTTON=DQ_UPDATER_BUTTON, DQ_XING_BUTTON_GRAB=DQ_XING_BUTTON_GRAB, DQ_XING_CPS_GRAB=DQ_XING_CPS_GRAB, DQ_MANUAL_ENTRY=DQ_MANUAL_ENTRY, DQ_COMPANY_DATA_SEARCH=DQ_COMPANY_DATA_SEARCH, VR_BADGE_SCAN=VR_BADGE_SCAN, VR_BUSINESS_CARD_SCAN=VR_BUSINESS_CARD_SCAN, VR_CRM_INVENTORY=VR_CRM_INVENTORY, VR_MANUAL_ENTRY=VR_MANUAL_ENTRY, VR_BARCODE_SCAN=VR_BARCODE_SCAN, VR_INVENTORY=VR_INVENTORY, VR_LINKEDIN_SEARCH=VR_LINKEDIN_SEARCH, VR_MEETING=VR_MEETING, VR_DIGITAL_BUSINESS_CARD=VR_DIGITAL_BUSINESS_CARD, VR_BULK_BADGE_SCAN=VR_BULK_BADGE_SCAN, VR_BULK_BUSINESS_CARD_SCAN=VR_BULK_BUSINESS_CARD_SCAN, VR_BULK_BARCODE_SCAN=VR_BULK_BARCODE_SCAN, VR_NFC_SCAN=VR_NFC_SCAN, BCS_BUSINESS_CARD_SCAN=BCS_BUSINESS_CARD_SCAN, BCS_MANUAL_ENTRY=BCS_MANUAL_ENTRY, BCS_NFC_SCAN=BCS_NFC_SCAN, BCS_QR_CODE_SCAN=BCS_QR_CODE_SCAN, BCS_DIGITAL_BUSINESS_CARD=BCS_DIGITAL_BUSINESS_CARD",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "The country of the participant.",
            "nullable": true
          },
          "customFields": {
            "type": "object",
            "description": "Dictionary containing the custom fields associated with the participant as key-value pairs.",
            "additionalProperties": true
          },
          "email": {
            "type": "string",
            "description": "The email address of the participant.",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "description": "The fax number of the participant",
            "nullable": true
          },
          "gender": {
            "type": "number",
            "description": "Contact's gender. Accepted values: -1=Unknown, 0=Male, 1=Female",
            "nullable": true
          },
          "firstname": {
            "type": "string",
            "description": "The firstname of the participant.",
            "nullable": true
          },
          "lastname": {
            "type": "string",
            "description": "The lastname of the participant.",
            "nullable": true
          },
          "linkedIn": {
            "type": "string",
            "description": "The LinkedIn profile of the participant.",
            "nullable": true
          },
          "mobile": {
            "type": "string",
            "description": "The mobile number of the participant.",
            "nullable": true
          },
          "meta": {
            "type": "object",
            "description": "Dictionary containing the meta fields associated with the participant as key-value pairs.",
            "additionalProperties": true
          },
          "note": {
            "type": "string",
            "description": "Notes about the participant.",
            "nullable": true
          },
          "organization": {
            "type": "string",
            "description": "The organization of the participant.",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "description": "The phone number of the participant.",
            "nullable": true
          },
          "poBox": {
            "type": "string",
            "description": "The PO box of the participant.",
            "nullable": true
          },
          "position": {
            "type": "string",
            "description": "The position of the participant.",
            "nullable": true
          },
          "quickScan": {
            "type": "boolean",
            "description": "Indicates whether the participant was created via Quick Scan."
          },
          "state": {
            "type": "string",
            "description": "The state of the participant.",
            "nullable": true
          },
          "street": {
            "type": "string",
            "description": "The street of the participant.",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "description": "Additional street address information of the participant.",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "The title of the participant.",
            "nullable": true
          },
          "vat": {
            "type": "string",
            "description": "The VAT number of the participant.",
            "nullable": true
          },
          "website": {
            "type": "string",
            "description": "The website of the participant.",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "description": "The ZIP of the participant.",
            "nullable": true
          },
          "participantId": {
            "type": "string",
            "description": "ID of the child participant associated with the uploaded report. If \"null\" is provided, a new child participant will be created.",
            "nullable": true
          }
        },
        "required": [
          "city",
          "contactSource",
          "country",
          "customFields",
          "email",
          "fax",
          "gender",
          "firstname",
          "lastname",
          "linkedIn",
          "mobile",
          "meta",
          "note",
          "organization",
          "phone",
          "poBox",
          "position",
          "quickScan",
          "state",
          "street",
          "street2",
          "title",
          "vat",
          "website",
          "zip",
          "participantId"
        ],
        "title": "Upload Report Child Participant Request"
      },
      "UploadReportAnswerRequestDto": {
        "type": "object",
        "properties": {
          "questionId": {
            "type": "string",
            "description": "ID of the question associated with the uploaded report answer."
          },
          "parentQuestionOptionId": {
            "type": "string",
            "description": "ID of the parent question option associated with the uploaded report answer.",
            "nullable": true
          },
          "options": {
            "description": "Options of the answer associated with the uploaded report answer.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UploadReportAnswerOptionRequestDto"
            }
          }
        },
        "required": [
          "questionId",
          "parentQuestionOptionId",
          "options"
        ],
        "title": "Upload Report Answer Request"
      },
      "UploadReportAnswerOptionRequestDto": {
        "type": "object",
        "properties": {
          "questionOptionId": {
            "type": "string",
            "description": "ID of the question option associated with the uploaded report answer."
          },
          "text": {
            "type": "string",
            "description": "Text of the answer option associated with the uploaded report answer.",
            "nullable": true
          }
        },
        "required": [
          "questionOptionId",
          "text"
        ],
        "title": "Upload Report Answer Option Request"
      },
      "PutReportAnswersRequestDto": {
        "type": "object",
        "properties": {
          "answers": {
            "description": "Complete list of answers associated with the report.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UploadReportAnswerRequestDto"
            }
          }
        },
        "required": [
          "answers"
        ],
        "title": "Put Report Answers Request"
      },
      "ListHandOverRecipientsResponseDto": {
        "type": "object",
        "properties": {
          "recipients": {
            "description": "The users that are eligible to receive the handed over report.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HandOverRecipientDto"
            }
          }
        },
        "required": [
          "recipients"
        ],
        "title": "List Hand Over Recipients Response"
      },
      "HandOverRecipientDto": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "description": "The user ID of the recipient."
          },
          "username": {
            "type": "string",
            "description": "The snapAddy account username of the recipient."
          },
          "fullName": {
            "type": "string",
            "description": "The fullName of the recipient."
          }
        },
        "required": [
          "userId",
          "username",
          "fullName"
        ],
        "title": "Hand Over Recipient"
      }
    },
    "securitySchemes": {
      "x-api-key": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key",
        "description": "Use a [personal API token](/authentication/#personal-api-token)."
      }
    }
  }
}
