Skip to content

Instantly share code, notes, and snippets.

@Fiser12
Last active August 24, 2024 00:24
Show Gist options
  • Save Fiser12/a105da28bd50f01d747ec6f0dca8d6de to your computer and use it in GitHub Desktop.
Save Fiser12/a105da28bd50f01d747ec6f0dca8d6de to your computer and use it in GitHub Desktop.
{
"id":"8eea6dec-73d9-4790-b4cd-e1abdd67d658",
"title":"Our next event",
"description":"My event description,here you can set a default text for the event to define the main ideas",
"image":"https://i.ibb.co/7Cdw0SP/Generic-Meeting-image-1.png",
"content":{
"globalQuestionary":{
"rootNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"p_birthday"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"p_measurements"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"p_gender"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"p_body_type"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"p_wear_size"
},
"nextNode":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
}
}
}
},
"questions":[
{
"id":"p_measurements",
"title":"Measurements",
"questions":{
"q_height":{
"id":"q_height",
"label":"Height",
"isMandatory":true,
"defaultValue":{
"type":"text_value",
"text":"",
"payload":{
"leadingIcon":"face",
"placeholder":"Example: 165 (cm)",
"keyBoardType":"number"
}
}
},
"q_weight":{
"id":"q_weight",
"label":"Weight",
"isMandatory":true,
"defaultValue":{
"type":"text_value",
"text":"",
"payload":{
"leadingIcon":"face",
"placeholder":"Example: 68 (kg)",
"keyBoardType":"number"
}
}
}
}
},
{
"id":"p_body_type",
"title":"Body Type",
"questions":{
"q_body-type":{
"id":"q_body-type",
"label":"Select your body type:",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"p_birthday",
"title":"Birthday",
"questions":{
"q_birthday":{
"id":"q_birthday",
"label":"Date of birth",
"isMandatory":true,
"defaultValue":{
"type":"date_value",
"date":null
}
}
}
},
{
"id":"p_gender",
"title":"Gender",
"questions":{
"q_gender":{
"id":"q_gender",
"label":"My body is:",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_male",
"title":"Male"
},
{
"id":"op_female",
"title":"Female"
}
],
"payload":{
"type":"picker",
"leadingIcon":"account_circle"
}
}
}
}
},
{
"id":"p_wear_size",
"title":"Wear Size",
"questions":{
"q_wear-size":{
"id":"q_wear-size",
"label":"What size do you usually wear on top?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_xs",
"title":"XS"
},
{
"id":"op_s",
"title":"S"
},
{
"id":"op_m",
"title":"M"
},
{
"id":"op_l",
"title":"L"
},
{
"id":"op_xl",
"title":"XL"
},
{
"id":"op_xxl",
"title":"XXL"
},
{
"id":"op_xxxl",
"title":"XXXL"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
}
],
"isFinished":false
},
"products":[
{
"id":"pr_1",
"name":"Product 1",
"sku":"SKU",
"sizes":[
"op_xxl",
"op_xl",
"op_l"
],
"imageURL":"https://i.ibb.co/DQ3HMkZ/Generic-Garment-image-1.png",
"questionary":{
"rootNode":{
"type":"conditional",
"current":{
"type":"question_page",
"pageId":"p_first_product_page"
},
"conditions":{
"op_select_size":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_wear_size"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_fit"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_photos-garments"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_last_questions"
},
"nextNode":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
}
}
},
"op_size_not_found_at_store":{
"type":"conditional",
"current":{
"type":"question_page",
"pageId":"pr_p_can_you_test_close_size_id"
},
"conditions":{
"op_yes":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_wear_size"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_fit"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_photos-garments"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_last_questions"
},
"nextNode":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
}
}
},
"op_no":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
},
"op_wrong_tickets":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_label"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_wear_size"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_fit"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_photos-garments"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_last_questions"
},
"nextNode":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
}
}
}
}
}
},
"questions":[
{
"id":"pr_p_can_you_test_close_size_id",
"title":"¿Puedes probar una talla cercana?",
"questions":{
"pr_q_can_you_test_close_size_id":{
"id":"pr_q_can_you_test_close_size_id",
"label":"¿Puedes probar una talla cercana?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_yes",
"title":"Yes"
},
{
"id":"op_no",
"title":"No"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_last_questions",
"title":"Calidad y Confort",
"questions":{
"pr_q_last_questions":{
"id":"pr_q_last_questions",
"label":"Pattern",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_tailor":{
"id":"pr_q_tailor",
"label":"Tailor",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_finish":{
"id":"pr_q_finish",
"label":"Final finish",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_fabric":{
"id":"pr_q_fabric",
"label":"Fabric",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_fit":{
"id":"pr_q_fit",
"label":"Fit",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_design":{
"id":"pr_q_design",
"label":"Design",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_comment":{
"id":"pr_q_comment",
"label":"Write any comment that have led you to leave such a review",
"isMandatory":false,
"defaultValue":{
"type":"text_value",
"text":"",
"payload":{
"leadingIcon":null,
"maxLines":4,
"minLines":4,
"placeholder":"Write any comment that have led you to leave such a review",
"keyBoardType":"text"
}
}
}
}
},
{
"id":"pr_p_wear_size",
"title":"Seleccionar talla",
"questions":{
"pr_q_wear-size":{
"id":"pr_q_wear-size",
"label":"¿Qué talla has elegido?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_xxl",
"title":"XXL"
},
{
"id":"op_xl",
"title":"XL"
},
{
"id":"op_l",
"title":"L"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_garment_fit",
"title":"Ajuste de la prenda",
"questions":{
"pr_q_garment_fit":{
"id":"pr_q_garment_fit",
"label":"¿Cómo se ajusta la prenda con la talla seleccionada?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_fit",
"title":"Fit"
},
{
"id":"op_perfect",
"title":"Perfect"
},
{
"id":"op_loose",
"title":"Loose"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_garment_label",
"title":"Foto con la etiqueta",
"questions":{
"pr_q_garment_label-garments":{
"id":"pr_q_garment_label-garments",
"label":"Sube una foto de la etiqueta de la prenda",
"isMandatory":true,
"defaultValue":{
"type":"photos_value",
"photos":[
]
}
}
}
},
{
"id":"p_first_product_page",
"title":"¿Qué talla te comprarías?",
"questions":{
"q_first_product_question":{
"id":"q_first_product_question",
"label":"¿Qué talla te comprarías?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_select_size",
"title":"Seleccionar talla"
},
{
"id":"op_size_not_found_at_store",
"title":"La talla que me probaría no está en la tienda"
},
{
"id":"op_wrong_tickets",
"title":"Las opciones de talla no coinciden con las que aparecen en las etiquetas"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_photos-garments",
"title":"Foto con la prenda",
"questions":{
"pr_q_photos-garments":{
"id":"pr_q_photos-garments",
"label":"Fotografíate con la prenda puesta",
"isMandatory":true,
"defaultValue":{
"type":"photos_value",
"photos":[
]
}
}
}
}
],
"isFinished":false
}
},
{
"id":"pr_2",
"name":"Product 2",
"sku":"SKU",
"sizes":[
"op_xxl",
"op_xl",
"op_l"
],
"imageURL":"https://i.ibb.co/DQ3HMkZ/Generic-Garment-image-1.png",
"questionary":{
"rootNode":{
"type":"conditional",
"current":{
"type":"question_page",
"pageId":"p_first_product_page"
},
"conditions":{
"op_select_size":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_wear_size"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_fit"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_photos-garments"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_last_questions"
},
"nextNode":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
}
}
},
"op_size_not_found_at_store":{
"type":"conditional",
"current":{
"type":"question_page",
"pageId":"pr_p_can_you_test_close_size_id"
},
"conditions":{
"op_yes":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_wear_size"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_fit"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_photos-garments"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_last_questions"
},
"nextNode":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
}
}
},
"op_no":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
},
"op_wrong_tickets":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_label"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_wear_size"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_fit"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_photos-garments"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_last_questions"
},
"nextNode":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
}
}
}
}
}
},
"questions":[
{
"id":"pr_p_can_you_test_close_size_id",
"title":"¿Puedes probar una talla cercana?",
"questions":{
"pr_q_can_you_test_close_size_id":{
"id":"pr_q_can_you_test_close_size_id",
"label":"¿Puedes probar una talla cercana?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_yes",
"title":"Yes"
},
{
"id":"op_no",
"title":"No"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_last_questions",
"title":"Calidad y Confort",
"questions":{
"pr_q_last_questions":{
"id":"pr_q_last_questions",
"label":"Pattern",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_tailor":{
"id":"pr_q_tailor",
"label":"Tailor",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_finish":{
"id":"pr_q_finish",
"label":"Final finish",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_fabric":{
"id":"pr_q_fabric",
"label":"Fabric",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_fit":{
"id":"pr_q_fit",
"label":"Fit",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_design":{
"id":"pr_q_design",
"label":"Design",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_comment":{
"id":"pr_q_comment",
"label":"Write any comment that have led you to leave such a review",
"isMandatory":false,
"defaultValue":{
"type":"text_value",
"text":"",
"payload":{
"leadingIcon":null,
"maxLines":4,
"minLines":4,
"placeholder":"Write any comment that have led you to leave such a review",
"keyBoardType":"text"
}
}
}
}
},
{
"id":"pr_p_wear_size",
"title":"Seleccionar talla",
"questions":{
"pr_q_wear-size":{
"id":"pr_q_wear-size",
"label":"¿Qué talla has elegido?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_xxl",
"title":"XXL"
},
{
"id":"op_xl",
"title":"XL"
},
{
"id":"op_l",
"title":"L"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_garment_fit",
"title":"Ajuste de la prenda",
"questions":{
"pr_q_garment_fit":{
"id":"pr_q_garment_fit",
"label":"¿Cómo se ajusta la prenda con la talla seleccionada?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_fit",
"title":"Fit"
},
{
"id":"op_perfect",
"title":"Perfect"
},
{
"id":"op_loose",
"title":"Loose"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_garment_label",
"title":"Foto con la etiqueta",
"questions":{
"pr_q_garment_label-garments":{
"id":"pr_q_garment_label-garments",
"label":"Sube una foto de la etiqueta de la prenda",
"isMandatory":true,
"defaultValue":{
"type":"photos_value",
"photos":[
]
}
}
}
},
{
"id":"p_first_product_page",
"title":"¿Qué talla te comprarías?",
"questions":{
"q_first_product_question":{
"id":"q_first_product_question",
"label":"¿Qué talla te comprarías?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_select_size",
"title":"Seleccionar talla"
},
{
"id":"op_size_not_found_at_store",
"title":"La talla que me probaría no está en la tienda"
},
{
"id":"op_wrong_tickets",
"title":"Las opciones de talla no coinciden con las que aparecen en las etiquetas"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_photos-garments",
"title":"Foto con la prenda",
"questions":{
"pr_q_photos-garments":{
"id":"pr_q_photos-garments",
"label":"Fotografíate con la prenda puesta",
"isMandatory":true,
"defaultValue":{
"type":"photos_value",
"photos":[
]
}
}
}
}
],
"isFinished":false
}
},
{
"id":"pr_3",
"name":"Product 3",
"sku":"SKU",
"sizes":[
"op_xxl",
"op_xl",
"op_l"
],
"imageURL":"https://i.ibb.co/DQ3HMkZ/Generic-Garment-image-1.png",
"questionary":{
"rootNode":{
"type":"conditional",
"current":{
"type":"question_page",
"pageId":"p_first_product_page"
},
"conditions":{
"op_select_size":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_wear_size"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_fit"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_photos-garments"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_last_questions"
},
"nextNode":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
}
}
},
"op_size_not_found_at_store":{
"type":"conditional",
"current":{
"type":"question_page",
"pageId":"pr_p_can_you_test_close_size_id"
},
"conditions":{
"op_yes":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_wear_size"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_fit"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_photos-garments"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_last_questions"
},
"nextNode":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
}
}
},
"op_no":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
},
"op_wrong_tickets":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_label"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_wear_size"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_fit"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_photos-garments"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_last_questions"
},
"nextNode":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
}
}
}
}
}
},
"questions":[
{
"id":"pr_p_can_you_test_close_size_id",
"title":"¿Puedes probar una talla cercana?",
"questions":{
"pr_q_can_you_test_close_size_id":{
"id":"pr_q_can_you_test_close_size_id",
"label":"¿Puedes probar una talla cercana?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_yes",
"title":"Yes"
},
{
"id":"op_no",
"title":"No"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_last_questions",
"title":"Calidad y Confort",
"questions":{
"pr_q_last_questions":{
"id":"pr_q_last_questions",
"label":"Pattern",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_tailor":{
"id":"pr_q_tailor",
"label":"Tailor",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_finish":{
"id":"pr_q_finish",
"label":"Final finish",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_fabric":{
"id":"pr_q_fabric",
"label":"Fabric",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_fit":{
"id":"pr_q_fit",
"label":"Fit",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_design":{
"id":"pr_q_design",
"label":"Design",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_comment":{
"id":"pr_q_comment",
"label":"Write any comment that have led you to leave such a review",
"isMandatory":false,
"defaultValue":{
"type":"text_value",
"text":"",
"payload":{
"leadingIcon":null,
"maxLines":4,
"minLines":4,
"placeholder":"Write any comment that have led you to leave such a review",
"keyBoardType":"text"
}
}
}
}
},
{
"id":"pr_p_wear_size",
"title":"Seleccionar talla",
"questions":{
"pr_q_wear-size":{
"id":"pr_q_wear-size",
"label":"¿Qué talla has elegido?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_xxl",
"title":"XXL"
},
{
"id":"op_xl",
"title":"XL"
},
{
"id":"op_l",
"title":"L"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_garment_fit",
"title":"Ajuste de la prenda",
"questions":{
"pr_q_garment_fit":{
"id":"pr_q_garment_fit",
"label":"¿Cómo se ajusta la prenda con la talla seleccionada?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_fit",
"title":"Fit"
},
{
"id":"op_perfect",
"title":"Perfect"
},
{
"id":"op_loose",
"title":"Loose"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_garment_label",
"title":"Foto con la etiqueta",
"questions":{
"pr_q_garment_label-garments":{
"id":"pr_q_garment_label-garments",
"label":"Sube una foto de la etiqueta de la prenda",
"isMandatory":true,
"defaultValue":{
"type":"photos_value",
"photos":[
]
}
}
}
},
{
"id":"p_first_product_page",
"title":"¿Qué talla te comprarías?",
"questions":{
"q_first_product_question":{
"id":"q_first_product_question",
"label":"¿Qué talla te comprarías?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_select_size",
"title":"Seleccionar talla"
},
{
"id":"op_size_not_found_at_store",
"title":"La talla que me probaría no está en la tienda"
},
{
"id":"op_wrong_tickets",
"title":"Las opciones de talla no coinciden con las que aparecen en las etiquetas"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_photos-garments",
"title":"Foto con la prenda",
"questions":{
"pr_q_photos-garments":{
"id":"pr_q_photos-garments",
"label":"Fotografíate con la prenda puesta",
"isMandatory":true,
"defaultValue":{
"type":"photos_value",
"photos":[
]
}
}
}
}
],
"isFinished":false
}
},
{
"id":"pr_4",
"name":"Product 4",
"sku":"SKU",
"sizes":[
"op_xxl",
"op_xl",
"op_l"
],
"imageURL":"https://i.ibb.co/DQ3HMkZ/Generic-Garment-image-1.png",
"questionary":{
"rootNode":{
"type":"conditional",
"current":{
"type":"question_page",
"pageId":"p_first_product_page"
},
"conditions":{
"op_select_size":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_wear_size"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_fit"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_photos-garments"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_last_questions"
},
"nextNode":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
}
}
},
"op_size_not_found_at_store":{
"type":"conditional",
"current":{
"type":"question_page",
"pageId":"pr_p_can_you_test_close_size_id"
},
"conditions":{
"op_yes":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_wear_size"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_fit"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_photos-garments"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_last_questions"
},
"nextNode":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
}
}
},
"op_no":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
},
"op_wrong_tickets":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_label"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_wear_size"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_fit"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_photos-garments"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_last_questions"
},
"nextNode":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
}
}
}
}
}
},
"questions":[
{
"id":"pr_p_can_you_test_close_size_id",
"title":"¿Puedes probar una talla cercana?",
"questions":{
"pr_q_can_you_test_close_size_id":{
"id":"pr_q_can_you_test_close_size_id",
"label":"¿Puedes probar una talla cercana?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_yes",
"title":"Yes"
},
{
"id":"op_no",
"title":"No"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_last_questions",
"title":"Calidad y Confort",
"questions":{
"pr_q_last_questions":{
"id":"pr_q_last_questions",
"label":"Pattern",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_tailor":{
"id":"pr_q_tailor",
"label":"Tailor",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_finish":{
"id":"pr_q_finish",
"label":"Final finish",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_fabric":{
"id":"pr_q_fabric",
"label":"Fabric",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_fit":{
"id":"pr_q_fit",
"label":"Fit",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_design":{
"id":"pr_q_design",
"label":"Design",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_comment":{
"id":"pr_q_comment",
"label":"Write any comment that have led you to leave such a review",
"isMandatory":false,
"defaultValue":{
"type":"text_value",
"text":"",
"payload":{
"leadingIcon":null,
"maxLines":4,
"minLines":4,
"placeholder":"Write any comment that have led you to leave such a review",
"keyBoardType":"text"
}
}
}
}
},
{
"id":"pr_p_wear_size",
"title":"Seleccionar talla",
"questions":{
"pr_q_wear-size":{
"id":"pr_q_wear-size",
"label":"¿Qué talla has elegido?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_xxl",
"title":"XXL"
},
{
"id":"op_xl",
"title":"XL"
},
{
"id":"op_l",
"title":"L"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_garment_fit",
"title":"Ajuste de la prenda",
"questions":{
"pr_q_garment_fit":{
"id":"pr_q_garment_fit",
"label":"¿Cómo se ajusta la prenda con la talla seleccionada?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_fit",
"title":"Fit"
},
{
"id":"op_perfect",
"title":"Perfect"
},
{
"id":"op_loose",
"title":"Loose"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_garment_label",
"title":"Foto con la etiqueta",
"questions":{
"pr_q_garment_label-garments":{
"id":"pr_q_garment_label-garments",
"label":"Sube una foto de la etiqueta de la prenda",
"isMandatory":true,
"defaultValue":{
"type":"photos_value",
"photos":[
]
}
}
}
},
{
"id":"p_first_product_page",
"title":"¿Qué talla te comprarías?",
"questions":{
"q_first_product_question":{
"id":"q_first_product_question",
"label":"¿Qué talla te comprarías?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_select_size",
"title":"Seleccionar talla"
},
{
"id":"op_size_not_found_at_store",
"title":"La talla que me probaría no está en la tienda"
},
{
"id":"op_wrong_tickets",
"title":"Las opciones de talla no coinciden con las que aparecen en las etiquetas"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_photos-garments",
"title":"Foto con la prenda",
"questions":{
"pr_q_photos-garments":{
"id":"pr_q_photos-garments",
"label":"Fotografíate con la prenda puesta",
"isMandatory":true,
"defaultValue":{
"type":"photos_value",
"photos":[
]
}
}
}
}
],
"isFinished":false
}
},
{
"id":"pr_5",
"name":"Product 5",
"sku":"SKU",
"sizes":[
"op_xxl",
"op_xl",
"op_l"
],
"imageURL":"https://i.ibb.co/DQ3HMkZ/Generic-Garment-image-1.png",
"questionary":{
"rootNode":{
"type":"conditional",
"current":{
"type":"question_page",
"pageId":"p_first_product_page"
},
"conditions":{
"op_select_size":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_wear_size"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_fit"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_photos-garments"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_last_questions"
},
"nextNode":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
}
}
},
"op_size_not_found_at_store":{
"type":"conditional",
"current":{
"type":"question_page",
"pageId":"pr_p_can_you_test_close_size_id"
},
"conditions":{
"op_yes":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_wear_size"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_fit"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_photos-garments"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_last_questions"
},
"nextNode":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
}
}
},
"op_no":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
},
"op_wrong_tickets":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_label"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_wear_size"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_fit"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_photos-garments"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_last_questions"
},
"nextNode":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
}
}
}
}
}
},
"questions":[
{
"id":"pr_p_can_you_test_close_size_id",
"title":"¿Puedes probar una talla cercana?",
"questions":{
"pr_q_can_you_test_close_size_id":{
"id":"pr_q_can_you_test_close_size_id",
"label":"¿Puedes probar una talla cercana?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_yes",
"title":"Yes"
},
{
"id":"op_no",
"title":"No"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_last_questions",
"title":"Calidad y Confort",
"questions":{
"pr_q_last_questions":{
"id":"pr_q_last_questions",
"label":"Pattern",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_tailor":{
"id":"pr_q_tailor",
"label":"Tailor",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_finish":{
"id":"pr_q_finish",
"label":"Final finish",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_fabric":{
"id":"pr_q_fabric",
"label":"Fabric",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_fit":{
"id":"pr_q_fit",
"label":"Fit",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_design":{
"id":"pr_q_design",
"label":"Design",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_comment":{
"id":"pr_q_comment",
"label":"Write any comment that have led you to leave such a review",
"isMandatory":false,
"defaultValue":{
"type":"text_value",
"text":"",
"payload":{
"leadingIcon":null,
"maxLines":4,
"minLines":4,
"placeholder":"Write any comment that have led you to leave such a review",
"keyBoardType":"text"
}
}
}
}
},
{
"id":"pr_p_wear_size",
"title":"Seleccionar talla",
"questions":{
"pr_q_wear-size":{
"id":"pr_q_wear-size",
"label":"¿Qué talla has elegido?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_xxl",
"title":"XXL"
},
{
"id":"op_xl",
"title":"XL"
},
{
"id":"op_l",
"title":"L"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_garment_fit",
"title":"Ajuste de la prenda",
"questions":{
"pr_q_garment_fit":{
"id":"pr_q_garment_fit",
"label":"¿Cómo se ajusta la prenda con la talla seleccionada?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_fit",
"title":"Fit"
},
{
"id":"op_perfect",
"title":"Perfect"
},
{
"id":"op_loose",
"title":"Loose"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_garment_label",
"title":"Foto con la etiqueta",
"questions":{
"pr_q_garment_label-garments":{
"id":"pr_q_garment_label-garments",
"label":"Sube una foto de la etiqueta de la prenda",
"isMandatory":true,
"defaultValue":{
"type":"photos_value",
"photos":[
]
}
}
}
},
{
"id":"p_first_product_page",
"title":"¿Qué talla te comprarías?",
"questions":{
"q_first_product_question":{
"id":"q_first_product_question",
"label":"¿Qué talla te comprarías?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_select_size",
"title":"Seleccionar talla"
},
{
"id":"op_size_not_found_at_store",
"title":"La talla que me probaría no está en la tienda"
},
{
"id":"op_wrong_tickets",
"title":"Las opciones de talla no coinciden con las que aparecen en las etiquetas"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_photos-garments",
"title":"Foto con la prenda",
"questions":{
"pr_q_photos-garments":{
"id":"pr_q_photos-garments",
"label":"Fotografíate con la prenda puesta",
"isMandatory":true,
"defaultValue":{
"type":"photos_value",
"photos":[
]
}
}
}
}
],
"isFinished":false
}
},
{
"id":"pr_6",
"name":"Product 6",
"sku":"SKU",
"sizes":[
"op_xxl",
"op_xl",
"op_l"
],
"imageURL":"https://i.ibb.co/DQ3HMkZ/Generic-Garment-image-1.png",
"questionary":{
"rootNode":{
"type":"conditional",
"current":{
"type":"question_page",
"pageId":"p_first_product_page"
},
"conditions":{
"op_select_size":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_wear_size"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_fit"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_photos-garments"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_last_questions"
},
"nextNode":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
}
}
},
"op_size_not_found_at_store":{
"type":"conditional",
"current":{
"type":"question_page",
"pageId":"pr_p_can_you_test_close_size_id"
},
"conditions":{
"op_yes":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_wear_size"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_fit"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_photos-garments"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_last_questions"
},
"nextNode":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
}
}
},
"op_no":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
},
"op_wrong_tickets":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_label"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_wear_size"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_garment_fit"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_photos-garments"
},
"nextNode":{
"type":"single",
"current":{
"type":"question_page",
"pageId":"pr_p_last_questions"
},
"nextNode":{
"type":"command",
"command":{
"type":"finish_questionary"
}
}
}
}
}
}
}
}
},
"questions":[
{
"id":"pr_p_can_you_test_close_size_id",
"title":"¿Puedes probar una talla cercana?",
"questions":{
"pr_q_can_you_test_close_size_id":{
"id":"pr_q_can_you_test_close_size_id",
"label":"¿Puedes probar una talla cercana?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_yes",
"title":"Yes"
},
{
"id":"op_no",
"title":"No"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_last_questions",
"title":"Calidad y Confort",
"questions":{
"pr_q_last_questions":{
"id":"pr_q_last_questions",
"label":"Pattern",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_tailor":{
"id":"pr_q_tailor",
"label":"Tailor",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_finish":{
"id":"pr_q_finish",
"label":"Final finish",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_fabric":{
"id":"pr_q_fabric",
"label":"Fabric",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_fit":{
"id":"pr_q_fit",
"label":"Fit",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_design":{
"id":"pr_q_design",
"label":"Design",
"isMandatory":false,
"defaultValue":{
"type":"number_value",
"value":0.5
}
},
"pr_q_comment":{
"id":"pr_q_comment",
"label":"Write any comment that have led you to leave such a review",
"isMandatory":false,
"defaultValue":{
"type":"text_value",
"text":"",
"payload":{
"leadingIcon":null,
"maxLines":4,
"minLines":4,
"placeholder":"Write any comment that have led you to leave such a review",
"keyBoardType":"text"
}
}
}
}
},
{
"id":"pr_p_wear_size",
"title":"Seleccionar talla",
"questions":{
"pr_q_wear-size":{
"id":"pr_q_wear-size",
"label":"¿Qué talla has elegido?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_xxl",
"title":"XXL"
},
{
"id":"op_xl",
"title":"XL"
},
{
"id":"op_l",
"title":"L"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_garment_fit",
"title":"Ajuste de la prenda",
"questions":{
"pr_q_garment_fit":{
"id":"pr_q_garment_fit",
"label":"¿Cómo se ajusta la prenda con la talla seleccionada?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_fit",
"title":"Fit"
},
{
"id":"op_perfect",
"title":"Perfect"
},
{
"id":"op_loose",
"title":"Loose"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_garment_label",
"title":"Foto con la etiqueta",
"questions":{
"pr_q_garment_label-garments":{
"id":"pr_q_garment_label-garments",
"label":"Sube una foto de la etiqueta de la prenda",
"isMandatory":true,
"defaultValue":{
"type":"photos_value",
"photos":[
]
}
}
}
},
{
"id":"p_first_product_page",
"title":"¿Qué talla te comprarías?",
"questions":{
"q_first_product_question":{
"id":"q_first_product_question",
"label":"¿Qué talla te comprarías?",
"isMandatory":true,
"defaultValue":{
"type":"select_value",
"options":[
{
"id":"op_select_size",
"title":"Seleccionar talla"
},
{
"id":"op_size_not_found_at_store",
"title":"La talla que me probaría no está en la tienda"
},
{
"id":"op_wrong_tickets",
"title":"Las opciones de talla no coinciden con las que aparecen en las etiquetas"
}
],
"payload":{
"type":"radio_button"
}
}
}
}
},
{
"id":"pr_p_photos-garments",
"title":"Foto con la prenda",
"questions":{
"pr_q_photos-garments":{
"id":"pr_q_photos-garments",
"label":"Fotografíate con la prenda puesta",
"isMandatory":true,
"defaultValue":{
"type":"photos_value",
"photos":[
]
}
}
}
}
],
"isFinished":false
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment