{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SurveyResultObject",
  "title": "SurveyResultObject",
  "type": "object",
  "required": [
    "id",
    "surveyName",
    "meetingId",
    "email",
    "displayName",
    "createTime",
    "questions"
  ],
  "properties": {
    "id": {
      "type": "string",
      "example": "18d2e565770c4eee918784ee333510ec",
      "description": "Unique identifier for the survey result."
    },
    "surveyName": {
      "type": "string",
      "example": "Survey name",
      "description": "Name for the survey."
    },
    "meetingId": {
      "type": "string",
      "example": "560d7b784f5143e3be2fc3064a5c4999",
      "description": "Unique identifier for the meeting."
    },
    "email": {
      "type": "string",
      "example": "bob@example.com",
      "description": "Email address of the user who submits the survey."
    },
    "displayName": {
      "type": "string",
      "example": "Bob",
      "description": "Name of the user who submits the survey."
    },
    "createTime": {
      "type": "string",
      "example": "2022-07-06T14:13:06+08:00",
      "description": "The time when the user submits the survey."
    },
    "questions": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/QuestionWithAnswersObject"
      },
      "description": "User's answers for the questions"
    }
  }
}