Skip to main content

# JSON Validation Schema




<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
from jsonvalidate import Object, String, Integer

schema = Object({
'email': String(regex='[^@]+@[^@]+\.[^@]+'),
'name': String(),
'age': Integer(enums=[5, 6, 7]),
'address': Object({
'permanent': String(),
'temporary': String(min_length=3, enums=['asss', 's'])
})
})

payload = {
'email': 'robus@example.com',
'name': 'robus',
'age': 342,
'address': {
'permanent': 'sd',
'temporary': 'asss'
}

}

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


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

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

* First release on PyPI.


Metadata

Release files for jsonvalidate 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jsonvalidate 0.1.7
File Size Uploaded Provenance Actions
jsonvalidate-0.1.7.tar.gz 15.8 kB Without provenance Details for jsonvalidate-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jsonvalidate 0.1.7
File Interpreter ABI Platform Actions
jsonvalidate-0.1.7-py2.py3-none-any.whl Python 2, Python 3 none any Details for jsonvalidate-0.1.7-py2.py3-none-any.whl

Total release size: 22.6 kB

Release files / jsonvalidate-0.1.7.tar.gz

Download URL jsonvalidate-0.1.7.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3cc62adb9984133073c8da45982a3b8195a8dc053289f20cbad8f03199674705
BLAKE2b-256 checksum
How to use checksums
24cf42584bf63ac03bc95a1fde397ccc11b5aa7a76bfaa482d878ca046e0020e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / jsonvalidate-0.1.7-py2.py3-none-any.whl

Download URL jsonvalidate-0.1.7-py2.py3-none-any.whl
Size 6.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
771c2b0c247966d085efa134b2dc29369e41c4e098162e2cda6aa9e3ac8dd865
BLAKE2b-256 checksum
How to use checksums
a543ca6aa0f8f8288e1d267a11b74f73036112a6ab329139862c3565891062f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for jsonvalidate 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page