Skip to Main Content
InterSystems Ideas

Have an idea, suggestion, or something that doesn’t work as expected in InterSystems products or services? Share it here on the InterSystems Ideas Portal.

The Ideas Portal is where community members can propose improvements, report bugs, and help influence the product roadmap across InterSystems products and the overall developer experience. 22% of submitted ideas are implemented by InterSystems or members of the Developer Community.

💡 Ideas and bugs are both welcome, no matter how big or small. You can submit feature requests, usability improvements, workflow suggestions, and bug reports. Whether you’re an experienced expert or just getting started, your fresh perspective is valuable.

🛠️ About bugs and fixes. If you have access to InterSystems WRC, please submit bugs there for immediate action. Bug reports submitted through the Ideas Portal are reviewed and tracked, but do not guarantee immediate resolution.

Start by sharing what could be better - the community and our teams will help take it from there.

Status Done by Community
Created by Ashok Kumar T
Created on Jul 1, 2025

IRIS Native JSON Schema Validator

Native JSON schema validator classes in IRIS

1️⃣ Description of the idea

Introduce native JSON Schema validator classes in IRIS that allow developers to validate JSON data against a predefined JSON Schema. This would enable built-in support for structural and semantic validation of JSON payloads, especially in REST APIs.

In the Spec-First approach, automatically apply this validation when the payload/response schema is defined using Swagger.

2️⃣ Who is the target audience?

Backend developers building or consuming REST APIs can easily test utilize this features and validating untrusted input formats

Integration engineers validating external JSON input.

API designers ensuring contract-first development.

QA teams enforcing payload structure compliance.

3️⃣ What problem does it solve?

Currently, IRIS lacks a native way to validate JSON against a schema:

  • Developers must manually write validation logic (e.g., checking required fields, types, formats) - when consuming APIs.

  • There's no standard or reusable way to validate data consistency across APIs

  • External tools or custom libraries must be integrated, increasing complexity and risk

A native JSON Schema validator solves this by:

  • Providing a consistent, reusable, standards-compliant way to validate JSON

  • Simplifying request/response validation for APIs

  • Seamless and default validation implementation is provided with the Spec-First approach, ensuring that JSON payloads are automatically validated based on the schema defined in the Swagger API specification.

4️⃣ How does this impact the efficiency, stability, reliability, etc., of the product?

Efficiency: Reduces boilerplate code for validating API input/output

Stability: Ensures data conforms to expected structure before further processing

Reliability: Improves data quality and error handling

5️⃣ Provide a specific use case or scenario that illustrates how this idea could be used in practice

Validation must be implemented manually in ObjectScript, leading to redundant and error-prone code. With Native JSON Schema Validator The developer simply writes Clear, declarative validation. Safer, more predictable input handling and it helps Rapid API development with built-in schema support

  • ADMIN RESPONSE
    Dec 26, 2025

    Thank you for submitting the idea.

    This idea was implemented by Developer Community member(s). Please check the solution in the comments.

  • Ashok Kumar T
    Dec 26, 2025

    The iris-fastjsonschema application also provides native JSON schema validation.

  • Admin
    Irene Mikhailova
    Dec 26, 2025

    Joshua Brandt, thank you for implementing this idea.

    🖥 Download Joshua's app here: iris-jsonschema