Task examples in JSON format

Developer Resources

Typography test

This task shows the options you have to create complex briefs to Taskers with Tag and Text Area feedback components.

{
"task": {
"name": "Typography test task - we use this task to provide breakdown of the different task formatting options",
"show_name": true,
"details": "https://go.task.io/0zxnq The details section allows various html tags through, but strips everything else out so that content always looks good.\r\n\r\nIt never allows more than a double line between text - and images are displayed inline where added, full width across - for example: https://go.task.io/t8x4x <h1>This a Header 1</h1><h2>This a Header 2</h2> You may also use html tags for <strong>bold text</strong>, <i>italic text</i>, and <u>underlined text</u>. You may also use bullet lists which look like this:\r\n<ul>\r\n<li>Bullet item 1</li>\r\n<li>Bullet item 2</li>\r\n</ul>\r\nNumber lists look like this:\r\n<ol>\r\n<li>Item 1</li>\r\n<li>Item 2</li>\r\n</ol>\r\nYou can also pass document files such as .xls, .doc etc to a task by sending a URL that links to your file - and we will display a link to the file and if possible use an icon to tell the user what the file type is. Here is an example PDF: https://go.task.io/b0oom Below the task we then add feedback widgets that allow the user to complete the task.",
"region_based": false,
"lat": 0,
"lng": 0,
"radius": 300,
"task_ttl": 0,
"user_ttl": 0,
"process_count": 0,
"user_multi_process": true,
"payment_unit": 1,
"components_attributes": [
{
"component_type": "tags_collection",
"label": "Does this make sense?",
"name": "tags",
"required": "yes",
"extra": {
"instructions": "Let us know how easy to understand the typography demonstration is - did it give you insight into how to form useful tasks?",
"values": [
{"value": 1, "text": "100% clear"},
{"value": 2, "text": "Easy"},
{"value": 3, "text": "Could be better"},
{"value": 4, "text": "Foggy!"},
{"value": 5, "text": "Help!"}
]
}
},
{
"component_type": "text_area",
"label": "Optional personal feedback",
"name": "my_feelings",
"required": "no",
"extra": {
"instructions": "",
"character_limit": 140
}
}
]
}
}

Image Analysis

This demonstrates using Task to sort imagery. In this example we load a single image and the Tasker is required to categorise the image using Tags.

{
"task": {
"name": "Image task demonstration",
"show_name": false,
"details": "https://go.task.io/k9qls",
"region_based": false,
"lat": 0,
"lng": 0,
"radius": 300,
"task_ttl": 0,
"user_ttl": 0,
"process_count": 0,
"user_multi_process": true,
"payment_unit": 1,
"components_attributes": [
{
"component_type": "tags_collection",
"label": "What primary emotion do you feel?",
"name": "tags",
"required": "yes",
"extra": {
"instructions": "",
"values": [
{"value": 1, "text": "Fear"},
{"value": 2, "text": "Joy/happiness"},
{"value": 3, "text": "Anger"},
{"value": 4, "text": "Sadness"},
{"value": 5, "text": "Disgust"},
{"value": 6, "text": "Surprise"},
{"value": 7, "text": "Contempt"},
{"value": 8, "text": "Interest (anticipation)"}
]
}
}
]
}
}

Environmental rating

This task asks users to rate the surroundings as well as take a picture – combined with Tasks geo-tracking this provides great user location feedback. Note that the feedback rating is required whereas the photo is not.

{
"task": {
"name": "LOOK, HEAR and BREATHE",
"show_name": true,
"details": "<b>Become a watchdog for the state of the Earth.</b>Share your current location information with the 4 rating indicators below, and send us a photo if you want to.",
"region_based": false,
"lat": 0,
"lng": 0,
"radius": 300,
"task_ttl": 0,
"user_ttl": 0,
"process_count": 0,
"user_multi_process": true,
"payment_unit": 1,
"meta_data": {},
"components_attributes": [
{
"component_type": "tags_collection",
"name": "overal_rating",
"label": "What is your overall rating?",
"extra": {
"instructions": "",
"values": [
{
"value": "Amazing",
"text": "Amazing"
},
{
"value": "Good",
"text": "Good"
},
{
"value": "Average",
"text": "Average"
},
{
"value": "Bad",
"text": "Bad"
},
{
"value": "Terrible",
"text": "Terrible"
}
]
},
"required": "yes"
},
{
"component_type": "tags_collection",
"name": "look",
"label": "LOOK",
"extra": {
"instructions": "How good is the visibility?",
"values": [
{
"value": 1,
"text": "1"
},
{
"value": 2,
"text": "2"
},
{
"value": 3,
"text": "3"
},
{
"value": 4,
"text": "4"
},
{
"value": 5,
"text": "5"
}
]
},
"required": "yes"
},
{
"component_type": "tags_collection",
"name": "hear",
"label": "HEAR",
"extra": {
"instructions": "How peaceful is it?",
"values": [
{
"value": 1,
"text": "1"
},
{
"value": 2,
"text": "2"
},
{
"value": 3,
"text": "3"
},
{
"value": 4,
"text": "4"
},
{
"value": 5,
"text": "5"
}
]
},
"required": "yes"
},
{
"component_type": "tags_collection",
"name": "breathe",
"label": "BREATHE",
"extra": {
"instructions": "How good is the air quality?",
"values": [
{
"value": 1,
"text": "1"
},
{
"value": 2,
"text": "2"
},
{
"value": 3,
"text": "3"
},
{
"value": 4,
"text": "4"
},
{
"value": 5,
"text": "5"
}
]
},
"required": "yes"
},
{
"component_type": "media",
"name": "location_photo",
"label": "Photo (optional)",
"extra": {
"instructions": "",
"media_types": "photo",
"media_limit": 10
},
"required": "yes"
}
]
}
}