Alexa Interaction Model JSON Schema

Use the following URL to reference the schema

        https://techdev-solutions.github.io/alexa-interaction-model-json-schema/schema.json
    

Using the schema in IntelliJ

This tutorial assumes that your model files follow the naming pattern model-*-*.json, e.g. model-en-US.json.

Start by either creating a new model JSON file or opening your existing model file.

Add JSON model to IntelliJ step 1: open file

Click on the No JSON schema text at the bottom.

Add JSON model to IntelliJ step 2: Add new schema

In the popup, select + New Schema Mapping....

Add JSON model to IntelliJ step 3: Fill out new schema properties

Choose a name for the schema, e.g. Alexa Interaction Model. Set the URL to https://techdev-solutions.github.io/alexa-interaction-model-json-schema/schema.json. Choose version 7. Use a file pattern that matches the name of your model files, in our case model-*-*.json.

Add JSON model to IntelliJ step 4: Use schema!

Enjoy auto completion, validation and documentation!