./prontouso.com
ALAT DEVELOPER

Validator JSON Schema

Uji dan validasi dokumen data JSON Anda terhadap spesifikasi skema JSON resmi untuk memastikan struktur, tipe data, dan bidang yang diperlukan sesuai aturan.

Status alatBerjalan di browser Anda
Pratinjau

JSON

JSON Schema

Hasil validasi

JSON valid untuk schema ini.

Cara kerja

  1. Masukkan data Anda

    Isi nilai yang diperlukan, tempel teks Anda, atau unggah file yang ingin diproses.

  2. Lihat hasil seketika

    Sebagian besar alat diperbarui secara langsung saat Anda mengetik; beberapa menggunakan satu tombol tindakan.

  3. Gunakan hasil Anda

    Salin, unduh, atau bagikan hasil yang dihasilkan — Anda selalu memiliki kendali penuh atas data Anda.

Privasi dan pemrosesan dataBerjalan secara lokal di browser Anda. Alat ini tidak mengunggah data Anda.

Apa itu Validator JSON Schema?

Paste JSON and a JSON Schema to check common structure rules such as required fields, types, enums, lengths, ranges, array items, and additional properties.

PAHAMI CARA KERJA ALAT

How to validate JSON with a schema

Rules this validator checks

The validator supports common type checks, required object keys, properties, additionalProperties false, enum, const, string length, string pattern, numeric minimum and maximum, array length, and item schemas.

Unsupported schema keywords

Some JSON Schema features are detected but not evaluated, including oneOf, anyOf, allOf, not, $ref, if/then/else, dependencies, patternProperties, and format. When those appear, the tool shows a warning.

Reading errors

  • Each issue includes a JSON path such as $.id or $[1].name.
  • Fix syntax errors before checking schema rules.
  • Treat a warning about unsupported keywords as a reason to use a full validator before production.

Validation notes

Schema validation is only as complete as the rules this tool evaluates. Use a full JSON Schema validator when unsupported keywords are central to your contract.

Pertanyaan yang Sering Diajukan (FAQ)

Does it support $ref?

No. $ref is detected as unsupported and is not resolved, so schemas that rely on references need a full JSON Schema validator.

Does format validate emails or URLs?

No. The format keyword is reported as unsupported. Use pattern or a full validator if format checks matter.

Can it validate tuple arrays?

Yes. When items is an array of schemas, each array position is checked against its matching schema.

Why does valid JSON still show issues?

Valid JSON syntax only means the text parses. Schema validation then checks whether the parsed value follows the schema rules.