jsonschema-validating

Community

Validate Go data with JSON Schema seamlessly.

Authorkaptinlin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Validate Go data against JSON Schema Draft 2020-12 using github.com/kaptinlin/jsonschema to ensure contract compliance and data integrity across APIs and services.

Core Features & Use Cases

  • Compile JSON schemas from JSON, bytes, or Go structs using programmatic constructors and FromStructT.
  • Validate data: support for JSON strings, Go structs, and maps with detailed error reporting.
  • Unmarshal validated data into Go destinations with defaults applied, enabling safe data hydration across boundaries.
  • Easily generate schemas from struct tags and programmatic definitions for scalable validation strategies.

Quick Start

Import github.com/kaptinlin/jsonschema and start by compiling a schema, then validate your Go data against it.

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: jsonschema-validating
Download link: https://github.com/kaptinlin/gozod/archive/main.zip#jsonschema-validating

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 471,000+ vetted skills library on demand.