-
ajv
The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
I think you're looking for a json schema validator like Ajv or Zod.
I think you're looking for a json schema validator like Ajv or Zod.
May be quicktype.io?
Here is a TS decorator that can do it for you for nested objects https://github.com/thesmitchuation/ts-pattern-decorators/blob/main/packages/framework/src/Decorators/JsonBuilder/JsonBuilder.ts