Skip to main content

📘 robotframework-jsonschemavalidator

A lightweight and extensible JSON Schema validation library for use in Robot Framework test suites.
Designed for clarity, reliability, and maintainability, it provides meaningful diagnostics when validating one or multiple JSON documents.


🚀 Overview

robotframework-jsonschemavalidator enables automated test suites to validate JSON payloads using standard JSON Schemas.
It offers configurable validation behavior and clean logging to support both small and large‑scale test automation.

This library focuses on:

  • Clear JSON structure validation
  • Helpful, readable error reporting
  • Easy use within Robot Framework
  • Flexibility for local development and CI/CD environments

See keyword documentation for more information.


✨ Features

  • Schema-based validation using the well‑known jsonschema engine
  • Load schemas from file paths or in‑memory dictionaries
  • Validate single or multiple JSON documents
  • Choose between:
    • Fail‑fast mode for immediate errors
    • Collect‑all mode for batch reporting per test
  • Error reporting includes:
    • Source document identifier
    • JSON path to the error location
    • Failing schema keyword
    • Human‑readable explanation
  • Designed for seamless integration with:
    • Robot Framework
    • CI/CD

📦 Installation

uv add robotframework-jsonschemavalidator

Using poetry

poetry add robotframework-jsonschemavalidator

Using pip

pip install robotframework-jsonschemavalidator

This makes the library available to Robot Framework as:

*** Settings ***
Library    JsonSchemaValidator

🧱 Project Structure

robotframework-jsonschemavalidator/
├─ pyproject.toml
├─ src/
│   └─ JsonSchemaValidator/
│       ├─ __init__.py
│       ├─ JsonSchemaValidator.py   # Core implementation
│       └─ errors.py
└─ tests/
    └─ atest.robot

🧪 Testing & Development

Running Robot Tests

uv run robot tests/

🤝 Contributing

Contributions are encouraged and appreciated.
To contribute:

  1. Fork the repository
  2. Create a feature branch
  3. Commit changes with meaningful messages
  4. Submit a pull request

For major changes, please open an issue to discuss before starting work.

Contributing Guidelines

  • Maintain consistent naming for keywords
  • Keep documentation up to date with new features
  • Include tests for new functionality
  • Follow existing styles for logging and error reporting

Pull requests and issue reports are welcome!


📄 License

Licensed under the Apache License 2.0. See LICENSE.


Author

Mickel Jacobs

Metadata

Release files for robotframework-jsonschemavalidator 1.1.0

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

Source distribution (sdist)

Source distribution for robotframework-jsonschemavalidator 1.1.0
File Size Uploaded Provenance Actions
robotframework_jsonschemavalidator-1.1.0.tar.gz 8.3 kB With provenance Details for robotframework_jsonschemavalidator-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for robotframework-jsonschemavalidator 1.1.0
File Interpreter ABI Platform Actions
robotframework_jsonschemavalidator-1.1.0-py3-none-any.whl Python 3 none any Details for robotframework_jsonschemavalidator-1.1.0-py3-none-any.whl

Total release size: 17.7 kB

Release files / robotframework_jsonschemavalidator-1.1.0.tar.gz

Download URL robotframework_jsonschemavalidator-1.1.0.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2b0ae849c955f63e1f5ab8f59bfe8f860faaa93f177febaa148e78958f5bcffc
BLAKE2b-256 checksum
How to use checksums
93010ca9049fb59d973fd1ec49b375d66c7c4ce461cf190f9fc601e38cedc9e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 11, 2026.

Transparency log

Release files / robotframework_jsonschemavalidator-1.1.0-py3-none-any.whl

Download URL robotframework_jsonschemavalidator-1.1.0-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87cf1f9da0bcf6952f423d852e090de5ca7d125380d46d31debfe671e905389a
BLAKE2b-256 checksum
How to use checksums
5e15b28c1806ab141f53e1c6a22cfb726006b7252842dd3c01ab7e01a953c08a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 11, 2026.

Transparency log

Security for robotframework-jsonschemavalidator 1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for robotframework_jsonschemavalidator-1.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 11, 2026.

Transparency log

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