Skip to content

Instantly share code, notes, and snippets.

@leonmak
Last active September 5, 2022 04:30
Show Gist options
  • Save leonmak/c47b87bbc82b52cfd88a833d0c46303b to your computer and use it in GitHub Desktop.
Save leonmak/c47b87bbc82b52cfd88a833d0c46303b to your computer and use it in GitHub Desktop.
test2.json
[
{
"id": "gender",
"type": "select",
"question": "Gender?",
"options": [
{
"value": "0",
"label": "Decline to answer"
},
{
"value": "1",
"label": "Female"
},
{
"value": "2",
"label": "Male"
}
]
},
{
"id": "ja_pronunciation",
"type": "text",
"question": "フリガナ",
"required": false
},
{
"id": "veteran",
"type": "select",
"question": "Veteran/Disability status?",
"options": [
{
"value": "0",
"label": "Decline to answer"
},
{
"value": "1",
"label": "Disabled Veteran"
},
{
"value": "2",
"label": "Special Disabled Veteran"
},
{
"value": "3",
"label": "Vietnam Era Veteran"
},
{
"value": "4",
"label": "3 Yr. Recently Separated Veteran"
},
{
"value": "5",
"label": "1 Yr. Recently Separated Veteran"
},
{
"value": "6",
"label": "Other Protected Veteran"
},
{
"value": "7",
"label": "Disabled Individual"
},
{
"value": "8",
"label": "Not applicable"
}
],
"required": true
},
{
"id": "felony",
"type": "select",
"question": "Have you ever been convicted of a felony?",
"options": [
{
"value": "0",
"label": "No Answer"
},
{
"value": "1",
"label": "Yes"
},
{
"value": "2",
"label": "No"
}
],
"required": true
},
{
"id": "felonytext",
"type": "textarea",
"question": "If Yes, you have been convicted of a felony, please explain the circumstances around the conviction:"
},
{
"id": "extra",
"type": "text",
"question": "Website Url"
},
{
"id": "multi",
"type": "multiselect",
"question": "Which countries would you relocate to? (you can select multiple)",
"options": [
{
"value": "0",
"label": "United States"
},
{
"value": "1",
"label": "Canada"
},
{
"value": "2",
"label": "Mexico"
},
{
"value": "3",
"label": "Belize"
},
{
"value": "4",
"label": "Other"
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment