Share this link

    Home / Tradeshift Documentation / Tradeshift Partner Apps / Babelway / Chapter 4. Channels

    Common Message Definition Properties

    1191 0 Created on 2020-09-30 13:38:13; Last updated on 2022-07-01 13:01:13

    Message Definition

    This file is Babelway's internal representation of your message definition tree. You can view and modify its contents through here for troubleshooting purposes. However, we highly recommend you use the graphical editor (tree) as this guarantees that all your changes are supported by the platform.

    Validation Mode

    Upon processing a message, the platform will check that it matches the description configured in your message definition tree. The validation mode describes how strictly messages need to comply with your definition in order to be processed.

    By default, loose validation is selected for all new message definitions. The validation modes differ in the way they handle unrecognized fields and loops:

    Strict: 

    • Field Values: Mandatory fields and all value restrictions configured in your message definition tree will be checked. 
    • Structure: Unrecognized fields will trigger an error. 
    • Loops: If applicable, checks that there aren't too few or too many elements in the loop. 

    Loose:

    • Field Values: Mandatory fields and all value restrictions configured in your message definition tree will be checked. 
    • Structure: Unrecognized fields will be ignored and the message will be processed. 
    • Loops: The number of elements in loops aren't checked. 

    Compatibility  (Deprecated):

    This mode is deprecated, please contact support for more information. 

    0 people found this helpful.

    Related Articles