Skip to content

Instantly share code, notes, and snippets.

@dancgray
Created July 1, 2015 10:17
Show Gist options
  • Save dancgray/31ab0a137636d366e858 to your computer and use it in GitHub Desktop.
Save dancgray/31ab0a137636d366e858 to your computer and use it in GitHub Desktop.
// possible schema for adapt-contrib-textinput generic answers
"_answers": {
"type":"array",
"required":false,
"title": "Generic Answers",
"items": {
"type":"array",
"required":false,
"items": {
"type": "string",
"required": true,
"default":"",
"inputType": "Text",
"validators": ["required"],
"help": "Allows answers to be entered in any order. The number of generic answers must match the number of input items."
}
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment