jsonschema
react-jsonschema-form
Our great sponsors
jsonschema | react-jsonschema-form | |
---|---|---|
4 | 30 | |
4,432 | 13,630 | |
1.2% | 1.1% | |
8.8 | 9.1 | |
4 days ago | 7 days ago | |
Python | TypeScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jsonschema
-
Forced to move away from Django template because of nested forms ?
Forms are hard. We use python jsonschema to write our form schemas and validation and use react json schema form for the front end. It's a long time in the making and we still have to write widgets and extensions to get everything we need. Good luck.
-
I wrote okjson - A fast, simple, and pythonic JSON Schema Validator
I had a requirement to process and validate large payloads of JSON concurrently for a web service, initially I implemented it using jsonschema and fastjsonschema but I found the whole JSON Schema Specification to be confusing at times and on top of that wanted better performance. Albeit there are ways to compile/cache the schema, I wanted to move away from the schema specification so I wrote a validation library inspired by the design of tiangolo/sqlmodel (type hints) to solve this problem easier.
-
Validating a YAML file
This is a hard problem, because, if I understand you correctly, you issue is that you are using something like this: https://github.com/Julian/jsonschema, but want to make the error messages more specific. That means you will need to understand the package sufficiently to find out where it is encountering issues and then provide a more human readable error. Definitely doable, but the first piece, understanding the package enough to revise the messages is difficult.
- Simple method for JSON body minimum required keys checking
react-jsonschema-form
-
Framework Interoperable Component Libraries Using Lit Web Components.
I've been very passionate about a project called react-jsonschema-form (github, editor). I personally hate writing forms, and love the idea of serializable components, schema, validation all in one. I've always wanted an alternative to this project that offered an alternative to react, and possibly the ability to render a schema form to static HTML (like ssg).
-
6 Reasons why JSON Schema is worth your time
See their playground app for examples of creating schema driven forms in no time.
-
Making a web UI from Haskell/Servant
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.
-
Can I build single-page apps with core, like react pages without refreshing the site?
For example, I had a requirement for my team recently to be able to build dynamic form UIs, based off a JSON schema. There are heaps of javscript frameworks for this task e.g. react-jsonschema-form, but nothing in nuget or Blazor is going to help there. So you'd have to write all the logic yourself.
-
Why do React frameworks not have testing as a first class concern in their documentation?
React-json-schema form has plenty of tests, using... it looks like react-dom/test-utils
-
Show HN: A Database Generator for EVM with CRUD and On-Chain Indexing
https://github.com/rjsf-team/react-jsonschema-form
YAML-LD (application/ld+yaml) round-trips to JSON-LD (application/ld+json) which round trips to RDF; so W3C Linked Data Signatures / W3C Verified Claims cryptographic signatures verify regardless of graph representation.
YAML-LD > 3.1 JSON vs YAML comparison: https://json-ld.github.io/yaml-ld/spec/#json-vs-yaml
-
Server Sent UI Schema Driven UIs
React Json Schema Form: https://github.com/rjsf-team/react-jsonschema-form
- How to build forms using the schema-first approach in React
-
How I made my first successful open-source project
The most popular package it is being used in currently is react-jsonschema-form, which currently has 11,876 stars on GitHub
-
Are you building custom input components or build them from scratch in every project?
When I used react I used react-jsonschema-form which was awesome. Instead of writing inputs and forms I wrote the shape of that form in schema (or better yet, had my server send the shape of the form from the endpoint so that the front end required no coding). Unfortunately the vue equivalents never got ported to vue3 (and seem abandoned), so I wrote my own. Now I write stuff like:
What are some alternatives?
Cerberus - Lightweight, extensible data validation library for Python
JSONForms - Customizable JSON Schema-based forms with React, Angular and Vue support out of the box.
schema - Schema validation just got Pythonic
react-hook-form - π React Hooks for form state management and validation (Web + React Native)
voluptuous - CONTRIBUTIONS ONLY: Voluptuous, despite the name, is a Python data validation library.
formik - Build forms in React, without the tears π [Moved to: https://github.com/jaredpalmer/formik]
Schematics - Python Data Structures for Humansβ’.
SurveyJS - Free Open-Source JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout that lets you load and run multiple web forms, or build your own self-hosted form management system, retaining all sensitive data on your servers. You have total freedom of choice as to the backend, because any server + database combination is fully compatible.
colander - A serialization/deserialization/validation library for strings, mappings and lists.
formily - π±π 𧩠Cross Device & High Performance Normal Form/Dynamic(JSON Schema) Form/Form Builder -- Support React/React Native/Vue 2/Vue 3
pandera - A light-weight, flexible, and expressive statistical data testing library
react-final-form - π High performance subscription-based form state management for React