Top "Jsonschema" questions

A JSON Schema is a JSON document (an object) which defines constraints on what other JSON documents (the instances) should obey; it can also be used to interpret instances so as to provide links to external resources (hyper schema).

Convert a JSON schema to a python class

Is there a python library for converting a JSON schema to a python class definition, similar to jsonschema2pojo -- …

python json jsonschema
JSON Schema - specify field is required based on value of another field

Wondering if this is possible with schema draft 03. I've gotten dependencies working elsewhere, I think there is possibly just some …

json dependencies schema jsonschema
Generating JSON schema from C# class

Is there any way to programmatically generate a JSON schema from a C# class? Something which we can do manually …

c# json jsonschema
How to write a JSON schema for array of objects?

My JSON string would be formatted as: { "count":3, "data":[ { "a":{"ax":1} }, { "b":{"bx":2} }, { "c":{"cx":4} } ] } The data array contains many …

ruby json jsonschema
How to define the min size of array in the json schema

I want to make a schema of json file.It's for an array of products. The json schema is similar …

arrays json jsonschema
Json Schema file extension

Is there any naming convention for a json schema file extension? XML has .xsd (XML Schema Definition), what should json …

json jsonschema
JSON Schema regarding use of $ref

I understand that $ref takes a URI to a json schema to use but where does $ref : "#" point to? Does …

json jsonschema
Java/Android - Validate String JSON against String schema

I am having trouble finding the most simple way to validate a JSON String against a given JSON-schema String (for …

java android json jsonschema
JSON Schema: validate a number-or-null value

Is there a way to enable a JSON schema property to be either a number or null? I am building …

python json api validation jsonschema
Is there a tool to generate a JSON schema from an XML schema through Java?

Is anyone aware of a tool or approach from which we can generate a JSON schema from XML schema or …

java xml json xsd jsonschema