ranjg-JSON-schema
ranjg is a module to generate random string, JSON object, and so on. The generated values will conform to a schema dictionary specified as argument. For example:
>>> schema = {
>>> 'type': 'number',
>>> 'minimum': 0,
>>> }
>>> ranjg.gen(schema) # -> returns a non-negative float value
But schema used in ranjg does not strictly conform to the JSON schema.
The schema used in ranjg is called ranjg-JSON-schema, which adopts parts of the JSON schema draft 4 and draft 7. In the future, we will increase corresponding keywords and may even adopt our own keywords.
- warning
In the future, partial support for draft 4 will be removed.
The following pages show keywords of ranjg-JSON-schema.