---
title: "REST API Response Schema Validator"
description: "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."
verification: "security_reviewed"
source: "https://github.com/ajv-validator/ajv"
author: "Ajv Validator"
category:
  - "Library & API Reference"
framework:
  - "Claude Agents"
tool_ecosystem:
  github_repo: "ajv-validator/ajv"
  github_stars: 14691
  npm_package: "ajv"
  npm_weekly_downloads: 291125331
---

# 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

Choose whichever fits your setup:

1. Copy this skill folder into your local skills directory.
2. Clone the repo and symlink or copy the skill into your agent workspace.
3. Add the repo as a git submodule if you manage shared skills centrally.
4. Install it through your internal provisioning or packaging workflow.
5. Download the folder directly from GitHub and place it in your skills collection.

Install command or upstream instructions:

```
npm install ajv
```

## Documentation

- https://ajv.js.org/

## Source

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