{ } Schemato

Input format

JSON Schema converters

JSON Schema describes a contract: required fields, types, $ref, oneOf. These converters walk that schema and produce code in a target language so you can stop transcribing the contract by hand.

All JSON Schema converters

15 conversions, all live.

Sample JSON Schema

Here's the default sample used across the converter pages. Each tool page has additional real-world samples (User profile, e-commerce order, etc.) you can switch to.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "User",
  "type": "object",
  "properties": {
    "id": { "type": "integer" },
    "name": { "type": "string" },
    "email": { "type": "string", "format": "email" }
  },
  "required": ["id", "name"]
}