# REST API Response Schema Validator

> Validates live API responses against JSON Schema definitions using Ajv (Another JSON Schema Validator). Supports OpenAPI 3.x schema extraction and detects undocumented fields or type mismatches.

- Skill: `tomevault-io/rest-api-response-schema-validator` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/rest-api-response-schema-validator`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/rest-api-response-schema-validator/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/rest-api-response-schema-validator

---


# REST API Response Schema Validator

Validates live API responses against JSON Schema definitions using Ajv (Another JSON Schema Validator). Supports OpenAPI 3.x schema extraction and detects undocumented fields or type mismatches.

## Prerequisites

Node.js

## Installation

Use the upstream install or setup path that matches your environment:
- npm install ajv

Requirements and caveats from upstream:
- The fastest JSON validator for Node.js and browser.
- Supports JSON Schema draft-04/06/07/2019-09/2020-12 ([draft-04 support](https://ajv.js.org/json-schema.html#draft-04) requires ajv-draft-04 package) and JSON Type Definition [RFC8927](https://datatracker.ietf.org/doc/...
- supports [browsers](https://ajv.js.org/guide/environments.html#browsers) and Node.js 18.x - current

Basic usage or getting-started notes:
- [Getting started](https://ajv.js.org/guide/getting-started.html)
- To install version 8:
- ## <a name="usage"></a>Getting started

- Source: https://github.com/ajv-validator/ajv
- Extracted from upstream docs: https://raw.githubusercontent.com/ajv-validator/ajv/HEAD/README.md

## Documentation

- https://ajv.js.org/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/rest-api-response-schema-validator/)

---
> Source: [agentskillexchange/skills](https://github.com/agentskillexchange/skills) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-15 -->

