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).

Tool to generate JSON schema from JSON data

We have this json schema draft. I would like to get a sample of my JSON data and generate a …

json validation reflection jsonschema
Generate Json schema from XML schema (XSD)

Does anybody know how to generate a JSON schema from a existing XML schema (XSD file)? Are there any tools …

xml json xsd transform jsonschema
Generate JSON schema from Java class

I have a POJO class: public class Stock { int id; String name; Date date; } Are there any annotations or development …

json jackson jsonschema fasterxml jackson-modules
json schema date-time does not check correctly

I have a JSON and a JSON-schema JSON: { "aaa": "4000-02-01 00:00:00" } JSON-schema: { "$schema": "http://json-schema.org/draft-04/schema", "type": "object", "…

json datetime jsonschema
Generate C# classes from JSON Schema

I'm creating a C# WCF Web Service that return a lot of data in a JSON format. The client is …

.net wcf json jsonschema
How to generate JSON-Schema from Swagger API Declaration

I have Swagger API Declaration for services using Swagger v 1.2 My original feeling about Swagger was, that it is very …

swagger jsonschema
Correct way to define array of enums in JSON schema

I want to describe with JSON schema array, which should consist of zero or more predefined values. To make it …

arrays json enums jsonschema
jsonSchema attribute conditionally required

In jsonSchema you can indicate whether defined fields are mandatory or not using the required attribute: { "$schema": "http://json-schema.org/…

jsonschema
JSON Schema definition for array of objects

I've seen this other question but it's not quite the same, and I feel like my issue is simpler, but …

json jsonschema json-schema-validator
Json Schema example for oneOf objects

I am trying to figure out how oneOf works by building a schema which validates two different object types. For …

json schema jsonschema