Locating custom keywords path in json data #1120
              
                Unanswered
              
          
                  
                    
                      adarshasp87
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using custom keywords or vocabulary in JSON schemas to mark fields that require special meaning or processing during later stages of data handling, such as data enrichment or different processing workflows. For example, as shown in the screenshot, the keywords include indexable, hidden, and searchable.
My requirement is to detect these custom keywords or vocabulary in the schema and capture the corresponding paths within the JSON data where these fields are located and the value associated. Note that data can be a complex JSON object
It would be greatly appreciated if anyone has any sample code or guidance on achieving this.
Example schema definition:


Sample data:
Beta Was this translation helpful? Give feedback.
All reactions