Hands-On Serverless Applications with Kotlin
上QQ阅读APP看书,第一时间看更新

Poll

Poll is a domain object which encapsulates the poll details in the PollDetails object:

{  
"type":"object",
"required":[
"pollOptions",
"pollQuestion",
"pollTitle"
],
"properties":{
"pollId":{
"type":"string"
},
"pollTitle":{
"type":"string"
},
"pollQuestion":{
"type":"string"
},
"pollOptions":{
"type":"array",
"items":{
"type":"string"
}
}
}
}