Open question
Schema
-
An open question:
-
must satisfy the base-question schema
-
must have a contentType property
-
may have a maxLength property
-
The contentType property:
- must be a enum
-
The maxLength property:
- must be a number
-
Examples
Basic
{
"id": "1",
"type": "application/x.open+json",
"content": "Question ?",
"contentType": "text"
}
With max length
{
"id": "1",
"type": "application/x.open+json",
"content": "Question ?",
"contentType": "text",
"maxLength": 1024
}