Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Json schema draft-03 is given instead of draft-04 in validation_schemas/alexa_smart_home_message_schema.json in this link - https://github.com/alexa-samples/alexa-smarthome/wiki/Validation-Schemas #202

Open
ashishagarwal7 opened this issue Jun 20, 2024 · 1 comment

Comments

@ashishagarwal7
Copy link

For validation of request and response json schema draft-04 is required as per link 1.
But when matching the schema using link 2 with draft-04 as reference, is showing error however matching with draft-03 as reference, it is showing : No errors found. JSON validates against the schema.

please check which can we use in validation.

link 1: https://github.com/alexa-samples/alexa-smarthome/wiki/Validation-Schemas
link 2: https://www.jsonschemavalidator.net/

draft3 draft4
@ashishagarwal7 ashishagarwal7 changed the title Json schema draft 3 is given instead of draft 4 in this link - https://github.com/alexa-samples/alexa-smarthome/wiki/Validation-Schemas Json schema draft-03 is given instead of draft-04 in validation_schemas/alexa_smart_home_message_schema.json in this link - https://github.com/alexa-samples/alexa-smarthome/wiki/Validation-Schemas Jun 20, 2024
@ashishagarwal7
Copy link
Author

more accurate image of json schema:
draft3
draft4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant