json-schema-library
json-schema-library copied to clipboard
Remove additional properties
Hi Jozef,
there is an option to remove invalid data in getTemplate https://github.com/sagold/json-schema-library/blob/main/lib/getTemplate.ts#L19. So you can pass in your current data run getTemplate with it, resulting in data that conforms to the json-schema. Would this help your case?
Cheers, Sascha