Created
December 10, 2014 19:55
-
-
Save JKring/4bc13994fb18abb65c20 to your computer and use it in GitHub Desktop.
prompts. prompts. prompts.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// What we render on list and show endpoints | |
"prompts": [ | |
{ | |
"id": "536936936ffbd9f3d2000011", | |
"kind": "array", | |
"label": "List the stuff we should write about.", | |
"value": ["dogs", "cats", "mice"] | |
}, | |
{ | |
"id": "536936946ffbd9f3d2000038", | |
"kind": "string[255]", | |
"label": "What hash tags should the writer mention?", | |
"value": "#yolo" | |
}, | |
{ | |
"id": "536936946ffbd9f3d2000038", | |
"kind": "checkbox", | |
"options": ["red", "green", "blue", "yellow"], | |
"label": "What are your favorite colors?", | |
"value": ["red", "green"] | |
}, | |
{ | |
"id": "536936946ffbd9f3d2000038", | |
"kind": "radio", | |
"options": ["red", "green", "blue", "yellow"], | |
"label": "No really, what is your favoritist color?", | |
"value": "red" | |
} | |
] | |
// What we accept on create/update endpoints | |
"prompts": [ | |
{ | |
"id": "536936936ffbd9f3d2000011", | |
"value": ["dogs", "cats", "mice"] | |
}, | |
{ | |
"id": "536936946ffbd9f3d2000038", | |
"value": "#yolo" | |
}, | |
{ | |
"id": "536936946ffbd9f3d2000038", | |
"value": ["red", "green"] | |
}, | |
{ | |
"id": "536936946ffbd9f3d2000038", | |
"value": "red" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment