Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jessealama/argo
JSON Schema Adventures
https://github.com/jessealama/argo
json json-schema racket
Last synced: about 1 month ago
JSON representation
JSON Schema Adventures
- Host: GitHub
- URL: https://github.com/jessealama/argo
- Owner: jessealama
- License: isc
- Created: 2017-07-01T05:12:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-13T12:56:35.000Z (almost 2 years ago)
- Last Synced: 2024-06-19T06:47:42.069Z (6 months ago)
- Topics: json, json-schema, racket
- Language: Racket
- Homepage: http://argojson.com
- Size: 574 KB
- Stars: 17
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Argo: Go forth and validate your JSON
====Argo is a JSON Schema validator for Racket. It aims to adhere to draft 06 of the JSON Schema specification.
The main function is `adheres-to-schema?`. It takes two arguments, both supposed to be [jsexpr?](https://docs.racket-lang.org/json/index.html?q=jsexpr%3F#%28def._%28%28lib._json%2Fmain..rkt%29._jsexpr~3f%29%29) values. The first is the data to validate; the second is the schema. Returns `#t` or `#f` if the data adheres to the given schema.
Argo adheres to version 6 of [JSON Schema](http://json-schema.org). This version is fairly new (released 2017-04-15); a lot of the JSON Schemas out there on the internet are version 4.
Bug reports and feature requests are welcome. You're welcome to use [GitHub issues](https://github.com/jessealama/argo/issues) or reach me by mail at [`[email protected]`](mailto:[email protected]).
To support continued development, you're welcome to [make a donation](https://gum.co/argojson).