A Robot Framework library for JSON Schema validation
Provides a simple interface to jsonschema, the Python implementation of JSON Schema.
Usage
The library needs access to the file system location of the schemas, in order to resolve references between schemas. Default is a subdirectory called schemas - you could make a symlink here to wherever the schema definition files are:
Library JSONSchemaLibrary /path/to/schemas
...
My Test Case:
Validate Json schema_name.schema.json {"foo": "bar"}
Per default, only prints the validation error message when there’s an error. Run with log level DEBUG in order to see more info, including a dump of the schema, in the Robot Framework logs.
Development
$ pybot --pythonpath . tests
Todo
HTTP resolver
Metadata
Release files for robotframework-jsonschemalibrary 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| robotframework-jsonschemalibrary-1.0.tar.gz | 2.4 kB | Without provenance | Details for robotframework-jsonschemalibrary-1.0.tar.gz |
Release files / robotframework-jsonschemalibrary-1.0.tar.gz
| Download URL | robotframework-jsonschemalibrary-1.0.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e52a00c8d8155b9c99d130da8360a7a692b19d292af1c58f0bf433df81df833b
|
|
BLAKE2b-256 checksum How to use checksums |
e60d5d4162af1b87260f633cbd402cbe4bd263efa057bb9799c97e8e5676b241
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for robotframework-jsonschemalibrary 1.0
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.