Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →
Top 23 TypeScript json-schema Projects
-
I've tried with https://github.com/rjsf-team/react-jsonschema-form ,but the performance is poor when dealing with deep nested form with many inputs.
-
ajv
The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)
Since Fastify supports schema validation with Ajv, the validate module is no longer required on the /shorten route, and we can specify the JSON schema directly on the route. The controllers for both routes will largely remain the same, except that the res parameter is renamed to reply as before:
-
SurveyJS
A Non-Cloud Alternative to Google Forms that has it all.. SurveyJS JavaScript libraries allow you to easily set up a robust form management system fully integrated into your IT infrastructure where users can create and edit multiple dynamic JSON-based forms in a no-code form builder. Learn more now.
-
This is a very intriguing problem!
Not trying to steal thunder, but quicktype (https://github.com/quicktype/quicktype) does all of this–JSON schema or TypeScript definitions to de/serializers and types in nearly 30 languages at this point. Try it here: https://app.quicktype.io
-
formily
📱🚀 🧩 Cross Device & High Performance Normal Form/Dynamic(JSON Schema) Form/Form Builder -- Support React/React Native/Vue 2/Vue 3
Enter Formily, by Alibaba which does exactly the above. With a JSON schema, forms can be generated whilst keeping control of the data model.
-
There's a ton of schema validators out there and most devs have their personal favorite. Mine was zod and is now typebox + ajv.
-
-
-
Amplication
Amplication: open-source Node.js backend code generator. An open-source platform that helps developers build backends without spending time on boilerplate & repetitive coding. Including production-ready GraphQL & REST APIs, DB schema, DTOs, filtering, pagination, RBAC, & more.
-
spectral
A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI v3.1, v3.0, and v2.0 as well as AsyncAPI v2.x.
-
Project mention: Looking for an Android framework for dynamic form creation based on JSON schema | /r/androiddev | 2023-06-04
I'm currently working on an Android app that requires dynamic form creation based on JSON schema. I came across the website jsonforms.io and was impressed by their framework for generating forms from JSON schema.
-
Project mention: Fastify: Support for Auto Type Inference (similar to TRPC) | /r/typescript | 2023-02-16
JSON Schema To TS
-
Project mention: Social engineering campaign targeting tech employees spreads through NPM malware | news.ycombinator.com | 2023-07-25
Wow. There is even one package to not use a JavaScript object: https://www.npmjs.com/package/conf
-
json-schema-ref-parser
Parse, Resolve, and Dereference JSON Schema $ref pointers in Node and browsers
Project mention: Unlocking API Interoperability: Converting OpenAPI to TypeScript JSON Schema | dev.to | 2023-09-04Resolve external/remote $refs and dereference them with @apidevtools/json-schema-ref-parser (resolving $ref's)
-
-
-
-
Project mention: Hegel – An advanced static type checker for JavaScript | news.ycombinator.com | 2022-10-11
In the same vein, shameless plug for my own library, Spartan Schema:
https://github.com/ar-nelson/spartan-schema
It does the same thing as Zod, but is much smaller/simpler and its types always have a JSON representation.
-
Project mention: Making the World (Type) Safe for MongoDB Queries: Papr v11 | news.ycombinator.com | 2023-02-22
-
-
-
jsonschema-key-compression
Compress json-data based on its json-schema while still having valid json
-
-
-
jsonschema
A node package based on jsonschema-rs for performing JSON schema validation (by ahungrynoob)
-
Appwrite
Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!
TypeScript json-schema related posts
- Making a web UI from Haskell/Servant
- Sharing data types on a multi-language project
- Has anybody used Typia library?
- I'm looking to use my openapi spec to dyanamically create types
- How can I get the ingredients and measurements to display from theMealDB JSON?
- Accept only specific keys in JSON or form-data format in express?
- Native JSON Output from GPT-4
-
A note from our sponsor - Sonar
www.sonarsource.com | 24 Sep 2023
Index
What are some of the best open-source json-schema projects in TypeScript? This list will help you:
Project | Stars | |
---|---|---|
1 | react-jsonschema-form | 13,010 |
2 | ajv | 12,807 |
3 | quicktype | 10,570 |
4 | formily | 10,075 |
5 | typebox | 3,347 |
6 | ngx-formly | 2,605 |
7 | json-schema-to-typescript | 2,563 |
8 | spectral | 2,046 |
9 | JSONForms | 1,673 |
10 | json-schema-to-ts | 1,167 |
11 | conf | 1,118 |
12 | json-schema-ref-parser | 850 |
13 | zod-to-json-schema | 496 |
14 | spot | 489 |
15 | suretype | 438 |
16 | spartan-schema | 423 |
17 | papr | 383 |
18 | json-schema-viewer | 131 |
19 | parser-js | 100 |
20 | jsonschema-key-compression | 83 |
21 | json-schema-viewer | 82 |
22 | vscode-factoriomod-debug | 82 |
23 | jsonschema | 50 |