From 429743ae7fe1abcee976e95f67de0da47c406f50 Mon Sep 17 00:00:00 2001 From: Laurent Caouissin Date: Tue, 14 Apr 2020 14:49:55 +0200 Subject: [PATCH 1/6] Create Schema validator - enum for flat or hierarchical - utils class - dummy test to test file --- .../java/fr/insee/lunatic/utils/Modele.java | 6 ++ .../insee/lunatic/utils/SchemaValidator.java | 82 +++++++++++++++++++ .../main/DummyTestSchemaValidatorF.java | 43 ++++++++++ .../main/DummyTestSchemaValidatorH.java | 34 ++++++++ .../main/DummyTestXMLLunatic2JSONF.java | 7 +- 5 files changed, 170 insertions(+), 2 deletions(-) create mode 100644 src/main/java/fr/insee/lunatic/utils/Modele.java create mode 100644 src/main/java/fr/insee/lunatic/utils/SchemaValidator.java create mode 100644 src/test/java/fr/insee/lunatic/main/DummyTestSchemaValidatorF.java create mode 100644 src/test/java/fr/insee/lunatic/main/DummyTestSchemaValidatorH.java diff --git a/src/main/java/fr/insee/lunatic/utils/Modele.java b/src/main/java/fr/insee/lunatic/utils/Modele.java new file mode 100644 index 00000000..db38aa41 --- /dev/null +++ b/src/main/java/fr/insee/lunatic/utils/Modele.java @@ -0,0 +1,6 @@ +package fr.insee.lunatic.utils; + +public enum Modele { + FLAT, + HIERARCHICAL +} diff --git a/src/main/java/fr/insee/lunatic/utils/SchemaValidator.java b/src/main/java/fr/insee/lunatic/utils/SchemaValidator.java new file mode 100644 index 00000000..d7abd3a3 --- /dev/null +++ b/src/main/java/fr/insee/lunatic/utils/SchemaValidator.java @@ -0,0 +1,82 @@ +package fr.insee.lunatic.utils; + +import fr.insee.lunatic.Constants; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.xml.sax.SAXException; + +import javax.xml.XMLConstants; +import javax.xml.transform.Source; +import javax.xml.transform.Transformer; +import javax.xml.transform.TransformerFactory; +import javax.xml.transform.dom.DOMResult; +import javax.xml.transform.dom.DOMSource; +import javax.xml.transform.stream.StreamSource; +import javax.xml.validation.Schema; +import javax.xml.validation.SchemaFactory; +import javax.xml.validation.Validator; +import java.io.File; +import java.io.InputStream; + +public class SchemaValidator { + + private static final Logger LOGGER = LoggerFactory.getLogger(SchemaValidator.class); + + private Schema schema; + private Validator validator; + + public SchemaValidator(Modele modele) { + SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI); + try { + switch (modele){ + case FLAT: + schema = sf.newSchema(Constants.MODEL_FLAT_XSD);; + break; + case HIERARCHICAL: + schema = sf.newSchema(Constants.MODEL_HIERARCHICAL_XSD);; + break; + } + } catch (SAXException e) { + e.printStackTrace(); + } + validator = schema.newValidator(); + } + + public boolean validateFile(File file) { + boolean result = true; + validator.reset(); + Source source = new StreamSource(file); + try { + source = toDOMSource(source); + validator.validate(source); + } catch (Exception e) { + result = false; + e.printStackTrace(); + } + return result; + } + + public boolean validateIS(InputStream inputStream) { + boolean result = true; + validator.reset(); + Source source = new StreamSource(inputStream); + try { + source = toDOMSource(source); + validator.validate(source); + } catch (Exception e) { + result = false; + e.printStackTrace(); + } + return result; + } + + public DOMSource toDOMSource(Source source) throws Exception { + if (source instanceof DOMSource) { + return (DOMSource) source; + } + Transformer trans = TransformerFactory.newInstance().newTransformer(); + DOMResult result = new DOMResult(); + trans.transform(source, result); + return new DOMSource(result.getNode()); + } +} diff --git a/src/test/java/fr/insee/lunatic/main/DummyTestSchemaValidatorF.java b/src/test/java/fr/insee/lunatic/main/DummyTestSchemaValidatorF.java new file mode 100644 index 00000000..d2f5fce8 --- /dev/null +++ b/src/test/java/fr/insee/lunatic/main/DummyTestSchemaValidatorF.java @@ -0,0 +1,43 @@ +package fr.insee.lunatic.main; + +import fr.insee.lunatic.Constants; +import fr.insee.lunatic.conversion.JSONCleaner; +import fr.insee.lunatic.conversion.XMLLunaticFlatToJSONLunaticFlatTranslator; +import fr.insee.lunatic.conversion.XMLLunaticToXMLLunaticFlatTranslator; +import fr.insee.lunatic.utils.Modele; +import fr.insee.lunatic.utils.SchemaValidator; +import org.apache.commons.io.FileUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.io.File; +import java.io.FileInputStream; +import java.io.IOException; +import java.io.InputStream; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; + + +public class DummyTestSchemaValidatorF { + + private static final Logger logger = LoggerFactory.getLogger(DummyTestSchemaValidatorF.class); + + public static void main(String[] args) { + + String basePath = "src/test/resources/dummy"; + File in = new File(String.format("%s/form_flat.xml", basePath)); + try { + SchemaValidator schemaValidator = new SchemaValidator(Modele.FLAT); + logger.info("Valid : "+schemaValidator.validateFile(in)); + + } catch (Exception e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + + + } + +} diff --git a/src/test/java/fr/insee/lunatic/main/DummyTestSchemaValidatorH.java b/src/test/java/fr/insee/lunatic/main/DummyTestSchemaValidatorH.java new file mode 100644 index 00000000..648adaa2 --- /dev/null +++ b/src/test/java/fr/insee/lunatic/main/DummyTestSchemaValidatorH.java @@ -0,0 +1,34 @@ +package fr.insee.lunatic.main; + +import fr.insee.lunatic.utils.Modele; +import fr.insee.lunatic.utils.SchemaValidator; +import org.apache.commons.io.FileUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.io.File; +import java.io.InputStream; + + +public class DummyTestSchemaValidatorH { + + private static final Logger logger = LoggerFactory.getLogger(DummyTestSchemaValidatorH.class); + + public static void main(String[] args) { + + String basePath = "src/test/resources/dummy"; + File in = new File(String.format("%s/form.xml", basePath)); + try { + SchemaValidator schemaValidator = new SchemaValidator(Modele.HIERARCHICAL); + logger.info("Valid : "+schemaValidator.validateFile(in)); + + } catch (Exception e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + + + } + +} diff --git a/src/test/java/fr/insee/lunatic/main/DummyTestXMLLunatic2JSONF.java b/src/test/java/fr/insee/lunatic/main/DummyTestXMLLunatic2JSONF.java index e4a8aabe..1b380392 100644 --- a/src/test/java/fr/insee/lunatic/main/DummyTestXMLLunatic2JSONF.java +++ b/src/test/java/fr/insee/lunatic/main/DummyTestXMLLunatic2JSONF.java @@ -25,8 +25,10 @@ public static void main(String[] args) { try { Path outPath = Paths.get(Constants.TEMP_FOLDER_PATH + "/out-F.json"); + Path outPath_xml_temp = Paths.get(Constants.TEMP_FOLDER_PATH + "/out-F-temp.xml"); Path outPath_temp = Paths.get(Constants.TEMP_FOLDER_PATH + "/out-F-temp.json"); Files.deleteIfExists(outPath); + Files.deleteIfExists(outPath_xml_temp); Files.deleteIfExists(outPath_temp); Path outputFile = Files.createFile(outPath); Path outputFile_temp = Files.createFile(outPath_temp); @@ -35,8 +37,9 @@ public static void main(String[] args) { XMLLunaticFlatToJSONLunaticFlatTranslator translator2 = new XMLLunaticFlatToJSONLunaticFlatTranslator(); JSONCleaner jsonCleaner = new JSONCleaner(); - - String jsonQuestionnaire_temp = translator2.translate(translator.generate(in)); + String xmlFlatQuestionnaire = translator.generate(in); + Files.write(outPath_xml_temp,xmlFlatQuestionnaire.getBytes("UTF-8")); + String jsonQuestionnaire_temp = translator2.translate(xmlFlatQuestionnaire); Files.write(outputFile_temp, jsonQuestionnaire_temp.getBytes("UTF-8")); String jsonQuestionnaire = jsonCleaner.clean(jsonQuestionnaire_temp); Files.write(outputFile, jsonQuestionnaire.getBytes("UTF-8")); From 7d86ebc0f697dd6ebc90f33d3bd6e59834aac9bc Mon Sep 17 00:00:00 2001 From: Laurent Caouissin Date: Tue, 14 Apr 2020 14:50:42 +0200 Subject: [PATCH 2/6] Update modele - add attribute and change order --- src/main/resources/xsd/LunaticModel.xsd | 86 +++++----- src/main/resources/xsd/LunaticModelFlat.xsd | 164 ++++++++++---------- 2 files changed, 129 insertions(+), 121 deletions(-) diff --git a/src/main/resources/xsd/LunaticModel.xsd b/src/main/resources/xsd/LunaticModel.xsd index ee813f37..c0aaafee 100644 --- a/src/main/resources/xsd/LunaticModel.xsd +++ b/src/main/resources/xsd/LunaticModel.xsd @@ -11,6 +11,7 @@ + @@ -63,8 +64,8 @@ - - + + @@ -75,7 +76,7 @@ - + @@ -93,9 +94,9 @@ - + - + @@ -106,7 +107,7 @@ - + @@ -117,7 +118,7 @@ - + @@ -128,7 +129,7 @@ - + @@ -136,7 +137,7 @@ - + @@ -144,7 +145,7 @@ - + @@ -152,7 +153,7 @@ - + @@ -164,7 +165,7 @@ - + @@ -172,7 +173,7 @@ - + @@ -183,7 +184,7 @@ - + @@ -194,13 +195,13 @@ - + - + @@ -208,18 +209,20 @@ - + - + + + - + @@ -229,40 +232,40 @@ - + - + - + - + - + - + - + @@ -272,7 +275,7 @@ - + @@ -280,33 +283,34 @@ - + - + - + + - + - + - + @@ -318,12 +322,12 @@ - + - + @@ -331,7 +335,7 @@ - + @@ -340,7 +344,7 @@ - + @@ -350,7 +354,7 @@ - + @@ -359,7 +363,7 @@ - + @@ -369,13 +373,13 @@ - + - + diff --git a/src/main/resources/xsd/LunaticModelFlat.xsd b/src/main/resources/xsd/LunaticModelFlat.xsd index c86b5e8a..c860e7c0 100644 --- a/src/main/resources/xsd/LunaticModelFlat.xsd +++ b/src/main/resources/xsd/LunaticModelFlat.xsd @@ -1,28 +1,29 @@ - + + - + - - - - + + + + - + @@ -32,7 +33,7 @@ - + @@ -43,13 +44,13 @@ - + - + @@ -67,7 +68,7 @@ - + @@ -85,9 +86,9 @@ - + - + @@ -98,7 +99,7 @@ - + @@ -109,7 +110,7 @@ - + @@ -120,7 +121,7 @@ - + @@ -128,7 +129,7 @@ - + @@ -136,7 +137,7 @@ - + @@ -144,7 +145,7 @@ - + @@ -164,7 +165,7 @@ - + @@ -172,10 +173,10 @@ - + - + @@ -186,13 +187,13 @@ - + - + @@ -200,18 +201,20 @@ - + - + + + - + @@ -221,40 +224,40 @@ - + - + - + - + - + - + - + @@ -264,7 +267,7 @@ - + @@ -272,50 +275,51 @@ - + - - - - - - - - - - - - - - - - - - + + - - - - - - + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -323,7 +327,7 @@ - + @@ -367,7 +371,7 @@ - + @@ -375,5 +379,5 @@ - + From 97fe68ce696c4e67688f457b4fcefec67f4f46b8 Mon Sep 17 00:00:00 2001 From: Laurent Caouissin Date: Tue, 14 Apr 2020 14:50:51 +0200 Subject: [PATCH 3/6] Update Constants.java --- src/main/java/fr/insee/lunatic/Constants.java | 80 ++++++++++--------- 1 file changed, 43 insertions(+), 37 deletions(-) diff --git a/src/main/java/fr/insee/lunatic/Constants.java b/src/main/java/fr/insee/lunatic/Constants.java index d41b79ca..b7a7d7c4 100644 --- a/src/main/java/fr/insee/lunatic/Constants.java +++ b/src/main/java/fr/insee/lunatic/Constants.java @@ -2,6 +2,7 @@ import java.io.File; import java.io.IOException; +import java.net.URL; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; @@ -11,44 +12,49 @@ public class Constants { - private static final Logger logger = LoggerFactory.getLogger(Constants.class); - - - private Constants() { - + private static final Logger logger = LoggerFactory.getLogger(Constants.class); + + + private Constants() { + + } + + public static final String TEMP_FOLDER_PATH = System.getProperty("java.io.tmpdir")+"/"+"lunatic-test"; + public static final Path TEMP_FOLDER= getTempDir(TEMP_FOLDER_PATH); + public static final String RESOURCES_FOLDER_PATH = "src/test/resources/examples"; + public static final String RESOURCES_FOLDER_JSONF_2_XMLF_PATH = RESOURCES_FOLDER_PATH +"/jsonf-2-xmlf"; + public static final String RESOURCES_FOLDER_XMLF_2_JSONF_PATH = RESOURCES_FOLDER_PATH +"/xmlf-2-jsonf"; + public static final String RESOURCES_FOLDER_XMLH_2_XMLF_PATH = RESOURCES_FOLDER_PATH +"/xmlh-2-xmlf"; + public static final String RESOURCES_FOLDER_XMLH_2_JSONF_PATH = RESOURCES_FOLDER_PATH +"/xmlh-2-jsonf"; + public static final String RESOURCES_FOLDER_XMLH_2_JSONH_PATH = RESOURCES_FOLDER_PATH + "/xmlh-2-jsonh"; + + public static final String XSD_FILE_PATH = "/src/main/resources/xsd/Questionnaire.xsd"; + public static final String TRANSFORMATION_XML_2_XMLF = "xslt/flattener.xsl"; + public static final String TRANSFORMATION_JSON_2_JSON_CLEANED = "xslt/json-cleaner.xsl"; + public static final String NAMESPACE_URI = "http://xml.insee.fr/schema/applis/lunatic"; + public static final String PREFIX = "Questionnaire"; + public static final String JAXB_SCHEMA_LOCATION = NAMESPACE_URI + " file:"+XSD_FILE_PATH; + + public static final String SCHEMAS_FOLDER_PATH = "/xsd"; + + public static final URL MODEL_FLAT_XSD = Constants.class.getResource(SCHEMAS_FOLDER_PATH+"/LunaticModelFlat.xsd"); + public static final URL MODEL_HIERARCHICAL_XSD = Constants.class.getResource(SCHEMAS_FOLDER_PATH+"/LunaticModel.xsd"); + + public static Path getTempDir(String pathFolder) { + Path tempDirPath = null; + File dir = new File(pathFolder); + + if(dir.exists()) { + tempDirPath = Paths.get(pathFolder); } - - public static final String TEMP_FOLDER_PATH = System.getProperty("java.io.tmpdir")+"/"+"lunatic-test"; - public static final Path TEMP_FOLDER= getTempDir(TEMP_FOLDER_PATH); - public static final String RESOURCES_FOLDER_PATH = "src/test/resources/examples"; - public static final String RESOURCES_FOLDER_JSONF_2_XMLF_PATH = RESOURCES_FOLDER_PATH +"/jsonf-2-xmlf"; - public static final String RESOURCES_FOLDER_XMLF_2_JSONF_PATH = RESOURCES_FOLDER_PATH +"/xmlf-2-jsonf"; - public static final String RESOURCES_FOLDER_XMLH_2_XMLF_PATH = RESOURCES_FOLDER_PATH +"/xmlh-2-xmlf"; - public static final String RESOURCES_FOLDER_XMLH_2_JSONF_PATH = RESOURCES_FOLDER_PATH +"/xmlh-2-jsonf"; - public static final String RESOURCES_FOLDER_XMLH_2_JSONH_PATH = RESOURCES_FOLDER_PATH + "/xmlh-2-jsonh"; - - public static final String XSD_FILE_PATH = "/src/main/resources/xsd/Questionnaire.xsd"; - public static final String TRANSFORMATION_XML_2_XMLF = "xslt/flattener.xsl"; - public static final String TRANSFORMATION_JSON_2_JSON_CLEANED = "xslt/json-cleaner.xsl"; - public static final String NAMESPACE_URI = "http://xml.insee.fr/schema/applis/lunatic"; - public static final String PREFIX = "Questionnaire"; - public static final String JAXB_SCHEMA_LOCATION = NAMESPACE_URI + " file:"+XSD_FILE_PATH; - - public static Path getTempDir(String pathFolder) { - Path tempDirPath = null; - File dir = new File(pathFolder); - - if(dir.exists()) { - tempDirPath = Paths.get(pathFolder); - } - else { - try { - tempDirPath = Files.createDirectory(Paths.get(pathFolder)); - } catch(IOException e) { - logger.debug("Temp directory fail to initialize"); - e.printStackTrace(); - } + else { + try { + tempDirPath = Files.createDirectory(Paths.get(pathFolder)); + } catch(IOException e) { + logger.debug("Temp directory fail to initialize"); + e.printStackTrace(); } - return tempDirPath; } + return tempDirPath; + } } From 5ba4f776f53d743a8d0446ed0dc9b3ee2db68877 Mon Sep 17 00:00:00 2001 From: Laurent Caouissin Date: Tue, 14 Apr 2020 15:10:25 +0200 Subject: [PATCH 4/6] Add tests update form --- .../fr/insee/lunatic/test/ValidatorTest.java | 64 + src/test/resources/dummy/form.xml | 302 +- src/test/resources/dummy/form_flat.xml | 2841 +++++++++++++++++ 3 files changed, 3056 insertions(+), 151 deletions(-) create mode 100644 src/test/java/fr/insee/lunatic/test/ValidatorTest.java create mode 100644 src/test/resources/dummy/form_flat.xml diff --git a/src/test/java/fr/insee/lunatic/test/ValidatorTest.java b/src/test/java/fr/insee/lunatic/test/ValidatorTest.java new file mode 100644 index 00000000..fc35b272 --- /dev/null +++ b/src/test/java/fr/insee/lunatic/test/ValidatorTest.java @@ -0,0 +1,64 @@ +package fr.insee.lunatic.test; + +import fr.insee.lunatic.Constants; +import fr.insee.lunatic.conversion.JSONCleaner; +import fr.insee.lunatic.conversion.XMLLunaticFlatToJSONLunaticFlatTranslator; +import fr.insee.lunatic.conversion.XMLLunaticToJSONLunaticTranslator; +import fr.insee.lunatic.conversion.XMLLunaticToXMLLunaticFlatTranslator; +import fr.insee.lunatic.utils.Modele; +import fr.insee.lunatic.utils.SchemaValidator; +import org.json.JSONObject; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; +import org.skyscreamer.jsonassert.JSONAssert; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.xmlunit.diff.Diff; + +import java.io.File; +import java.io.IOException; +import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; + +public class ValidatorTest { + + private XMLDiff xmlDiff = new XMLDiff(); + + private static final Logger logger = LoggerFactory.getLogger(ValidatorTest.class); + + + @Test + public void testValidateH() { + logger.debug("Launch test : Validate Hierarchical modele"); + String basePath = "src/test/resources/dummy"; + File in = new File(String.format("%s/form.xml", basePath)); + try { + SchemaValidator schemaValidator = new SchemaValidator(Modele.HIERARCHICAL); + Assert.assertTrue(schemaValidator.validateFile(in)); + + } catch (Exception e) { + Assert.fail(); + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + @Test + public void testValidateF() { + logger.debug("Launch test : Validate flat modele"); + String basePath = "src/test/resources/dummy"; + File in = new File(String.format("%s/form_flat.xml", basePath)); + try { + SchemaValidator schemaValidator = new SchemaValidator(Modele.FLAT); + Assert.assertTrue(schemaValidator.validateFile(in)); + + } catch (Exception e) { + Assert.fail(); + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + +} diff --git a/src/test/resources/dummy/form.xml b/src/test/resources/dummy/form.xml index 62b330fc..f5b090ec 100644 --- a/src/test/resources/dummy/form.xml +++ b/src/test/resources/dummy/form.xml @@ -18,6 +18,7 @@ maxLength="500" mandatory="false"> + "normal" @@ -35,13 +36,13 @@ - "normal" + "normal" @@ -59,7 +60,6 @@ - "normal" - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" @@ -93,7 +94,6 @@ - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" @@ -120,7 +121,6 @@ - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" - YYYY-MM-DD + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + YYYY-MM-DD @@ -152,7 +153,6 @@ - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" @@ -179,7 +180,6 @@ - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" @@ -190,7 +190,7 @@ position="AFTER_QUESTION_TEXT"> - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" 00001 - + 00002 - + 00003 - + @@ -230,7 +231,6 @@ - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" 1 - + 2 - + 3 - + 4 - + @@ -275,64 +276,64 @@ - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" 1 - + 2 - + 3 - + 4 - + 5 - + 6 - + 7 - + 8 - + 9 - + 10 - + 11 - + 12 - + 13 - + @@ -351,12 +352,11 @@ - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" @@ -366,9 +366,9 @@ position="AFTER_QUESTION_TEXT"> - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" - + @@ -388,7 +388,7 @@ - + @@ -408,7 +408,7 @@ - + @@ -428,7 +428,7 @@ - + @@ -459,20 +459,20 @@ position="BEFORE_QUESTION_TEXT"> - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" 1 - + 1 - + 0 - + @@ -496,16 +496,16 @@ 2 - + 1 - + 0 - + @@ -529,16 +529,16 @@ 3 - + 1 - + 0 - + @@ -562,16 +562,16 @@ 4 - + 1 - + 0 - + @@ -599,20 +599,20 @@ positioning="HORIZONTAL" mandatory="false"> - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" 1 - + 1 - + 0 - + @@ -636,16 +636,16 @@ 2 - + 1 - + 0 - + @@ -669,16 +669,16 @@ 3 - + 1 - + 0 - + @@ -702,16 +702,16 @@ 4 - + 1 - + 0 - + @@ -739,32 +739,32 @@ positioning="HORIZONTAL" mandatory="false"> - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" 1 - + 1 - + 2 - + 3 - + 4 - + 5 - + @@ -788,28 +788,28 @@ 2 - + 1 - + 2 - + 3 - + 4 - + 5 - + @@ -833,28 +833,28 @@ 3 - + 1 - + 2 - + 3 - + 4 - + 5 - + @@ -878,28 +878,28 @@ 4 - + 1 - + 2 - + 3 - + 4 - + 5 - + @@ -923,28 +923,28 @@ 5 - + 1 - + 2 - + 3 - + 4 - + 5 - + @@ -969,33 +969,33 @@ - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" - + A - + A1 - + A2 - + B - + B1 - + B2 - + B3 - + C - + C1 - + D - + - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" - + - + 1 - + 1 - + 2 - + 3 - + 4 - + @@ -1296,24 +1296,24 @@ 2 - + 1 - + 2 - + 3 - + 4 - + @@ -1356,24 +1356,24 @@ 3 - + 1 - + 2 - + 3 - + 4 - + @@ -1416,24 +1416,24 @@ 4 - + 1 - + 2 - + 3 - + 4 - + @@ -1477,7 +1477,7 @@ - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" - + - + - + - + - + - + 1 - + @@ -1636,7 +1636,7 @@ 2 - + @@ -1756,7 +1756,7 @@ 3 - + @@ -1876,7 +1876,7 @@ 4 - + @@ -1998,23 +1998,23 @@ - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" - if ((not( cast(READY,integer) <> '1') )) then "normal" else "hidden" + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + - + - + - @@ -2466,6 +2466,7 @@ maxLength="255" mandatory="false"> + "normal" @@ -2483,7 +2484,6 @@ - "normal" diff --git a/src/test/resources/dummy/form_flat.xml b/src/test/resources/dummy/form_flat.xml new file mode 100644 index 00000000..39eef65b --- /dev/null +++ b/src/test/resources/dummy/form_flat.xml @@ -0,0 +1,2841 @@ + + + + + + + + + "normal" + + + + "normal" + + + + + + + + + + + + + + + + + + + + + "normal" + + + + + + + + + + + + + + + + + + + + + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + + + + + + + + + + + + + + + + + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + + + + + + + + + + + + + + + + + + + + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + YYYY-MM-DD + + + + + + + + + + + + + + + + + + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + + + + + + + + + + + + + + + + + + + + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + + + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + 00001 + + + + 00002 + + + + 00003 + + + + + + + + + + + + + + + + + + + + + + + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + + + + + + + + + + + + + + + + + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + 6 + + + + 7 + + + + 8 + + + + 9 + + + + 10 + + + + 11 + + + + 12 + + + + 13 + + + + + + + + + + + + + + + + + + + + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + + + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + + 1 + + + + + 1 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + 1 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + 1 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + 1 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + + 1 + + + + + 1 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + 1 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + 1 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + 1 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + + 1 + + + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + + + + + + + + + + + + + + + + + + + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + + + + + + + + + A + + + + A1 + + + + % + + + + + + + + + + + + + + + + + + + + + + A2 + + + + % + + + + + + + + + + + + + + + + + + + + + + B + + + + B1 + + + + % + + + + + + + + + + + + + + + + + + + + + + B2 + + + + % + + + + + + + + + + + + + + + + + + + + + + B3 + + + + % + + + + + + + + + + + + + + + + + + + + + + C + + + + C1 + + + + % + + + + + + + + + + + + + + + + + + + + + + D + + + + % + + + + + + + + + + + + + + + + + + + + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + + + + + + + + + + + + 1 + + + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + + + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + + + if ((not(cast(READY,integer) <> 1) )) then "normal" else "hidden" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "normal" + + + + "normal" + + + + + + + + + + + + + + + + + + + + LAST_BROADCAST + + + + COMMENT + COMMENT + + + READY + READY + + + PRODUCER + PRODUCER + + + SEASON_NUMBER + SEASON_NUMBER + + + DATEFIRST + DATEFIRST + + + AUDIENCE_SHARE + AUDIENCE_SHARE + + + CITY + CITY + + + MAYOR + MAYOR + + + STATE + STATE + + + PET1 + PET1 + + + PET2 + PET2 + + + PET3 + PET3 + + + PET4 + PET4 + + + ICE_FLAVOUR1 + ICE_FLAVOUR1 + + + ICE_FLAVOUR2 + ICE_FLAVOUR2 + + + ICE_FLAVOUR3 + ICE_FLAVOUR3 + + + ICE_FLAVOUR4 + ICE_FLAVOUR4 + + + NUCLEAR_CHARACTER1 + NUCLEAR_CHARACTER1 + + + NUCLEAR_CHARACTER2 + NUCLEAR_CHARACTER2 + + + NUCLEAR_CHARACTER3 + NUCLEAR_CHARACTER3 + + + NUCLEAR_CHARACTER4 + NUCLEAR_CHARACTER4 + + + BIRTH_CHARACTER1 + BIRTH_CHARACTER1 + + + BIRTH_CHARACTER2 + BIRTH_CHARACTER2 + + + BIRTH_CHARACTER3 + BIRTH_CHARACTER3 + + + BIRTH_CHARACTER4 + BIRTH_CHARACTER4 + + + BIRTH_CHARACTER5 + BIRTH_CHARACTER5 + + + PERCENTAGE_EXPENSES11 + PERCENTAGE_EXPENSES11 + + + PERCENTAGE_EXPENSES21 + PERCENTAGE_EXPENSES21 + + + PERCENTAGE_EXPENSES31 + PERCENTAGE_EXPENSES31 + + + PERCENTAGE_EXPENSES41 + PERCENTAGE_EXPENSES41 + + + PERCENTAGE_EXPENSES51 + PERCENTAGE_EXPENSES51 + + + PERCENTAGE_EXPENSES61 + PERCENTAGE_EXPENSES61 + + + PERCENTAGE_EXPENSES71 + PERCENTAGE_EXPENSES71 + + + CLOWNING11 + CLOWNING11 + + + CLOWNING12 + CLOWNING12 + + + CLOWNING21 + CLOWNING21 + + + CLOWNING22 + CLOWNING22 + + + CLOWNING31 + CLOWNING31 + + + CLOWNING32 + CLOWNING32 + + + CLOWNING41 + CLOWNING41 + + + CLOWNING42 + CLOWNING42 + + + TRAVEL11 + TRAVEL11 + + + TRAVEL12 + TRAVEL12 + + + TRAVEL13 + TRAVEL13 + + + TRAVEL14 + TRAVEL14 + + + TRAVEL15 + TRAVEL15 + + + TRAVEL16 + TRAVEL16 + + + TRAVEL21 + TRAVEL21 + + + TRAVEL22 + TRAVEL22 + + + TRAVEL23 + TRAVEL23 + + + TRAVEL24 + TRAVEL24 + + + TRAVEL25 + TRAVEL25 + + + TRAVEL26 + TRAVEL26 + + + TRAVEL31 + TRAVEL31 + + + TRAVEL32 + TRAVEL32 + + + TRAVEL33 + TRAVEL33 + + + TRAVEL34 + TRAVEL34 + + + TRAVEL35 + TRAVEL35 + + + TRAVEL36 + TRAVEL36 + + + TRAVEL41 + TRAVEL41 + + + TRAVEL42 + TRAVEL42 + + + TRAVEL43 + TRAVEL43 + + + TRAVEL44 + TRAVEL44 + + + TRAVEL45 + TRAVEL45 + + + TRAVEL46 + TRAVEL46 + + + FAVOURITE_CHARACTERS11 + FAVOURITE_CHARACTERS11 + + + FAVOURITE_CHARACTERS12 + FAVOURITE_CHARACTERS12 + + + FAVOURITE_CHARACTERS21 + FAVOURITE_CHARACTERS21 + + + FAVOURITE_CHARACTERS22 + FAVOURITE_CHARACTERS22 + + + FAVOURITE_CHARACTERS31 + FAVOURITE_CHARACTERS31 + + + FAVOURITE_CHARACTERS32 + FAVOURITE_CHARACTERS32 + + + FAVOURITE_CHARACTERS41 + FAVOURITE_CHARACTERS41 + + + FAVOURITE_CHARACTERS42 + FAVOURITE_CHARACTERS42 + + + FAVOURITE_CHARACTERS51 + FAVOURITE_CHARACTERS51 + + + FAVOURITE_CHARACTERS52 + FAVOURITE_CHARACTERS52 + + + FAVOURITE_CHARACTERS61 + FAVOURITE_CHARACTERS61 + + + FAVOURITE_CHARACTERS62 + FAVOURITE_CHARACTERS62 + + + FAVOURITE_CHARACTERS71 + FAVOURITE_CHARACTERS71 + + + FAVOURITE_CHARACTERS72 + FAVOURITE_CHARACTERS72 + + + FAVOURITE_CHARACTERS81 + FAVOURITE_CHARACTERS81 + + + FAVOURITE_CHARACTERS82 + FAVOURITE_CHARACTERS82 + + + FAVOURITE_CHARACTERS91 + FAVOURITE_CHARACTERS91 + + + FAVOURITE_CHARACTERS92 + FAVOURITE_CHARACTERS92 + + + FAVOURITE_CHARACTERS101 + FAVOURITE_CHARACTERS101 + + + FAVOURITE_CHARACTERS102 + FAVOURITE_CHARACTERS102 + + + SURVEY_COMMENT + SURVEY_COMMENT + + + SUM_EXPENSES + cast(PERCENTAGE_EXPENSES11,number) + cast(PERCENTAGE_EXPENSES21,number) + cast(PERCENTAGE_EXPENSES31,number)+ cast(PERCENTAGE_EXPENSES41,number)+ cast(PERCENTAGE_EXPENSES51,number)+ cast(PERCENTAGE_EXPENSES61,number)+ cast(PERCENTAGE_EXPENSES71,number)+ cast(PERCENTAGE_EXPENSES81,number)+ cast(PERCENTAGE_EXPENSES91,number)+ cast(PERCENTAGE_EXPENSES101,number) + + From 3ed28a4e5e57266901052d81c1c8e5058b758c0c Mon Sep 17 00:00:00 2001 From: Laurent Caouissin Date: Tue, 14 Apr 2020 16:03:18 +0200 Subject: [PATCH 5/6] Update test files --- .../resources/examples/xmlf-2-jsonf/out.json | 5696 +++++++++-------- .../resources/examples/xmlh-2-jsonf/out.json | 5696 +++++++++-------- .../resources/examples/xmlh-2-jsonh/out.json | 5610 ++++++++-------- 3 files changed, 8504 insertions(+), 8498 deletions(-) diff --git a/src/test/resources/examples/xmlf-2-jsonf/out.json b/src/test/resources/examples/xmlf-2-jsonf/out.json index 94dd1eb1..6a3eca78 100644 --- a/src/test/resources/examples/xmlf-2-jsonf/out.json +++ b/src/test/resources/examples/xmlf-2-jsonf/out.json @@ -1,2875 +1,2877 @@ - { "id" : "i6vwi0", - "label" : "Questionnaire SIMPSONS", - "components" : - [ - { "id" : "j6p0ti5h", - "componentType" : "Sequence", - "label" : "\"I - Introduction\"", - "declarations" : - [ - { "id" : "j6p0ti5h-d1", - "declarationType" : "COMMENT", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"We're going to test your knowledge about the simpsons series.Welcome in the simspons world!\"" } ], - "conditionFilter" : "\"normal\"" }, - - { "id" : "j6p3dkx6", - "componentType" : "Textarea", - "mandatory" : false, - "maxLength" : 500, - "label" : "\"➡ 1. Before starting, do you have any comments about the Simpsons family?\"", - "conditionFilter" : "\"normal\"", - "response" : - { "name" : "COMMENT", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "id" : "j6p0np9q", - "componentType" : "CheckboxBoolean", - "mandatory" : false, - "label" : "\"➡ 2. Are you ready?\"", - "conditionFilter" : "\"normal\"", - "response" : - { "name" : "READY", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "id" : "j6p6my1d", - "componentType" : "FilterDescription", - "filterDescription" : false, - "label" : "\"If you are not ready, please go to the end of the questionnaire\"" }, - - { "id" : "j6p0s7o5", - "componentType" : "Subsequence", - "label" : "\"General knowledge of the series\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, - - { "id" : "j3343qhx", - "componentType" : "Input", - "mandatory" : false, - "maxLength" : 30, - "label" : "\"➡ 3. Who is the producer?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "PRODUCER", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "id" : "j6q9h8tj", - "componentType" : "InputNumber", - "mandatory" : false, - "min" : 0, - "max" : 99, - "decimals" : 0, - "label" : "\"➡ 4. What is the current season number?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "SEASON_NUMBER", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "id" : "j334cyqb", - "componentType" : "Datepicker", - "mandatory" : false, - "label" : "\"➡ 5. When was the first episode of the Simpsons?\"", - "declarations" : - [ - { "id" : "j334cyqb-d11", - "declarationType" : "COMMENT", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"For your information, the date of the last broadcast was on \" || cast(cast(LAST_BROADCAST,string),string) || \" \"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "DATEFIRST", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "dateFormat" : "YYYY-MM-DD" }, - - { "id" : "j6z06z1e", - "componentType" : "InputNumber", - "mandatory" : false, - "min" : 0, - "max" : 99, - "decimals" : 1, - "label" : "\"➡ 6. In your opinion, how much is the part of audience share in US for the 2016 season?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "AUDIENCE_SHARE", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "id" : "j3341528", - "componentType" : "Sequence", - "label" : "\"II - Simpsons' city\"", - "declarations" : - [ - { "id" : "j3341528-d2", - "declarationType" : "COMMENT", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"This module asks about your general knowledge of the Simpsons city\"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, - - { "id" : "j3343clt", - "componentType" : "Radio", - "mandatory" : true, - "label" : "\"➡ 1. In which city do the Simpsons reside?\"", - "declarations" : - [ - { "id" : "j3343clt-d3", - "declarationType" : "INSTRUCTION", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"One possible answer\"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "CITY", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "00001", - "label" : "Springfield" }, - - { "value" : "00002", - "label" : "Shelbyville" }, - - { "value" : "00003", - "label" : "Seinfeld" } ] }, - - { "id" : "j6qdfhvw", - "componentType" : "CheckboxOne", - "mandatory" : false, - "label" : "\"➡ 2. Who is the Simpsons city mayor?\"", - "declarations" : - [ - { "id" : "j6qdfhvw-d4", - "declarationType" : "INSTRUCTION", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"Only one possible answer\"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "MAYOR", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ +{ "id" : "i6vwi0", + "label" : "Questionnaire SIMPSONS", + "components" : + [ + { "id" : "j6p0ti5h", + "componentType" : "Sequence", + "label" : "\"I - Introduction\"", + "declarations" : + [ + { "id" : "j6p0ti5h-d1", + "declarationType" : "COMMENT", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"We're going to test your knowledge about the simpsons series.Welcome in the simspons world!\"" } ], + "conditionFilter" : "\"normal\"" }, + + { "id" : "j6p3dkx6", + "componentType" : "Textarea", + "mandatory" : false, + "maxLength" : 500, + "label" : "\"➡ 1. Before starting, do you have any comments about the Simpsons family?\"", + "conditionFilter" : "\"normal\"", + "response" : + { "name" : "COMMENT", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j6p0np9q", + "componentType" : "CheckboxBoolean", + "mandatory" : false, + "label" : "\"➡ 2. Are you ready?\"", + "conditionFilter" : "\"normal\"", + "response" : + { "name" : "READY", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j6p6my1d", + "componentType" : "FilterDescription", + "filterDescription" : false, + "label" : "\"If you are not ready, please go to the end of the questionnaire\"" }, + + { "id" : "j6p0s7o5", + "componentType" : "Subsequence", + "label" : "\"General knowledge of the series\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, + + { "id" : "j3343qhx", + "componentType" : "Input", + "mandatory" : false, + "maxLength" : 30, + "label" : "\"➡ 3. Who is the producer?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "response" : + { "name" : "PRODUCER", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j6q9h8tj", + "componentType" : "InputNumber", + "mandatory" : false, + "min" : 0, + "max" : 99, + "decimals" : 0, + "label" : "\"➡ 4. What is the current season number?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "response" : + { "name" : "SEASON_NUMBER", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j334cyqb", + "componentType" : "Datepicker", + "mandatory" : false, + "min" : "1900-01-01", + "max" : "format-date(current-date(),'[Y0001]-[M01]-[D01]')", + "label" : "\"➡ 5. When was the first episode of the Simpsons?\"", + "declarations" : + [ + { "id" : "j334cyqb-d11", + "declarationType" : "COMMENT", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"For your information, the date of the last broadcast was on \" || cast(cast(LAST_BROADCAST,string),string) || \" \"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "dateFormat" : "YYYY-MM-DD", + "response" : + { "name" : "DATEFIRST", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j6z06z1e", + "componentType" : "InputNumber", + "mandatory" : false, + "min" : 0, + "max" : 99, + "decimals" : 1, + "label" : "\"➡ 6. In your opinion, how much is the part of audience share in US for the 2016 season?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "response" : + { "name" : "AUDIENCE_SHARE", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j3341528", + "componentType" : "Sequence", + "label" : "\"II - Simpsons' city\"", + "declarations" : + [ + { "id" : "j3341528-d2", + "declarationType" : "COMMENT", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"This module asks about your general knowledge of the Simpsons city\"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, + + { "id" : "j3343clt", + "componentType" : "Radio", + "mandatory" : true, + "label" : "\"➡ 1. In which city do the Simpsons reside?\"", + "declarations" : + [ + { "id" : "j3343clt-d3", + "declarationType" : "INSTRUCTION", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"One possible answer\"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "options" : + [ + { "value" : "00001", + "label" : "Springfield" }, + + { "value" : "00002", + "label" : "Shelbyville" }, + + { "value" : "00003", + "label" : "Seinfeld" } ], + "response" : + { "name" : "CITY", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j6qdfhvw", + "componentType" : "CheckboxOne", + "mandatory" : false, + "label" : "\"➡ 2. Who is the Simpsons city mayor?\"", + "declarations" : + [ + { "id" : "j6qdfhvw-d4", + "declarationType" : "INSTRUCTION", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"Only one possible answer\"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "options" : + [ + { "value" : "1", + "label" : "Constance Harm" }, + + { "value" : "2", + "label" : "Timothy Lovejoy" }, + + { "value" : "3", + "label" : "Joe Quimby" }, + + { "value" : "4", + "label" : "Poochie" } ], + "response" : + { "name" : "MAYOR", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j4nw5cqz", + "componentType" : "Dropdown", + "mandatory" : false, + "label" : "\"➡ 3. In which state do The Simpsons reside?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "options" : + [ + { "value" : "1", + "label" : "Washington" }, + + { "value" : "2", + "label" : "Kentucky" }, + + { "value" : "3", + "label" : "Ohio" }, + + { "value" : "4", + "label" : "Maine" }, + + { "value" : "5", + "label" : "North Dakota" }, + + { "value" : "6", + "label" : "Florida" }, + + { "value" : "7", + "label" : "North Takoma" }, + + { "value" : "8", + "label" : "California" }, + + { "value" : "9", + "label" : "Texas" }, + + { "value" : "10", + "label" : "Massachusetts" }, + + { "value" : "11", + "label" : "Nevada" }, + + { "value" : "12", + "label" : "Illinois" }, + + { "value" : "13", + "label" : "Not in any state, you fool!" } ], + "response" : + { "name" : "STATE", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j6qe0h9q", + "componentType" : "Sequence", + "label" : "\"III - Characters\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, + + { "id" : "j334akov", + "componentType" : "CheckboxGroup", + "label" : "\"➡ 1. What are the pet names that the Simpsons family had?\"", + "declarations" : + [ + { "id" : "j334akov-d5", + "declarationType" : "INSTRUCTION", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"Several possible answers\"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "responses" : + [ + { "id" : "j334akov-QOP-jbgd8qmn", + "label" : "Santa's Little Helper", + "response" : + { "name" : "PET1", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j334akov-QOP-jbgd60vl", + "label" : "Snowball I", + "response" : + { "name" : "PET2", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j334akov-QOP-jbgda2jo", + "label" : "Coltrane", + "response" : + { "name" : "PET3", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j334akov-QOP-jbgdfssy", + "label" : "Mojo the Helper Monkey", + "response" : + { "name" : "PET4", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] }, + + { "id" : "j6p29i81", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 2. Does Jay like the following ice cream flavours?\"", + "declarations" : + [ + { "id" : "d12-SI", + "declarationType" : "STATEMENT", + "position" : "BEFORE_QUESTION_TEXT", + "label" : "\"Now we are going to know if you think that Jay is a gluton.\"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "cells" : + [ + [ { "value" : "1", - "label" : "Constance Harm" }, - + "label" : "Vanilla" }, + + { "componentType" : "Radio", + "id" : "j6p29i81-QOP-jbgdb3jx", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "ICE_FLAVOUR1", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ { "value" : "2", - "label" : "Timothy Lovejoy" }, - + "label" : "Strawberry" }, + + { "componentType" : "Radio", + "id" : "j6p29i81-QOP-jbgdb61k", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "ICE_FLAVOUR2", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ { "value" : "3", - "label" : "Joe Quimby" }, - + "label" : "Apple" }, + + { "componentType" : "Radio", + "id" : "j6p29i81-QOP-jbgdl3kc", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "ICE_FLAVOUR3", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ { "value" : "4", - "label" : "Poochie" } ] }, - - { "id" : "j4nw5cqz", - "componentType" : "Dropdown", - "mandatory" : false, - "label" : "\"➡ 3. In which state do The Simpsons reside?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "STATE", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ + "label" : "Bacon" }, + + { "componentType" : "Radio", + "id" : "j6p29i81-QOP-jbgdcobo", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "ICE_FLAVOUR4", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] ] }, + + { "id" : "j6qefnga", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 3. Which character works in the nuclear power plant?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "cells" : + [ + [ { "value" : "1", - "label" : "Washington" }, - + "label" : "Charles Montgomery Burns" }, + + { "componentType" : "Dropdown", + "id" : "j6qefnga-QOP-jbgd6p0k", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "NUCLEAR_CHARACTER1", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ { "value" : "2", - "label" : "Kentucky" }, - + "label" : "Carl Carlson" }, + + { "componentType" : "Dropdown", + "id" : "j6qefnga-QOP-jbgd9ato", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "NUCLEAR_CHARACTER2", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ { "value" : "3", - "label" : "Ohio" }, - + "label" : "Otto Mann" }, + + { "componentType" : "Dropdown", + "id" : "j6qefnga-QOP-jbgd3e0p", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "NUCLEAR_CHARACTER3", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ { "value" : "4", - "label" : "Maine" }, - - { "value" : "5", - "label" : "North Dakota" }, - - { "value" : "6", - "label" : "Florida" }, - - { "value" : "7", - "label" : "North Takoma" }, - - { "value" : "8", - "label" : "California" }, - - { "value" : "9", - "label" : "Texas" }, - - { "value" : "10", - "label" : "Massachusetts" }, - - { "value" : "11", - "label" : "Nevada" }, - - { "value" : "12", - "label" : "Illinois" }, - - { "value" : "13", - "label" : "Not in any state, you fool!" } ] }, - - { "id" : "j6qe0h9q", - "componentType" : "Sequence", - "label" : "\"III - Characters\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, - - { "id" : "j334akov", - "componentType" : "CheckboxGroup", - "label" : "\"➡ 1. What are the pet names that the Simpsons family had?\"", - "declarations" : - [ - { "id" : "j334akov-d5", - "declarationType" : "INSTRUCTION", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"Several possible answers\"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "responses" : - [ - { "id" : "j334akov-QOP-jbgd8qmn", - "label" : "Santa's Little Helper", - "response" : - { "name" : "PET1", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - + "label" : "Carl Carlson" }, + + { "componentType" : "Dropdown", + "id" : "j6qefnga-QOP-jbgdkxne", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "NUCLEAR_CHARACTER4", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "id" : "j334akov-QOP-jbgd60vl", - "label" : "Snowball I", - "response" : - { "name" : "PET2", - "valueState" : - [ + "value" : null } ] } } ] ] }, + + { "id" : "j6yzoc6g", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 4. In which city each character was born?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "cells" : + [ + [ + { "value" : "1", + "label" : "Selma Bouvier" }, + + { "componentType" : "CheckboxOne", + "id" : "j6yzoc6g-QOP-jbgd7fr6", + "options" : + [ + { "value" : "1", + "label" : "Albuquerque" }, + + { "value" : "2", + "label" : "Springfield" }, + + { "value" : "3", + "label" : "Portland" }, + + { "value" : "4", + "label" : "Shelbyville" }, + + { "value" : "5", + "label" : "Dagstuhl" } ], + "response" : + { "name" : "BIRTH_CHARACTER1", + "valueState" : + [ { "valueType" : "PREVIOUS", "value" : null }, - + { "valueType" : "COLLECTED", "value" : null }, - + { "valueType" : "FORCED", "value" : null }, - + { "valueType" : "EDITED", "value" : null }, - + { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "id" : "j334akov-QOP-jbgda2jo", - "label" : "Coltrane", - "response" : - { "name" : "PET3", - "valueState" : - [ + "value" : null } ] } } ], + + [ + { "value" : "2", + "label" : "Kent Brockman" }, + + { "componentType" : "CheckboxOne", + "id" : "j6yzoc6g-QOP-jbgd5e9f", + "options" : + [ + { "value" : "1", + "label" : "Albuquerque" }, + + { "value" : "2", + "label" : "Springfield" }, + + { "value" : "3", + "label" : "Portland" }, + + { "value" : "4", + "label" : "Shelbyville" }, + + { "value" : "5", + "label" : "Dagstuhl" } ], + "response" : + { "name" : "BIRTH_CHARACTER2", + "valueState" : + [ { "valueType" : "PREVIOUS", "value" : null }, - + { "valueType" : "COLLECTED", "value" : null }, - + { "valueType" : "FORCED", "value" : null }, - + { "valueType" : "EDITED", "value" : null }, - + { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "id" : "j334akov-QOP-jbgdfssy", - "label" : "Mojo the Helper Monkey", - "response" : - { "name" : "PET4", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ] }, - - { "id" : "j6p29i81", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 2. Does Jay like the following ice cream flavours?\"", - "declarations" : - [ - { "id" : "d12-SI", - "declarationType" : "STATEMENT", - "position" : "BEFORE_QUESTION_TEXT", - "label" : "\"Now we are going to know if you think that Jay is a gluton.\"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "label" : "Vanilla", - "value" : "1" }, - - { "componentType" : "Radio", - "id" : "j6p29i81-QOP-jbgdb3jx", - "response" : - { "name" : "ICE_FLAVOUR1", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ], - - [ - { "label" : "Strawberry", - "value" : "2" }, - - { "componentType" : "Radio", - "id" : "j6p29i81-QOP-jbgdb61k", - "response" : - { "name" : "ICE_FLAVOUR2", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ], - - [ - { "label" : "Apple", - "value" : "3" }, - - { "componentType" : "Radio", - "id" : "j6p29i81-QOP-jbgdl3kc", - "response" : - { "name" : "ICE_FLAVOUR3", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ], - - [ - { "label" : "Bacon", - "value" : "4" }, - - { "componentType" : "Radio", - "id" : "j6p29i81-QOP-jbgdcobo", - "response" : - { "name" : "ICE_FLAVOUR4", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ] ] }, - - { "id" : "j6qefnga", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 3. Which character works in the nuclear power plant?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "label" : "Charles Montgomery Burns", - "value" : "1" }, - - { "componentType" : "Dropdown", - "id" : "j6qefnga-QOP-jbgd6p0k", - "response" : - { "name" : "NUCLEAR_CHARACTER1", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ], - - [ - { "label" : "Carl Carlson", - "value" : "2" }, - - { "componentType" : "Dropdown", - "id" : "j6qefnga-QOP-jbgd9ato", - "response" : - { "name" : "NUCLEAR_CHARACTER2", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ], - - [ - { "label" : "Otto Mann", - "value" : "3" }, - - { "componentType" : "Dropdown", - "id" : "j6qefnga-QOP-jbgd3e0p", - "response" : - { "name" : "NUCLEAR_CHARACTER3", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ], - - [ - { "label" : "Carl Carlson", - "value" : "4" }, - - { "componentType" : "Dropdown", - "id" : "j6qefnga-QOP-jbgdkxne", - "response" : - { "name" : "NUCLEAR_CHARACTER4", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ] ] }, - - { "id" : "j6yzoc6g", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 4. In which city each character was born?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "label" : "Selma Bouvier", - "value" : "1" }, - - { "componentType" : "CheckboxOne", - "id" : "j6yzoc6g-QOP-jbgd7fr6", - "response" : - { "name" : "BIRTH_CHARACTER1", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Albuquerque" }, - - { "value" : "2", - "label" : "Springfield" }, - - { "value" : "3", - "label" : "Portland" }, - - { "value" : "4", - "label" : "Shelbyville" }, - - { "value" : "5", - "label" : "Dagstuhl" } ] } ], - - [ - { "label" : "Kent Brockman", - "value" : "2" }, - - { "componentType" : "CheckboxOne", - "id" : "j6yzoc6g-QOP-jbgd5e9f", - "response" : - { "name" : "BIRTH_CHARACTER2", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Albuquerque" }, - - { "value" : "2", - "label" : "Springfield" }, - - { "value" : "3", - "label" : "Portland" }, - - { "value" : "4", - "label" : "Shelbyville" }, - - { "value" : "5", - "label" : "Dagstuhl" } ] } ], - - [ - { "label" : "Milhouse Van Houten", - "value" : "3" }, - - { "componentType" : "CheckboxOne", - "id" : "j6yzoc6g-QOP-jbgd912x", - "response" : - { "name" : "BIRTH_CHARACTER3", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Albuquerque" }, - - { "value" : "2", - "label" : "Springfield" }, - - { "value" : "3", - "label" : "Portland" }, - - { "value" : "4", - "label" : "Shelbyville" }, - - { "value" : "5", - "label" : "Dagstuhl" } ] } ], - - [ - { "label" : "Nelson Muntz", - "value" : "4" }, - - { "componentType" : "CheckboxOne", - "id" : "j6yzoc6g-QOP-jbgd6bdy", - "response" : - { "name" : "BIRTH_CHARACTER4", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Albuquerque" }, - - { "value" : "2", - "label" : "Springfield" }, - - { "value" : "3", - "label" : "Portland" }, - - { "value" : "4", - "label" : "Shelbyville" }, - - { "value" : "5", - "label" : "Dagstuhl" } ] } ], - - [ - { "label" : "Crazy Cat Lady", - "value" : "5" }, - - { "componentType" : "CheckboxOne", - "id" : "j6yzoc6g-QOP-jbgddyry", - "response" : - { "name" : "BIRTH_CHARACTER5", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Albuquerque" }, - - { "value" : "2", - "label" : "Springfield" }, - - { "value" : "3", - "label" : "Portland" }, - - { "value" : "4", - "label" : "Shelbyville" }, - - { "value" : "5", - "label" : "Dagstuhl" } ] } ] ] }, - - { "id" : "j4nw88h2", - "componentType" : "Sequence", - "label" : "\"IV - General questions\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, - - { "id" : "j6qe237q", - "componentType" : "Subsequence", - "label" : "\"Kwik-E-Mart\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, - - { "id" : "j4nwc63q", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 1. Please, specify the percentage of Jay's expenses in the Kwik-E-Mart for each product?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "headerCell" : true, - "colspan" : 2, - "label" : "" }, - - { "headerCell" : true, - "label" : "Percentage" } ], - - [ - { "rowspan" : 2, - "label" : "Frozen products", - "value" : "A" }, - - { "label" : "Ice creams", - "value" : "A1" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgde5yl", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES11", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Jasper Beardly", - "value" : "A2" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgd2x2t", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES21", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "rowspan" : 3, - "label" : "Meat", - "value" : "B" }, - - { "label" : "Bacon", - "value" : "B1" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgdjypz", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES31", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Pork chop", - "value" : "B2" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgdcftu", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES41", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Chicken", - "value" : "B3" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgdiyfe", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES51", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Compote", - "value" : "C" }, - - { "label" : "Powersauce", - "value" : "C1" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgdj1wd", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES61", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "colspan" : 2, - "label" : "Other", - "value" : "D" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgddylk", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES71", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ] ] }, - - { "id" : "j6qejudb", - "componentType" : "Subsequence", - "label" : "\"Clowning\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, - - { "id" : "j4nw0rr6", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 2. Who did these clownings and tell us what you remember?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "headerCell" : true, - "label" : "" }, - - { "headerCell" : true, - "label" : "Clowning" }, - - { "headerCell" : true, - "label" : "Remember?" } ], - - [ - { "label" : "Break the windows of the whole city", - "value" : "1" }, - - { "componentType" : "Dropdown", - "id" : "j4nw0rr6-QOP-jbgd8tyr", - "response" : - { "name" : "CLOWNING11", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Jay" }, - - { "value" : "2", - "label" : "Bart" }, - - { "value" : "3", - "label" : "Krusty the clown" }, - - { "value" : "4", - "label" : "Maggie" } ] }, - - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j4nw0rr6-QOP-jbgdit3o", - "response" : - { "name" : "CLOWNING12", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Loose the violin of his daughter playing poker", - "value" : "2" }, - - { "componentType" : "Dropdown", - "id" : "j4nw0rr6-QOP-jbgdep36", - "response" : - { "name" : "CLOWNING21", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Jay" }, - - { "value" : "2", - "label" : "Bart" }, - - { "value" : "3", - "label" : "Krusty the clown" }, - - { "value" : "4", - "label" : "Maggie" } ] }, - - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j4nw0rr6-QOP-jbgd366k", - "response" : - { "name" : "CLOWNING22", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Kill Mr Burns", - "value" : "3" }, - - { "componentType" : "Dropdown", - "id" : "j4nw0rr6-QOP-jbgdjjgi", - "response" : - { "name" : "CLOWNING31", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Jay" }, - - { "value" : "2", - "label" : "Bart" }, - - { "value" : "3", - "label" : "Krusty the clown" }, - - { "value" : "4", - "label" : "Maggie" } ] }, - - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j4nw0rr6-QOP-jbgdax06", - "response" : - { "name" : "CLOWNING32", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Leaving a mechanical object to control the nuclear power plant", - "value" : "4" }, - - { "componentType" : "Dropdown", - "id" : "j4nw0rr6-QOP-jbgdgh6k", - "response" : - { "name" : "CLOWNING41", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Jay" }, - - { "value" : "2", - "label" : "Bart" }, - - { "value" : "3", - "label" : "Krusty the clown" }, - - { "value" : "4", - "label" : "Maggie" } ] }, - - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j4nw0rr6-QOP-jbgdfo1j", - "response" : - { "name" : "CLOWNING42", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ] ] }, - - { "id" : "j6qeh91y", - "componentType" : "Subsequence", - "label" : "\"Transport\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, - - { "id" : "j6p2lwuj", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 3. Which of the following means of transport were used by the hero and in which country?\"", - "declarations" : - [ - { "id" : "j6p2lwuj-d10", - "declarationType" : "INSTRUCTION", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"Several answers possible: check off all the relevant boxes\"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "headerCell" : true, - "label" : "" }, - - { "headerCell" : true, - "label" : "Brazil" }, - - { "headerCell" : true, - "label" : "Canada" }, - - { "headerCell" : true, - "label" : "Japan" }, - - { "headerCell" : true, - "label" : "France" }, - - { "headerCell" : true, - "label" : "Other country" }, - - { "headerCell" : true, - "label" : "Other planet" } ], - - [ - { "label" : "Car", - "value" : "1" }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd92mb", - "response" : - { "name" : "TRAVEL11", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdnxkt", - "response" : - { "name" : "TRAVEL12", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdcppc", - "response" : - { "name" : "TRAVEL13", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd4r2a", - "response" : - { "name" : "TRAVEL14", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd9cff", - "response" : - { "name" : "TRAVEL15", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdiva0", - "response" : - { "name" : "TRAVEL16", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Bike", - "value" : "2" }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdgsat", - "response" : - { "name" : "TRAVEL21", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd3ef5", - "response" : - { "name" : "TRAVEL22", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd4cm6", - "response" : - { "name" : "TRAVEL23", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdkfpq", - "response" : - { "name" : "TRAVEL24", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgddwsp", - "response" : - { "name" : "TRAVEL25", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd7dqf", - "response" : - { "name" : "TRAVEL26", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Skateboard", - "value" : "3" }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdaxk2", - "response" : - { "name" : "TRAVEL31", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd8p1v", - "response" : - { "name" : "TRAVEL32", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdd2lo", - "response" : - { "name" : "TRAVEL33", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd7u52", - "response" : - { "name" : "TRAVEL34", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdncn8", - "response" : - { "name" : "TRAVEL35", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdnous", - "response" : - { "name" : "TRAVEL36", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Plane", - "value" : "4" }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd7myn", - "response" : - { "name" : "TRAVEL41", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdgm0c", - "response" : - { "name" : "TRAVEL42", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdo0ay", - "response" : - { "name" : "TRAVEL43", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdgfwl", - "response" : - { "name" : "TRAVEL44", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdnz6b", - "response" : - { "name" : "TRAVEL45", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdkfcz", - "response" : - { "name" : "TRAVEL46", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ] ] }, - - { "id" : "j6qfx9qe", - "componentType" : "Sequence", - "label" : "\"V - Favourite characters\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, - - { "id" : "j6qg8rc6", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 1. Please, complete the following grid with your favourite characters\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "headerCell" : true, - "label" : "Name" }, - - { "headerCell" : true, - "label" : "Age" } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdl5jb", - "response" : - { "name" : "FAVOURITE_CHARACTERS11", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgdfndq", - "response" : - { "name" : "FAVOURITE_CHARACTERS12", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgd8lwo", - "response" : - { "name" : "FAVOURITE_CHARACTERS21", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgd7osi", - "response" : - { "name" : "FAVOURITE_CHARACTERS22", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdbfag", - "response" : - { "name" : "FAVOURITE_CHARACTERS31", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgd7bnw", - "response" : - { "name" : "FAVOURITE_CHARACTERS32", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdlgja", - "response" : - { "name" : "FAVOURITE_CHARACTERS41", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgd9k71", - "response" : - { "name" : "FAVOURITE_CHARACTERS42", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgd745y", - "response" : - { "name" : "FAVOURITE_CHARACTERS51", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgdimks", - "response" : - { "name" : "FAVOURITE_CHARACTERS52", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdjkts", - "response" : - { "name" : "FAVOURITE_CHARACTERS61", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgdjquz", - "response" : - { "name" : "FAVOURITE_CHARACTERS62", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdcax7", - "response" : - { "name" : "FAVOURITE_CHARACTERS71", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgdd2w3", - "response" : - { "name" : "FAVOURITE_CHARACTERS72", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdjye1", - "response" : - { "name" : "FAVOURITE_CHARACTERS81", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgdkosc", - "response" : - { "name" : "FAVOURITE_CHARACTERS82", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgd5jet", - "response" : - { "name" : "FAVOURITE_CHARACTERS91", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgdk0x4", - "response" : - { "name" : "FAVOURITE_CHARACTERS92", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdjw90", - "response" : - { "name" : "FAVOURITE_CHARACTERS101", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgd2wgf", - "response" : - { "name" : "FAVOURITE_CHARACTERS102", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ] ], - "lines" : - { "min" : 1, - "max" : 10 } }, - - { "id" : "j6z12s2d", - "componentType" : "Sequence", - "label" : "\"VI - Comment\"", - "conditionFilter" : "\"normal\"" }, - - { "id" : "j6z0z3us", - "componentType" : "Textarea", - "mandatory" : false, - "maxLength" : 255, - "label" : "\"➡ 1. Do you have any comment about the survey?\"", - "conditionFilter" : "\"normal\"", - "response" : - { "name" : "SURVEY_COMMENT", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - "variables" : - [ - { "variableType" : "EXTERNAL", - "name" : "LAST_BROADCAST", - "value" : null }, - - { "variableType" : "COLLECTED", - "name" : "COMMENT", - "responseRef" : "COMMENT" }, - - { "variableType" : "COLLECTED", - "name" : "READY", - "responseRef" : "READY" }, - - { "variableType" : "COLLECTED", - "name" : "PRODUCER", - "responseRef" : "PRODUCER" }, - - { "variableType" : "COLLECTED", - "name" : "SEASON_NUMBER", - "responseRef" : "SEASON_NUMBER" }, - - { "variableType" : "COLLECTED", - "name" : "DATEFIRST", - "responseRef" : "DATEFIRST" }, - - { "variableType" : "COLLECTED", - "name" : "AUDIENCE_SHARE", - "responseRef" : "AUDIENCE_SHARE" }, - - { "variableType" : "COLLECTED", - "name" : "CITY", - "responseRef" : "CITY" }, - - { "variableType" : "COLLECTED", - "name" : "MAYOR", - "responseRef" : "MAYOR" }, - - { "variableType" : "COLLECTED", - "name" : "STATE", - "responseRef" : "STATE" }, - - { "variableType" : "COLLECTED", - "name" : "PET1", - "responseRef" : "PET1" }, - - { "variableType" : "COLLECTED", - "name" : "PET2", - "responseRef" : "PET2" }, - - { "variableType" : "COLLECTED", - "name" : "PET3", - "responseRef" : "PET3" }, - - { "variableType" : "COLLECTED", - "name" : "PET4", - "responseRef" : "PET4" }, - - { "variableType" : "COLLECTED", - "name" : "ICE_FLAVOUR1", - "responseRef" : "ICE_FLAVOUR1" }, - - { "variableType" : "COLLECTED", - "name" : "ICE_FLAVOUR2", - "responseRef" : "ICE_FLAVOUR2" }, - - { "variableType" : "COLLECTED", - "name" : "ICE_FLAVOUR3", - "responseRef" : "ICE_FLAVOUR3" }, - - { "variableType" : "COLLECTED", - "name" : "ICE_FLAVOUR4", - "responseRef" : "ICE_FLAVOUR4" }, - - { "variableType" : "COLLECTED", - "name" : "NUCLEAR_CHARACTER1", - "responseRef" : "NUCLEAR_CHARACTER1" }, - - { "variableType" : "COLLECTED", - "name" : "NUCLEAR_CHARACTER2", - "responseRef" : "NUCLEAR_CHARACTER2" }, - - { "variableType" : "COLLECTED", - "name" : "NUCLEAR_CHARACTER3", - "responseRef" : "NUCLEAR_CHARACTER3" }, - - { "variableType" : "COLLECTED", - "name" : "NUCLEAR_CHARACTER4", - "responseRef" : "NUCLEAR_CHARACTER4" }, - - { "variableType" : "COLLECTED", - "name" : "BIRTH_CHARACTER1", - "responseRef" : "BIRTH_CHARACTER1" }, - - { "variableType" : "COLLECTED", - "name" : "BIRTH_CHARACTER2", - "responseRef" : "BIRTH_CHARACTER2" }, - - { "variableType" : "COLLECTED", - "name" : "BIRTH_CHARACTER3", - "responseRef" : "BIRTH_CHARACTER3" }, - - { "variableType" : "COLLECTED", - "name" : "BIRTH_CHARACTER4", - "responseRef" : "BIRTH_CHARACTER4" }, - - { "variableType" : "COLLECTED", - "name" : "BIRTH_CHARACTER5", - "responseRef" : "BIRTH_CHARACTER5" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES11", - "responseRef" : "PERCENTAGE_EXPENSES11" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES21", - "responseRef" : "PERCENTAGE_EXPENSES21" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES31", - "responseRef" : "PERCENTAGE_EXPENSES31" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES41", - "responseRef" : "PERCENTAGE_EXPENSES41" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES51", - "responseRef" : "PERCENTAGE_EXPENSES51" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES61", - "responseRef" : "PERCENTAGE_EXPENSES61" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES71", - "responseRef" : "PERCENTAGE_EXPENSES71" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING11", - "responseRef" : "CLOWNING11" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING12", - "responseRef" : "CLOWNING12" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING21", - "responseRef" : "CLOWNING21" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING22", - "responseRef" : "CLOWNING22" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING31", - "responseRef" : "CLOWNING31" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING32", - "responseRef" : "CLOWNING32" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING41", - "responseRef" : "CLOWNING41" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING42", - "responseRef" : "CLOWNING42" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL11", - "responseRef" : "TRAVEL11" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL12", - "responseRef" : "TRAVEL12" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL13", - "responseRef" : "TRAVEL13" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL14", - "responseRef" : "TRAVEL14" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL15", - "responseRef" : "TRAVEL15" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL16", - "responseRef" : "TRAVEL16" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL21", - "responseRef" : "TRAVEL21" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL22", - "responseRef" : "TRAVEL22" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL23", - "responseRef" : "TRAVEL23" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL24", - "responseRef" : "TRAVEL24" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL25", - "responseRef" : "TRAVEL25" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL26", - "responseRef" : "TRAVEL26" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL31", - "responseRef" : "TRAVEL31" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL32", - "responseRef" : "TRAVEL32" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL33", - "responseRef" : "TRAVEL33" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL34", - "responseRef" : "TRAVEL34" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL35", - "responseRef" : "TRAVEL35" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL36", - "responseRef" : "TRAVEL36" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL41", - "responseRef" : "TRAVEL41" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL42", - "responseRef" : "TRAVEL42" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL43", - "responseRef" : "TRAVEL43" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL44", - "responseRef" : "TRAVEL44" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL45", - "responseRef" : "TRAVEL45" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL46", - "responseRef" : "TRAVEL46" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS11", - "responseRef" : "FAVOURITE_CHARACTERS11" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS12", - "responseRef" : "FAVOURITE_CHARACTERS12" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS21", - "responseRef" : "FAVOURITE_CHARACTERS21" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS22", - "responseRef" : "FAVOURITE_CHARACTERS22" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS31", - "responseRef" : "FAVOURITE_CHARACTERS31" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS32", - "responseRef" : "FAVOURITE_CHARACTERS32" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS41", - "responseRef" : "FAVOURITE_CHARACTERS41" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS42", - "responseRef" : "FAVOURITE_CHARACTERS42" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS51", - "responseRef" : "FAVOURITE_CHARACTERS51" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS52", - "responseRef" : "FAVOURITE_CHARACTERS52" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS61", - "responseRef" : "FAVOURITE_CHARACTERS61" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS62", - "responseRef" : "FAVOURITE_CHARACTERS62" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS71", - "responseRef" : "FAVOURITE_CHARACTERS71" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS72", - "responseRef" : "FAVOURITE_CHARACTERS72" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS81", - "responseRef" : "FAVOURITE_CHARACTERS81" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS82", - "responseRef" : "FAVOURITE_CHARACTERS82" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS91", - "responseRef" : "FAVOURITE_CHARACTERS91" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS92", - "responseRef" : "FAVOURITE_CHARACTERS92" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS101", - "responseRef" : "FAVOURITE_CHARACTERS101" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS102", - "responseRef" : "FAVOURITE_CHARACTERS102" }, - - { "variableType" : "COLLECTED", - "name" : "SURVEY_COMMENT", - "responseRef" : "SURVEY_COMMENT" }, - - { "variableType" : "CALCULATED", - "name" : "SUM_EXPENSES", - "expression" : "cast(PERCENTAGE_EXPENSES11,number) + cast(PERCENTAGE_EXPENSES21,number) + cast(PERCENTAGE_EXPENSES31,number)+ cast(PERCENTAGE_EXPENSES41,number)+ cast(PERCENTAGE_EXPENSES51,number)+ cast(PERCENTAGE_EXPENSES61,number)+ cast(PERCENTAGE_EXPENSES71,number)+ cast(PERCENTAGE_EXPENSES81,number)+ cast(PERCENTAGE_EXPENSES91,number)+ cast(PERCENTAGE_EXPENSES101,number)" } ] } \ No newline at end of file + "value" : null } ] } } ], + + [ + { "value" : "3", + "label" : "Milhouse Van Houten" }, + + { "componentType" : "CheckboxOne", + "id" : "j6yzoc6g-QOP-jbgd912x", + "options" : + [ + { "value" : "1", + "label" : "Albuquerque" }, + + { "value" : "2", + "label" : "Springfield" }, + + { "value" : "3", + "label" : "Portland" }, + + { "value" : "4", + "label" : "Shelbyville" }, + + { "value" : "5", + "label" : "Dagstuhl" } ], + "response" : + { "name" : "BIRTH_CHARACTER3", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "4", + "label" : "Nelson Muntz" }, + + { "componentType" : "CheckboxOne", + "id" : "j6yzoc6g-QOP-jbgd6bdy", + "options" : + [ + { "value" : "1", + "label" : "Albuquerque" }, + + { "value" : "2", + "label" : "Springfield" }, + + { "value" : "3", + "label" : "Portland" }, + + { "value" : "4", + "label" : "Shelbyville" }, + + { "value" : "5", + "label" : "Dagstuhl" } ], + "response" : + { "name" : "BIRTH_CHARACTER4", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "5", + "label" : "Crazy Cat Lady" }, + + { "componentType" : "CheckboxOne", + "id" : "j6yzoc6g-QOP-jbgddyry", + "options" : + [ + { "value" : "1", + "label" : "Albuquerque" }, + + { "value" : "2", + "label" : "Springfield" }, + + { "value" : "3", + "label" : "Portland" }, + + { "value" : "4", + "label" : "Shelbyville" }, + + { "value" : "5", + "label" : "Dagstuhl" } ], + "response" : + { "name" : "BIRTH_CHARACTER5", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] ] }, + + { "id" : "j4nw88h2", + "componentType" : "Sequence", + "label" : "\"IV - General questions\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, + + { "id" : "j6qe237q", + "componentType" : "Subsequence", + "label" : "\"Kwik-E-Mart\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, + + { "id" : "j4nwc63q", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 1. Please, specify the percentage of Jay's expenses in the Kwik-E-Mart for each product?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "cells" : + [ + [ + { "headerCell" : true, + "colspan" : 2, + "label" : "" }, + + { "headerCell" : true, + "label" : "Percentage" } ], + + [ + { "rowspan" : 2, + "value" : "A", + "label" : "Frozen products" }, + + { "value" : "A1", + "label" : "Ice creams" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgde5yl", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES11", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "A2", + "label" : "Jasper Beardly" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgd2x2t", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES21", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "rowspan" : 3, + "value" : "B", + "label" : "Meat" }, + + { "value" : "B1", + "label" : "Bacon" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgdjypz", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES31", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "B2", + "label" : "Pork chop" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgdcftu", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES41", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "B3", + "label" : "Chicken" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgdiyfe", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES51", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "C", + "label" : "Compote" }, + + { "value" : "C1", + "label" : "Powersauce" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgdj1wd", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES61", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "colspan" : 2, + "value" : "D", + "label" : "Other" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgddylk", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES71", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] ] }, + + { "id" : "j6qejudb", + "componentType" : "Subsequence", + "label" : "\"Clowning\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, + + { "id" : "j4nw0rr6", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 2. Who did these clownings and tell us what you remember?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "cells" : + [ + [ + { "headerCell" : true, + "label" : "" }, + + { "headerCell" : true, + "label" : "Clowning" }, + + { "headerCell" : true, + "label" : "Remember?" } ], + + [ + { "value" : "1", + "label" : "Break the windows of the whole city" }, + + { "componentType" : "Dropdown", + "id" : "j4nw0rr6-QOP-jbgd8tyr", + "options" : + [ + { "value" : "1", + "label" : "Jay" }, + + { "value" : "2", + "label" : "Bart" }, + + { "value" : "3", + "label" : "Krusty the clown" }, + + { "value" : "4", + "label" : "Maggie" } ], + "response" : + { "name" : "CLOWNING11", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j4nw0rr6-QOP-jbgdit3o", + "response" : + { "name" : "CLOWNING12", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "2", + "label" : "Loose the violin of his daughter playing poker" }, + + { "componentType" : "Dropdown", + "id" : "j4nw0rr6-QOP-jbgdep36", + "options" : + [ + { "value" : "1", + "label" : "Jay" }, + + { "value" : "2", + "label" : "Bart" }, + + { "value" : "3", + "label" : "Krusty the clown" }, + + { "value" : "4", + "label" : "Maggie" } ], + "response" : + { "name" : "CLOWNING21", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j4nw0rr6-QOP-jbgd366k", + "response" : + { "name" : "CLOWNING22", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "3", + "label" : "Kill Mr Burns" }, + + { "componentType" : "Dropdown", + "id" : "j4nw0rr6-QOP-jbgdjjgi", + "options" : + [ + { "value" : "1", + "label" : "Jay" }, + + { "value" : "2", + "label" : "Bart" }, + + { "value" : "3", + "label" : "Krusty the clown" }, + + { "value" : "4", + "label" : "Maggie" } ], + "response" : + { "name" : "CLOWNING31", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j4nw0rr6-QOP-jbgdax06", + "response" : + { "name" : "CLOWNING32", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "4", + "label" : "Leaving a mechanical object to control the nuclear power plant" }, + + { "componentType" : "Dropdown", + "id" : "j4nw0rr6-QOP-jbgdgh6k", + "options" : + [ + { "value" : "1", + "label" : "Jay" }, + + { "value" : "2", + "label" : "Bart" }, + + { "value" : "3", + "label" : "Krusty the clown" }, + + { "value" : "4", + "label" : "Maggie" } ], + "response" : + { "name" : "CLOWNING41", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j4nw0rr6-QOP-jbgdfo1j", + "response" : + { "name" : "CLOWNING42", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] ] }, + + { "id" : "j6qeh91y", + "componentType" : "Subsequence", + "label" : "\"Transport\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, + + { "id" : "j6p2lwuj", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 3. Which of the following means of transport were used by the hero and in which country?\"", + "declarations" : + [ + { "id" : "j6p2lwuj-d10", + "declarationType" : "INSTRUCTION", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"Several answers possible: check off all the relevant boxes\"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "cells" : + [ + [ + { "headerCell" : true, + "label" : "" }, + + { "headerCell" : true, + "label" : "Brazil" }, + + { "headerCell" : true, + "label" : "Canada" }, + + { "headerCell" : true, + "label" : "Japan" }, + + { "headerCell" : true, + "label" : "France" }, + + { "headerCell" : true, + "label" : "Other country" }, + + { "headerCell" : true, + "label" : "Other planet" } ], + + [ + { "value" : "1", + "label" : "Car" }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd92mb", + "response" : + { "name" : "TRAVEL11", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdnxkt", + "response" : + { "name" : "TRAVEL12", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdcppc", + "response" : + { "name" : "TRAVEL13", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd4r2a", + "response" : + { "name" : "TRAVEL14", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd9cff", + "response" : + { "name" : "TRAVEL15", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdiva0", + "response" : + { "name" : "TRAVEL16", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "2", + "label" : "Bike" }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdgsat", + "response" : + { "name" : "TRAVEL21", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd3ef5", + "response" : + { "name" : "TRAVEL22", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd4cm6", + "response" : + { "name" : "TRAVEL23", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdkfpq", + "response" : + { "name" : "TRAVEL24", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgddwsp", + "response" : + { "name" : "TRAVEL25", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd7dqf", + "response" : + { "name" : "TRAVEL26", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "3", + "label" : "Skateboard" }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdaxk2", + "response" : + { "name" : "TRAVEL31", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd8p1v", + "response" : + { "name" : "TRAVEL32", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdd2lo", + "response" : + { "name" : "TRAVEL33", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd7u52", + "response" : + { "name" : "TRAVEL34", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdncn8", + "response" : + { "name" : "TRAVEL35", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdnous", + "response" : + { "name" : "TRAVEL36", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "4", + "label" : "Plane" }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd7myn", + "response" : + { "name" : "TRAVEL41", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdgm0c", + "response" : + { "name" : "TRAVEL42", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdo0ay", + "response" : + { "name" : "TRAVEL43", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdgfwl", + "response" : + { "name" : "TRAVEL44", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdnz6b", + "response" : + { "name" : "TRAVEL45", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdkfcz", + "response" : + { "name" : "TRAVEL46", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] ] }, + + { "id" : "j6qfx9qe", + "componentType" : "Sequence", + "label" : "\"V - Favourite characters\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, + + { "id" : "j6qg8rc6", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 1. Please, complete the following grid with your favourite characters\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "lines" : + { "min" : 1, + "max" : 10 }, + "cells" : + [ + [ + { "headerCell" : true, + "label" : "Name" }, + + { "headerCell" : true, + "label" : "Age" } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdl5jb", + "response" : + { "name" : "FAVOURITE_CHARACTERS11", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgdfndq", + "response" : + { "name" : "FAVOURITE_CHARACTERS12", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgd8lwo", + "response" : + { "name" : "FAVOURITE_CHARACTERS21", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgd7osi", + "response" : + { "name" : "FAVOURITE_CHARACTERS22", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdbfag", + "response" : + { "name" : "FAVOURITE_CHARACTERS31", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgd7bnw", + "response" : + { "name" : "FAVOURITE_CHARACTERS32", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdlgja", + "response" : + { "name" : "FAVOURITE_CHARACTERS41", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgd9k71", + "response" : + { "name" : "FAVOURITE_CHARACTERS42", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgd745y", + "response" : + { "name" : "FAVOURITE_CHARACTERS51", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgdimks", + "response" : + { "name" : "FAVOURITE_CHARACTERS52", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdjkts", + "response" : + { "name" : "FAVOURITE_CHARACTERS61", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgdjquz", + "response" : + { "name" : "FAVOURITE_CHARACTERS62", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdcax7", + "response" : + { "name" : "FAVOURITE_CHARACTERS71", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgdd2w3", + "response" : + { "name" : "FAVOURITE_CHARACTERS72", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdjye1", + "response" : + { "name" : "FAVOURITE_CHARACTERS81", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgdkosc", + "response" : + { "name" : "FAVOURITE_CHARACTERS82", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgd5jet", + "response" : + { "name" : "FAVOURITE_CHARACTERS91", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgdk0x4", + "response" : + { "name" : "FAVOURITE_CHARACTERS92", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdjw90", + "response" : + { "name" : "FAVOURITE_CHARACTERS101", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgd2wgf", + "response" : + { "name" : "FAVOURITE_CHARACTERS102", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] ] }, + + { "id" : "j6z12s2d", + "componentType" : "Sequence", + "label" : "\"VI - Comment\"", + "conditionFilter" : "\"normal\"" }, + + { "id" : "j6z0z3us", + "componentType" : "Textarea", + "mandatory" : false, + "maxLength" : 255, + "label" : "\"➡ 1. Do you have any comment about the survey?\"", + "conditionFilter" : "\"normal\"", + "response" : + { "name" : "SURVEY_COMMENT", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + "variables" : + [ + { "variableType" : "EXTERNAL", + "name" : "LAST_BROADCAST", + "value" : null }, + + { "variableType" : "COLLECTED", + "name" : "COMMENT", + "responseRef" : "COMMENT" }, + + { "variableType" : "COLLECTED", + "name" : "READY", + "responseRef" : "READY" }, + + { "variableType" : "COLLECTED", + "name" : "PRODUCER", + "responseRef" : "PRODUCER" }, + + { "variableType" : "COLLECTED", + "name" : "SEASON_NUMBER", + "responseRef" : "SEASON_NUMBER" }, + + { "variableType" : "COLLECTED", + "name" : "DATEFIRST", + "responseRef" : "DATEFIRST" }, + + { "variableType" : "COLLECTED", + "name" : "AUDIENCE_SHARE", + "responseRef" : "AUDIENCE_SHARE" }, + + { "variableType" : "COLLECTED", + "name" : "CITY", + "responseRef" : "CITY" }, + + { "variableType" : "COLLECTED", + "name" : "MAYOR", + "responseRef" : "MAYOR" }, + + { "variableType" : "COLLECTED", + "name" : "STATE", + "responseRef" : "STATE" }, + + { "variableType" : "COLLECTED", + "name" : "PET1", + "responseRef" : "PET1" }, + + { "variableType" : "COLLECTED", + "name" : "PET2", + "responseRef" : "PET2" }, + + { "variableType" : "COLLECTED", + "name" : "PET3", + "responseRef" : "PET3" }, + + { "variableType" : "COLLECTED", + "name" : "PET4", + "responseRef" : "PET4" }, + + { "variableType" : "COLLECTED", + "name" : "ICE_FLAVOUR1", + "responseRef" : "ICE_FLAVOUR1" }, + + { "variableType" : "COLLECTED", + "name" : "ICE_FLAVOUR2", + "responseRef" : "ICE_FLAVOUR2" }, + + { "variableType" : "COLLECTED", + "name" : "ICE_FLAVOUR3", + "responseRef" : "ICE_FLAVOUR3" }, + + { "variableType" : "COLLECTED", + "name" : "ICE_FLAVOUR4", + "responseRef" : "ICE_FLAVOUR4" }, + + { "variableType" : "COLLECTED", + "name" : "NUCLEAR_CHARACTER1", + "responseRef" : "NUCLEAR_CHARACTER1" }, + + { "variableType" : "COLLECTED", + "name" : "NUCLEAR_CHARACTER2", + "responseRef" : "NUCLEAR_CHARACTER2" }, + + { "variableType" : "COLLECTED", + "name" : "NUCLEAR_CHARACTER3", + "responseRef" : "NUCLEAR_CHARACTER3" }, + + { "variableType" : "COLLECTED", + "name" : "NUCLEAR_CHARACTER4", + "responseRef" : "NUCLEAR_CHARACTER4" }, + + { "variableType" : "COLLECTED", + "name" : "BIRTH_CHARACTER1", + "responseRef" : "BIRTH_CHARACTER1" }, + + { "variableType" : "COLLECTED", + "name" : "BIRTH_CHARACTER2", + "responseRef" : "BIRTH_CHARACTER2" }, + + { "variableType" : "COLLECTED", + "name" : "BIRTH_CHARACTER3", + "responseRef" : "BIRTH_CHARACTER3" }, + + { "variableType" : "COLLECTED", + "name" : "BIRTH_CHARACTER4", + "responseRef" : "BIRTH_CHARACTER4" }, + + { "variableType" : "COLLECTED", + "name" : "BIRTH_CHARACTER5", + "responseRef" : "BIRTH_CHARACTER5" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES11", + "responseRef" : "PERCENTAGE_EXPENSES11" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES21", + "responseRef" : "PERCENTAGE_EXPENSES21" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES31", + "responseRef" : "PERCENTAGE_EXPENSES31" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES41", + "responseRef" : "PERCENTAGE_EXPENSES41" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES51", + "responseRef" : "PERCENTAGE_EXPENSES51" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES61", + "responseRef" : "PERCENTAGE_EXPENSES61" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES71", + "responseRef" : "PERCENTAGE_EXPENSES71" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING11", + "responseRef" : "CLOWNING11" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING12", + "responseRef" : "CLOWNING12" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING21", + "responseRef" : "CLOWNING21" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING22", + "responseRef" : "CLOWNING22" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING31", + "responseRef" : "CLOWNING31" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING32", + "responseRef" : "CLOWNING32" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING41", + "responseRef" : "CLOWNING41" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING42", + "responseRef" : "CLOWNING42" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL11", + "responseRef" : "TRAVEL11" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL12", + "responseRef" : "TRAVEL12" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL13", + "responseRef" : "TRAVEL13" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL14", + "responseRef" : "TRAVEL14" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL15", + "responseRef" : "TRAVEL15" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL16", + "responseRef" : "TRAVEL16" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL21", + "responseRef" : "TRAVEL21" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL22", + "responseRef" : "TRAVEL22" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL23", + "responseRef" : "TRAVEL23" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL24", + "responseRef" : "TRAVEL24" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL25", + "responseRef" : "TRAVEL25" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL26", + "responseRef" : "TRAVEL26" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL31", + "responseRef" : "TRAVEL31" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL32", + "responseRef" : "TRAVEL32" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL33", + "responseRef" : "TRAVEL33" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL34", + "responseRef" : "TRAVEL34" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL35", + "responseRef" : "TRAVEL35" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL36", + "responseRef" : "TRAVEL36" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL41", + "responseRef" : "TRAVEL41" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL42", + "responseRef" : "TRAVEL42" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL43", + "responseRef" : "TRAVEL43" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL44", + "responseRef" : "TRAVEL44" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL45", + "responseRef" : "TRAVEL45" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL46", + "responseRef" : "TRAVEL46" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS11", + "responseRef" : "FAVOURITE_CHARACTERS11" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS12", + "responseRef" : "FAVOURITE_CHARACTERS12" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS21", + "responseRef" : "FAVOURITE_CHARACTERS21" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS22", + "responseRef" : "FAVOURITE_CHARACTERS22" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS31", + "responseRef" : "FAVOURITE_CHARACTERS31" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS32", + "responseRef" : "FAVOURITE_CHARACTERS32" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS41", + "responseRef" : "FAVOURITE_CHARACTERS41" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS42", + "responseRef" : "FAVOURITE_CHARACTERS42" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS51", + "responseRef" : "FAVOURITE_CHARACTERS51" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS52", + "responseRef" : "FAVOURITE_CHARACTERS52" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS61", + "responseRef" : "FAVOURITE_CHARACTERS61" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS62", + "responseRef" : "FAVOURITE_CHARACTERS62" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS71", + "responseRef" : "FAVOURITE_CHARACTERS71" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS72", + "responseRef" : "FAVOURITE_CHARACTERS72" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS81", + "responseRef" : "FAVOURITE_CHARACTERS81" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS82", + "responseRef" : "FAVOURITE_CHARACTERS82" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS91", + "responseRef" : "FAVOURITE_CHARACTERS91" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS92", + "responseRef" : "FAVOURITE_CHARACTERS92" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS101", + "responseRef" : "FAVOURITE_CHARACTERS101" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS102", + "responseRef" : "FAVOURITE_CHARACTERS102" }, + + { "variableType" : "COLLECTED", + "name" : "SURVEY_COMMENT", + "responseRef" : "SURVEY_COMMENT" }, + + { "variableType" : "CALCULATED", + "name" : "SUM_EXPENSES", + "expression" : "cast(PERCENTAGE_EXPENSES11,number) + cast(PERCENTAGE_EXPENSES21,number) + cast(PERCENTAGE_EXPENSES31,number)+ cast(PERCENTAGE_EXPENSES41,number)+ cast(PERCENTAGE_EXPENSES51,number)+ cast(PERCENTAGE_EXPENSES61,number)+ cast(PERCENTAGE_EXPENSES71,number)+ cast(PERCENTAGE_EXPENSES81,number)+ cast(PERCENTAGE_EXPENSES91,number)+ cast(PERCENTAGE_EXPENSES101,number)" } ] } \ No newline at end of file diff --git a/src/test/resources/examples/xmlh-2-jsonf/out.json b/src/test/resources/examples/xmlh-2-jsonf/out.json index 94dd1eb1..6a3eca78 100644 --- a/src/test/resources/examples/xmlh-2-jsonf/out.json +++ b/src/test/resources/examples/xmlh-2-jsonf/out.json @@ -1,2875 +1,2877 @@ - { "id" : "i6vwi0", - "label" : "Questionnaire SIMPSONS", - "components" : - [ - { "id" : "j6p0ti5h", - "componentType" : "Sequence", - "label" : "\"I - Introduction\"", - "declarations" : - [ - { "id" : "j6p0ti5h-d1", - "declarationType" : "COMMENT", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"We're going to test your knowledge about the simpsons series.Welcome in the simspons world!\"" } ], - "conditionFilter" : "\"normal\"" }, - - { "id" : "j6p3dkx6", - "componentType" : "Textarea", - "mandatory" : false, - "maxLength" : 500, - "label" : "\"➡ 1. Before starting, do you have any comments about the Simpsons family?\"", - "conditionFilter" : "\"normal\"", - "response" : - { "name" : "COMMENT", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "id" : "j6p0np9q", - "componentType" : "CheckboxBoolean", - "mandatory" : false, - "label" : "\"➡ 2. Are you ready?\"", - "conditionFilter" : "\"normal\"", - "response" : - { "name" : "READY", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "id" : "j6p6my1d", - "componentType" : "FilterDescription", - "filterDescription" : false, - "label" : "\"If you are not ready, please go to the end of the questionnaire\"" }, - - { "id" : "j6p0s7o5", - "componentType" : "Subsequence", - "label" : "\"General knowledge of the series\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, - - { "id" : "j3343qhx", - "componentType" : "Input", - "mandatory" : false, - "maxLength" : 30, - "label" : "\"➡ 3. Who is the producer?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "PRODUCER", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "id" : "j6q9h8tj", - "componentType" : "InputNumber", - "mandatory" : false, - "min" : 0, - "max" : 99, - "decimals" : 0, - "label" : "\"➡ 4. What is the current season number?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "SEASON_NUMBER", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "id" : "j334cyqb", - "componentType" : "Datepicker", - "mandatory" : false, - "label" : "\"➡ 5. When was the first episode of the Simpsons?\"", - "declarations" : - [ - { "id" : "j334cyqb-d11", - "declarationType" : "COMMENT", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"For your information, the date of the last broadcast was on \" || cast(cast(LAST_BROADCAST,string),string) || \" \"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "DATEFIRST", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "dateFormat" : "YYYY-MM-DD" }, - - { "id" : "j6z06z1e", - "componentType" : "InputNumber", - "mandatory" : false, - "min" : 0, - "max" : 99, - "decimals" : 1, - "label" : "\"➡ 6. In your opinion, how much is the part of audience share in US for the 2016 season?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "AUDIENCE_SHARE", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "id" : "j3341528", - "componentType" : "Sequence", - "label" : "\"II - Simpsons' city\"", - "declarations" : - [ - { "id" : "j3341528-d2", - "declarationType" : "COMMENT", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"This module asks about your general knowledge of the Simpsons city\"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, - - { "id" : "j3343clt", - "componentType" : "Radio", - "mandatory" : true, - "label" : "\"➡ 1. In which city do the Simpsons reside?\"", - "declarations" : - [ - { "id" : "j3343clt-d3", - "declarationType" : "INSTRUCTION", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"One possible answer\"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "CITY", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "00001", - "label" : "Springfield" }, - - { "value" : "00002", - "label" : "Shelbyville" }, - - { "value" : "00003", - "label" : "Seinfeld" } ] }, - - { "id" : "j6qdfhvw", - "componentType" : "CheckboxOne", - "mandatory" : false, - "label" : "\"➡ 2. Who is the Simpsons city mayor?\"", - "declarations" : - [ - { "id" : "j6qdfhvw-d4", - "declarationType" : "INSTRUCTION", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"Only one possible answer\"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "MAYOR", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ +{ "id" : "i6vwi0", + "label" : "Questionnaire SIMPSONS", + "components" : + [ + { "id" : "j6p0ti5h", + "componentType" : "Sequence", + "label" : "\"I - Introduction\"", + "declarations" : + [ + { "id" : "j6p0ti5h-d1", + "declarationType" : "COMMENT", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"We're going to test your knowledge about the simpsons series.Welcome in the simspons world!\"" } ], + "conditionFilter" : "\"normal\"" }, + + { "id" : "j6p3dkx6", + "componentType" : "Textarea", + "mandatory" : false, + "maxLength" : 500, + "label" : "\"➡ 1. Before starting, do you have any comments about the Simpsons family?\"", + "conditionFilter" : "\"normal\"", + "response" : + { "name" : "COMMENT", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j6p0np9q", + "componentType" : "CheckboxBoolean", + "mandatory" : false, + "label" : "\"➡ 2. Are you ready?\"", + "conditionFilter" : "\"normal\"", + "response" : + { "name" : "READY", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j6p6my1d", + "componentType" : "FilterDescription", + "filterDescription" : false, + "label" : "\"If you are not ready, please go to the end of the questionnaire\"" }, + + { "id" : "j6p0s7o5", + "componentType" : "Subsequence", + "label" : "\"General knowledge of the series\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, + + { "id" : "j3343qhx", + "componentType" : "Input", + "mandatory" : false, + "maxLength" : 30, + "label" : "\"➡ 3. Who is the producer?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "response" : + { "name" : "PRODUCER", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j6q9h8tj", + "componentType" : "InputNumber", + "mandatory" : false, + "min" : 0, + "max" : 99, + "decimals" : 0, + "label" : "\"➡ 4. What is the current season number?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "response" : + { "name" : "SEASON_NUMBER", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j334cyqb", + "componentType" : "Datepicker", + "mandatory" : false, + "min" : "1900-01-01", + "max" : "format-date(current-date(),'[Y0001]-[M01]-[D01]')", + "label" : "\"➡ 5. When was the first episode of the Simpsons?\"", + "declarations" : + [ + { "id" : "j334cyqb-d11", + "declarationType" : "COMMENT", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"For your information, the date of the last broadcast was on \" || cast(cast(LAST_BROADCAST,string),string) || \" \"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "dateFormat" : "YYYY-MM-DD", + "response" : + { "name" : "DATEFIRST", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j6z06z1e", + "componentType" : "InputNumber", + "mandatory" : false, + "min" : 0, + "max" : 99, + "decimals" : 1, + "label" : "\"➡ 6. In your opinion, how much is the part of audience share in US for the 2016 season?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "response" : + { "name" : "AUDIENCE_SHARE", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j3341528", + "componentType" : "Sequence", + "label" : "\"II - Simpsons' city\"", + "declarations" : + [ + { "id" : "j3341528-d2", + "declarationType" : "COMMENT", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"This module asks about your general knowledge of the Simpsons city\"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, + + { "id" : "j3343clt", + "componentType" : "Radio", + "mandatory" : true, + "label" : "\"➡ 1. In which city do the Simpsons reside?\"", + "declarations" : + [ + { "id" : "j3343clt-d3", + "declarationType" : "INSTRUCTION", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"One possible answer\"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "options" : + [ + { "value" : "00001", + "label" : "Springfield" }, + + { "value" : "00002", + "label" : "Shelbyville" }, + + { "value" : "00003", + "label" : "Seinfeld" } ], + "response" : + { "name" : "CITY", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j6qdfhvw", + "componentType" : "CheckboxOne", + "mandatory" : false, + "label" : "\"➡ 2. Who is the Simpsons city mayor?\"", + "declarations" : + [ + { "id" : "j6qdfhvw-d4", + "declarationType" : "INSTRUCTION", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"Only one possible answer\"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "options" : + [ + { "value" : "1", + "label" : "Constance Harm" }, + + { "value" : "2", + "label" : "Timothy Lovejoy" }, + + { "value" : "3", + "label" : "Joe Quimby" }, + + { "value" : "4", + "label" : "Poochie" } ], + "response" : + { "name" : "MAYOR", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j4nw5cqz", + "componentType" : "Dropdown", + "mandatory" : false, + "label" : "\"➡ 3. In which state do The Simpsons reside?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "options" : + [ + { "value" : "1", + "label" : "Washington" }, + + { "value" : "2", + "label" : "Kentucky" }, + + { "value" : "3", + "label" : "Ohio" }, + + { "value" : "4", + "label" : "Maine" }, + + { "value" : "5", + "label" : "North Dakota" }, + + { "value" : "6", + "label" : "Florida" }, + + { "value" : "7", + "label" : "North Takoma" }, + + { "value" : "8", + "label" : "California" }, + + { "value" : "9", + "label" : "Texas" }, + + { "value" : "10", + "label" : "Massachusetts" }, + + { "value" : "11", + "label" : "Nevada" }, + + { "value" : "12", + "label" : "Illinois" }, + + { "value" : "13", + "label" : "Not in any state, you fool!" } ], + "response" : + { "name" : "STATE", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j6qe0h9q", + "componentType" : "Sequence", + "label" : "\"III - Characters\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, + + { "id" : "j334akov", + "componentType" : "CheckboxGroup", + "label" : "\"➡ 1. What are the pet names that the Simpsons family had?\"", + "declarations" : + [ + { "id" : "j334akov-d5", + "declarationType" : "INSTRUCTION", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"Several possible answers\"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "responses" : + [ + { "id" : "j334akov-QOP-jbgd8qmn", + "label" : "Santa's Little Helper", + "response" : + { "name" : "PET1", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j334akov-QOP-jbgd60vl", + "label" : "Snowball I", + "response" : + { "name" : "PET2", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j334akov-QOP-jbgda2jo", + "label" : "Coltrane", + "response" : + { "name" : "PET3", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j334akov-QOP-jbgdfssy", + "label" : "Mojo the Helper Monkey", + "response" : + { "name" : "PET4", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] }, + + { "id" : "j6p29i81", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 2. Does Jay like the following ice cream flavours?\"", + "declarations" : + [ + { "id" : "d12-SI", + "declarationType" : "STATEMENT", + "position" : "BEFORE_QUESTION_TEXT", + "label" : "\"Now we are going to know if you think that Jay is a gluton.\"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "cells" : + [ + [ { "value" : "1", - "label" : "Constance Harm" }, - + "label" : "Vanilla" }, + + { "componentType" : "Radio", + "id" : "j6p29i81-QOP-jbgdb3jx", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "ICE_FLAVOUR1", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ { "value" : "2", - "label" : "Timothy Lovejoy" }, - + "label" : "Strawberry" }, + + { "componentType" : "Radio", + "id" : "j6p29i81-QOP-jbgdb61k", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "ICE_FLAVOUR2", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ { "value" : "3", - "label" : "Joe Quimby" }, - + "label" : "Apple" }, + + { "componentType" : "Radio", + "id" : "j6p29i81-QOP-jbgdl3kc", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "ICE_FLAVOUR3", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ { "value" : "4", - "label" : "Poochie" } ] }, - - { "id" : "j4nw5cqz", - "componentType" : "Dropdown", - "mandatory" : false, - "label" : "\"➡ 3. In which state do The Simpsons reside?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "STATE", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ + "label" : "Bacon" }, + + { "componentType" : "Radio", + "id" : "j6p29i81-QOP-jbgdcobo", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "ICE_FLAVOUR4", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] ] }, + + { "id" : "j6qefnga", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 3. Which character works in the nuclear power plant?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "cells" : + [ + [ { "value" : "1", - "label" : "Washington" }, - + "label" : "Charles Montgomery Burns" }, + + { "componentType" : "Dropdown", + "id" : "j6qefnga-QOP-jbgd6p0k", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "NUCLEAR_CHARACTER1", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ { "value" : "2", - "label" : "Kentucky" }, - + "label" : "Carl Carlson" }, + + { "componentType" : "Dropdown", + "id" : "j6qefnga-QOP-jbgd9ato", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "NUCLEAR_CHARACTER2", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ { "value" : "3", - "label" : "Ohio" }, - + "label" : "Otto Mann" }, + + { "componentType" : "Dropdown", + "id" : "j6qefnga-QOP-jbgd3e0p", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "NUCLEAR_CHARACTER3", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ { "value" : "4", - "label" : "Maine" }, - - { "value" : "5", - "label" : "North Dakota" }, - - { "value" : "6", - "label" : "Florida" }, - - { "value" : "7", - "label" : "North Takoma" }, - - { "value" : "8", - "label" : "California" }, - - { "value" : "9", - "label" : "Texas" }, - - { "value" : "10", - "label" : "Massachusetts" }, - - { "value" : "11", - "label" : "Nevada" }, - - { "value" : "12", - "label" : "Illinois" }, - - { "value" : "13", - "label" : "Not in any state, you fool!" } ] }, - - { "id" : "j6qe0h9q", - "componentType" : "Sequence", - "label" : "\"III - Characters\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, - - { "id" : "j334akov", - "componentType" : "CheckboxGroup", - "label" : "\"➡ 1. What are the pet names that the Simpsons family had?\"", - "declarations" : - [ - { "id" : "j334akov-d5", - "declarationType" : "INSTRUCTION", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"Several possible answers\"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "responses" : - [ - { "id" : "j334akov-QOP-jbgd8qmn", - "label" : "Santa's Little Helper", - "response" : - { "name" : "PET1", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - + "label" : "Carl Carlson" }, + + { "componentType" : "Dropdown", + "id" : "j6qefnga-QOP-jbgdkxne", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "NUCLEAR_CHARACTER4", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "id" : "j334akov-QOP-jbgd60vl", - "label" : "Snowball I", - "response" : - { "name" : "PET2", - "valueState" : - [ + "value" : null } ] } } ] ] }, + + { "id" : "j6yzoc6g", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 4. In which city each character was born?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "cells" : + [ + [ + { "value" : "1", + "label" : "Selma Bouvier" }, + + { "componentType" : "CheckboxOne", + "id" : "j6yzoc6g-QOP-jbgd7fr6", + "options" : + [ + { "value" : "1", + "label" : "Albuquerque" }, + + { "value" : "2", + "label" : "Springfield" }, + + { "value" : "3", + "label" : "Portland" }, + + { "value" : "4", + "label" : "Shelbyville" }, + + { "value" : "5", + "label" : "Dagstuhl" } ], + "response" : + { "name" : "BIRTH_CHARACTER1", + "valueState" : + [ { "valueType" : "PREVIOUS", "value" : null }, - + { "valueType" : "COLLECTED", "value" : null }, - + { "valueType" : "FORCED", "value" : null }, - + { "valueType" : "EDITED", "value" : null }, - + { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "id" : "j334akov-QOP-jbgda2jo", - "label" : "Coltrane", - "response" : - { "name" : "PET3", - "valueState" : - [ + "value" : null } ] } } ], + + [ + { "value" : "2", + "label" : "Kent Brockman" }, + + { "componentType" : "CheckboxOne", + "id" : "j6yzoc6g-QOP-jbgd5e9f", + "options" : + [ + { "value" : "1", + "label" : "Albuquerque" }, + + { "value" : "2", + "label" : "Springfield" }, + + { "value" : "3", + "label" : "Portland" }, + + { "value" : "4", + "label" : "Shelbyville" }, + + { "value" : "5", + "label" : "Dagstuhl" } ], + "response" : + { "name" : "BIRTH_CHARACTER2", + "valueState" : + [ { "valueType" : "PREVIOUS", "value" : null }, - + { "valueType" : "COLLECTED", "value" : null }, - + { "valueType" : "FORCED", "value" : null }, - + { "valueType" : "EDITED", "value" : null }, - + { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "id" : "j334akov-QOP-jbgdfssy", - "label" : "Mojo the Helper Monkey", - "response" : - { "name" : "PET4", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ] }, - - { "id" : "j6p29i81", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 2. Does Jay like the following ice cream flavours?\"", - "declarations" : - [ - { "id" : "d12-SI", - "declarationType" : "STATEMENT", - "position" : "BEFORE_QUESTION_TEXT", - "label" : "\"Now we are going to know if you think that Jay is a gluton.\"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "label" : "Vanilla", - "value" : "1" }, - - { "componentType" : "Radio", - "id" : "j6p29i81-QOP-jbgdb3jx", - "response" : - { "name" : "ICE_FLAVOUR1", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ], - - [ - { "label" : "Strawberry", - "value" : "2" }, - - { "componentType" : "Radio", - "id" : "j6p29i81-QOP-jbgdb61k", - "response" : - { "name" : "ICE_FLAVOUR2", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ], - - [ - { "label" : "Apple", - "value" : "3" }, - - { "componentType" : "Radio", - "id" : "j6p29i81-QOP-jbgdl3kc", - "response" : - { "name" : "ICE_FLAVOUR3", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ], - - [ - { "label" : "Bacon", - "value" : "4" }, - - { "componentType" : "Radio", - "id" : "j6p29i81-QOP-jbgdcobo", - "response" : - { "name" : "ICE_FLAVOUR4", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ] ] }, - - { "id" : "j6qefnga", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 3. Which character works in the nuclear power plant?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "label" : "Charles Montgomery Burns", - "value" : "1" }, - - { "componentType" : "Dropdown", - "id" : "j6qefnga-QOP-jbgd6p0k", - "response" : - { "name" : "NUCLEAR_CHARACTER1", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ], - - [ - { "label" : "Carl Carlson", - "value" : "2" }, - - { "componentType" : "Dropdown", - "id" : "j6qefnga-QOP-jbgd9ato", - "response" : - { "name" : "NUCLEAR_CHARACTER2", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ], - - [ - { "label" : "Otto Mann", - "value" : "3" }, - - { "componentType" : "Dropdown", - "id" : "j6qefnga-QOP-jbgd3e0p", - "response" : - { "name" : "NUCLEAR_CHARACTER3", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ], - - [ - { "label" : "Carl Carlson", - "value" : "4" }, - - { "componentType" : "Dropdown", - "id" : "j6qefnga-QOP-jbgdkxne", - "response" : - { "name" : "NUCLEAR_CHARACTER4", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ] ] }, - - { "id" : "j6yzoc6g", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 4. In which city each character was born?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "label" : "Selma Bouvier", - "value" : "1" }, - - { "componentType" : "CheckboxOne", - "id" : "j6yzoc6g-QOP-jbgd7fr6", - "response" : - { "name" : "BIRTH_CHARACTER1", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Albuquerque" }, - - { "value" : "2", - "label" : "Springfield" }, - - { "value" : "3", - "label" : "Portland" }, - - { "value" : "4", - "label" : "Shelbyville" }, - - { "value" : "5", - "label" : "Dagstuhl" } ] } ], - - [ - { "label" : "Kent Brockman", - "value" : "2" }, - - { "componentType" : "CheckboxOne", - "id" : "j6yzoc6g-QOP-jbgd5e9f", - "response" : - { "name" : "BIRTH_CHARACTER2", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Albuquerque" }, - - { "value" : "2", - "label" : "Springfield" }, - - { "value" : "3", - "label" : "Portland" }, - - { "value" : "4", - "label" : "Shelbyville" }, - - { "value" : "5", - "label" : "Dagstuhl" } ] } ], - - [ - { "label" : "Milhouse Van Houten", - "value" : "3" }, - - { "componentType" : "CheckboxOne", - "id" : "j6yzoc6g-QOP-jbgd912x", - "response" : - { "name" : "BIRTH_CHARACTER3", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Albuquerque" }, - - { "value" : "2", - "label" : "Springfield" }, - - { "value" : "3", - "label" : "Portland" }, - - { "value" : "4", - "label" : "Shelbyville" }, - - { "value" : "5", - "label" : "Dagstuhl" } ] } ], - - [ - { "label" : "Nelson Muntz", - "value" : "4" }, - - { "componentType" : "CheckboxOne", - "id" : "j6yzoc6g-QOP-jbgd6bdy", - "response" : - { "name" : "BIRTH_CHARACTER4", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Albuquerque" }, - - { "value" : "2", - "label" : "Springfield" }, - - { "value" : "3", - "label" : "Portland" }, - - { "value" : "4", - "label" : "Shelbyville" }, - - { "value" : "5", - "label" : "Dagstuhl" } ] } ], - - [ - { "label" : "Crazy Cat Lady", - "value" : "5" }, - - { "componentType" : "CheckboxOne", - "id" : "j6yzoc6g-QOP-jbgddyry", - "response" : - { "name" : "BIRTH_CHARACTER5", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Albuquerque" }, - - { "value" : "2", - "label" : "Springfield" }, - - { "value" : "3", - "label" : "Portland" }, - - { "value" : "4", - "label" : "Shelbyville" }, - - { "value" : "5", - "label" : "Dagstuhl" } ] } ] ] }, - - { "id" : "j4nw88h2", - "componentType" : "Sequence", - "label" : "\"IV - General questions\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, - - { "id" : "j6qe237q", - "componentType" : "Subsequence", - "label" : "\"Kwik-E-Mart\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, - - { "id" : "j4nwc63q", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 1. Please, specify the percentage of Jay's expenses in the Kwik-E-Mart for each product?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "headerCell" : true, - "colspan" : 2, - "label" : "" }, - - { "headerCell" : true, - "label" : "Percentage" } ], - - [ - { "rowspan" : 2, - "label" : "Frozen products", - "value" : "A" }, - - { "label" : "Ice creams", - "value" : "A1" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgde5yl", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES11", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Jasper Beardly", - "value" : "A2" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgd2x2t", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES21", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "rowspan" : 3, - "label" : "Meat", - "value" : "B" }, - - { "label" : "Bacon", - "value" : "B1" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgdjypz", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES31", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Pork chop", - "value" : "B2" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgdcftu", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES41", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Chicken", - "value" : "B3" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgdiyfe", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES51", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Compote", - "value" : "C" }, - - { "label" : "Powersauce", - "value" : "C1" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgdj1wd", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES61", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "colspan" : 2, - "label" : "Other", - "value" : "D" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgddylk", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES71", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ] ] }, - - { "id" : "j6qejudb", - "componentType" : "Subsequence", - "label" : "\"Clowning\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, - - { "id" : "j4nw0rr6", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 2. Who did these clownings and tell us what you remember?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "headerCell" : true, - "label" : "" }, - - { "headerCell" : true, - "label" : "Clowning" }, - - { "headerCell" : true, - "label" : "Remember?" } ], - - [ - { "label" : "Break the windows of the whole city", - "value" : "1" }, - - { "componentType" : "Dropdown", - "id" : "j4nw0rr6-QOP-jbgd8tyr", - "response" : - { "name" : "CLOWNING11", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Jay" }, - - { "value" : "2", - "label" : "Bart" }, - - { "value" : "3", - "label" : "Krusty the clown" }, - - { "value" : "4", - "label" : "Maggie" } ] }, - - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j4nw0rr6-QOP-jbgdit3o", - "response" : - { "name" : "CLOWNING12", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Loose the violin of his daughter playing poker", - "value" : "2" }, - - { "componentType" : "Dropdown", - "id" : "j4nw0rr6-QOP-jbgdep36", - "response" : - { "name" : "CLOWNING21", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Jay" }, - - { "value" : "2", - "label" : "Bart" }, - - { "value" : "3", - "label" : "Krusty the clown" }, - - { "value" : "4", - "label" : "Maggie" } ] }, - - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j4nw0rr6-QOP-jbgd366k", - "response" : - { "name" : "CLOWNING22", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Kill Mr Burns", - "value" : "3" }, - - { "componentType" : "Dropdown", - "id" : "j4nw0rr6-QOP-jbgdjjgi", - "response" : - { "name" : "CLOWNING31", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Jay" }, - - { "value" : "2", - "label" : "Bart" }, - - { "value" : "3", - "label" : "Krusty the clown" }, - - { "value" : "4", - "label" : "Maggie" } ] }, - - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j4nw0rr6-QOP-jbgdax06", - "response" : - { "name" : "CLOWNING32", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Leaving a mechanical object to control the nuclear power plant", - "value" : "4" }, - - { "componentType" : "Dropdown", - "id" : "j4nw0rr6-QOP-jbgdgh6k", - "response" : - { "name" : "CLOWNING41", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Jay" }, - - { "value" : "2", - "label" : "Bart" }, - - { "value" : "3", - "label" : "Krusty the clown" }, - - { "value" : "4", - "label" : "Maggie" } ] }, - - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j4nw0rr6-QOP-jbgdfo1j", - "response" : - { "name" : "CLOWNING42", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ] ] }, - - { "id" : "j6qeh91y", - "componentType" : "Subsequence", - "label" : "\"Transport\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, - - { "id" : "j6p2lwuj", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 3. Which of the following means of transport were used by the hero and in which country?\"", - "declarations" : - [ - { "id" : "j6p2lwuj-d10", - "declarationType" : "INSTRUCTION", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"Several answers possible: check off all the relevant boxes\"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "headerCell" : true, - "label" : "" }, - - { "headerCell" : true, - "label" : "Brazil" }, - - { "headerCell" : true, - "label" : "Canada" }, - - { "headerCell" : true, - "label" : "Japan" }, - - { "headerCell" : true, - "label" : "France" }, - - { "headerCell" : true, - "label" : "Other country" }, - - { "headerCell" : true, - "label" : "Other planet" } ], - - [ - { "label" : "Car", - "value" : "1" }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd92mb", - "response" : - { "name" : "TRAVEL11", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdnxkt", - "response" : - { "name" : "TRAVEL12", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdcppc", - "response" : - { "name" : "TRAVEL13", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd4r2a", - "response" : - { "name" : "TRAVEL14", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd9cff", - "response" : - { "name" : "TRAVEL15", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdiva0", - "response" : - { "name" : "TRAVEL16", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Bike", - "value" : "2" }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdgsat", - "response" : - { "name" : "TRAVEL21", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd3ef5", - "response" : - { "name" : "TRAVEL22", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd4cm6", - "response" : - { "name" : "TRAVEL23", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdkfpq", - "response" : - { "name" : "TRAVEL24", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgddwsp", - "response" : - { "name" : "TRAVEL25", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd7dqf", - "response" : - { "name" : "TRAVEL26", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Skateboard", - "value" : "3" }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdaxk2", - "response" : - { "name" : "TRAVEL31", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd8p1v", - "response" : - { "name" : "TRAVEL32", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdd2lo", - "response" : - { "name" : "TRAVEL33", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd7u52", - "response" : - { "name" : "TRAVEL34", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdncn8", - "response" : - { "name" : "TRAVEL35", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdnous", - "response" : - { "name" : "TRAVEL36", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Plane", - "value" : "4" }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd7myn", - "response" : - { "name" : "TRAVEL41", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdgm0c", - "response" : - { "name" : "TRAVEL42", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdo0ay", - "response" : - { "name" : "TRAVEL43", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdgfwl", - "response" : - { "name" : "TRAVEL44", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdnz6b", - "response" : - { "name" : "TRAVEL45", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdkfcz", - "response" : - { "name" : "TRAVEL46", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ] ] }, - - { "id" : "j6qfx9qe", - "componentType" : "Sequence", - "label" : "\"V - Favourite characters\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, - - { "id" : "j6qg8rc6", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 1. Please, complete the following grid with your favourite characters\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "headerCell" : true, - "label" : "Name" }, - - { "headerCell" : true, - "label" : "Age" } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdl5jb", - "response" : - { "name" : "FAVOURITE_CHARACTERS11", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgdfndq", - "response" : - { "name" : "FAVOURITE_CHARACTERS12", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgd8lwo", - "response" : - { "name" : "FAVOURITE_CHARACTERS21", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgd7osi", - "response" : - { "name" : "FAVOURITE_CHARACTERS22", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdbfag", - "response" : - { "name" : "FAVOURITE_CHARACTERS31", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgd7bnw", - "response" : - { "name" : "FAVOURITE_CHARACTERS32", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdlgja", - "response" : - { "name" : "FAVOURITE_CHARACTERS41", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgd9k71", - "response" : - { "name" : "FAVOURITE_CHARACTERS42", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgd745y", - "response" : - { "name" : "FAVOURITE_CHARACTERS51", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgdimks", - "response" : - { "name" : "FAVOURITE_CHARACTERS52", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdjkts", - "response" : - { "name" : "FAVOURITE_CHARACTERS61", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgdjquz", - "response" : - { "name" : "FAVOURITE_CHARACTERS62", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdcax7", - "response" : - { "name" : "FAVOURITE_CHARACTERS71", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgdd2w3", - "response" : - { "name" : "FAVOURITE_CHARACTERS72", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdjye1", - "response" : - { "name" : "FAVOURITE_CHARACTERS81", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgdkosc", - "response" : - { "name" : "FAVOURITE_CHARACTERS82", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgd5jet", - "response" : - { "name" : "FAVOURITE_CHARACTERS91", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgdk0x4", - "response" : - { "name" : "FAVOURITE_CHARACTERS92", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdjw90", - "response" : - { "name" : "FAVOURITE_CHARACTERS101", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgd2wgf", - "response" : - { "name" : "FAVOURITE_CHARACTERS102", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ] ], - "lines" : - { "min" : 1, - "max" : 10 } }, - - { "id" : "j6z12s2d", - "componentType" : "Sequence", - "label" : "\"VI - Comment\"", - "conditionFilter" : "\"normal\"" }, - - { "id" : "j6z0z3us", - "componentType" : "Textarea", - "mandatory" : false, - "maxLength" : 255, - "label" : "\"➡ 1. Do you have any comment about the survey?\"", - "conditionFilter" : "\"normal\"", - "response" : - { "name" : "SURVEY_COMMENT", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - "variables" : - [ - { "variableType" : "EXTERNAL", - "name" : "LAST_BROADCAST", - "value" : null }, - - { "variableType" : "COLLECTED", - "name" : "COMMENT", - "responseRef" : "COMMENT" }, - - { "variableType" : "COLLECTED", - "name" : "READY", - "responseRef" : "READY" }, - - { "variableType" : "COLLECTED", - "name" : "PRODUCER", - "responseRef" : "PRODUCER" }, - - { "variableType" : "COLLECTED", - "name" : "SEASON_NUMBER", - "responseRef" : "SEASON_NUMBER" }, - - { "variableType" : "COLLECTED", - "name" : "DATEFIRST", - "responseRef" : "DATEFIRST" }, - - { "variableType" : "COLLECTED", - "name" : "AUDIENCE_SHARE", - "responseRef" : "AUDIENCE_SHARE" }, - - { "variableType" : "COLLECTED", - "name" : "CITY", - "responseRef" : "CITY" }, - - { "variableType" : "COLLECTED", - "name" : "MAYOR", - "responseRef" : "MAYOR" }, - - { "variableType" : "COLLECTED", - "name" : "STATE", - "responseRef" : "STATE" }, - - { "variableType" : "COLLECTED", - "name" : "PET1", - "responseRef" : "PET1" }, - - { "variableType" : "COLLECTED", - "name" : "PET2", - "responseRef" : "PET2" }, - - { "variableType" : "COLLECTED", - "name" : "PET3", - "responseRef" : "PET3" }, - - { "variableType" : "COLLECTED", - "name" : "PET4", - "responseRef" : "PET4" }, - - { "variableType" : "COLLECTED", - "name" : "ICE_FLAVOUR1", - "responseRef" : "ICE_FLAVOUR1" }, - - { "variableType" : "COLLECTED", - "name" : "ICE_FLAVOUR2", - "responseRef" : "ICE_FLAVOUR2" }, - - { "variableType" : "COLLECTED", - "name" : "ICE_FLAVOUR3", - "responseRef" : "ICE_FLAVOUR3" }, - - { "variableType" : "COLLECTED", - "name" : "ICE_FLAVOUR4", - "responseRef" : "ICE_FLAVOUR4" }, - - { "variableType" : "COLLECTED", - "name" : "NUCLEAR_CHARACTER1", - "responseRef" : "NUCLEAR_CHARACTER1" }, - - { "variableType" : "COLLECTED", - "name" : "NUCLEAR_CHARACTER2", - "responseRef" : "NUCLEAR_CHARACTER2" }, - - { "variableType" : "COLLECTED", - "name" : "NUCLEAR_CHARACTER3", - "responseRef" : "NUCLEAR_CHARACTER3" }, - - { "variableType" : "COLLECTED", - "name" : "NUCLEAR_CHARACTER4", - "responseRef" : "NUCLEAR_CHARACTER4" }, - - { "variableType" : "COLLECTED", - "name" : "BIRTH_CHARACTER1", - "responseRef" : "BIRTH_CHARACTER1" }, - - { "variableType" : "COLLECTED", - "name" : "BIRTH_CHARACTER2", - "responseRef" : "BIRTH_CHARACTER2" }, - - { "variableType" : "COLLECTED", - "name" : "BIRTH_CHARACTER3", - "responseRef" : "BIRTH_CHARACTER3" }, - - { "variableType" : "COLLECTED", - "name" : "BIRTH_CHARACTER4", - "responseRef" : "BIRTH_CHARACTER4" }, - - { "variableType" : "COLLECTED", - "name" : "BIRTH_CHARACTER5", - "responseRef" : "BIRTH_CHARACTER5" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES11", - "responseRef" : "PERCENTAGE_EXPENSES11" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES21", - "responseRef" : "PERCENTAGE_EXPENSES21" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES31", - "responseRef" : "PERCENTAGE_EXPENSES31" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES41", - "responseRef" : "PERCENTAGE_EXPENSES41" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES51", - "responseRef" : "PERCENTAGE_EXPENSES51" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES61", - "responseRef" : "PERCENTAGE_EXPENSES61" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES71", - "responseRef" : "PERCENTAGE_EXPENSES71" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING11", - "responseRef" : "CLOWNING11" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING12", - "responseRef" : "CLOWNING12" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING21", - "responseRef" : "CLOWNING21" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING22", - "responseRef" : "CLOWNING22" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING31", - "responseRef" : "CLOWNING31" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING32", - "responseRef" : "CLOWNING32" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING41", - "responseRef" : "CLOWNING41" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING42", - "responseRef" : "CLOWNING42" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL11", - "responseRef" : "TRAVEL11" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL12", - "responseRef" : "TRAVEL12" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL13", - "responseRef" : "TRAVEL13" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL14", - "responseRef" : "TRAVEL14" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL15", - "responseRef" : "TRAVEL15" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL16", - "responseRef" : "TRAVEL16" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL21", - "responseRef" : "TRAVEL21" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL22", - "responseRef" : "TRAVEL22" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL23", - "responseRef" : "TRAVEL23" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL24", - "responseRef" : "TRAVEL24" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL25", - "responseRef" : "TRAVEL25" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL26", - "responseRef" : "TRAVEL26" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL31", - "responseRef" : "TRAVEL31" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL32", - "responseRef" : "TRAVEL32" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL33", - "responseRef" : "TRAVEL33" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL34", - "responseRef" : "TRAVEL34" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL35", - "responseRef" : "TRAVEL35" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL36", - "responseRef" : "TRAVEL36" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL41", - "responseRef" : "TRAVEL41" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL42", - "responseRef" : "TRAVEL42" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL43", - "responseRef" : "TRAVEL43" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL44", - "responseRef" : "TRAVEL44" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL45", - "responseRef" : "TRAVEL45" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL46", - "responseRef" : "TRAVEL46" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS11", - "responseRef" : "FAVOURITE_CHARACTERS11" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS12", - "responseRef" : "FAVOURITE_CHARACTERS12" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS21", - "responseRef" : "FAVOURITE_CHARACTERS21" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS22", - "responseRef" : "FAVOURITE_CHARACTERS22" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS31", - "responseRef" : "FAVOURITE_CHARACTERS31" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS32", - "responseRef" : "FAVOURITE_CHARACTERS32" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS41", - "responseRef" : "FAVOURITE_CHARACTERS41" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS42", - "responseRef" : "FAVOURITE_CHARACTERS42" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS51", - "responseRef" : "FAVOURITE_CHARACTERS51" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS52", - "responseRef" : "FAVOURITE_CHARACTERS52" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS61", - "responseRef" : "FAVOURITE_CHARACTERS61" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS62", - "responseRef" : "FAVOURITE_CHARACTERS62" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS71", - "responseRef" : "FAVOURITE_CHARACTERS71" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS72", - "responseRef" : "FAVOURITE_CHARACTERS72" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS81", - "responseRef" : "FAVOURITE_CHARACTERS81" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS82", - "responseRef" : "FAVOURITE_CHARACTERS82" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS91", - "responseRef" : "FAVOURITE_CHARACTERS91" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS92", - "responseRef" : "FAVOURITE_CHARACTERS92" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS101", - "responseRef" : "FAVOURITE_CHARACTERS101" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS102", - "responseRef" : "FAVOURITE_CHARACTERS102" }, - - { "variableType" : "COLLECTED", - "name" : "SURVEY_COMMENT", - "responseRef" : "SURVEY_COMMENT" }, - - { "variableType" : "CALCULATED", - "name" : "SUM_EXPENSES", - "expression" : "cast(PERCENTAGE_EXPENSES11,number) + cast(PERCENTAGE_EXPENSES21,number) + cast(PERCENTAGE_EXPENSES31,number)+ cast(PERCENTAGE_EXPENSES41,number)+ cast(PERCENTAGE_EXPENSES51,number)+ cast(PERCENTAGE_EXPENSES61,number)+ cast(PERCENTAGE_EXPENSES71,number)+ cast(PERCENTAGE_EXPENSES81,number)+ cast(PERCENTAGE_EXPENSES91,number)+ cast(PERCENTAGE_EXPENSES101,number)" } ] } \ No newline at end of file + "value" : null } ] } } ], + + [ + { "value" : "3", + "label" : "Milhouse Van Houten" }, + + { "componentType" : "CheckboxOne", + "id" : "j6yzoc6g-QOP-jbgd912x", + "options" : + [ + { "value" : "1", + "label" : "Albuquerque" }, + + { "value" : "2", + "label" : "Springfield" }, + + { "value" : "3", + "label" : "Portland" }, + + { "value" : "4", + "label" : "Shelbyville" }, + + { "value" : "5", + "label" : "Dagstuhl" } ], + "response" : + { "name" : "BIRTH_CHARACTER3", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "4", + "label" : "Nelson Muntz" }, + + { "componentType" : "CheckboxOne", + "id" : "j6yzoc6g-QOP-jbgd6bdy", + "options" : + [ + { "value" : "1", + "label" : "Albuquerque" }, + + { "value" : "2", + "label" : "Springfield" }, + + { "value" : "3", + "label" : "Portland" }, + + { "value" : "4", + "label" : "Shelbyville" }, + + { "value" : "5", + "label" : "Dagstuhl" } ], + "response" : + { "name" : "BIRTH_CHARACTER4", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "5", + "label" : "Crazy Cat Lady" }, + + { "componentType" : "CheckboxOne", + "id" : "j6yzoc6g-QOP-jbgddyry", + "options" : + [ + { "value" : "1", + "label" : "Albuquerque" }, + + { "value" : "2", + "label" : "Springfield" }, + + { "value" : "3", + "label" : "Portland" }, + + { "value" : "4", + "label" : "Shelbyville" }, + + { "value" : "5", + "label" : "Dagstuhl" } ], + "response" : + { "name" : "BIRTH_CHARACTER5", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] ] }, + + { "id" : "j4nw88h2", + "componentType" : "Sequence", + "label" : "\"IV - General questions\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, + + { "id" : "j6qe237q", + "componentType" : "Subsequence", + "label" : "\"Kwik-E-Mart\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, + + { "id" : "j4nwc63q", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 1. Please, specify the percentage of Jay's expenses in the Kwik-E-Mart for each product?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "cells" : + [ + [ + { "headerCell" : true, + "colspan" : 2, + "label" : "" }, + + { "headerCell" : true, + "label" : "Percentage" } ], + + [ + { "rowspan" : 2, + "value" : "A", + "label" : "Frozen products" }, + + { "value" : "A1", + "label" : "Ice creams" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgde5yl", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES11", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "A2", + "label" : "Jasper Beardly" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgd2x2t", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES21", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "rowspan" : 3, + "value" : "B", + "label" : "Meat" }, + + { "value" : "B1", + "label" : "Bacon" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgdjypz", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES31", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "B2", + "label" : "Pork chop" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgdcftu", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES41", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "B3", + "label" : "Chicken" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgdiyfe", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES51", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "C", + "label" : "Compote" }, + + { "value" : "C1", + "label" : "Powersauce" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgdj1wd", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES61", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "colspan" : 2, + "value" : "D", + "label" : "Other" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgddylk", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES71", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] ] }, + + { "id" : "j6qejudb", + "componentType" : "Subsequence", + "label" : "\"Clowning\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, + + { "id" : "j4nw0rr6", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 2. Who did these clownings and tell us what you remember?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "cells" : + [ + [ + { "headerCell" : true, + "label" : "" }, + + { "headerCell" : true, + "label" : "Clowning" }, + + { "headerCell" : true, + "label" : "Remember?" } ], + + [ + { "value" : "1", + "label" : "Break the windows of the whole city" }, + + { "componentType" : "Dropdown", + "id" : "j4nw0rr6-QOP-jbgd8tyr", + "options" : + [ + { "value" : "1", + "label" : "Jay" }, + + { "value" : "2", + "label" : "Bart" }, + + { "value" : "3", + "label" : "Krusty the clown" }, + + { "value" : "4", + "label" : "Maggie" } ], + "response" : + { "name" : "CLOWNING11", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j4nw0rr6-QOP-jbgdit3o", + "response" : + { "name" : "CLOWNING12", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "2", + "label" : "Loose the violin of his daughter playing poker" }, + + { "componentType" : "Dropdown", + "id" : "j4nw0rr6-QOP-jbgdep36", + "options" : + [ + { "value" : "1", + "label" : "Jay" }, + + { "value" : "2", + "label" : "Bart" }, + + { "value" : "3", + "label" : "Krusty the clown" }, + + { "value" : "4", + "label" : "Maggie" } ], + "response" : + { "name" : "CLOWNING21", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j4nw0rr6-QOP-jbgd366k", + "response" : + { "name" : "CLOWNING22", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "3", + "label" : "Kill Mr Burns" }, + + { "componentType" : "Dropdown", + "id" : "j4nw0rr6-QOP-jbgdjjgi", + "options" : + [ + { "value" : "1", + "label" : "Jay" }, + + { "value" : "2", + "label" : "Bart" }, + + { "value" : "3", + "label" : "Krusty the clown" }, + + { "value" : "4", + "label" : "Maggie" } ], + "response" : + { "name" : "CLOWNING31", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j4nw0rr6-QOP-jbgdax06", + "response" : + { "name" : "CLOWNING32", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "4", + "label" : "Leaving a mechanical object to control the nuclear power plant" }, + + { "componentType" : "Dropdown", + "id" : "j4nw0rr6-QOP-jbgdgh6k", + "options" : + [ + { "value" : "1", + "label" : "Jay" }, + + { "value" : "2", + "label" : "Bart" }, + + { "value" : "3", + "label" : "Krusty the clown" }, + + { "value" : "4", + "label" : "Maggie" } ], + "response" : + { "name" : "CLOWNING41", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j4nw0rr6-QOP-jbgdfo1j", + "response" : + { "name" : "CLOWNING42", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] ] }, + + { "id" : "j6qeh91y", + "componentType" : "Subsequence", + "label" : "\"Transport\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, + + { "id" : "j6p2lwuj", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 3. Which of the following means of transport were used by the hero and in which country?\"", + "declarations" : + [ + { "id" : "j6p2lwuj-d10", + "declarationType" : "INSTRUCTION", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"Several answers possible: check off all the relevant boxes\"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "cells" : + [ + [ + { "headerCell" : true, + "label" : "" }, + + { "headerCell" : true, + "label" : "Brazil" }, + + { "headerCell" : true, + "label" : "Canada" }, + + { "headerCell" : true, + "label" : "Japan" }, + + { "headerCell" : true, + "label" : "France" }, + + { "headerCell" : true, + "label" : "Other country" }, + + { "headerCell" : true, + "label" : "Other planet" } ], + + [ + { "value" : "1", + "label" : "Car" }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd92mb", + "response" : + { "name" : "TRAVEL11", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdnxkt", + "response" : + { "name" : "TRAVEL12", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdcppc", + "response" : + { "name" : "TRAVEL13", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd4r2a", + "response" : + { "name" : "TRAVEL14", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd9cff", + "response" : + { "name" : "TRAVEL15", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdiva0", + "response" : + { "name" : "TRAVEL16", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "2", + "label" : "Bike" }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdgsat", + "response" : + { "name" : "TRAVEL21", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd3ef5", + "response" : + { "name" : "TRAVEL22", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd4cm6", + "response" : + { "name" : "TRAVEL23", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdkfpq", + "response" : + { "name" : "TRAVEL24", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgddwsp", + "response" : + { "name" : "TRAVEL25", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd7dqf", + "response" : + { "name" : "TRAVEL26", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "3", + "label" : "Skateboard" }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdaxk2", + "response" : + { "name" : "TRAVEL31", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd8p1v", + "response" : + { "name" : "TRAVEL32", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdd2lo", + "response" : + { "name" : "TRAVEL33", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd7u52", + "response" : + { "name" : "TRAVEL34", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdncn8", + "response" : + { "name" : "TRAVEL35", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdnous", + "response" : + { "name" : "TRAVEL36", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "4", + "label" : "Plane" }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd7myn", + "response" : + { "name" : "TRAVEL41", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdgm0c", + "response" : + { "name" : "TRAVEL42", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdo0ay", + "response" : + { "name" : "TRAVEL43", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdgfwl", + "response" : + { "name" : "TRAVEL44", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdnz6b", + "response" : + { "name" : "TRAVEL45", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdkfcz", + "response" : + { "name" : "TRAVEL46", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] ] }, + + { "id" : "j6qfx9qe", + "componentType" : "Sequence", + "label" : "\"V - Favourite characters\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"" }, + + { "id" : "j6qg8rc6", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 1. Please, complete the following grid with your favourite characters\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "lines" : + { "min" : 1, + "max" : 10 }, + "cells" : + [ + [ + { "headerCell" : true, + "label" : "Name" }, + + { "headerCell" : true, + "label" : "Age" } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdl5jb", + "response" : + { "name" : "FAVOURITE_CHARACTERS11", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgdfndq", + "response" : + { "name" : "FAVOURITE_CHARACTERS12", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgd8lwo", + "response" : + { "name" : "FAVOURITE_CHARACTERS21", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgd7osi", + "response" : + { "name" : "FAVOURITE_CHARACTERS22", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdbfag", + "response" : + { "name" : "FAVOURITE_CHARACTERS31", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgd7bnw", + "response" : + { "name" : "FAVOURITE_CHARACTERS32", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdlgja", + "response" : + { "name" : "FAVOURITE_CHARACTERS41", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgd9k71", + "response" : + { "name" : "FAVOURITE_CHARACTERS42", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgd745y", + "response" : + { "name" : "FAVOURITE_CHARACTERS51", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgdimks", + "response" : + { "name" : "FAVOURITE_CHARACTERS52", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdjkts", + "response" : + { "name" : "FAVOURITE_CHARACTERS61", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgdjquz", + "response" : + { "name" : "FAVOURITE_CHARACTERS62", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdcax7", + "response" : + { "name" : "FAVOURITE_CHARACTERS71", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgdd2w3", + "response" : + { "name" : "FAVOURITE_CHARACTERS72", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdjye1", + "response" : + { "name" : "FAVOURITE_CHARACTERS81", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgdkosc", + "response" : + { "name" : "FAVOURITE_CHARACTERS82", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgd5jet", + "response" : + { "name" : "FAVOURITE_CHARACTERS91", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgdk0x4", + "response" : + { "name" : "FAVOURITE_CHARACTERS92", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdjw90", + "response" : + { "name" : "FAVOURITE_CHARACTERS101", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgd2wgf", + "response" : + { "name" : "FAVOURITE_CHARACTERS102", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] ] }, + + { "id" : "j6z12s2d", + "componentType" : "Sequence", + "label" : "\"VI - Comment\"", + "conditionFilter" : "\"normal\"" }, + + { "id" : "j6z0z3us", + "componentType" : "Textarea", + "mandatory" : false, + "maxLength" : 255, + "label" : "\"➡ 1. Do you have any comment about the survey?\"", + "conditionFilter" : "\"normal\"", + "response" : + { "name" : "SURVEY_COMMENT", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + "variables" : + [ + { "variableType" : "EXTERNAL", + "name" : "LAST_BROADCAST", + "value" : null }, + + { "variableType" : "COLLECTED", + "name" : "COMMENT", + "responseRef" : "COMMENT" }, + + { "variableType" : "COLLECTED", + "name" : "READY", + "responseRef" : "READY" }, + + { "variableType" : "COLLECTED", + "name" : "PRODUCER", + "responseRef" : "PRODUCER" }, + + { "variableType" : "COLLECTED", + "name" : "SEASON_NUMBER", + "responseRef" : "SEASON_NUMBER" }, + + { "variableType" : "COLLECTED", + "name" : "DATEFIRST", + "responseRef" : "DATEFIRST" }, + + { "variableType" : "COLLECTED", + "name" : "AUDIENCE_SHARE", + "responseRef" : "AUDIENCE_SHARE" }, + + { "variableType" : "COLLECTED", + "name" : "CITY", + "responseRef" : "CITY" }, + + { "variableType" : "COLLECTED", + "name" : "MAYOR", + "responseRef" : "MAYOR" }, + + { "variableType" : "COLLECTED", + "name" : "STATE", + "responseRef" : "STATE" }, + + { "variableType" : "COLLECTED", + "name" : "PET1", + "responseRef" : "PET1" }, + + { "variableType" : "COLLECTED", + "name" : "PET2", + "responseRef" : "PET2" }, + + { "variableType" : "COLLECTED", + "name" : "PET3", + "responseRef" : "PET3" }, + + { "variableType" : "COLLECTED", + "name" : "PET4", + "responseRef" : "PET4" }, + + { "variableType" : "COLLECTED", + "name" : "ICE_FLAVOUR1", + "responseRef" : "ICE_FLAVOUR1" }, + + { "variableType" : "COLLECTED", + "name" : "ICE_FLAVOUR2", + "responseRef" : "ICE_FLAVOUR2" }, + + { "variableType" : "COLLECTED", + "name" : "ICE_FLAVOUR3", + "responseRef" : "ICE_FLAVOUR3" }, + + { "variableType" : "COLLECTED", + "name" : "ICE_FLAVOUR4", + "responseRef" : "ICE_FLAVOUR4" }, + + { "variableType" : "COLLECTED", + "name" : "NUCLEAR_CHARACTER1", + "responseRef" : "NUCLEAR_CHARACTER1" }, + + { "variableType" : "COLLECTED", + "name" : "NUCLEAR_CHARACTER2", + "responseRef" : "NUCLEAR_CHARACTER2" }, + + { "variableType" : "COLLECTED", + "name" : "NUCLEAR_CHARACTER3", + "responseRef" : "NUCLEAR_CHARACTER3" }, + + { "variableType" : "COLLECTED", + "name" : "NUCLEAR_CHARACTER4", + "responseRef" : "NUCLEAR_CHARACTER4" }, + + { "variableType" : "COLLECTED", + "name" : "BIRTH_CHARACTER1", + "responseRef" : "BIRTH_CHARACTER1" }, + + { "variableType" : "COLLECTED", + "name" : "BIRTH_CHARACTER2", + "responseRef" : "BIRTH_CHARACTER2" }, + + { "variableType" : "COLLECTED", + "name" : "BIRTH_CHARACTER3", + "responseRef" : "BIRTH_CHARACTER3" }, + + { "variableType" : "COLLECTED", + "name" : "BIRTH_CHARACTER4", + "responseRef" : "BIRTH_CHARACTER4" }, + + { "variableType" : "COLLECTED", + "name" : "BIRTH_CHARACTER5", + "responseRef" : "BIRTH_CHARACTER5" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES11", + "responseRef" : "PERCENTAGE_EXPENSES11" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES21", + "responseRef" : "PERCENTAGE_EXPENSES21" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES31", + "responseRef" : "PERCENTAGE_EXPENSES31" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES41", + "responseRef" : "PERCENTAGE_EXPENSES41" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES51", + "responseRef" : "PERCENTAGE_EXPENSES51" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES61", + "responseRef" : "PERCENTAGE_EXPENSES61" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES71", + "responseRef" : "PERCENTAGE_EXPENSES71" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING11", + "responseRef" : "CLOWNING11" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING12", + "responseRef" : "CLOWNING12" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING21", + "responseRef" : "CLOWNING21" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING22", + "responseRef" : "CLOWNING22" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING31", + "responseRef" : "CLOWNING31" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING32", + "responseRef" : "CLOWNING32" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING41", + "responseRef" : "CLOWNING41" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING42", + "responseRef" : "CLOWNING42" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL11", + "responseRef" : "TRAVEL11" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL12", + "responseRef" : "TRAVEL12" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL13", + "responseRef" : "TRAVEL13" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL14", + "responseRef" : "TRAVEL14" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL15", + "responseRef" : "TRAVEL15" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL16", + "responseRef" : "TRAVEL16" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL21", + "responseRef" : "TRAVEL21" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL22", + "responseRef" : "TRAVEL22" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL23", + "responseRef" : "TRAVEL23" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL24", + "responseRef" : "TRAVEL24" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL25", + "responseRef" : "TRAVEL25" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL26", + "responseRef" : "TRAVEL26" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL31", + "responseRef" : "TRAVEL31" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL32", + "responseRef" : "TRAVEL32" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL33", + "responseRef" : "TRAVEL33" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL34", + "responseRef" : "TRAVEL34" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL35", + "responseRef" : "TRAVEL35" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL36", + "responseRef" : "TRAVEL36" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL41", + "responseRef" : "TRAVEL41" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL42", + "responseRef" : "TRAVEL42" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL43", + "responseRef" : "TRAVEL43" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL44", + "responseRef" : "TRAVEL44" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL45", + "responseRef" : "TRAVEL45" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL46", + "responseRef" : "TRAVEL46" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS11", + "responseRef" : "FAVOURITE_CHARACTERS11" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS12", + "responseRef" : "FAVOURITE_CHARACTERS12" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS21", + "responseRef" : "FAVOURITE_CHARACTERS21" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS22", + "responseRef" : "FAVOURITE_CHARACTERS22" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS31", + "responseRef" : "FAVOURITE_CHARACTERS31" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS32", + "responseRef" : "FAVOURITE_CHARACTERS32" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS41", + "responseRef" : "FAVOURITE_CHARACTERS41" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS42", + "responseRef" : "FAVOURITE_CHARACTERS42" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS51", + "responseRef" : "FAVOURITE_CHARACTERS51" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS52", + "responseRef" : "FAVOURITE_CHARACTERS52" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS61", + "responseRef" : "FAVOURITE_CHARACTERS61" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS62", + "responseRef" : "FAVOURITE_CHARACTERS62" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS71", + "responseRef" : "FAVOURITE_CHARACTERS71" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS72", + "responseRef" : "FAVOURITE_CHARACTERS72" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS81", + "responseRef" : "FAVOURITE_CHARACTERS81" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS82", + "responseRef" : "FAVOURITE_CHARACTERS82" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS91", + "responseRef" : "FAVOURITE_CHARACTERS91" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS92", + "responseRef" : "FAVOURITE_CHARACTERS92" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS101", + "responseRef" : "FAVOURITE_CHARACTERS101" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS102", + "responseRef" : "FAVOURITE_CHARACTERS102" }, + + { "variableType" : "COLLECTED", + "name" : "SURVEY_COMMENT", + "responseRef" : "SURVEY_COMMENT" }, + + { "variableType" : "CALCULATED", + "name" : "SUM_EXPENSES", + "expression" : "cast(PERCENTAGE_EXPENSES11,number) + cast(PERCENTAGE_EXPENSES21,number) + cast(PERCENTAGE_EXPENSES31,number)+ cast(PERCENTAGE_EXPENSES41,number)+ cast(PERCENTAGE_EXPENSES51,number)+ cast(PERCENTAGE_EXPENSES61,number)+ cast(PERCENTAGE_EXPENSES71,number)+ cast(PERCENTAGE_EXPENSES81,number)+ cast(PERCENTAGE_EXPENSES91,number)+ cast(PERCENTAGE_EXPENSES101,number)" } ] } \ No newline at end of file diff --git a/src/test/resources/examples/xmlh-2-jsonh/out.json b/src/test/resources/examples/xmlh-2-jsonh/out.json index b870a008..b94de111 100644 --- a/src/test/resources/examples/xmlh-2-jsonh/out.json +++ b/src/test/resources/examples/xmlh-2-jsonh/out.json @@ -1,2885 +1,2887 @@ - { "id" : "i6vwi0", - "label" : "Questionnaire SIMPSONS", - "components" : - [ - { "id" : "j6p0ti5h", - "componentType" : "Sequence", - "label" : "\"I - Introduction\"", - "declarations" : - [ - { "id" : "j6p0ti5h-d1", - "declarationType" : "COMMENT", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"We're going to test your knowledge about the simpsons series.Welcome in the simspons world!\"" } ], - "conditionFilter" : "\"normal\"", - "components" : - [ - { "id" : "j6p3dkx6", - "componentType" : "Textarea", - "mandatory" : false, - "maxLength" : 500, - "label" : "\"➡ 1. Before starting, do you have any comments about the Simpsons family?\"", - "conditionFilter" : "\"normal\"", - "response" : - { "name" : "COMMENT", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "id" : "j6p0np9q", - "componentType" : "CheckboxBoolean", - "mandatory" : false, - "label" : "\"➡ 2. Are you ready?\"", - "conditionFilter" : "\"normal\"", - "response" : - { "name" : "READY", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "id" : "j6p6my1d", - "componentType" : "FilterDescription", - "filterDescription" : false, - "label" : "\"If you are not ready, please go to the end of the questionnaire\"" }, - - { "id" : "j6p0s7o5", - "componentType" : "Subsequence", - "label" : "\"General knowledge of the series\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "components" : - [ - { "id" : "j3343qhx", - "componentType" : "Input", - "mandatory" : false, - "maxLength" : 30, - "label" : "\"➡ 3. Who is the producer?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "PRODUCER", - "valueState" : - [ +{ "id" : "i6vwi0", + "label" : "Questionnaire SIMPSONS", + "components" : + [ + { "id" : "j6p0ti5h", + "componentType" : "Sequence", + "label" : "\"I - Introduction\"", + "declarations" : + [ + { "id" : "j6p0ti5h-d1", + "declarationType" : "COMMENT", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"We're going to test your knowledge about the simpsons series.Welcome in the simspons world!\"" } ], + "conditionFilter" : "\"normal\"", + "components" : + [ + { "id" : "j6p3dkx6", + "componentType" : "Textarea", + "mandatory" : false, + "maxLength" : 500, + "label" : "\"➡ 1. Before starting, do you have any comments about the Simpsons family?\"", + "conditionFilter" : "\"normal\"", + "response" : + { "name" : "COMMENT", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j6p0np9q", + "componentType" : "CheckboxBoolean", + "mandatory" : false, + "label" : "\"➡ 2. Are you ready?\"", + "conditionFilter" : "\"normal\"", + "response" : + { "name" : "READY", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j6p6my1d", + "componentType" : "FilterDescription", + "filterDescription" : false, + "label" : "\"If you are not ready, please go to the end of the questionnaire\"" }, + + { "id" : "j6p0s7o5", + "componentType" : "Subsequence", + "label" : "\"General knowledge of the series\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "components" : + [ + { "id" : "j3343qhx", + "componentType" : "Input", + "mandatory" : false, + "maxLength" : 30, + "label" : "\"➡ 3. Who is the producer?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "response" : + { "name" : "PRODUCER", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j6q9h8tj", + "componentType" : "InputNumber", + "mandatory" : false, + "min" : 0, + "max" : 99, + "decimals" : 0, + "label" : "\"➡ 4. What is the current season number?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "response" : + { "name" : "SEASON_NUMBER", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j334cyqb", + "componentType" : "Datepicker", + "mandatory" : false, + "min" : "1900-01-01", + "max" : "format-date(current-date(),'[Y0001]-[M01]-[D01]')", + "label" : "\"➡ 5. When was the first episode of the Simpsons?\"", + "declarations" : + [ + { "id" : "j334cyqb-d11", + "declarationType" : "COMMENT", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"For your information, the date of the last broadcast was on \" || cast(cast(LAST_BROADCAST,string),string) || \" \"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "dateFormat" : "YYYY-MM-DD", + "response" : + { "name" : "DATEFIRST", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j6z06z1e", + "componentType" : "InputNumber", + "mandatory" : false, + "min" : 0, + "max" : 99, + "decimals" : 1, + "label" : "\"➡ 6. In your opinion, how much is the part of audience share in US for the 2016 season?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "response" : + { "name" : "AUDIENCE_SHARE", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] } ] }, + + { "id" : "j3341528", + "componentType" : "Sequence", + "label" : "\"II - Simpsons' city\"", + "declarations" : + [ + { "id" : "j3341528-d2", + "declarationType" : "COMMENT", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"This module asks about your general knowledge of the Simpsons city\"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "components" : + [ + { "id" : "j3343clt", + "componentType" : "Radio", + "mandatory" : true, + "label" : "\"➡ 1. In which city do the Simpsons reside?\"", + "declarations" : + [ + { "id" : "j3343clt-d3", + "declarationType" : "INSTRUCTION", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"One possible answer\"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "options" : + [ + { "value" : "00001", + "label" : "Springfield" }, + + { "value" : "00002", + "label" : "Shelbyville" }, + + { "value" : "00003", + "label" : "Seinfeld" } ], + "response" : + { "name" : "CITY", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j6qdfhvw", + "componentType" : "CheckboxOne", + "mandatory" : false, + "label" : "\"➡ 2. Who is the Simpsons city mayor?\"", + "declarations" : + [ + { "id" : "j6qdfhvw-d4", + "declarationType" : "INSTRUCTION", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"Only one possible answer\"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "options" : + [ + { "value" : "1", + "label" : "Constance Harm" }, + + { "value" : "2", + "label" : "Timothy Lovejoy" }, + + { "value" : "3", + "label" : "Joe Quimby" }, + + { "value" : "4", + "label" : "Poochie" } ], + "response" : + { "name" : "MAYOR", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j4nw5cqz", + "componentType" : "Dropdown", + "mandatory" : false, + "label" : "\"➡ 3. In which state do The Simpsons reside?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "options" : + [ + { "value" : "1", + "label" : "Washington" }, + + { "value" : "2", + "label" : "Kentucky" }, + + { "value" : "3", + "label" : "Ohio" }, + + { "value" : "4", + "label" : "Maine" }, + + { "value" : "5", + "label" : "North Dakota" }, + + { "value" : "6", + "label" : "Florida" }, + + { "value" : "7", + "label" : "North Takoma" }, + + { "value" : "8", + "label" : "California" }, + + { "value" : "9", + "label" : "Texas" }, + + { "value" : "10", + "label" : "Massachusetts" }, + + { "value" : "11", + "label" : "Nevada" }, + + { "value" : "12", + "label" : "Illinois" }, + + { "value" : "13", + "label" : "Not in any state, you fool!" } ], + "response" : + { "name" : "STATE", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] }, + + { "id" : "j6qe0h9q", + "componentType" : "Sequence", + "label" : "\"III - Characters\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "components" : + [ + { "id" : "j334akov", + "componentType" : "CheckboxGroup", + "label" : "\"➡ 1. What are the pet names that the Simpsons family had?\"", + "declarations" : + [ + { "id" : "j334akov-d5", + "declarationType" : "INSTRUCTION", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"Several possible answers\"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "responses" : + [ + { "id" : "j334akov-QOP-jbgd8qmn", + "label" : "Santa's Little Helper", + "response" : + { "name" : "PET1", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j334akov-QOP-jbgd60vl", + "label" : "Snowball I", + "response" : + { "name" : "PET2", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j334akov-QOP-jbgda2jo", + "label" : "Coltrane", + "response" : + { "name" : "PET3", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "id" : "j334akov-QOP-jbgdfssy", + "label" : "Mojo the Helper Monkey", + "response" : + { "name" : "PET4", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] }, + + { "id" : "j6p29i81", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 2. Does Jay like the following ice cream flavours?\"", + "declarations" : + [ + { "id" : "d12-SI", + "declarationType" : "STATEMENT", + "position" : "BEFORE_QUESTION_TEXT", + "label" : "\"Now we are going to know if you think that Jay is a gluton.\"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "cells" : + [ + [ + { "value" : "1", + "label" : "Vanilla" }, + + { "componentType" : "Radio", + "id" : "j6p29i81-QOP-jbgdb3jx", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "ICE_FLAVOUR1", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "2", + "label" : "Strawberry" }, + + { "componentType" : "Radio", + "id" : "j6p29i81-QOP-jbgdb61k", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "ICE_FLAVOUR2", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "3", + "label" : "Apple" }, + + { "componentType" : "Radio", + "id" : "j6p29i81-QOP-jbgdl3kc", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "ICE_FLAVOUR3", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "4", + "label" : "Bacon" }, + + { "componentType" : "Radio", + "id" : "j6p29i81-QOP-jbgdcobo", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "ICE_FLAVOUR4", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] ] }, + + { "id" : "j6qefnga", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 3. Which character works in the nuclear power plant?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "cells" : + [ + [ + { "value" : "1", + "label" : "Charles Montgomery Burns" }, + + { "componentType" : "Dropdown", + "id" : "j6qefnga-QOP-jbgd6p0k", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "NUCLEAR_CHARACTER1", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "2", + "label" : "Carl Carlson" }, + + { "componentType" : "Dropdown", + "id" : "j6qefnga-QOP-jbgd9ato", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "NUCLEAR_CHARACTER2", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "3", + "label" : "Otto Mann" }, + + { "componentType" : "Dropdown", + "id" : "j6qefnga-QOP-jbgd3e0p", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "NUCLEAR_CHARACTER3", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "4", + "label" : "Carl Carlson" }, + + { "componentType" : "Dropdown", + "id" : "j6qefnga-QOP-jbgdkxne", + "options" : + [ + { "value" : "1", + "label" : "Yes" }, + + { "value" : "0", + "label" : "No" } ], + "response" : + { "name" : "NUCLEAR_CHARACTER4", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] ] }, + + { "id" : "j6yzoc6g", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 4. In which city each character was born?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "cells" : + [ + [ + { "value" : "1", + "label" : "Selma Bouvier" }, + + { "componentType" : "CheckboxOne", + "id" : "j6yzoc6g-QOP-jbgd7fr6", + "options" : + [ + { "value" : "1", + "label" : "Albuquerque" }, + + { "value" : "2", + "label" : "Springfield" }, + + { "value" : "3", + "label" : "Portland" }, + + { "value" : "4", + "label" : "Shelbyville" }, + + { "value" : "5", + "label" : "Dagstuhl" } ], + "response" : + { "name" : "BIRTH_CHARACTER1", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "2", + "label" : "Kent Brockman" }, + + { "componentType" : "CheckboxOne", + "id" : "j6yzoc6g-QOP-jbgd5e9f", + "options" : + [ + { "value" : "1", + "label" : "Albuquerque" }, + + { "value" : "2", + "label" : "Springfield" }, + + { "value" : "3", + "label" : "Portland" }, + + { "value" : "4", + "label" : "Shelbyville" }, + + { "value" : "5", + "label" : "Dagstuhl" } ], + "response" : + { "name" : "BIRTH_CHARACTER2", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "3", + "label" : "Milhouse Van Houten" }, + + { "componentType" : "CheckboxOne", + "id" : "j6yzoc6g-QOP-jbgd912x", + "options" : + [ + { "value" : "1", + "label" : "Albuquerque" }, + + { "value" : "2", + "label" : "Springfield" }, + + { "value" : "3", + "label" : "Portland" }, + + { "value" : "4", + "label" : "Shelbyville" }, + + { "value" : "5", + "label" : "Dagstuhl" } ], + "response" : + { "name" : "BIRTH_CHARACTER3", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "4", + "label" : "Nelson Muntz" }, + + { "componentType" : "CheckboxOne", + "id" : "j6yzoc6g-QOP-jbgd6bdy", + "options" : + [ + { "value" : "1", + "label" : "Albuquerque" }, + + { "value" : "2", + "label" : "Springfield" }, + + { "value" : "3", + "label" : "Portland" }, + + { "value" : "4", + "label" : "Shelbyville" }, + + { "value" : "5", + "label" : "Dagstuhl" } ], + "response" : + { "name" : "BIRTH_CHARACTER4", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "5", + "label" : "Crazy Cat Lady" }, + + { "componentType" : "CheckboxOne", + "id" : "j6yzoc6g-QOP-jbgddyry", + "options" : + [ + { "value" : "1", + "label" : "Albuquerque" }, + + { "value" : "2", + "label" : "Springfield" }, + + { "value" : "3", + "label" : "Portland" }, + + { "value" : "4", + "label" : "Shelbyville" }, + + { "value" : "5", + "label" : "Dagstuhl" } ], + "response" : + { "name" : "BIRTH_CHARACTER5", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] ] } ] }, + + { "id" : "j4nw88h2", + "componentType" : "Sequence", + "label" : "\"IV - General questions\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "components" : + [ + { "id" : "j6qe237q", + "componentType" : "Subsequence", + "label" : "\"Kwik-E-Mart\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "components" : + [ + { "id" : "j4nwc63q", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 1. Please, specify the percentage of Jay's expenses in the Kwik-E-Mart for each product?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "cells" : + [ + [ + { "headerCell" : true, + "colspan" : 2, + "label" : "" }, + + { "headerCell" : true, + "label" : "Percentage" } ], + + [ + { "rowspan" : 2, + "value" : "A", + "label" : "Frozen products" }, + + { "value" : "A1", + "label" : "Ice creams" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgde5yl", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES11", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "A2", + "label" : "Jasper Beardly" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgd2x2t", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES21", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "rowspan" : 3, + "value" : "B", + "label" : "Meat" }, + + { "value" : "B1", + "label" : "Bacon" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgdjypz", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES31", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "B2", + "label" : "Pork chop" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgdcftu", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES41", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "B3", + "label" : "Chicken" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgdiyfe", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES51", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "C", + "label" : "Compote" }, + + { "value" : "C1", + "label" : "Powersauce" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgdj1wd", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES61", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "colspan" : 2, + "value" : "D", + "label" : "Other" }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 100, + "decimals" : 1, + "id" : "j4nwc63q-QOP-jbgddylk", + "unit" : "%", + "response" : + { "name" : "PERCENTAGE_EXPENSES71", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] ] } ] }, + + { "id" : "j6qejudb", + "componentType" : "Subsequence", + "label" : "\"Clowning\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "components" : + [ + { "id" : "j4nw0rr6", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 2. Who did these clownings and tell us what you remember?\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "cells" : + [ + [ + { "headerCell" : true, + "label" : "" }, + + { "headerCell" : true, + "label" : "Clowning" }, + + { "headerCell" : true, + "label" : "Remember?" } ], + + [ + { "value" : "1", + "label" : "Break the windows of the whole city" }, + + { "componentType" : "Dropdown", + "id" : "j4nw0rr6-QOP-jbgd8tyr", + "options" : + [ + { "value" : "1", + "label" : "Jay" }, + + { "value" : "2", + "label" : "Bart" }, + + { "value" : "3", + "label" : "Krusty the clown" }, + + { "value" : "4", + "label" : "Maggie" } ], + "response" : + { "name" : "CLOWNING11", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j4nw0rr6-QOP-jbgdit3o", + "response" : + { "name" : "CLOWNING12", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "2", + "label" : "Loose the violin of his daughter playing poker" }, + + { "componentType" : "Dropdown", + "id" : "j4nw0rr6-QOP-jbgdep36", + "options" : + [ + { "value" : "1", + "label" : "Jay" }, + + { "value" : "2", + "label" : "Bart" }, + + { "value" : "3", + "label" : "Krusty the clown" }, + + { "value" : "4", + "label" : "Maggie" } ], + "response" : + { "name" : "CLOWNING21", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j4nw0rr6-QOP-jbgd366k", + "response" : + { "name" : "CLOWNING22", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "3", + "label" : "Kill Mr Burns" }, + + { "componentType" : "Dropdown", + "id" : "j4nw0rr6-QOP-jbgdjjgi", + "options" : + [ + { "value" : "1", + "label" : "Jay" }, + + { "value" : "2", + "label" : "Bart" }, + + { "value" : "3", + "label" : "Krusty the clown" }, + + { "value" : "4", + "label" : "Maggie" } ], + "response" : + { "name" : "CLOWNING31", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j4nw0rr6-QOP-jbgdax06", + "response" : + { "name" : "CLOWNING32", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "4", + "label" : "Leaving a mechanical object to control the nuclear power plant" }, + + { "componentType" : "Dropdown", + "id" : "j4nw0rr6-QOP-jbgdgh6k", + "options" : + [ + { "value" : "1", + "label" : "Jay" }, + + { "value" : "2", + "label" : "Bart" }, + + { "value" : "3", + "label" : "Krusty the clown" }, + + { "value" : "4", + "label" : "Maggie" } ], + "response" : + { "name" : "CLOWNING41", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j4nw0rr6-QOP-jbgdfo1j", + "response" : + { "name" : "CLOWNING42", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] ] } ] }, + + { "id" : "j6qeh91y", + "componentType" : "Subsequence", + "label" : "\"Transport\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "components" : + [ + { "id" : "j6p2lwuj", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 3. Which of the following means of transport were used by the hero and in which country?\"", + "declarations" : + [ + { "id" : "j6p2lwuj-d10", + "declarationType" : "INSTRUCTION", + "position" : "AFTER_QUESTION_TEXT", + "label" : "\"Several answers possible: check off all the relevant boxes\"" } ], + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "cells" : + [ + [ + { "headerCell" : true, + "label" : "" }, + + { "headerCell" : true, + "label" : "Brazil" }, + + { "headerCell" : true, + "label" : "Canada" }, + + { "headerCell" : true, + "label" : "Japan" }, + + { "headerCell" : true, + "label" : "France" }, + + { "headerCell" : true, + "label" : "Other country" }, + + { "headerCell" : true, + "label" : "Other planet" } ], + + [ + { "value" : "1", + "label" : "Car" }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd92mb", + "response" : + { "name" : "TRAVEL11", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdnxkt", + "response" : + { "name" : "TRAVEL12", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdcppc", + "response" : + { "name" : "TRAVEL13", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd4r2a", + "response" : + { "name" : "TRAVEL14", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd9cff", + "response" : + { "name" : "TRAVEL15", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdiva0", + "response" : + { "name" : "TRAVEL16", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "2", + "label" : "Bike" }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdgsat", + "response" : + { "name" : "TRAVEL21", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd3ef5", + "response" : + { "name" : "TRAVEL22", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd4cm6", + "response" : + { "name" : "TRAVEL23", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdkfpq", + "response" : + { "name" : "TRAVEL24", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgddwsp", + "response" : + { "name" : "TRAVEL25", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd7dqf", + "response" : + { "name" : "TRAVEL26", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "3", + "label" : "Skateboard" }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdaxk2", + "response" : + { "name" : "TRAVEL31", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd8p1v", + "response" : + { "name" : "TRAVEL32", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdd2lo", + "response" : + { "name" : "TRAVEL33", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd7u52", + "response" : + { "name" : "TRAVEL34", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdncn8", + "response" : + { "name" : "TRAVEL35", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdnous", + "response" : + { "name" : "TRAVEL36", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "value" : "4", + "label" : "Plane" }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgd7myn", + "response" : + { "name" : "TRAVEL41", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdgm0c", + "response" : + { "name" : "TRAVEL42", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdo0ay", + "response" : + { "name" : "TRAVEL43", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdgfwl", + "response" : + { "name" : "TRAVEL44", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdnz6b", + "response" : + { "name" : "TRAVEL45", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "CheckboxBoolean", + "id" : "j6p2lwuj-QOP-jbgdkfcz", + "response" : + { "name" : "TRAVEL46", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] ] } ] } ] }, + + { "id" : "j6qfx9qe", + "componentType" : "Sequence", + "label" : "\"V - Favourite characters\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "components" : + [ + { "id" : "j6qg8rc6", + "componentType" : "Table", + "mandatory" : false, + "positioning" : "HORIZONTAL", + "label" : "\"➡ 1. Please, complete the following grid with your favourite characters\"", + "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", + "lines" : + { "min" : 1, + "max" : 10 }, + "cells" : + [ + [ + { "headerCell" : true, + "label" : "Name" }, + + { "headerCell" : true, + "label" : "Age" } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdl5jb", + "response" : + { "name" : "FAVOURITE_CHARACTERS11", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgdfndq", + "response" : + { "name" : "FAVOURITE_CHARACTERS12", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgd8lwo", + "response" : + { "name" : "FAVOURITE_CHARACTERS21", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgd7osi", + "response" : + { "name" : "FAVOURITE_CHARACTERS22", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdbfag", + "response" : + { "name" : "FAVOURITE_CHARACTERS31", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgd7bnw", + "response" : + { "name" : "FAVOURITE_CHARACTERS32", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdlgja", + "response" : + { "name" : "FAVOURITE_CHARACTERS41", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } }, + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgd9k71", + "response" : + { "name" : "FAVOURITE_CHARACTERS42", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgd745y", + "response" : + { "name" : "FAVOURITE_CHARACTERS51", + "valueState" : + [ { "valueType" : "PREVIOUS", "value" : null }, - + { "valueType" : "COLLECTED", "value" : null }, - + { "valueType" : "FORCED", "value" : null }, - + { "valueType" : "EDITED", "value" : null }, - + { "valueType" : "INPUTED", "value" : null } ] } }, - - { "id" : "j6q9h8tj", - "componentType" : "InputNumber", - "mandatory" : false, + + { "componentType" : "InputNumber", "min" : 0, - "max" : 99, + "max" : 120, "decimals" : 0, - "label" : "\"➡ 4. What is the current season number?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "SEASON_NUMBER", - "valueState" : - [ + "id" : "j6qg8rc6-QOP-jbgdimks", + "response" : + { "name" : "FAVOURITE_CHARACTERS52", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdjkts", + "response" : + { "name" : "FAVOURITE_CHARACTERS61", + "valueState" : + [ { "valueType" : "PREVIOUS", "value" : null }, - + { "valueType" : "COLLECTED", "value" : null }, - + { "valueType" : "FORCED", "value" : null }, - + { "valueType" : "EDITED", "value" : null }, - + { "valueType" : "INPUTED", "value" : null } ] } }, - - { "id" : "j334cyqb", - "componentType" : "Datepicker", - "mandatory" : false, - "label" : "\"➡ 5. When was the first episode of the Simpsons?\"", - "declarations" : - [ - { "id" : "j334cyqb-d11", - "declarationType" : "COMMENT", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"For your information, the date of the last broadcast was on \" || cast(cast(LAST_BROADCAST,string),string) || \" \"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "DATEFIRST", - "valueState" : - [ + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgdjquz", + "response" : + { "name" : "FAVOURITE_CHARACTERS62", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdcax7", + "response" : + { "name" : "FAVOURITE_CHARACTERS71", + "valueState" : + [ { "valueType" : "PREVIOUS", "value" : null }, - + { "valueType" : "COLLECTED", "value" : null }, - + { "valueType" : "FORCED", "value" : null }, - + { "valueType" : "EDITED", "value" : null }, - + { "valueType" : "INPUTED", - "value" : null } ] }, - "dateFormat" : "YYYY-MM-DD" }, - - { "id" : "j6z06z1e", - "componentType" : "InputNumber", - "mandatory" : false, + "value" : null } ] } }, + + { "componentType" : "InputNumber", "min" : 0, - "max" : 99, - "decimals" : 1, - "label" : "\"➡ 6. In your opinion, how much is the part of audience share in US for the 2016 season?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "AUDIENCE_SHARE", - "valueState" : - [ + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgdd2w3", + "response" : + { "name" : "FAVOURITE_CHARACTERS72", + "valueState" : + [ { "valueType" : "PREVIOUS", "value" : null }, - + { "valueType" : "COLLECTED", "value" : null }, - + { "valueType" : "FORCED", "value" : null }, - + { "valueType" : "EDITED", "value" : null }, - + { "valueType" : "INPUTED", - "value" : null } ] } } ] } ] }, - - { "id" : "j3341528", - "componentType" : "Sequence", - "label" : "\"II - Simpsons' city\"", - "declarations" : - [ - { "id" : "j3341528-d2", - "declarationType" : "COMMENT", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"This module asks about your general knowledge of the Simpsons city\"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "components" : - [ - { "id" : "j3343clt", - "componentType" : "Radio", - "mandatory" : true, - "label" : "\"➡ 1. In which city do the Simpsons reside?\"", - "declarations" : - [ - { "id" : "j3343clt-d3", - "declarationType" : "INSTRUCTION", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"One possible answer\"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "CITY", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "00001", - "label" : "Springfield" }, - - { "value" : "00002", - "label" : "Shelbyville" }, - - { "value" : "00003", - "label" : "Seinfeld" } ] }, - - { "id" : "j6qdfhvw", - "componentType" : "CheckboxOne", - "mandatory" : false, - "label" : "\"➡ 2. Who is the Simpsons city mayor?\"", - "declarations" : - [ - { "id" : "j6qdfhvw-d4", - "declarationType" : "INSTRUCTION", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"Only one possible answer\"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "MAYOR", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Constance Harm" }, - - { "value" : "2", - "label" : "Timothy Lovejoy" }, - - { "value" : "3", - "label" : "Joe Quimby" }, - - { "value" : "4", - "label" : "Poochie" } ] }, - - { "id" : "j4nw5cqz", - "componentType" : "Dropdown", - "mandatory" : false, - "label" : "\"➡ 3. In which state do The Simpsons reside?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "response" : - { "name" : "STATE", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Washington" }, - - { "value" : "2", - "label" : "Kentucky" }, - - { "value" : "3", - "label" : "Ohio" }, - - { "value" : "4", - "label" : "Maine" }, - - { "value" : "5", - "label" : "North Dakota" }, - - { "value" : "6", - "label" : "Florida" }, - - { "value" : "7", - "label" : "North Takoma" }, - - { "value" : "8", - "label" : "California" }, - - { "value" : "9", - "label" : "Texas" }, - - { "value" : "10", - "label" : "Massachusetts" }, - - { "value" : "11", - "label" : "Nevada" }, - - { "value" : "12", - "label" : "Illinois" }, - - { "value" : "13", - "label" : "Not in any state, you fool!" } ] } ] }, - - { "id" : "j6qe0h9q", - "componentType" : "Sequence", - "label" : "\"III - Characters\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "components" : - [ - { "id" : "j334akov", - "componentType" : "CheckboxGroup", - "label" : "\"➡ 1. What are the pet names that the Simpsons family had?\"", - "declarations" : - [ - { "id" : "j334akov-d5", - "declarationType" : "INSTRUCTION", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"Several possible answers\"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "responses" : - [ - { "id" : "j334akov-QOP-jbgd8qmn", - "label" : "Santa's Little Helper", - "response" : - { "name" : "PET1", - "valueState" : - [ + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdjye1", + "response" : + { "name" : "FAVOURITE_CHARACTERS81", + "valueState" : + [ { "valueType" : "PREVIOUS", "value" : null }, - + { "valueType" : "COLLECTED", "value" : null }, - + { "valueType" : "FORCED", "value" : null }, - + { "valueType" : "EDITED", "value" : null }, - + { "valueType" : "INPUTED", "value" : null } ] } }, - - { "id" : "j334akov-QOP-jbgd60vl", - "label" : "Snowball I", - "response" : - { "name" : "PET2", - "valueState" : - [ + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgdkosc", + "response" : + { "name" : "FAVOURITE_CHARACTERS82", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgd5jet", + "response" : + { "name" : "FAVOURITE_CHARACTERS91", + "valueState" : + [ { "valueType" : "PREVIOUS", "value" : null }, - + { "valueType" : "COLLECTED", "value" : null }, - + { "valueType" : "FORCED", "value" : null }, - + { "valueType" : "EDITED", "value" : null }, - + { "valueType" : "INPUTED", "value" : null } ] } }, - - { "id" : "j334akov-QOP-jbgda2jo", - "label" : "Coltrane", - "response" : - { "name" : "PET3", - "valueState" : - [ + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgdk0x4", + "response" : + { "name" : "FAVOURITE_CHARACTERS92", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ], + + [ + { "componentType" : "Textarea", + "maxLength" : 255, + "id" : "j6qg8rc6-QOP-jbgdjw90", + "response" : + { "name" : "FAVOURITE_CHARACTERS101", + "valueState" : + [ { "valueType" : "PREVIOUS", "value" : null }, - + { "valueType" : "COLLECTED", "value" : null }, - + { "valueType" : "FORCED", "value" : null }, - + { "valueType" : "EDITED", "value" : null }, - + { "valueType" : "INPUTED", "value" : null } ] } }, - - { "id" : "j334akov-QOP-jbgdfssy", - "label" : "Mojo the Helper Monkey", - "response" : - { "name" : "PET4", - "valueState" : - [ + + { "componentType" : "InputNumber", + "min" : 0, + "max" : 120, + "decimals" : 0, + "id" : "j6qg8rc6-QOP-jbgd2wgf", + "response" : + { "name" : "FAVOURITE_CHARACTERS102", + "valueState" : + [ { "valueType" : "PREVIOUS", "value" : null }, - + { "valueType" : "COLLECTED", "value" : null }, - + { "valueType" : "FORCED", "value" : null }, - + { "valueType" : "EDITED", "value" : null }, - + { "valueType" : "INPUTED", - "value" : null } ] } } ] }, - - { "id" : "j6p29i81", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 2. Does Jay like the following ice cream flavours?\"", - "declarations" : - [ - { "id" : "d12-SI", - "declarationType" : "STATEMENT", - "position" : "BEFORE_QUESTION_TEXT", - "label" : "\"Now we are going to know if you think that Jay is a gluton.\"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "label" : "Vanilla", - "value" : "1" }, - - { "componentType" : "Radio", - "id" : "j6p29i81-QOP-jbgdb3jx", - "response" : - { "name" : "ICE_FLAVOUR1", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ], - - [ - { "label" : "Strawberry", - "value" : "2" }, - - { "componentType" : "Radio", - "id" : "j6p29i81-QOP-jbgdb61k", - "response" : - { "name" : "ICE_FLAVOUR2", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ], - - [ - { "label" : "Apple", - "value" : "3" }, - - { "componentType" : "Radio", - "id" : "j6p29i81-QOP-jbgdl3kc", - "response" : - { "name" : "ICE_FLAVOUR3", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ], - - [ - { "label" : "Bacon", - "value" : "4" }, - - { "componentType" : "Radio", - "id" : "j6p29i81-QOP-jbgdcobo", - "response" : - { "name" : "ICE_FLAVOUR4", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ] ] }, - - { "id" : "j6qefnga", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 3. Which character works in the nuclear power plant?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "label" : "Charles Montgomery Burns", - "value" : "1" }, - - { "componentType" : "Dropdown", - "id" : "j6qefnga-QOP-jbgd6p0k", - "response" : - { "name" : "NUCLEAR_CHARACTER1", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ], - - [ - { "label" : "Carl Carlson", - "value" : "2" }, - - { "componentType" : "Dropdown", - "id" : "j6qefnga-QOP-jbgd9ato", - "response" : - { "name" : "NUCLEAR_CHARACTER2", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ], - - [ - { "label" : "Otto Mann", - "value" : "3" }, - - { "componentType" : "Dropdown", - "id" : "j6qefnga-QOP-jbgd3e0p", - "response" : - { "name" : "NUCLEAR_CHARACTER3", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ], - - [ - { "label" : "Carl Carlson", - "value" : "4" }, - - { "componentType" : "Dropdown", - "id" : "j6qefnga-QOP-jbgdkxne", - "response" : - { "name" : "NUCLEAR_CHARACTER4", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Yes" }, - - { "value" : "0", - "label" : "No" } ] } ] ] }, - - { "id" : "j6yzoc6g", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 4. In which city each character was born?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "label" : "Selma Bouvier", - "value" : "1" }, - - { "componentType" : "CheckboxOne", - "id" : "j6yzoc6g-QOP-jbgd7fr6", - "response" : - { "name" : "BIRTH_CHARACTER1", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Albuquerque" }, - - { "value" : "2", - "label" : "Springfield" }, - - { "value" : "3", - "label" : "Portland" }, - - { "value" : "4", - "label" : "Shelbyville" }, - - { "value" : "5", - "label" : "Dagstuhl" } ] } ], - - [ - { "label" : "Kent Brockman", - "value" : "2" }, - - { "componentType" : "CheckboxOne", - "id" : "j6yzoc6g-QOP-jbgd5e9f", - "response" : - { "name" : "BIRTH_CHARACTER2", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Albuquerque" }, - - { "value" : "2", - "label" : "Springfield" }, - - { "value" : "3", - "label" : "Portland" }, - - { "value" : "4", - "label" : "Shelbyville" }, - - { "value" : "5", - "label" : "Dagstuhl" } ] } ], - - [ - { "label" : "Milhouse Van Houten", - "value" : "3" }, - - { "componentType" : "CheckboxOne", - "id" : "j6yzoc6g-QOP-jbgd912x", - "response" : - { "name" : "BIRTH_CHARACTER3", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Albuquerque" }, - - { "value" : "2", - "label" : "Springfield" }, - - { "value" : "3", - "label" : "Portland" }, - - { "value" : "4", - "label" : "Shelbyville" }, - - { "value" : "5", - "label" : "Dagstuhl" } ] } ], - - [ - { "label" : "Nelson Muntz", - "value" : "4" }, - - { "componentType" : "CheckboxOne", - "id" : "j6yzoc6g-QOP-jbgd6bdy", - "response" : - { "name" : "BIRTH_CHARACTER4", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Albuquerque" }, - - { "value" : "2", - "label" : "Springfield" }, - - { "value" : "3", - "label" : "Portland" }, - - { "value" : "4", - "label" : "Shelbyville" }, - - { "value" : "5", - "label" : "Dagstuhl" } ] } ], - - [ - { "label" : "Crazy Cat Lady", - "value" : "5" }, - - { "componentType" : "CheckboxOne", - "id" : "j6yzoc6g-QOP-jbgddyry", - "response" : - { "name" : "BIRTH_CHARACTER5", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Albuquerque" }, - - { "value" : "2", - "label" : "Springfield" }, - - { "value" : "3", - "label" : "Portland" }, - - { "value" : "4", - "label" : "Shelbyville" }, - - { "value" : "5", - "label" : "Dagstuhl" } ] } ] ] } ] }, - - { "id" : "j4nw88h2", - "componentType" : "Sequence", - "label" : "\"IV - General questions\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "components" : - [ - { "id" : "j6qe237q", - "componentType" : "Subsequence", - "label" : "\"Kwik-E-Mart\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "components" : - [ - { "id" : "j4nwc63q", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 1. Please, specify the percentage of Jay's expenses in the Kwik-E-Mart for each product?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "headerCell" : true, - "colspan" : 2, - "label" : "" }, - - { "headerCell" : true, - "label" : "Percentage" } ], - - [ - { "rowspan" : 2, - "label" : "Frozen products", - "value" : "A" }, - - { "label" : "Ice creams", - "value" : "A1" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgde5yl", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES11", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Jasper Beardly", - "value" : "A2" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgd2x2t", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES21", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "rowspan" : 3, - "label" : "Meat", - "value" : "B" }, - - { "label" : "Bacon", - "value" : "B1" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgdjypz", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES31", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Pork chop", - "value" : "B2" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgdcftu", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES41", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Chicken", - "value" : "B3" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgdiyfe", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES51", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Compote", - "value" : "C" }, - - { "label" : "Powersauce", - "value" : "C1" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgdj1wd", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES61", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "colspan" : 2, - "label" : "Other", - "value" : "D" }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 100, - "decimals" : 1, - "id" : "j4nwc63q-QOP-jbgddylk", - "unit" : "%", - "response" : - { "name" : "PERCENTAGE_EXPENSES71", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ] ] } ] }, - - { "id" : "j6qejudb", - "componentType" : "Subsequence", - "label" : "\"Clowning\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "components" : - [ - { "id" : "j4nw0rr6", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 2. Who did these clownings and tell us what you remember?\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "headerCell" : true, - "label" : "" }, - - { "headerCell" : true, - "label" : "Clowning" }, - - { "headerCell" : true, - "label" : "Remember?" } ], - - [ - { "label" : "Break the windows of the whole city", - "value" : "1" }, - - { "componentType" : "Dropdown", - "id" : "j4nw0rr6-QOP-jbgd8tyr", - "response" : - { "name" : "CLOWNING11", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Jay" }, - - { "value" : "2", - "label" : "Bart" }, - - { "value" : "3", - "label" : "Krusty the clown" }, - - { "value" : "4", - "label" : "Maggie" } ] }, - - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j4nw0rr6-QOP-jbgdit3o", - "response" : - { "name" : "CLOWNING12", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Loose the violin of his daughter playing poker", - "value" : "2" }, - - { "componentType" : "Dropdown", - "id" : "j4nw0rr6-QOP-jbgdep36", - "response" : - { "name" : "CLOWNING21", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Jay" }, - - { "value" : "2", - "label" : "Bart" }, - - { "value" : "3", - "label" : "Krusty the clown" }, - - { "value" : "4", - "label" : "Maggie" } ] }, - - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j4nw0rr6-QOP-jbgd366k", - "response" : - { "name" : "CLOWNING22", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Kill Mr Burns", - "value" : "3" }, - - { "componentType" : "Dropdown", - "id" : "j4nw0rr6-QOP-jbgdjjgi", - "response" : - { "name" : "CLOWNING31", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Jay" }, - - { "value" : "2", - "label" : "Bart" }, - - { "value" : "3", - "label" : "Krusty the clown" }, - - { "value" : "4", - "label" : "Maggie" } ] }, - - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j4nw0rr6-QOP-jbgdax06", - "response" : - { "name" : "CLOWNING32", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Leaving a mechanical object to control the nuclear power plant", - "value" : "4" }, - - { "componentType" : "Dropdown", - "id" : "j4nw0rr6-QOP-jbgdgh6k", - "response" : - { "name" : "CLOWNING41", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] }, - "options" : - [ - { "value" : "1", - "label" : "Jay" }, - - { "value" : "2", - "label" : "Bart" }, - - { "value" : "3", - "label" : "Krusty the clown" }, - - { "value" : "4", - "label" : "Maggie" } ] }, - - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j4nw0rr6-QOP-jbgdfo1j", - "response" : - { "name" : "CLOWNING42", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ] ] } ] }, - - { "id" : "j6qeh91y", - "componentType" : "Subsequence", - "label" : "\"Transport\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "components" : - [ - { "id" : "j6p2lwuj", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 3. Which of the following means of transport were used by the hero and in which country?\"", - "declarations" : - [ - { "id" : "j6p2lwuj-d10", - "declarationType" : "INSTRUCTION", - "position" : "AFTER_QUESTION_TEXT", - "label" : "\"Several answers possible: check off all the relevant boxes\"" } ], - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "headerCell" : true, - "label" : "" }, - - { "headerCell" : true, - "label" : "Brazil" }, - - { "headerCell" : true, - "label" : "Canada" }, - - { "headerCell" : true, - "label" : "Japan" }, - - { "headerCell" : true, - "label" : "France" }, - - { "headerCell" : true, - "label" : "Other country" }, - - { "headerCell" : true, - "label" : "Other planet" } ], - - [ - { "label" : "Car", - "value" : "1" }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd92mb", - "response" : - { "name" : "TRAVEL11", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdnxkt", - "response" : - { "name" : "TRAVEL12", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdcppc", - "response" : - { "name" : "TRAVEL13", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd4r2a", - "response" : - { "name" : "TRAVEL14", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd9cff", - "response" : - { "name" : "TRAVEL15", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdiva0", - "response" : - { "name" : "TRAVEL16", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Bike", - "value" : "2" }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdgsat", - "response" : - { "name" : "TRAVEL21", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd3ef5", - "response" : - { "name" : "TRAVEL22", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd4cm6", - "response" : - { "name" : "TRAVEL23", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdkfpq", - "response" : - { "name" : "TRAVEL24", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgddwsp", - "response" : - { "name" : "TRAVEL25", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd7dqf", - "response" : - { "name" : "TRAVEL26", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Skateboard", - "value" : "3" }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdaxk2", - "response" : - { "name" : "TRAVEL31", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd8p1v", - "response" : - { "name" : "TRAVEL32", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdd2lo", - "response" : - { "name" : "TRAVEL33", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd7u52", - "response" : - { "name" : "TRAVEL34", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdncn8", - "response" : - { "name" : "TRAVEL35", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdnous", - "response" : - { "name" : "TRAVEL36", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "label" : "Plane", - "value" : "4" }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgd7myn", - "response" : - { "name" : "TRAVEL41", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdgm0c", - "response" : - { "name" : "TRAVEL42", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdo0ay", - "response" : - { "name" : "TRAVEL43", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdgfwl", - "response" : - { "name" : "TRAVEL44", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdnz6b", - "response" : - { "name" : "TRAVEL45", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "CheckboxBoolean", - "id" : "j6p2lwuj-QOP-jbgdkfcz", - "response" : - { "name" : "TRAVEL46", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ] ] } ] } ] }, - - { "id" : "j6qfx9qe", - "componentType" : "Sequence", - "label" : "\"V - Favourite characters\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "components" : - [ - { "id" : "j6qg8rc6", - "componentType" : "Table", - "mandatory" : false, - "positioning" : "HORIZONTAL", - "label" : "\"➡ 1. Please, complete the following grid with your favourite characters\"", - "conditionFilter" : "if ((not( cast(READY,integer) <> '1') )) then \"normal\" else \"hidden\"", - "cells" : - [ - [ - { "headerCell" : true, - "label" : "Name" }, - - { "headerCell" : true, - "label" : "Age" } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdl5jb", - "response" : - { "name" : "FAVOURITE_CHARACTERS11", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgdfndq", - "response" : - { "name" : "FAVOURITE_CHARACTERS12", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgd8lwo", - "response" : - { "name" : "FAVOURITE_CHARACTERS21", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgd7osi", - "response" : - { "name" : "FAVOURITE_CHARACTERS22", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdbfag", - "response" : - { "name" : "FAVOURITE_CHARACTERS31", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgd7bnw", - "response" : - { "name" : "FAVOURITE_CHARACTERS32", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdlgja", - "response" : - { "name" : "FAVOURITE_CHARACTERS41", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgd9k71", - "response" : - { "name" : "FAVOURITE_CHARACTERS42", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgd745y", - "response" : - { "name" : "FAVOURITE_CHARACTERS51", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgdimks", - "response" : - { "name" : "FAVOURITE_CHARACTERS52", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdjkts", - "response" : - { "name" : "FAVOURITE_CHARACTERS61", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgdjquz", - "response" : - { "name" : "FAVOURITE_CHARACTERS62", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdcax7", - "response" : - { "name" : "FAVOURITE_CHARACTERS71", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgdd2w3", - "response" : - { "name" : "FAVOURITE_CHARACTERS72", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdjye1", - "response" : - { "name" : "FAVOURITE_CHARACTERS81", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgdkosc", - "response" : - { "name" : "FAVOURITE_CHARACTERS82", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgd5jet", - "response" : - { "name" : "FAVOURITE_CHARACTERS91", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgdk0x4", - "response" : - { "name" : "FAVOURITE_CHARACTERS92", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ], - - [ - { "componentType" : "Textarea", - "maxLength" : 255, - "id" : "j6qg8rc6-QOP-jbgdjw90", - "response" : - { "name" : "FAVOURITE_CHARACTERS101", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } }, - - { "componentType" : "InputNumber", - "min" : 0, - "max" : 120, - "decimals" : 0, - "id" : "j6qg8rc6-QOP-jbgd2wgf", - "response" : - { "name" : "FAVOURITE_CHARACTERS102", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ] ], - "lines" : - { "min" : 1, - "max" : 10 } } ] }, - - { "id" : "j6z12s2d", - "componentType" : "Sequence", - "label" : "\"VI - Comment\"", - "conditionFilter" : "\"normal\"", - "components" : - [ - { "id" : "j6z0z3us", - "componentType" : "Textarea", - "mandatory" : false, - "maxLength" : 255, - "label" : "\"➡ 1. Do you have any comment about the survey?\"", - "conditionFilter" : "\"normal\"", - "response" : - { "name" : "SURVEY_COMMENT", - "valueState" : - [ - { "valueType" : "PREVIOUS", - "value" : null }, - - { "valueType" : "COLLECTED", - "value" : null }, - - { "valueType" : "FORCED", - "value" : null }, - - { "valueType" : "EDITED", - "value" : null }, - - { "valueType" : "INPUTED", - "value" : null } ] } } ] } ], - "variables" : - [ - { "variableType" : "EXTERNAL", - "name" : "LAST_BROADCAST", - "value" : null }, - - { "variableType" : "COLLECTED", - "name" : "COMMENT", - "responseRef" : "COMMENT" }, - - { "variableType" : "COLLECTED", - "name" : "READY", - "responseRef" : "READY" }, - - { "variableType" : "COLLECTED", - "name" : "PRODUCER", - "responseRef" : "PRODUCER" }, - - { "variableType" : "COLLECTED", - "name" : "SEASON_NUMBER", - "responseRef" : "SEASON_NUMBER" }, - - { "variableType" : "COLLECTED", - "name" : "DATEFIRST", - "responseRef" : "DATEFIRST" }, - - { "variableType" : "COLLECTED", - "name" : "AUDIENCE_SHARE", - "responseRef" : "AUDIENCE_SHARE" }, - - { "variableType" : "COLLECTED", - "name" : "CITY", - "responseRef" : "CITY" }, - - { "variableType" : "COLLECTED", - "name" : "MAYOR", - "responseRef" : "MAYOR" }, - - { "variableType" : "COLLECTED", - "name" : "STATE", - "responseRef" : "STATE" }, - - { "variableType" : "COLLECTED", - "name" : "PET1", - "responseRef" : "PET1" }, - - { "variableType" : "COLLECTED", - "name" : "PET2", - "responseRef" : "PET2" }, - - { "variableType" : "COLLECTED", - "name" : "PET3", - "responseRef" : "PET3" }, - - { "variableType" : "COLLECTED", - "name" : "PET4", - "responseRef" : "PET4" }, - - { "variableType" : "COLLECTED", - "name" : "ICE_FLAVOUR1", - "responseRef" : "ICE_FLAVOUR1" }, - - { "variableType" : "COLLECTED", - "name" : "ICE_FLAVOUR2", - "responseRef" : "ICE_FLAVOUR2" }, - - { "variableType" : "COLLECTED", - "name" : "ICE_FLAVOUR3", - "responseRef" : "ICE_FLAVOUR3" }, - - { "variableType" : "COLLECTED", - "name" : "ICE_FLAVOUR4", - "responseRef" : "ICE_FLAVOUR4" }, - - { "variableType" : "COLLECTED", - "name" : "NUCLEAR_CHARACTER1", - "responseRef" : "NUCLEAR_CHARACTER1" }, - - { "variableType" : "COLLECTED", - "name" : "NUCLEAR_CHARACTER2", - "responseRef" : "NUCLEAR_CHARACTER2" }, - - { "variableType" : "COLLECTED", - "name" : "NUCLEAR_CHARACTER3", - "responseRef" : "NUCLEAR_CHARACTER3" }, - - { "variableType" : "COLLECTED", - "name" : "NUCLEAR_CHARACTER4", - "responseRef" : "NUCLEAR_CHARACTER4" }, - - { "variableType" : "COLLECTED", - "name" : "BIRTH_CHARACTER1", - "responseRef" : "BIRTH_CHARACTER1" }, - - { "variableType" : "COLLECTED", - "name" : "BIRTH_CHARACTER2", - "responseRef" : "BIRTH_CHARACTER2" }, - - { "variableType" : "COLLECTED", - "name" : "BIRTH_CHARACTER3", - "responseRef" : "BIRTH_CHARACTER3" }, - - { "variableType" : "COLLECTED", - "name" : "BIRTH_CHARACTER4", - "responseRef" : "BIRTH_CHARACTER4" }, - - { "variableType" : "COLLECTED", - "name" : "BIRTH_CHARACTER5", - "responseRef" : "BIRTH_CHARACTER5" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES11", - "responseRef" : "PERCENTAGE_EXPENSES11" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES21", - "responseRef" : "PERCENTAGE_EXPENSES21" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES31", - "responseRef" : "PERCENTAGE_EXPENSES31" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES41", - "responseRef" : "PERCENTAGE_EXPENSES41" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES51", - "responseRef" : "PERCENTAGE_EXPENSES51" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES61", - "responseRef" : "PERCENTAGE_EXPENSES61" }, - - { "variableType" : "COLLECTED", - "name" : "PERCENTAGE_EXPENSES71", - "responseRef" : "PERCENTAGE_EXPENSES71" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING11", - "responseRef" : "CLOWNING11" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING12", - "responseRef" : "CLOWNING12" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING21", - "responseRef" : "CLOWNING21" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING22", - "responseRef" : "CLOWNING22" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING31", - "responseRef" : "CLOWNING31" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING32", - "responseRef" : "CLOWNING32" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING41", - "responseRef" : "CLOWNING41" }, - - { "variableType" : "COLLECTED", - "name" : "CLOWNING42", - "responseRef" : "CLOWNING42" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL11", - "responseRef" : "TRAVEL11" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL12", - "responseRef" : "TRAVEL12" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL13", - "responseRef" : "TRAVEL13" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL14", - "responseRef" : "TRAVEL14" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL15", - "responseRef" : "TRAVEL15" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL16", - "responseRef" : "TRAVEL16" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL21", - "responseRef" : "TRAVEL21" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL22", - "responseRef" : "TRAVEL22" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL23", - "responseRef" : "TRAVEL23" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL24", - "responseRef" : "TRAVEL24" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL25", - "responseRef" : "TRAVEL25" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL26", - "responseRef" : "TRAVEL26" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL31", - "responseRef" : "TRAVEL31" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL32", - "responseRef" : "TRAVEL32" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL33", - "responseRef" : "TRAVEL33" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL34", - "responseRef" : "TRAVEL34" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL35", - "responseRef" : "TRAVEL35" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL36", - "responseRef" : "TRAVEL36" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL41", - "responseRef" : "TRAVEL41" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL42", - "responseRef" : "TRAVEL42" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL43", - "responseRef" : "TRAVEL43" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL44", - "responseRef" : "TRAVEL44" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL45", - "responseRef" : "TRAVEL45" }, - - { "variableType" : "COLLECTED", - "name" : "TRAVEL46", - "responseRef" : "TRAVEL46" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS11", - "responseRef" : "FAVOURITE_CHARACTERS11" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS12", - "responseRef" : "FAVOURITE_CHARACTERS12" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS21", - "responseRef" : "FAVOURITE_CHARACTERS21" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS22", - "responseRef" : "FAVOURITE_CHARACTERS22" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS31", - "responseRef" : "FAVOURITE_CHARACTERS31" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS32", - "responseRef" : "FAVOURITE_CHARACTERS32" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS41", - "responseRef" : "FAVOURITE_CHARACTERS41" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS42", - "responseRef" : "FAVOURITE_CHARACTERS42" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS51", - "responseRef" : "FAVOURITE_CHARACTERS51" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS52", - "responseRef" : "FAVOURITE_CHARACTERS52" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS61", - "responseRef" : "FAVOURITE_CHARACTERS61" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS62", - "responseRef" : "FAVOURITE_CHARACTERS62" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS71", - "responseRef" : "FAVOURITE_CHARACTERS71" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS72", - "responseRef" : "FAVOURITE_CHARACTERS72" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS81", - "responseRef" : "FAVOURITE_CHARACTERS81" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS82", - "responseRef" : "FAVOURITE_CHARACTERS82" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS91", - "responseRef" : "FAVOURITE_CHARACTERS91" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS92", - "responseRef" : "FAVOURITE_CHARACTERS92" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS101", - "responseRef" : "FAVOURITE_CHARACTERS101" }, - - { "variableType" : "COLLECTED", - "name" : "FAVOURITE_CHARACTERS102", - "responseRef" : "FAVOURITE_CHARACTERS102" }, - - { "variableType" : "COLLECTED", - "name" : "SURVEY_COMMENT", - "responseRef" : "SURVEY_COMMENT" }, - - { "variableType" : "CALCULATED", - "name" : "SUM_EXPENSES", - "expression" : "cast(PERCENTAGE_EXPENSES11,number) + cast(PERCENTAGE_EXPENSES21,number) + cast(PERCENTAGE_EXPENSES31,number)+ cast(PERCENTAGE_EXPENSES41,number)+ cast(PERCENTAGE_EXPENSES51,number)+ cast(PERCENTAGE_EXPENSES61,number)+ cast(PERCENTAGE_EXPENSES71,number)+ cast(PERCENTAGE_EXPENSES81,number)+ cast(PERCENTAGE_EXPENSES91,number)+ cast(PERCENTAGE_EXPENSES101,number)" } ] } \ No newline at end of file + "value" : null } ] } } ] ] } ] }, + + { "id" : "j6z12s2d", + "componentType" : "Sequence", + "label" : "\"VI - Comment\"", + "conditionFilter" : "\"normal\"", + "components" : + [ + { "id" : "j6z0z3us", + "componentType" : "Textarea", + "mandatory" : false, + "maxLength" : 255, + "label" : "\"➡ 1. Do you have any comment about the survey?\"", + "conditionFilter" : "\"normal\"", + "response" : + { "name" : "SURVEY_COMMENT", + "valueState" : + [ + { "valueType" : "PREVIOUS", + "value" : null }, + + { "valueType" : "COLLECTED", + "value" : null }, + + { "valueType" : "FORCED", + "value" : null }, + + { "valueType" : "EDITED", + "value" : null }, + + { "valueType" : "INPUTED", + "value" : null } ] } } ] } ], + "variables" : + [ + { "variableType" : "EXTERNAL", + "name" : "LAST_BROADCAST", + "value" : null }, + + { "variableType" : "COLLECTED", + "name" : "COMMENT", + "responseRef" : "COMMENT" }, + + { "variableType" : "COLLECTED", + "name" : "READY", + "responseRef" : "READY" }, + + { "variableType" : "COLLECTED", + "name" : "PRODUCER", + "responseRef" : "PRODUCER" }, + + { "variableType" : "COLLECTED", + "name" : "SEASON_NUMBER", + "responseRef" : "SEASON_NUMBER" }, + + { "variableType" : "COLLECTED", + "name" : "DATEFIRST", + "responseRef" : "DATEFIRST" }, + + { "variableType" : "COLLECTED", + "name" : "AUDIENCE_SHARE", + "responseRef" : "AUDIENCE_SHARE" }, + + { "variableType" : "COLLECTED", + "name" : "CITY", + "responseRef" : "CITY" }, + + { "variableType" : "COLLECTED", + "name" : "MAYOR", + "responseRef" : "MAYOR" }, + + { "variableType" : "COLLECTED", + "name" : "STATE", + "responseRef" : "STATE" }, + + { "variableType" : "COLLECTED", + "name" : "PET1", + "responseRef" : "PET1" }, + + { "variableType" : "COLLECTED", + "name" : "PET2", + "responseRef" : "PET2" }, + + { "variableType" : "COLLECTED", + "name" : "PET3", + "responseRef" : "PET3" }, + + { "variableType" : "COLLECTED", + "name" : "PET4", + "responseRef" : "PET4" }, + + { "variableType" : "COLLECTED", + "name" : "ICE_FLAVOUR1", + "responseRef" : "ICE_FLAVOUR1" }, + + { "variableType" : "COLLECTED", + "name" : "ICE_FLAVOUR2", + "responseRef" : "ICE_FLAVOUR2" }, + + { "variableType" : "COLLECTED", + "name" : "ICE_FLAVOUR3", + "responseRef" : "ICE_FLAVOUR3" }, + + { "variableType" : "COLLECTED", + "name" : "ICE_FLAVOUR4", + "responseRef" : "ICE_FLAVOUR4" }, + + { "variableType" : "COLLECTED", + "name" : "NUCLEAR_CHARACTER1", + "responseRef" : "NUCLEAR_CHARACTER1" }, + + { "variableType" : "COLLECTED", + "name" : "NUCLEAR_CHARACTER2", + "responseRef" : "NUCLEAR_CHARACTER2" }, + + { "variableType" : "COLLECTED", + "name" : "NUCLEAR_CHARACTER3", + "responseRef" : "NUCLEAR_CHARACTER3" }, + + { "variableType" : "COLLECTED", + "name" : "NUCLEAR_CHARACTER4", + "responseRef" : "NUCLEAR_CHARACTER4" }, + + { "variableType" : "COLLECTED", + "name" : "BIRTH_CHARACTER1", + "responseRef" : "BIRTH_CHARACTER1" }, + + { "variableType" : "COLLECTED", + "name" : "BIRTH_CHARACTER2", + "responseRef" : "BIRTH_CHARACTER2" }, + + { "variableType" : "COLLECTED", + "name" : "BIRTH_CHARACTER3", + "responseRef" : "BIRTH_CHARACTER3" }, + + { "variableType" : "COLLECTED", + "name" : "BIRTH_CHARACTER4", + "responseRef" : "BIRTH_CHARACTER4" }, + + { "variableType" : "COLLECTED", + "name" : "BIRTH_CHARACTER5", + "responseRef" : "BIRTH_CHARACTER5" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES11", + "responseRef" : "PERCENTAGE_EXPENSES11" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES21", + "responseRef" : "PERCENTAGE_EXPENSES21" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES31", + "responseRef" : "PERCENTAGE_EXPENSES31" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES41", + "responseRef" : "PERCENTAGE_EXPENSES41" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES51", + "responseRef" : "PERCENTAGE_EXPENSES51" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES61", + "responseRef" : "PERCENTAGE_EXPENSES61" }, + + { "variableType" : "COLLECTED", + "name" : "PERCENTAGE_EXPENSES71", + "responseRef" : "PERCENTAGE_EXPENSES71" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING11", + "responseRef" : "CLOWNING11" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING12", + "responseRef" : "CLOWNING12" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING21", + "responseRef" : "CLOWNING21" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING22", + "responseRef" : "CLOWNING22" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING31", + "responseRef" : "CLOWNING31" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING32", + "responseRef" : "CLOWNING32" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING41", + "responseRef" : "CLOWNING41" }, + + { "variableType" : "COLLECTED", + "name" : "CLOWNING42", + "responseRef" : "CLOWNING42" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL11", + "responseRef" : "TRAVEL11" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL12", + "responseRef" : "TRAVEL12" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL13", + "responseRef" : "TRAVEL13" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL14", + "responseRef" : "TRAVEL14" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL15", + "responseRef" : "TRAVEL15" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL16", + "responseRef" : "TRAVEL16" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL21", + "responseRef" : "TRAVEL21" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL22", + "responseRef" : "TRAVEL22" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL23", + "responseRef" : "TRAVEL23" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL24", + "responseRef" : "TRAVEL24" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL25", + "responseRef" : "TRAVEL25" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL26", + "responseRef" : "TRAVEL26" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL31", + "responseRef" : "TRAVEL31" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL32", + "responseRef" : "TRAVEL32" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL33", + "responseRef" : "TRAVEL33" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL34", + "responseRef" : "TRAVEL34" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL35", + "responseRef" : "TRAVEL35" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL36", + "responseRef" : "TRAVEL36" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL41", + "responseRef" : "TRAVEL41" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL42", + "responseRef" : "TRAVEL42" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL43", + "responseRef" : "TRAVEL43" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL44", + "responseRef" : "TRAVEL44" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL45", + "responseRef" : "TRAVEL45" }, + + { "variableType" : "COLLECTED", + "name" : "TRAVEL46", + "responseRef" : "TRAVEL46" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS11", + "responseRef" : "FAVOURITE_CHARACTERS11" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS12", + "responseRef" : "FAVOURITE_CHARACTERS12" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS21", + "responseRef" : "FAVOURITE_CHARACTERS21" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS22", + "responseRef" : "FAVOURITE_CHARACTERS22" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS31", + "responseRef" : "FAVOURITE_CHARACTERS31" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS32", + "responseRef" : "FAVOURITE_CHARACTERS32" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS41", + "responseRef" : "FAVOURITE_CHARACTERS41" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS42", + "responseRef" : "FAVOURITE_CHARACTERS42" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS51", + "responseRef" : "FAVOURITE_CHARACTERS51" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS52", + "responseRef" : "FAVOURITE_CHARACTERS52" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS61", + "responseRef" : "FAVOURITE_CHARACTERS61" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS62", + "responseRef" : "FAVOURITE_CHARACTERS62" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS71", + "responseRef" : "FAVOURITE_CHARACTERS71" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS72", + "responseRef" : "FAVOURITE_CHARACTERS72" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS81", + "responseRef" : "FAVOURITE_CHARACTERS81" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS82", + "responseRef" : "FAVOURITE_CHARACTERS82" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS91", + "responseRef" : "FAVOURITE_CHARACTERS91" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS92", + "responseRef" : "FAVOURITE_CHARACTERS92" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS101", + "responseRef" : "FAVOURITE_CHARACTERS101" }, + + { "variableType" : "COLLECTED", + "name" : "FAVOURITE_CHARACTERS102", + "responseRef" : "FAVOURITE_CHARACTERS102" }, + + { "variableType" : "COLLECTED", + "name" : "SURVEY_COMMENT", + "responseRef" : "SURVEY_COMMENT" }, + + { "variableType" : "CALCULATED", + "name" : "SUM_EXPENSES", + "expression" : "cast(PERCENTAGE_EXPENSES11,number) + cast(PERCENTAGE_EXPENSES21,number) + cast(PERCENTAGE_EXPENSES31,number)+ cast(PERCENTAGE_EXPENSES41,number)+ cast(PERCENTAGE_EXPENSES51,number)+ cast(PERCENTAGE_EXPENSES61,number)+ cast(PERCENTAGE_EXPENSES71,number)+ cast(PERCENTAGE_EXPENSES81,number)+ cast(PERCENTAGE_EXPENSES91,number)+ cast(PERCENTAGE_EXPENSES101,number)" } ] } \ No newline at end of file From 071bdf5f7f8adbb52a6d9e23ccf46c312d9e52b4 Mon Sep 17 00:00:00 2001 From: Laurent Caouissin Date: Tue, 14 Apr 2020 16:25:05 +0200 Subject: [PATCH 6/6] Change version 1.0.1 -> 1.0.2 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6aefae16..15933799 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ fr.insee.lunatic lunatic-model jar - 1.0.1 + 1.0.2 Lunatic Model Classes and converters for the Lunatic model http://www.insee.fr