Skip to content

Instantly share code, notes, and snippets.

@dumitruPuggle
Created March 26, 2024 16:39
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 dumitruPuggle/fb62c95e8cdeb116b0c7459eec14df78 to your computer and use it in GitHub Desktop.
Save dumitruPuggle/fb62c95e8cdeb116b0c7459eec14df78 to your computer and use it in GitHub Desktop.
const scores = [
{
"id": "0CzNDSA9VzKc",
"title": "Your work position",
"ref": "de5a158e-65c2-41e7-b901-986167b6212a",
"properties": {
"randomize": false,
"alphabetical_order": false,
"choices": [
{
"id": "DaVEHtW9xyGN",
"ref": "1d49e9a2-5bd7-42e0-a613-3480944f3f59",
"label": "Frontend",
"__mappedScores": {
"score": 5
}
},
{
"id": "zKOIkHD33jDn",
"ref": "2d954b12-f225-4028-a676-069fd10cd782",
"label": "Backend",
"__mappedScores": {
"score": 15
}
}
]
},
"validations": {
"required": false
},
"type": "dropdown"
},
{
"id": "xvjTJ2WvqWSZ",
"title": "Are you good?",
"ref": "01HSR28F99YS1B1N7M0EEG1AF8",
"properties": {
"randomize": false,
"allow_multiple_selection": false,
"allow_other_choice": false,
"vertical_alignment": true,
"choices": [
{
"id": "TzHv5dYRP2Jv",
"ref": "01HSR28F991972QJKMH03Q5K70",
"label": "Yes",
"__mappedScores": {
"score": -20
}
},
{
"id": "zOVLK37qI8EL",
"ref": "01HSR28F99N8XND3G83RVV1ZA9",
"label": "No",
"__mappedScores": {
"score": 10
}
},
{
"id": "bJqL4EWHH8Pe",
"ref": "f5c79d87-7d47-40e7-95e0-0d480a34fa72",
"label": "Maybe",
"__mappedScores": {
"score": -5
}
}
]
},
"validations": {
"required": false
},
"type": "multiple_choice"
},
{
"id": "suoL6ua3lx9M",
"title": "On a scale 1-10, how stupid you are?",
"ref": "4b0e9719-6a77-4388-a0da-52eba5f93f72",
"properties": {
"start_at_one": false,
"steps": 11,
"__opinionScaleMappedScore": [
{
"step": 1,
"score": 1
},
{
"step": 2,
"score": 2
},
{
"step": 3,
"score": 3
},
{
"step": 4,
"score": 4
},
{
"step": 5,
"score": 5
},
{
"step": 6,
"score": 6
},
{
"step": 7,
"score": 7
},
{
"step": 8,
"score": 8
},
{
"step": 9,
"score": 9
},
{
"step": 10,
"score": 10
}
]
},
"validations": {
"required": false
},
"type": "opinion_scale"
},
{
"id": "klOjFLZfYlxW",
"title": "Are you ok?",
"ref": "871c5773-2e77-4102-8d1c-415ccbcac853",
"properties": {
"__yesNoMappedScores": [
{
"choiceBooleanName": true,
"score": 1
},
{
"choiceBooleanName": false,
"score": 0
}
]
},
"validations": {
"required": false
},
"type": "yes_no"
},
[
{
"id": "2RkgqLazV91X",
"title": "Multiple choice group test",
"ref": "050d4e19-4fd9-45e2-b318-8953642798cb",
"properties": {
"randomize": false,
"allow_multiple_selection": false,
"allow_other_choice": false,
"vertical_alignment": true,
"choices": [
{
"id": "ziYp52YV8edU",
"ref": "74c746d4-ff03-4593-a9fe-db1054580ca6",
"label": "Hey 1",
"__mappedScores": {
"score": 1
}
},
{
"id": "uj5OJHYNq9KF",
"ref": "6e30b1a8-03fa-453c-a20f-16debd0ad5e7",
"label": "Hey 2",
"__mappedScores": {
"score": 2
}
},
{
"id": "PhbMHf3j2pnz",
"ref": "1cc365e6-ce01-46aa-bd19-f9ce37bb51d2",
"label": "Hey 3",
"__mappedScores": {
"score": 3
}
}
]
},
"validations": {
"required": false
},
"type": "multiple_choice"
}
]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment