Validation and transformation of JSON messages

The DataPower® Gateway supports different draft specifications for validating JSON and JSONiq.

  • The DataPower support for JSON schema validation is through the JSON schema specifications. The following specification versions are supported.
    • 2020-12
    • 2019-09
    • draft-07
    • draft-06
    • draft-04
    • draft-03

    For more information, see the documentation on the JSON Schema website.

  • The DataPower support for JSON filtering, query, and extraction is through the implementation of the JSONiq draft specification.
    • JSONiq as defined by draft 0.4.42

The validate action in a processing policy can validate a JSON document against a fixed JSON schema. You can identify the schema with a URL, such as local:///valHigh.jsv, or with a variable that expands to a URL. To specify a variable, use the form var://context/name.