Category "jsonschema"

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