Skip to content

Instantly share code, notes, and snippets.

Created February 23, 2017 21:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/8f1c111ab2c02681ac150ea6d3f5f180 to your computer and use it in GitHub Desktop.
Save anonymous/8f1c111ab2c02681ac150ea6d3f5f180 to your computer and use it in GitHub Desktop.
{
"SurveyID": "SV_eFjHq9W5eLCeJI9",
"Element": "SQ",
"PrimaryAttribute": "QID6",
"SecondaryAttribute": "This is a mcsa question with a text entry component.\u00a0 What kind of fruit do you like most?",
"TertiaryAttribute": null,
"Payload": {
"QuestionText": "This is a mcsa question with a text entry component.&nbsp;<div><br><\/div><div>What kind of fruit do you like most?<\/div>",
"DataExportTag": "Q6",
"QuestionType": "MC",
"Selector": "SAVR",
"SubSelector": "TX",
"Configuration": {
"QuestionDescriptionOption": "UseText"
},
"QuestionDescription": "This is a mcsa question with a text entry component.\u00a0 What kind of fruit do you like most?",
"Choices": {
"1": {
"Display": "Orange-colored Fruit"
},
"2": {
"Display": "Yellow-colored Fruit"
},
"3": {
"Display": "Pink-colored Fruit"
},
"4": {
"Display": "Blue-colored Fruit"
},
"5": {
"Display": "Other, please specify:",
"TextEntry": "true"
}
},
"ChoiceOrder": [
1,
2,
3,
4,
5
],
"Validation": {
"Settings": {
"ForceResponse": "OFF",
"ForceResponseType": "ON",
"Type": "None"
}
},
"RecodeValues": {
"1": "16753920",
"2": "16776960",
"3": "16738740",
"4": "255",
"5": "1677721500000000"
},
"Language": [
],
"QuestionID": "QID6"
}
},
@samrocksc
Copy link

Heya! just wanted to say I love your document, it's helping me out a lot, one option that is available here is also the option for variableNaming which coincides with recode values:

"VariableNaming": {
          "1": "color1Fruit",
          "2": "color2Fruit",
          "3": "color3Fruit",
          "4": "color4Fruit",
          "5": "color5Fruit",
        }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment