Question and Answer
Question and Answer is used to represent a lot of different types of conversational content like interviews, FAQ’s etc.
Format
JSON
{
"type": "text",
"subtype": "q-and-a",
"metadata": {
"question": "<p>This is a Question ?</p>",
"answer": "<p>This is the answer</p>"
},
"text": "<div>
<div class=\"question\">
<p>This is a Question ?</p>
</div>
<div class=\"answer\">
<p>This is the answer</p>
</div>
</div>"
}
Schema
| Key | Type |
|---|---|
| type | String, Value should be text |
| subtype | String, Value should be q-and-a |
| metadata | Object |
| text | String, Value should be HTML rich text |
metadata
| Key | Type |
|---|---|
| question | String, Value should be HTML rich text |
| answer | String, Value should be HTML rich text |