Category "jsonschema"

Explanation of $dynamicRef $dynamicAnchor in Json Schema (as opposed to $ref and $anchor)

Can somebody explain the purpose of the $dynamicRef keyword in JSON Schema For an actual use, see the JSON Schema meta schema itself. It makes use of $dynamicAn

Adding ACL for nested field object in JSON schema object

I am working on specify ACL fields for fields inside objects. I have the validator to check for permission to edit a specific field. For example, the schema loo

I can't install jsonschema with pipenv

I am trying to install jsonschema with pipenv with the command: python3.8 -m pipenv install jsonschema or directly: pipenv install jsonschema and it returns t

How to validate for length of an integer in Json Schema?

Simulator: https://www.jsonschemavalidator.net/s/L3FmJnoE It looks like json schema validation does not check for regex patterns for integers. How to validate f

How to obtain json schema from jsonpaths of all the required fields using java

Say the input is: [{keyname: firstname, path:person.name.firstname,type:string}, {keyname:age, path:person.age,type:number}] Then jsonschema should be generate

Custom property keywords in JSON Schema using Jackson annotations

I would like to create custom property keywords that would be preset in the JSON schema generated using Jackson. This would be something similar to what JsonPro

JSON data enum types

I have a JSON object like this. var data={ "Company" : "XYZ", "company" : ['RX','TX'] } The above json data has 2 keys Company whose type is string and compa

Freeform subobject in json-schema

I am drafting an API documentation with swagger.io and is trying to make it fit to our use case. The system is going to receive and process data from all source

Set default values according to JSON schema automatically

I am using the jsonschema package in python to validate my JSONs. I can set default in jsonschema. Let us assume the following schema: from jsonschema import va

How to convert json schema to avro schema [closed]

My application has been using json schema (org.everit.json.schema.Schema ) to validate JSON messages whether they comply to a particular forma