1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-jsonschema
7 SDESC[v11]= Alternate implementation of JSON Schema (3.11)
8 SDESC[v12]= Alternate implementation of JSON Schema (3.12)
9 HOMEPAGE= https://github.com/python-jsonschema/jsonschema
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPIWHL/ce/aa/d1bd0b5ec568a903cc3ebcb6b096ab65c1d971c8a01ca3bf3cf788c3c646
14 DISTFILE[1]= jsonschema-4.19.2-py3-none-any.whl:main
19 OPTIONS_AVAILABLE= PY311 PY312
20 OPTIONS_STANDARD= none
21 VOPTS[v11]= PY311=ON PY312=OFF
22 VOPTS[v12]= PY311=OFF PY312=ON
24 DISTNAME= jsonschema-4.19.2.dist-info
28 [PY311].RUN_DEPENDS_ON= python-attrs:single:v11
29 python-jsonschema-specifications:single:v11
30 python-referencing:single:v11
31 python-rpds-py:single:v11
32 [PY311].USES_ON= python:v11,wheel
34 [PY312].RUN_DEPENDS_ON= python-attrs:single:v12
35 python-jsonschema-specifications:single:v12
36 python-referencing:single:v12
37 python-rpds-py:single:v12
38 [PY312].USES_ON= python:v12,wheel
40 [FILE:2758:descriptions/desc.single]
45 |PyPI| |Pythons| |CI| |ReadTheDocs| |Precommit| |Zenodo|
47 jsonschema is an implementation of the [JSON Schema] specification for
52 >>> from jsonschema import validate
54 >>> # A sample schema, like what we'd get from json.load()
56 ... "type" : "object",
58 ... "price" : {"type" : "number"},
59 ... "name" : {"type" : "string"},
63 >>> # If no exception is raised by validate(), the instance is valid.
64 >>> validate(instance={"name" : "Eggs", "price" : 34.99},
68 ... instance={"name" : "Eggs", "price" : "Invalid"}, schema=schema,
70 +IGNORE_EXCEPTION_DETAIL
71 Traceback (most recent call last):
73 ValidationError: 'Invalid' is not of type 'number'
75 It can also be used from the command line by installing `check-jsonschema
76 <https://github.com/python-jsonschema/check-jsonschema>`_.
81 * Full support for `Draft 2020-12
82 <https://python-jsonschema.readthedocs.io/en/latest/api/jsonschema/validators/#jsonschema.validators.Draft202012Validator>`_,
84 <https://python-jsonschema.readthedocs.io/en/latest/api/jsonschema/validators/#jsonschema.validators.Draft201909Validator>`_,
85 [Draft 7], [Draft 6], [Draft 4] and [Draft 3]
87 * [Lazy validation] that can iteratively report *all* validation errors.
89 * [Programmatic querying] of which properties or items failed validation.
94 jsonschema is available on [PyPI]. You can install using [pip]:
98 $ pip install jsonschema
103 Two extras are available when installing the package, both currently
104 related to format validation:
109 They can be used when installing in order to include additional
114 $ pip install jsonschema'[format]'
116 Be aware that the mere presence of these dependencies – or even the
117 specification of format checks in a schema – do *not* activate format
118 checks (as per the specification).
119 Please read the [format validation documentation] for further details.
126 jsonschema is on [GitHub].
128 Get in touch, via GitHub or otherwise, if you've got something to
129 contribute, it'd be most welcome!
131 You can also generally find me on Libera (nick: Julian) in various
132 channels, including ``#python``.
134 If you feel overwhelmingly grateful, you can also [sponsor me].
136 And for companies who appreciate jsonschema and its continued support and
137 growth, jsonschema is also now supportable via [TideLift].
144 eee9e502c788e89cb166d4d37f43084e3b64ab405c795c03d343a4dbc2c810fc 83639 jsonschema-4.19.2-py3-none-any.whl