{
  "metadata": {
    "schemaVersion": "1.0",
    "importType": "LEX",
    "importFormat": "JSON"
  },
  "resource": {
    "name": "HomeImprovementBot",
    "version": "1",
    "intents": [
      {
        "name": "OrderCurtains",
        "version": "6",
        "fulfillmentActivity": {
          "type": "ReturnIntent"
        },
        "sampleUtterances": [
          "what kind of curtains do you have",
          "what styles of curtains do you have",
          "what curtain types do you recommend",
          "do you have any curtains to recommend",
          "do you also have curtains"
        ],
        "slots": [
          {
            "sampleUtterances": [
              "We really like {curtainColor}",
              "{curtainColor} is our favorite color",
              "I think we're inclined towards {curtainColor}"
            ],
            "slotType": "AMAZON.Color",
            "slotConstraint": "Required",
            "valueElicitationPrompt": {
              "messages": [
                {
                  "contentType": "PlainText",
                  "content": "What color curtains would you like? We currently carry Red, Green and Blue."
                }
              ],
              "responseCard": "{\"version\":1,\"contentType\":\"application/vnd.amazonaws.card.generic\"}",
              "maxAttempts": 2
            },
            "priority": 1,
            "name": "curtainColor"
          },
          {
            "sampleUtterances": [
              "definitely {curtainStyle}",
              "let's go with {curtainStyle}",
              "{curtainStyle} for sure"
            ],
            "slotType": "CurtainStyle",
            "slotTypeVersion": "1",
            "slotConstraint": "Required",
            "valueElicitationPrompt": {
              "messages": [
                {
                  "contentType": "PlainText",
                  "content": "What style of curtains are you interested in?"
                }
              ],
              "responseCard": "{\"version\":1,\"contentType\":\"application/vnd.amazonaws.card.generic\",\"genericAttachments\":[]}",
              "maxAttempts": 2
            },
            "priority": 2,
            "name": "curtainStyle"
          }
        ]
      },
      {
        "name": "OrderWindows",
        "version": "10",
        "fulfillmentActivity": {
          "type": "ReturnIntent"
        },
        "sampleUtterances": [
          "replace windows",
          "we are planning to replace our windows",
          "planning to replace windows",
          "order windows",
          "replace our windows",
          "planning to replace our windows",
          "do you have any windows to recommend",
          "what are your suggestions for windows"
        ],
        "slots": [
          {
            "sampleUtterances": [
              "I think {windowMolding} would be great",
              "Let's go with {windowMolding}",
              "What do you think of {windowMolding}"
            ],
            "slotType": "WindowMolding",
            "slotTypeVersion": "1",
            "slotConstraint": "Required",
            "valueElicitationPrompt": {
              "messages": [
                {
                  "contentType": "PlainText",
                  "content": "What kind of molding would you like?"
                }
              ],
              "responseCard": "{\"version\":1,\"contentType\":\"application/vnd.amazonaws.card.generic\",\"genericAttachments\":[]}",
              "maxAttempts": 2
            },
            "priority": 2,
            "name": "windowMolding"
          },
          {
            "sampleUtterances": [
              "We would like to go with {windowPane}",
              "We're thinking about {windowPane}",
              "We would like to go with {windowPane} windows",
              "We're thinking about {windowPane} windows"
            ],
            "slotType": "WindowPane",
            "slotTypeVersion": "1",
            "slotConstraint": "Required",
            "valueElicitationPrompt": {
              "messages": [
                {
                  "contentType": "PlainText",
                  "content": "We have a wide variety of available brands. What type of Window Panes are you looking for?"
                }
              ],
              "responseCard": "{\"version\":1,\"contentType\":\"application/vnd.amazonaws.card.generic\",\"genericAttachments\":[]}",
              "maxAttempts": 2
            },
            "priority": 1,
            "name": "windowPane"
          },
          {
            "sampleUtterances": [],
            "slotType": "WindowSize",
            "slotTypeVersion": "1",
            "slotConstraint": "Required",
            "valueElicitationPrompt": {
              "messages": [
                {
                  "contentType": "PlainText",
                  "content": "What size would you like your windows to be?"
                }
              ],
              "maxAttempts": 2
            },
            "priority": 3,
            "name": "windowSize"
          }
        ]
      }
    ],
    "slotTypes": [
      {
        "name": "WindowMolding",
        "version": "1",
        "enumerationValues": [
          {
            "value": "Ranch",
            "synonyms": [
              "Ranch Style"
            ]
          },
          {
            "value": "Craftsman",
            "synonyms": [
              "Craftsman Style"
            ]
          },
          {
            "value": "Colonial",
            "synonyms": [
              "Colonial Style"
            ]
          }
        ],
        "valueSelectionStrategy": "TOP_RESOLUTION"
      },
      {
        "name": "WindowSize",
        "version": "1",
        "enumerationValues": [
          {
            "value": "Small",
            "synonyms": [
              "S",
              " SM",
              " "
            ]
          },
          {
            "value": "Medium",
            "synonyms": [
              "M",
              " Med",
              " "
            ]
          },
          {
            "value": "Large",
            "synonyms": [
              "L",
              " "
            ]
          }
        ],
        "valueSelectionStrategy": "TOP_RESOLUTION"
      },
      {
        "name": "CurtainStyle",
        "version": "1",
        "enumerationValues": [
          {
            "value": "Victorian",
            "synonyms": [
              "Vicrotian Styl",
              " "
            ]
          },
          {
            "value": "Retro",
            "synonyms": [
              "Retro Style"
            ]
          },
          {
            "value": "Modern",
            "synonyms": [
              "Modern Style",
              " "
            ]
          }
        ],
        "valueSelectionStrategy": "TOP_RESOLUTION"
      },
      {
        "name": "WindowPane",
        "version": "1",
        "enumerationValues": [
          {
            "value": "Tripple",
            "synonyms": [
              "Tripple pane"
            ]
          },
          {
            "value": "Double",
            "synonyms": [
              "Double pane"
            ]
          }
        ],
        "valueSelectionStrategy": "TOP_RESOLUTION"
      }
    ],
    "voiceId": "0",
    "childDirected": false,
    "locale": "en-US",
    "idleSessionTTLInSeconds": 36000,
    "clarificationPrompt": {
      "messages": [
        {
          "contentType": "PlainText",
          "content": "Sorry, can you please repeat that?"
        }
      ],
      "maxAttempts": 5
    },
    "abortStatement": {
      "messages": [
        {
          "contentType": "PlainText",
          "content": "Sorry, I could not understand. Goodbye."
        }
      ]
    }
  }
}