x9-validate

Validate JSON payloads against the X9.150 OpenAPI schema with Python and jsonschema.

Updated Jan 16, 2026
One-click install
npx skills add https://github.com/carlosnetto/x9.150-py --skill x9-validate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x9-validate
Source: https://github.com/carlosnetto/x9.150-py/tree/main/.claude/skills/x9-validate
Command: npx skills add https://github.com/carlosnetto/x9.150-py --skill x9-validate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jsonschema, PyYAML, referencing, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the validation of JSON payloads against the X9.150 OpenAPI specification, ensuring data integrity and adherence to standards.

Core Features & Use Cases

  • Schema Validation: Verifies JSON payloads against the spec/openapi.yaml schema.
  • Auto-Detection: Intelligently identifies the schema type (PaymentRequest, NotificationPayload, etc.) based on payload structure.
  • Detailed Error Reporting: Provides clear explanations for constraint violations, including field paths, expected vs. actual values, and suggestions for fixes.
  • Use Case: A developer can use this Skill to ensure that a generated payment request JSON adheres to the X9.150 standard before sending it to a payment processor.

Quick Start

Use the x9-validate skill to validate the attached file 'payment_request.json'.

Frequently Asked Questions about x9-validate

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

FAQPage Schema
How do I validate a JSON payload against the X9.150 OpenAPI schema?

To validate a JSON payload against the X9.150 OpenAPI schema, use this Skill to auto-detect the payload type and check it against the specification. It reports constraint violations with field paths, expected values, and fix suggestions.

What payload types does X9.150 schema validation support?

X9.150 schema validation supports PaymentRequest, NotificationPayload, FetchRequestPayload, SignedStatusCodePayload, and Template formats. The validator auto-detects the correct schema type based on the payload structure.

How do I get detailed error explanations for X9.150 validation failures?

To get detailed error explanations for X9.150 validation failures, run the validation script with your JSON file. It outputs clear explanations for constraint violations, including field paths, expected versus actual values, and actionable fix suggestions.

Can I use Python and jsonschema to check payment request JSON before sending it to a processor?

Yes, you can use this Python and jsonschema-based Skill to check payment request JSON. It verifies data integrity against the X9.150 OpenAPI specification, ensuring your payload adheres to standards before reaching the payment processor.

Do I need PyYAML and referencing installed to validate X9.150 payloads?

Yes, you need PyYAML and referencing installed along with jsonschema. These dependencies are required to parse the OpenAPI YAML specification and resolve schema references during the X9.150 payload validation process.