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

Why is JOI more popular than AJV?

I am deciding on a validation library that I can use for both client and server side validation. I have …

javascript validation jsonschema joi ajv
How do I do a nested list (array) of schema references in json schema that isn't a dictionary

So I have a similiar question (see: How do I do a nested list (array) of schema references in json …

json jsonschema json-schema-validator
How to validate empty array of strings with ajv?

I make json validation with ajv. I need to validate array of strings. I know which elements can be placed …

arrays json validation jsonschema ajv
JSON Schema `required` allows empty string for value

I'm using a JSON schema template to validate the data that is received by an online form. One of the …

json jsonschema json-schema-validator
JSON Schema with dynamic key field in MongoDB

Want to have a i18n support for objects stored in mongodb collection currently our schema is like: { _id: "id" …

mongodb jsonschema
Validating json payload against swagger file - json-schema-validator

I am trying to validate a json payload against a swagger file that contains the service agreement. I am using …

java json swagger jsonschema json-schema-validator