{
  "bot": {
    "abortStatement": {
      "messages": [
        {
          "content": "Sorry, I'm not able to assist at this time",
          "contentType": "PlainText"
        }
      ]
    },
    "childDirected": false,
    "clarificationPrompt": {
      "maxAttempts": 2,
      "messages": [
        {
          "content": "I didn't understand you, what would you like to do?",
          "contentType": "PlainText"
        }
      ]
    },
    "description": "Bot to order flowers on the behalf of a user",
    "idleSessionTTLInSeconds": 600,
    "intents": [
      {
        "intentName": "OrderFlowers",
        "intentVersion": "$LATEST"
      }
    ],
    "locale": "en-US",
    "name": "OrderFlowers",
    "voiceId": "Salli"
  },
  "intents": [
    {
      "confirmationPrompt": {
        "maxAttempts": 2,
        "messages": [
          {
            "content": "Okay, your {FlowerType} will be ready for pickup by {PickupTime} on {PickupDate}.  Does this sound okay?",
            "contentType": "PlainText"
          },
          {
            "content": "Okay, your {FlowerType} will be ready for pickup by {PickupTime} on {PickupDate}, and will cost [Price] dollars.  Does this sound okay?",
            "contentType": "PlainText"
          }
        ]
      },
      "description": "Intent to order a bouquet of flowers for pick up",
      "fulfillmentActivity": {
        "type": "ReturnIntent"
      },
      "name": "OrderFlowers",
      "rejectionStatement": {
        "messages": [
          {
            "content": "Okay, I will not place your order.",
            "contentType": "PlainText"
          }
        ]
      },
      "sampleUtterances": [
        "I would like to order some flowers",
        "I would like to buy some flowers",
        "I would like to pick up flowers",
        "I would like to order flowers",
        "I would like to buy flowers",
        "Can I please get flowers",
        "May I please get flowers",
        "I want to place an order",
        "I want to order flowers",
        "I want to buy flowers",
        "May I order flowers",
        "Can I order flowers",
        "Can I buy flowers",
        "Can I get flowers",
        "May I get flowers",
        "May I buy flowers",
        "I want to order",
        "I want flowers",
        "place an order",
        "I want to buy",
        "make an order",
        "order flowers",
        "buy flowers",
        "put an order",
        "can I order",
        "place order",
        "make order",
        "order",
        "buy"
      ],
      "slots": [
        {
          "description": "The time to pick up the flowers",
          "name": "PickupTime",
          "priority": 3,
          "sampleUtterances": [],
          "slotConstraint": "Required",
          "slotType": "AMAZON.TIME",
          "valueElicitationPrompt": {
            "maxAttempts": 2,
            "messages": [
              {
                "content": "At what time do you want the {FlowerType} to be picked up?",
                "contentType": "PlainText"
              },
              {
                "content": "Pick up the {FlowerType} at what time on {PickupDate}?",
                "contentType": "PlainText"
              }
            ]
          }
        },
        {
          "description": "The type of flowers to pick up",
          "name": "FlowerType",
          "priority": 1,
          "sampleUtterances": [
            "I would like to order {FlowerType}"
          ],
          "slotConstraint": "Required",
          "slotType": "FlowerTypes",
          "slotTypeVersion": "$LATEST",
          "valueElicitationPrompt": {
            "maxAttempts": 2,
            "messages": [
              {
                "content": "What type of flowers would you like to order?",
                "contentType": "PlainText"
              }
            ],
            "responseCard": "{\"version\":1,\"contentType\":\"application/vnd.amazonaws.card.generic\",\"genericAttachments\":[{\"imageUrl\":\"https://s3.amazonaws.com/aws-bigdata-blog/artifacts/aws-lex-web-ui/artifacts/flowers.jpeg\",\"subTitle\":\"Pick a Flower Type\",\"title\":\"Flower Types\",\"buttons\":[{\"text\":\"Roses\",\"value\":\"roses\"},{\"text\":\"Lilies\",\"value\":\"lilies\"},{\"text\":\"Tulips\",\"value\":\"tulips\"}]}]}"
          }
        },
        {
          "description": "The date to pick up the flowers",
          "name": "PickupDate",
          "priority": 2,
          "sampleUtterances": [],
          "slotConstraint": "Required",
          "slotType": "AMAZON.DATE",
          "valueElicitationPrompt": {
            "maxAttempts": 2,
            "messages": [
              {
                "content": "What day do you want the {FlowerType} to be picked up?",
                "contentType": "PlainText"
              },
              {
                "content": "Pick up the {FlowerType} at {PickupTime} on what day?",
                "contentType": "PlainText"
              }
            ]
          }
        }
      ]
    }
  ],
  "slot_types": [
    {
      "description": "Types of flowers to pick up",
      "enumerationValues": [
        {
          "value": "tulips"
        },
        {
          "value": "lilies"
        },
        {
          "value": "roses"
        }
      ],
      "name": "FlowerTypes"
    }
  ]
}
