New JSON validation service available

The Test Bed launches a new service to validate JSON content

Published on: 19/05/2020
Last update: 22/04/2021

The Test Bed launches a new JSON validation service and supporting setup guide. A generic validator is also now available for the validation of JSON content against user-provided schemas.


Organisations developing content specifications typically complement them with the validation artefacts needed to facilitate and enable conformance testing. The Test Bed supports this effort by simplifying the creation of standalone validators, services that can be used as-is by a community’s users or as building blocks in complete conformance test scenarios. For specifications based on commonly used content types, notably XML and RDF, the Test Bed has been offering extended support through a configuration-based approach to quickly setup new validator instances (see the XML validation guide and RDF validation guide for further details). This support is now extended to include specifications based on the JavaScript Object Notation (JSON).

The new JSON validation service enables a streamlined approach for the creation of new validators that can benefit from the Test Bed’s infrastructure for hosting and automatic service updates. Validation of content is driven by means of JSON Schema, allowing a flexible configuration for the validation of both syntax and business rules. The resulting validators offer the following key features:

  • Validation by means of web user interface and SOAP API.
  • Configurable validation types, each with its own set of validation artefacts.
  • Support for multiple schemas that can be loaded locally or remotely and combined with various semantics.
  • Support for user-provided extension schemas.
  • Flexible theming to customise the validator’s interface for its target users.
  • Use as standalone services or as validation steps in conformance tests (GITB TDL test cases) running on the Test Bed.

JSON validation guide

To support the new JSON validation service, the Test Bed has made available a new step-by-step guide as part of its online guides.

JSON validation guide

This guide explains the options to consider, the available solutions and offers step-by-step instructions to configure your validator. It serves both as a practical tutorial but also as a user guide and detailed reference of all available configuration options.

Validation guide steps

The new guide is available at

Generic JSON validator

A first validator has already been launched by the Test Bed for the validation of arbitrary JSON content against user-provided schemas. This service is available via web user interface and SOAP API.

Validator input

When using the validator, the user is prompted to provide the content to validate as a file upload, URI reference or by using the provided editor. To proceed with the validation, at least one JSON schema instance needs to be provided with the possibility of providing additional schemas that are combined based on the user’s preference (successful validation against all, any or at most one schema).

The validation results in an overview of validation failures that can also be inspected within the provided content. The report is also made available in XML format for post-processing and PDF.

Validator result

This validator provides a useful tool in itself for but also a flexible building block for scenario-based conformance tests running in the Test Bed that call for the validation of JSON content. 

Further information

For further information on the new validation service be sure to check out the new validation guide. Additional information and resources on the Test Bed itself can be found on its Joinup space with its value proposition being a good starting point. Finally, to remain updated of all the latest Test Bed news:

  • Join the Test Bed’s community and subscribe to its news feed using your favourite RSS reader.
  • Follow ISA²'s social media channels (Twitter, LinkedIn) for updates on the Test Bed and other interoperability solutions.

Referenced solution