Skip to content

Instantly share code, notes, and snippets.

@CanTheAlmighty
Created February 22, 2017 15:15
Show Gist options
  • Save CanTheAlmighty/9a8bb0d0d2cf25cd164b1643e8eba51a to your computer and use it in GitHub Desktop.
Save CanTheAlmighty/9a8bb0d0d2cf25cd164b1643e8eba51a to your computer and use it in GitHub Desktop.
Tiny Little Task
{
"activity_tree":{
"uuid":"c5fe79ec-285f-4c72-a438-9b930e776105",
"name":"Tarea para probar executions",
"core_activity":false,
"instructions":"Verificar que haya registro de esta tarea en la tabla executions",
"company_uuid":"ab30c859-9d04-4993-b7f6-8b8c9f0b6561",
"creator_uuid":"1302e9d1-df3c-4e4b-891f-7670a1f1db18",
"reference_file":"development-neo-frogmi/company_ab30c859-9d04-4993-b7f6-8b8c9f0b6561/activity_c5fe79ec-285f-4c72-a438-9b930e776105/assets/14876918417d83730f_kat_von_d_5.jpg",
"respond_after_deadline":false,
"store_required":false,
"priority":true,
"ended_at":"",
"linear_execution":false,
"activity_type":"task",
"store_uuids": [
"93d1faf1-adae-4bbd-bd63-6dcadc9c829a",
"a4beab2f-71e1-4424-8b87-8bf1e5ea53dd",
"d79e6747-ddd7-41e3-8555-0c57d9452b69",
"e180eca6-9bb9-4cd7-b314-a1fb520ce8c9",
"cdcfbed0-bebd-49b8-b15e-929a8cf18fc3",
"0af8a8e5-d656-447e-9e15-c78187d1c5c3",
"625e629e-49a6-49fb-99a6-e76fb0f9fc2b",
"684c153b-fc84-4f45-bdfe-53f5383fe552",
"ee12f502-2888-4b3e-a71c-54c37369ecf8",
"bae58df1-6dc8-4a70-acf8-d9e9239d665b",
"85fae277-ca9e-4022-948c-faaea1969c6f",
"39e1dd52-0e3f-497f-be65-58248c450636",
"16d8fb02-ebef-47d1-bb4b-f2e9f0be764d",
"ddeef3d7-f94c-4a68-8250-22b50458ebc8",
"54c7cbc5-f67d-4f9b-8101-0d3bd720210d",
"3d0f1d06-fbf0-49cc-b33a-3f6234cea17b",
"9e8b3494-1ba5-494e-9e02-a21dad37c519",
"e556f2a7-35fb-403d-acb0-dbdd1da6425e",
"c5b9a5fd-c612-4d1f-a35a-385be0d7e980",
"26d031d6-f4e2-4e60-ba01-f64a4b010b69"
],
"screens":[
{
"uuid":"1019d2f4-8805-454e-b140-f47fb80ba94e",
"title":"INITIAL_PAGE",
"creator_uuid":"1302e9d1-df3c-4e4b-891f-7670a1f1db18",
"type":"Page",
"order":1,
"questions":[
{
"uuid":"d0f6876b-d8ba-45d5-bc6b-8d069fd2d1ef",
"label":"INITIAL_QUESTION",
"creator_uuid":"1302e9d1-df3c-4e4b-891f-7670a1f1db18",
"required":true,
"reference":"",
"allow_picture":false,
"allow_comments":false,
"max_boundary":0,
"min_boundary":0,
"properties":{
},
"one_answer":true,
"type":"MultipleChoice",
"alternatives":[
{
"uuid":"9ad54dcc-e90d-4815-9458-017b75300c10",
"label":"Yes",
"creator_uuid":"1302e9d1-df3c-4e4b-891f-7670a1f1db18",
"order":1,
"value":"",
"go_to_uuid":"641eecc9-2259-42bc-8553-f7f025b9de9e",
"go_to_type":"Question"
},
{
"uuid":"491c586e-f5be-4593-af18-70a993fa4efa",
"label":"No",
"creator_uuid":"1302e9d1-df3c-4e4b-891f-7670a1f1db18",
"order":2,
"value":"",
"go_to_uuid":"d4ea1ab6-eacc-4691-b8b2-89cb2f4f0434",
"go_to_type":"Question"
}
],
"validations":[
{
"name":"Multiple Choice Validation",
"message":"You must select one of the given options",
"specifications":"{\"single_answer\":true}",
"type":"MultipleChoice",
"regular_expression_uuid":""
}
]
}
]
},
{
"uuid":"858ff515-8c0b-43f2-a24d-75e58bcfe983",
"title":"DEFAULT",
"creator_uuid":"1302e9d1-df3c-4e4b-891f-7670a1f1db18",
"type":"Page",
"order":2,
"questions":[
{
"uuid":"d4ea1ab6-eacc-4691-b8b2-89cb2f4f0434",
"label":"¿Funcionó?",
"creator_uuid":"c5fe79ec-285f-4c72-a438-9b930e776105",
"required":true,
"reference":"",
"allow_picture":true,
"allow_comments":false,
"max_boundary":0,
"min_boundary":0,
"properties":{
"additional_pictures_range_max":1,
"additional_pictures_range_min":0
},
"one_answer":true,
"type":"MultipleChoice",
"alternatives":[
{
"uuid":"db7acad0-37ff-4230-9218-066ae0f2f25d",
"label":"Si",
"creator_uuid":"1302e9d1-df3c-4e4b-891f-7670a1f1db18",
"order":0,
"value":"",
"go_to_uuid":"641eecc9-2259-42bc-8553-f7f025b9de9e",
"go_to_type":"Question"
},
{
"uuid":"a92e3a58-912e-4643-8c4d-5497287ba1ea",
"label":"No",
"creator_uuid":"1302e9d1-df3c-4e4b-891f-7670a1f1db18",
"order":1,
"value":"",
"go_to_uuid":"641eecc9-2259-42bc-8553-f7f025b9de9e",
"go_to_type":"Question"
}
],
"validations":[
{
"name":"Multiple Choice Validation",
"message":"You must select one of the given options",
"specifications":"{\"single_answer\":true}",
"type":"MultipleChoice",
"regular_expression_uuid":""
}
]
}
]
},
{
"uuid":"c619b419-5baf-4b19-a5b1-82d4af674e62",
"title":"INSTRUCTION_PAGE",
"creator_uuid":"1302e9d1-df3c-4e4b-891f-7670a1f1db18",
"type":"Page",
"order":3,
"questions":[
{
"uuid":"641eecc9-2259-42bc-8553-f7f025b9de9e",
"label":"INSTRUCTION_QUESTION",
"creator_uuid":"1302e9d1-df3c-4e4b-891f-7670a1f1db18",
"required":false,
"reference":"",
"allow_picture":true,
"allow_comments":false,
"max_boundary":0,
"min_boundary":0,
"properties":{
},
"one_answer":false,
"type":"Instruction",
"alternatives":[
],
"validations":[
{
"name":"Instruction Validation",
"message":"You cannot enter an answer",
"specifications":"",
"type":"Regex",
"regular_expression_uuid":""
}
]
}
]
}
],
"execute_on_custom_stores":false,
"always_available":false
}
}
{
"activity_tree": {
"company_uuid": "ab30c859-9d04-4993-b7f6-8b8c9f0b6561",
"creator_uuid": "1302e9d1-df3c-4e4b-891f-7670a1f1db18",
"ended_at": "",
"exec_finished_at": "2017-02-22T15:14:44+00:00",
"exec_started_at": "2017-02-22T15:14:20+00:00",
"exec_timing": 14737,
"exec_uploaded_at": "2017-02-22T15:14:44+00:00",
"execution_uuid": "523394a0-8020-45b3-af5c-69478652bbbb",
"geotag": "",
"linear_execution": false,
"name": "Tarea para probar executions",
"screens": [
{
"order": 1,
"questions": [
{
"allow_comments": false,
"allow_picture": false,
"answer": "491c586e-f5be-4593-af18-70a993fa4efa",
"comment": "",
"creator_uuid": "1302e9d1-df3c-4e4b-891f-7670a1f1db18",
"max_boundary": 0,
"min_boundary": 0,
"picture": "",
"required": true,
"type": "MultipleChoice",
"uuid": "d0f6876b-d8ba-45d5-bc6b-8d069fd2d1ef"
}
],
"type": "Page",
"uuid": "1019d2f4-8805-454e-b140-f47fb80ba94e"
},
{
"order": 2,
"questions": [
{
"allow_comments": false,
"allow_picture": true,
"answer": "db7acad0-37ff-4230-9218-066ae0f2f25d",
"comment": "",
"creator_uuid": "c5fe79ec-285f-4c72-a438-9b930e776105",
"max_boundary": 0,
"min_boundary": 0,
"picture": "camera_optional_d4ea1ab6-eacc-4691-b8b2-89cb2f4f0434_1487776472.194865.jpg",
"required": true,
"type": "MultipleChoice",
"uuid": "d4ea1ab6-eacc-4691-b8b2-89cb2f4f0434"
}
],
"type": "Page",
"uuid": "858ff515-8c0b-43f2-a24d-75e58bcfe983"
},
{
"order": 3,
"questions": [
{
"allow_comments": false,
"allow_picture": true,
"answer": "",
"comment": "",
"creator_uuid": "1302e9d1-df3c-4e4b-891f-7670a1f1db18",
"max_boundary": 0,
"min_boundary": 0,
"picture": "",
"required": false,
"type": "Instruction",
"uuid": "641eecc9-2259-42bc-8553-f7f025b9de9e"
}
],
"type": "Page",
"uuid": "c619b419-5baf-4b19-a5b1-82d4af674e62"
}
],
"uuid": "c5fe79ec-285f-4c72-a438-9b930e776105"
},
"metadata": {
"device_id": "D29DF66B-0BE1-4548-93A3-274EB8D1F2D9",
"language": "Español",
"neofrogmi_version": "0.0.43, 3",
"network_operator": "",
"platform": "ios",
"platform_version": "10",
"timezone": "America/Santiago",
"version": 1
},
"store_uuid": "cdcfbed0-bebd-49b8-b15e-929a8cf18fc3",
"user_uuid": "fa0d5261-4c73-44ea-b0e7-ff260976e4e6"
}
{
"activity_tree": {
"company_uuid": "ab30c859-9d04-4993-b7f6-8b8c9f0b6561",
"creator_uuid": "1302e9d1-df3c-4e4b-891f-7670a1f1db18",
"ended_at": "",
"exec_finished_at": "2017-02-22T15:13:08+00:00",
"exec_started_at": "2017-02-22T15:12:59+00:00",
"exec_timing": 8338,
"exec_uploaded_at": "2017-02-22T15:13:09+00:00",
"execution_uuid": "475fc00b-fb33-4f7c-948e-9a6f2adb2bee",
"geotag": "",
"linear_execution": false,
"name": "Tarea para probar executions",
"screens": [
{
"order": 1,
"questions": [
{
"allow_comments": false,
"allow_picture": false,
"answer": "9ad54dcc-e90d-4815-9458-017b75300c10",
"comment": "",
"creator_uuid": "1302e9d1-df3c-4e4b-891f-7670a1f1db18",
"max_boundary": 0,
"min_boundary": 0,
"picture": "",
"required": true,
"type": "MultipleChoice",
"uuid": "d0f6876b-d8ba-45d5-bc6b-8d069fd2d1ef"
}
],
"type": "Page",
"uuid": "1019d2f4-8805-454e-b140-f47fb80ba94e"
},
{
"order": 3,
"questions": [
{
"allow_comments": false,
"allow_picture": true,
"answer": "",
"comment": "",
"creator_uuid": "1302e9d1-df3c-4e4b-891f-7670a1f1db18",
"max_boundary": 0,
"min_boundary": 0,
"picture": "",
"required": false,
"type": "Instruction",
"uuid": "641eecc9-2259-42bc-8553-f7f025b9de9e"
}
],
"type": "Page",
"uuid": "c619b419-5baf-4b19-a5b1-82d4af674e62"
}
],
"uuid": "c5fe79ec-285f-4c72-a438-9b930e776105"
},
"metadata": {
"device_id": "D29DF66B-0BE1-4548-93A3-274EB8D1F2D9",
"language": "Español",
"neofrogmi_version": "0.0.43, 3",
"network_operator": "",
"platform": "ios",
"platform_version": "10",
"timezone": "America/Santiago",
"version": 1
},
"store_uuid": "d79e6747-ddd7-41e3-8555-0c57d9452b69",
"user_uuid": "fa0d5261-4c73-44ea-b0e7-ff260976e4e6"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment