{
  "metadata": {
    "schemaVersion": "1.0",
    "importType": "LEX",
    "importFormat": "JSON"
  },
  "resource": {
    "name": "BusinessMetrics",
    "version": "3",
    "intents": [
      {
        "name": "BusinessMetricsFallback",
        "version": "3",
        "fulfillmentActivity": {
          "type": "ReturnIntent"
        },
        "sampleUtterances": [],
        "slots": [],
        "parentIntentSignature": "AMAZON.FallbackIntent"
      },
      {
        "name": "QuarterDetails",
        "version": "8",
        "fulfillmentActivity": {
          "type": "ReturnIntent"
        },
        "sampleUtterances": [
          "Whats the revenue",
          "Show me total revenue",
          "What were our earnings in {period}",
          "Whats the revenue in {period}"
        ],
        "slots": [
          {
            "sampleUtterances": [],
            "slotType": "Quarter",
            "slotTypeVersion": "1",
            "slotConstraint": "Required",
            "valueElicitationPrompt": {
              "messages": [
                {
                  "contentType": "PlainText",
                  "content": "Which quarter?"
                }
              ],
              "maxAttempts": 2
            },
            "priority": 1,
            "name": "period"
          }
        ]
      },
      {
        "name": "ContactDetails",
        "version": "8",
        "fulfillmentActivity": {
          "type": "ReturnIntent"
        },
        "sampleUtterances": [],
        "slots": [
          {
            "sampleUtterances": [
              "Sure its {emailID}",
              "Sure it is {emailID}"
            ],
            "slotType": "AMAZON.EmailAddress",
            "slotConstraint": "Required",
            "valueElicitationPrompt": {
              "messages": [
                {
                  "contentType": "PlainText",
                  "content": "What is your email ID?"
                }
              ],
              "responseCard": "{\"version\":1,\"contentType\":\"application/vnd.amazonaws.card.generic\"}",
              "maxAttempts": 2
            },
            "priority": 1,
            "name": "emailID"
          },
          {
            "sampleUtterances": [],
            "slotType": "AMAZON.FOUR_DIGIT_NUMBER",
            "slotConstraint": "Required",
            "valueElicitationPrompt": {
              "messages": [
                {
                  "contentType": "PlainText",
                  "content": "What is your ticket number?"
                }
              ],
              "maxAttempts": 2
            },
            "priority": 2,
            "name": "ticketNumber"
          }
        ],
        "conclusionStatement": {
          "messages": [
            {
              "groupNumber": 1,
              "contentType": "PlainText",
              "content": "Thank you. You should get a response soon"
            }
          ]
        }
      },
      {
        "name": "RegionDetails",
        "version": "2",
        "fulfillmentActivity": {
          "type": "ReturnIntent"
        },
        "sampleUtterances": [
          "How much did we sell in {regionName} region",
          "Show me sales for {regionName} region",
          "What were our sales in {regionName} region"
        ],
        "slots": [
          {
            "sampleUtterances": [],
            "slotType": "Region",
            "slotTypeVersion": "1",
            "slotConstraint": "Required",
            "valueElicitationPrompt": {
              "messages": [
                {
                  "contentType": "PlainText",
                  "content": "Which region?"
                }
              ],
              "maxAttempts": 2
            },
            "priority": 1,
            "name": "regionName"
          }
        ]
      }
    ],
    "slotTypes": [
      {
        "description": "quarter",
        "name": "Quarter",
        "version": "1",
        "enumerationValues": [
          {
            "value": "Q1",
            "synonyms": []
          },
          {
            "value": "Q2",
            "synonyms": []
          },
          {
            "value": "Q3",
            "synonyms": []
          },
          {
            "value": "Q4",
            "synonyms": []
          }
        ],
        "valueSelectionStrategy": "ORIGINAL_VALUE"
      },
      {
        "description": "region",
        "name": "Region",
        "version": "1",
        "enumerationValues": [
          {
            "value": "southern",
            "synonyms": []
          },
          {
            "value": "eastern",
            "synonyms": []
          },
          {
            "value": "western",
            "synonyms": []
          },
          {
            "value": "northern",
            "synonyms": []
          }
        ],
        "valueSelectionStrategy": "ORIGINAL_VALUE"
      }
    ],
    "voiceId": "Salli",
    "childDirected": false,
    "locale": "en-US",
    "idleSessionTTLInSeconds": 86400,
    "abortStatement": {
      "messages": [
        {
          "contentType": "PlainText",
          "content": "Sorry, I could not understand. Goodbye."
        }
      ]
    }
  }
}