Use the following URL to reference the schema
https://techdev-solutions.github.io/alexa-interaction-model-json-schema/schema.json
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.
Click on the No JSON schema
text at the bottom.
In the popup, select + New Schema Mapping...
.
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
.
Enjoy auto completion, validation and documentation!