How to check certain segments checked based on their location with QA Checker 3.0

I'd like to apply a length restriction rule only to a specific JSON entry with a unique JSON path. When I set up the parser rules, I defined the JSON strings without length restrictions as paragraphs and the JSON string that has a length restriction as a keyword list.

According to the documentation:

Check the following contexts only (one per line) - If you only want to check certain segments checked based on their location in the document structure, you can specify here what exactly should be checked.

So what exactly do I need to enter in the text box under Check the following contexts only (one per line)?
(I tried both Keyword List and sdl:keywords, but it had no effect.)



Typos fixed
[edited by: Hans Kröger at 9:00 PM (GMT 1) on 7 Jun 2022]
emoji


  • I must admit when I saw this question about JSON | length restriction | context - I have a moment of shock / fright as it's not often I see such requests.

    If my what should be "young brain" serves me well, I maybe able to hep based  on my accumulated experiences to help as I am sure in all my years of support / consultation with other file types like XML I've manged to implement such QA.


    But I would appreciate to put my efforts in the right context. Please may I have an example JSON file with just a line or two of string - by which you want size restriction against context.


    Any details and clarifications would also be appreciated 
    It my be that I could offer support this this using other QA tools & applets.

    Looking forward to your file

    Lyds 

    Oana Nagy | RWS Group

    _____________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji