Advertisement
Guest User

SmartQuestion

a guest
Dec 15th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. {
  2. success: true,
  3. questions : [
  4. {
  5. category: experience,
  6. question: do you have working experience?
  7. type: radio, // can be freeText, number, Date, multiChoice,
  8. answers : [
  9. {
  10. value: "Yes",
  11. next: year_experience
  12. },
  13. {
  14. value: "No",
  15. next: null, // leave it null to trigger next question
  16. }
  17. ]
  18. },
  19. {
  20. category: year_experience,
  21. question: How long have you been working?,
  22. type: radio,
  23. answers : [
  24. {
  25. value: "less than 1 year",
  26. next: null,
  27. },
  28. ]
  29. }
  30. {
  31. category: salary,
  32. question: Expected Salary?,
  33. type: number,
  34. isLastQuestion: true
  35. }
  36.  
  37. ]
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement