Skip to main content

Message Validation

Understand Validation Messages

The Debugger will show different types of messages when validating the payload against a JSON Schema.

Data type check

These messages explain when a parameter's expected data type is different from the one found in the payload.

acc must be integer

Structure check

These messages mean that the payload can't be matched to any of the defined payload structures.

must match exactly one schema in oneOf

Usually, these messages are accompanied by one or more messages like the ones below. It doesn't mean all of those parameters are required, rather that one or more of them is missing to match one of the defined payload structures.

must have required property 'ltm'
must have required property 'ref'
must have required property 'sresv'

Forbidden parameter

These messages mean that a certain parameter shouldn't be present considering the defined payload structure.

itemid boolean schema is false

Wrong value

These messages mean that the value of the parameter isn't one of the possible values specified in the JSON Schema.

pgt must be equal to one of the allowed values