zscole/ai-poc-daily/json-schema-validator

Claude Code and agent skill by zscole/ai-poc-daily

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Validate JSON objects against schemas with clear error reporting

Install

npx vskill@latest install zscole/ai-poc-daily/json-schema-validator

SKILL.md

JSON Schema Validation

Task Overview

Validate JSON objects against a schema and report all errors clearly.

Core Rules

  1. Check all required fields exist
  2. Validate types match schema
  3. Check string patterns (if specified)
  4. Validate numeric ranges
  5. Recursively validate nested objects

Error Format

Report errors as:

  • Path: field.subfield
  • Issue: what's wrong
  • Expected: what was expected
  • Got: what was received

Common Patterns

  • Email: use regex /^[^@]+@[^@]+\.[^@]+$/
  • Date: ISO 8601 format
  • UUID: 8-4-4-4-12 hex pattern

Edge Cases

  • null vs missing field (different errors)
  • Empty arrays vs missing arrays
  • Extra fields (warn, don't error by default)

Example

Input: {"name": 123, "email": "notanemail"} Schema: {"name": "string", "email": "email"}

Output:

  • Path: name | Issue: wrong type | Expected: string | Got: number
  • Path: email | Issue: invalid format | Expected: email | Got: notanemail

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/zscole/ai-poc-daily/json-schema-validator/badge)](https://verified-skill.com/skills/zscole/ai-poc-daily/json-schema-validator)

Something wrong with this skill or its page? Tell us.