I have many validator which need to be validated but i cannot add that one by one so there is any way where can i have the values as a junk
I'm not sure why you need to use junk values. If you are doing that, you might need to rethink your approach. To answer your question, it is possible to programmatically add values to slot validation.
The interaction model datat is contained in a JSON and the slot validation is a key-value pair in the JSON, so if you have the validation values you'd like to add you could write a script that loops through the values and output the interaction model JSON. To get started, I would recommend adding slot validation from the developer console and inspecting the generated JSON. This can be done from the left side menu by clicking Custom > JSON Editor there you could find the interaction model. When doing this keep in mind the required fields, see here: https://developer.amazon.com/docs/smapi/interaction-model-schema.html#dialog_slot_validations
Newbie Question about OOP 5 Answers
Intent issues 12 Answers