Metadata-Version: 2.0
Name: jsonvalidate
Version: 0.1.6
Summary: JSON validation Schema
Home-page: https://github.com/robusgauli/jsonvalidate
Author: Robus Gauli
Author-email: robusgauli@gmail.com
License: MIT license
Keywords: jsonvalidate
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: six


# jsonvalidate




<a href="https://travis-ci.org/RobusGauli/jsonvalidate">
    <img src="https://travis-ci.org/RobusGauli/jsonvalidate.svg?branch=master">
</a>

<a href="https://pypi.python.org/pypi/jsonvalidate">
    <img src="https://img.shields.io/pypi/v/jsonvalidate.svg">
</a>

<a href="https://jsonvalidate.readthedocs.io/en/latest/?badge=latest">
    <img src="https://readthedocs.org/projects/jsonvalidate/badge/?version=latest">
</a>


JSON validation Schema


* Free software: MIT license
* Documentation: https://jsonvalidate.readthedocs.io.


Features
--------

```python

schema = Object({
        'name': String(),
        'age': Integer(enums=[5, 6, 7]),
        'address': Object({
            'permanent': String(),
            'temporary': String(min_length=3, enums=['asss', 's'])
        })
    })

    payload = {
        'name': 'robus',
        'age': 342,
        'address': {
            'permanent': 'sd',
            'temporary': 'asss'
        }

    }
    print(schema.check(payload))
   ```


=======
History
=======

0.1.0 (2018-06-08)
------------------

* First release on PyPI.


