validating-json-data

Community

Validate JSON data against schemas with z-schema.

Authorzaggino
Version1.0.0
Installs0

System Documentation

What problem does it solve?

z-schema makes it possible to ensure JSON data conforms to a JSON Schema across drafts 04 through 2020-12, catching type, required, and structural errors before processing.

Core Features & Use Cases

  • Supports validation against JSON Schema drafts 04, 06, 07, 2019-09, and 2020-12, including remote references.
  • Provides detailed error information including paths, codes, and nested inner errors for complex schemas.
  • Works in sync and async modes, with safe (non-throwing) options and optional schema pre-compilation for performance.
  • Use case: validate API payloads, data migrations, and form submissions to enforce schema compliance across environments.

Quick Start

Create a validator with ZSchema.create() and call validate with a sample data object and its schema.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: validating-json-data
Download link: https://github.com/zaggino/z-schema/archive/main.zip#validating-json-data

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.