@groceristar/json-file-schema-validator
v0.0.8
Published
this module will have set of default tests for JSON files that we have
Downloads
22
Keywords
Readme
This module will have set of default tests for JSON files that we have or that we will generate in future.
Main task is here: https://github.com/GroceriStar/sd/issues/471
We have a few files, stored at https://github.com/ChickenKyiv/awesome-food-db-strucutures/tree/master/USDA-01-06-2019
[ ] add tests
[ ] make it work
[ ] update structure for data and raw folders
[ ] update readme file
[ ] shelljs or shx?
[ ] make jsonlint script works
[ ] remove duplicated data from sd repository
[ ] make it work inside of sd repository and also maybe at generator or at csv-parser
[ ] separate methods for jsonlint into separated file. before it failed for some reasons... and for quick turnaroun i decide to put everything inside src/index
https://jestjs.io/docs/en/es6-class-mocks
https://codewithhugo.com/jest-mock-spy-module-import/
https://luetkemj.github.io/170421/mocking-modules-in-jest
https://github.com/jest-community/awesome-jest https://github.com/JamieMason/expect-more/tree/master/packages/expect-more-jest https://github.com/ChickenKyiv/awesome-food-db-strucutures/tree/master/FAO
JSONLint validator
main goal for this module is to make JSONLint validator more easy and separated. it might be not very important thing for now. But as we separating our sd-wrapper and it can actually reduce logic of main package.
https://www.npmjs.com/package/validate.io-json https://www.npmjs.com/package/amanda https://www.npmjs.com/package/@mojotech/json-type-validation
https://reasonml.chat/t/large-json-schema-usage-with-reason/1432
https://itnext.io/decoding-nested-json-objects-in-reasonml-with-bs-json-4cab75fbe308
https://github.com/Sutor-Design/resources-reasonml
https://www.strv.com/blog/guide-native-reasonml
https://github.com/epoberezkin/ajv
- https://github.com/jest-community/awesome-jest
- https://github.com/JamieMason/expect-more/tree/master/packages/expect-more-jest
- https://github.com/ChickenKyiv/awesome-food-db-strucutures/tree/master/FAO