Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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).