{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Respondent",
"title": "Respondent",
"type": "object",
"properties": {
"displayName": {
"type": "string",
"example": "John Andersen",
"description": "The name of the person who answers the question."
},
"email": {
"type": "string",
"example": "[email protected]",
"description": "The email of the person who answers the question."
},
"answers": {
"type": "array",
"items": {
"type": "string",
"example": "Green"
},
"description": "An array of answers. Single answer or text questions contain only a single answer."
}
}
}