Skip to content

Instantly share code, notes, and snippets.

@eisenjulian
Created June 28, 2017 17:42
Show Gist options
  • Save eisenjulian/1e1a22170b7f1c742f44f8f398e61b98 to your computer and use it in GitHub Desktop.
Save eisenjulian/1e1a22170b7f1c742f44f8f398e61b98 to your computer and use it in GitHub Desktop.
{
"speech": "Sure!",
"contextOut": [
{
"name": "_actions_on_google_",
"lifespan": 100,
"parameters": {}
}
],
"data": {
"google": {
"expectUserResponse": true,
"richResponse": {
"items": [
{
"simpleResponse": {
"textToSpeech": "Sure!",
"displayText": "Sure!"
}
},
{
"simpleResponse": {
"textToSpeech": "The next holiday is in 13 days.\nWhat do you want to do next?",
"displayText": "The next holiday is in 13 days.\nWhat do you want to do next?"
}
}
],
"suggestions": [
{
"title": "Is today a holiday?"
}
]
},
"systemIntent": {
"intent": "actions.intent.OPTION",
"data": {
"@type": "type.googleapis.com/google.actions.v2.OptionValueSpec",
"listSelect": {
"title": "Upcoming holidays",
"items": [
{
"optionInfo": {
"key": "Día de la Independencia",
"synonyms": []
},
"title": "Día de la Independencia",
"description": "Sun Jul 09 2017",
"image": {
"url": "https://placeholdit.imgix.net/~text?txtsize=100&w=200&h=200&bg=ffffff&txtclr=000000&txt=9-7",
"accessibilityText": "9-7"
}
},
{
"optionInfo": {
"key": "Paso a la Inmortalidad del General José de San Martín",
"synonyms": []
},
"title": "Paso a la Inmortalidad del General José de San Martín",
"description": "Mon Aug 21 2017",
"image": {
"url": "https://placeholdit.imgix.net/~text?txtsize=100&w=200&h=200&bg=ffffff&txtclr=000000&txt=21-8",
"accessibilityText": "21-8"
}
},
{
"optionInfo": {
"key": "Día del Respeto a la Diversidad Cultural",
"synonyms": []
},
"title": "Día del Respeto a la Diversidad Cultural",
"description": "Mon Oct 16 2017",
"image": {
"url": "https://placeholdit.imgix.net/~text?txtsize=100&w=200&h=200&bg=ffffff&txtclr=000000&txt=16-10",
"accessibilityText": "16-10"
}
}
]
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment