BSD Ports

textproc/py-fastjsonschema 2.22.2 NetBSD

Fastest Python implementation of JSON schema

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
f72f427299
License
modified-bsd
Categories
textproc, python
Package size
53.5 KiB, 359.1 KiB installed

Description

fastjsonschema implements validation of JSON documents by JSON schema. The library implements JSON schema drafts 04, 06 and 07. The main purpose is to have a really fast implementation.

In the other systems

SystemPortVersion
NetBSDtextproc/py-fastjsonschema2.22.2
OpenBSDtextproc/py-fastjsonschema2.21.2
DragonFlydevel/py-fastjsonschema2.19.1_1

Install

Binary package:

pkgin install py311-fastjsonschema

From pkgsrc:

cd /usr/pkgsrc/textproc/py-fastjsonschema && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.22.2
NetBSD 10.1 aarch642.21.2
SmartOS / illumos x86_642.22.2
macOS 15 arm642.22.2

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-fastjsonschema-2.22.2, py313-fastjsonschema-2.22.2, py314-fastjsonschema-2.22.2

Commit history 2

DateCommitCreditsLog message
f72f427299 adam py-fastjsonschema: updated to 2.22.2
2.22.2 * Fixed wrong results of anyOf, oneOf, not, if/then/else, contains and propertyNames when `fast_fail` is off * Fixed collecting errors from subschemas behind `$ref` when `fast_fail` is off * Fixed escaping property name in boolean `dependencies` validation (prevents schema-controlled code injection)
1b6428bd82 adam py-fastjsonschema: updated to 2.22.1
2.22.1 (2026-07-27) * Fixed min Python version 2.22.0 (2026-07-25) * Fixed IPv4 validation (rejecting leading zeros) * Fixed empty items and patternProperties * Fixed protection from deeply nested schemas potentially causing denial of service * Fixed comparing values for enum and const validations * Fixed resolving plain-name ref fragments * Fixed not throwing when unknown format is used * Fixed compilation of not, if/then/else, items, additionalItems, propertyNames and schema dependencies when a subschema generates no validation code * Added option to get all the errors (set `fast_fail` to `False`) * Added basic type hints * Added support of duration and uuid formats from draft-2019