swag-for-dev icon indicating copy to clipboard operation
swag-for-dev copied to clipboard

Add JSONSchema validation

Open aslafy-z opened this issue 5 years ago • 7 comments

  • [x] I've checked that this isn't a duplicate issue.

Add a JSONSchema validation to the data.json file.

See an example here: https://json-schema.org/learn/miscellaneous-examples.html

aslafy-z avatar Oct 02 '20 10:10 aslafy-z

Can I pick this up? @aslafy-z

deepankkartikey avatar Oct 02 '20 15:10 deepankkartikey

Sure @deepank120896, my preferred validation library is ajv

vikaspotluri123 avatar Oct 02 '20 15:10 vikaspotluri123

Hey @deepankkartikey , are you working on this?

ritesh-pandey avatar Nov 03 '20 13:11 ritesh-pandey

@ritesh-pandey I'll assign you if you would like 😄

vikaspotluri123 avatar Nov 03 '20 15:11 vikaspotluri123

Sure. Thanks.

ritesh-pandey avatar Nov 04 '20 08:11 ritesh-pandey

Should schema validation be part of test suite?

ritesh-pandey avatar Nov 06 '20 15:11 ritesh-pandey

Yep!

vikaspotluri123 avatar Nov 06 '20 16:11 vikaspotluri123