According to this document Actions on Google - Overview
Google is now using version 2 JSON schema, but the requests my server is receiving from the simulator is version 1. Is there something I need to do to get version 2 JSON schema?
I have updated my gactions project action.json file to the new format and uploaded it.
This is my action.json
{
"actions": [
{
"description": "Default Welcome Intent",
"name": "MAIN",
"fulfillment": {
"conversationName": "welcome"
},
"intent": {
"name": "actions.intent.MAIN"
}
},
{
"description": "Example response",
"name": "Raw input",
"fulfillment": {
"conversationName": "rawInput"
},
"intent": {
"name": "raw.input",
"parameters": [
{
"name": "requestText",
"type": "SchemaOrg_Text"
}
],
"trigger": {
"queryPatterns": [
"$SchemaOrg_Text:requestText"
]
}
}
}
],
"conversations": {
"welcome": {
"name": "welcome",
"url": "https://myserver.com/api/request/gactions",
"fulfillmentApiVersion": 2
},
"rawInput": {
"name": "rawInput",
"url": "https://myserver.com/api/request/gactions",
"fulfillmentApiVersion": 2
}
}
}