You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will be very useful for adding surveys, notably the animal survey. The proposed description of a question is:
# json
{"survey": int, # required, which survey, currently no "english" description. Human is 1."group": str, # required, the corresponding question group the question is associated wtih"order": int, # optional, the display index of the question"question_type": str, # required, one of ['SINGLE', 'MULTIPLE', 'TEXT', 'STRING']"question": {
"american": str, # required, can be anything. All questions are relative the american version of a question
...},
"responses": { # required, all keys must exist in "question" and vice versa"american": [str], # required, can be anything
...},
"triggers": [{ # optional, any questions that are triggered if any of a set of responses are selected"triggered_question": str, # the american version of the question to be triggered"triggering_responses": [str] # the responses of self that can trigger "triggered_question"
]}
}
This structure allows for validation against the database. Triggered questions need to be added prior. This format allows for existing questions to be serialized if needed as well.
The text was updated successfully, but these errors were encountered:
This will be very useful for adding surveys, notably the animal survey. The proposed description of a question is:
This structure allows for validation against the database. Triggered questions need to be added prior. This format allows for existing questions to be serialized if needed as well.
The text was updated successfully, but these errors were encountered: