rac_schema_validator
Validators for RAC-specific JSONSchemas.
Requirements
- Python 3.10 or greater
- jsonschema
- tox (for running tests)
- pre-commit (for running linters before committing)
Installation
The recommended way to install this package is using pip:
pip install rac_schema_validator
After installing pre-commit, install the git-hook scripts:
$ pre-commit install
Usage
This library has one main public method, is_valid(), which takes two required
arguments:
- the data to be validated
- the JSONSchema to validate against
and a third optional argument:
- a base schema to resolve references against (see official docs)
from rac_schema_validator import is_valid
data = {"key": "value" ... }
schema = { ... }
is_valid(data, schema)
Invalid data will raise a rac_schema_validator.exceptions.ValidationError, and
an invalid schema will raise a jsonschema.exceptions.SchemaError.
Tests
rac_schema_validator comes with unit tests as well as linting. The easiest way
to make sure all tests pass is to run tox from the root of the repository.
This will execute all tests, and will also run autopep8 and flake8 linters
against the codebase.
License
Code is released under an MIT license. SeeLICENSE.md.
Metadata
Release files for rac-schema-validator 1.1.7
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 | |
|---|---|---|---|---|
| rac_schema_validator-1.1.7.tar.gz | 4.4 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rac_schema_validator-1.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / rac_schema_validator-1.1.7.tar.gz
| Download URL | rac_schema_validator-1.1.7.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d898c586bfd3ad0fd416bef38f1f9aab0e7125dcd8a8b0eaddd6a6eaec8b01f
|
|
BLAKE2b-256 checksum How to use checksums |
0b7083bc144a6e3d3bb0dffd11666accab19c129d78bad3790c4f10e2f199cb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 21, 2026.
Transparency logRelease files / rac_schema_validator-1.1.7-py3-none-any.whl
| Download URL | rac_schema_validator-1.1.7-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc27530c14fb58b0f9b1c10c999a08aed21d9d1faf127f382ee1ad5ad2a80276
|
|
BLAKE2b-256 checksum How to use checksums |
fa1085e03a6c384e35caca1a0c7a38d4e58f3293322a2072d196621a658ea5b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 21, 2026.
Transparency logSecurity for rac-schema-validator 1.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for rac_schema_validator-1.1.7.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 Oct 21, 2026.
Transparency logA 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.