github.com/arienmalec/alexa-go@v0.0.0-20181025212142-975687393e90/testdata/alexa_request.json (about)

     1  {
     2    "version": "1.0",
     3    "session": {
     4      "new": true,
     5      "sessionId": "sessionId",
     6      "application": {
     7        "applicationId": "amzn1.ask.skill.someSkill"
     8      },
     9      "user": {
    10        "userId": "amzn1.ask.account.some-account"
    11      }
    12    },
    13    "context": {
    14      "System": {
    15        "application": {
    16          "applicationId": "amzn1.ask.skill.3ebe6200-6118-4ec5-ada0-a57edfad3818"
    17        },
    18        "user": {
    19          "userId": "amzn1.ask.account.user-id"
    20        },
    21        "device": {
    22          "deviceId": "amzn1.ask.device.device-id",
    23          "supportedInterfaces": {}
    24        },
    25        "apiEndpoint": "https://api.amazonalexa.com",
    26        "apiAccessToken": "api-token"
    27      }
    28    },
    29    "request": {
    30      "type": "IntentRequest",
    31      "requestId": "amzn1.echo-api.request.request-id",
    32      "timestamp": "2018-06-30T16:34:34Z",
    33      "locale": "it-IT",
    34      "intent": {
    35        "name": "Intent-Name",
    36        "confirmationStatus": "NONE",
    37        "slots": {
    38          "SLOT_NAME": {
    39            "name": "SLOT_NAME",
    40            "resolutions": {
    41              "resolutionsPerAuthority": [
    42                {
    43                  "authority": "AUTH-1",
    44                  "status": {
    45                    "code": "ER_SUCCESS_MATCH"
    46                  },
    47                  "values": [
    48                    {
    49                      "value": {
    50                        "name": "SLOT_VALUE_0",
    51                        "id": "0"
    52                      }
    53                    },
    54                    {
    55                      "value": {
    56                        "name": "SLOT_VALUE_1",
    57                        "id": "1"
    58                      }
    59                    }
    60  
    61                  ]
    62                }
    63              ]
    64            },
    65            "confirmationStatus": "NONE"
    66          }
    67        }
    68      }
    69    }
    70  }