Be more productive with JSON

Describe the shape of your data once. Automatically generate validators and types for any language.

Get Started arrow_forward
properties:
  name:
    type: string
  isAdmin:
    type: boolean
  favoriteNumbers:
    elements:
      type: number
user.schema.yaml
{
  "name": "John Doe",
  "isAdmin": true,
  "favoriteNumbers": [42]
}
check

No errors.

{
  "isAdmin": "yes",
  "favoriteNumbers":
    [0, "42", 1337]
}
close

Three errors:

  1. name is required
  2. isAdmin must be a boolean
  3. favoriteNumbers[1] must be a number

Standardize your JSON data. Enforce your standard anywhere.

Stop writing ad-hoc, repetitive code to check the correctness of payloads. JSON Schema Language lets you describe the shape and type of your data, and generates validators and types for you.

mood
Simple

JSON is great because it's obvious. JSON Schema Language is the same; most engineers understand it without having to read any docs.

Learn JSL in 5 Minutes arrow_forward
devices
Interoperable

JSON Schema Language is a language-independent way of describing JSON data. Use same schema on web and mobile, or across servers written in different languages.

Browse implementations arrow_forward
build
Extensible

Whether it's custom tooling for your company or adding your own validators, JSON Schema Language is easy to build upon or tailor to your needs.

Implementor Quick-Start arrow_forward

Choose from dozens of implementations

Try it live

Write a schema and instance (input) on the left, or choose from one of the presets. Errors will appear on the right.