data-validation

Validate data schemas and record integrity across files, APIs, and application boundaries.

2|1|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/albertdobmeyer/opentrapp --skill data-validation-albertdobmeyer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-validation
Source: https://github.com/albertdobmeyer/opentrapp/tree/main/workloads/skills/skills/data-validation
Command: npx skills add https://github.com/albertdobmeyer/opentrapp --skill data-validation-albertdobmeyer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the guesswork from data validation by helping you define and enforce trustworthy shapes for inputs, outputs, and stored records across APIs, files, and application boundaries.

Core Features & Use Cases

  • Schema Validation: Create and apply JSON Schema rules to verify structure, types, required fields, and constraints.
  • Type-Safe Application Validation: Use Zod for TypeScript and Pydantic for Python to validate API payloads, user input, and computed models.
  • Data Integrity Checks: Inspect CSV and JSON files for column mismatches, duplicate records, missing fields, and migration drift.
  • Use Case: A team migrating customer data can compare source and target exports, detect missing records, and confirm that field values were preserved correctly.

Quick Start

Ask the Skill to validate a JSON or CSV dataset against a schema and report any structural errors, missing fields, or integrity issues.

Frequently Asked Questions about data-validation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate JSON or CSV data against a schema to find structural errors?

You can validate CSV and JSON files by inspecting them for column mismatches, duplicate records, and missing fields. The process checks record integrity and structural consistency across files and application boundaries.

What is the best way to validate API payloads in TypeScript and Python?

The best way to validate API payloads is using Zod for TypeScript and Pydantic for Python. These frameworks enforce strict typing, handle nullable and optional fields, and validate computed models for type-safe application boundaries.

Can I use JSON Schema rules to verify required fields and constraints?

Yes, you can create and apply JSON Schema rules to verify data structure, types, and required fields. This approach enforces trustworthy shapes for inputs, outputs, and stored records across APIs and files.

How do I check data integrity and detect migration drift between source and target exports?

To check data integrity during migrations, compare source and target exports to detect missing records, confirm field values were preserved, and identify migration drift. This includes consistency checks for duplicates, counts, and structural mismatches.

Does Pydantic validation support discriminated unions and strict typing?

Yes, Pydantic validation supports strict typing, discriminated unions, nullable fields, and optional field handling. This ensures type-safe validation for API payloads, user inputs, and computed models across application boundaries.

Why does data validation fail when handling nullable and optional fields across application boundaries?

Data validation fails across application boundaries when strict typing, nullable fields, and optional field handling are not consistently enforced. Applying schema rules with frameworks like Pydantic or Zod resolves these structural mismatches.