Skip to content
Back to skills

Rest Api Response Schema Validator

ASecurity

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.

  • 36 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 2, 2026
ai-agentsgonodegitapisecuritydocumentation

Works with

  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 2, 2026

npx -y skills add agentskillexchange/skills --skill rest-api-response-schema-validator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rest Api Response Schema Validator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rest Api Response Schema Validator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-rest-api-response-schema-validator/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-rest-api-response-schema-validator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "REST API Response Schema Validator"
slug: "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."
github_stars: 14691
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

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/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…