I have a requirement where I need to update the schema for Jsonforms. I need to update the schema with more fields and click on update that should inject the updated schema to the Jsonforms. I tried “ajv.addSchema” but it didn’t work. What is the better approach?
[original thread by Chiranjeevi Tapal]
Hi @chiranjeevi-tapal(chiranjeevi-tapal), AJV is just the validation framework. Usually you don’t need to touch it at all. What you need to do instead is to exchange the schema input of JSON Forms.
Based on your other questions I’m assuming you’re using the Angular renderers. Somewhere in your code you’re using JSON Forms, for example like this
Now all you need to do is to update this
schema input on your side.