An assignment has a type.
In the customization of the assignment details you can configure which types the user can choose between.
{
"items": [
{
"name": "Text",
"value": "ninat:text",
"icon": {
"name": "text-assignment",
"weight": "bold"
},
"allowToCreateFromSingleView": true
},
{
"name": "Photo",
"value": "ninat:picture",
"icon": {
"name": "photo-assignment",
"weight": "bold"
},
"allowToCreateFromSingleView": true
},
{
"name": "Graphic",
"value": "ninat:graphic",
"icon": {
"name": "graphic-assignment",
"weight": "bold"
},
"allowToCreateFromSingleView": true
},
{
"name": "Video",
"value": "ninat:video",
"icon": {
"name": "video-assignment",
"weight": "bold"
},
"allowToCreateFromSingleView": true
}
]
}