Skip to main content

New feature: the JSON Validator!

· 2 min read
Jelte Bootsma (TNO)
Expert semantic interoperability
Michiel Stornebrink (TNO)
Product owner Semantic Treehouse

JSON Validator

We’re excited to share that our new JSON validator is ready to use! This new validator helps you validate your JSON messages against the agreed schemas in your ecosystem.

With more and more ecosystems relying on JSON to share data, it became essential for us to have a JSON validator in addition to our XML validator. So, we teamed up with a group of students from the University of Groningen, and together we created a first version of this validator.

Here’s what the JSON validator does:

  • Syntax validation: Checks whether th input data is a JSON format.
  • Schema validation: Verifies that each element is in the correct structure and validates the rules for required elements.
  • Business rules validation: Validation of any extra rules that might be specific to your setup. For example, if a certain element is provided then another element is mandatory.

A special thanks to the group of students from the software engineering course at the University of Groningen who worked with us on this new feature as part of their study project. It was a success because the communities Ketenstandaard and SETU are already using the JSON validator, and we’d encourage you to give it a try as well!