How germanbisurgi/jedison works
Jedison is a framework-agnostic JSON Schema form generator and validator. Its principal workflow accepts a schema and initial data, resolves references, builds a form from schema-shaped instances, renders controls with a selected theme, and reports validation errors as users edit. It also supports headless validation and schema generation. The README documents these capabilities; sampled source confirms the validator’s draft and constraint dispatch, reference fetching, and object-child creation, but does not expose all runtime orchestration, so uncertain call links are omitted.
Main entry points: jedison.js Jedison Create · ref-parser.js Reference Parser · validator.js Validator · editor.js Schema Editors
Components 22
Public API
- Jedison Create
src/jedison.js - Library Exports
src/index.js
Schema Processing
- Reference Parser
src/ref-parser/ref-parser.js - JSON Walker
src/json-walker.js - Schema Helpers
src/helpers/schema.js - Schema Generator
src/schema-generator/schema-generator.js
Form Runtime
- Typed Instances
src/instances/instance.js - Object Instance
src/instances/object.js - Schema Editors
src/editors/editor.js - UI Resolver
src/ui-resolver.js
Validation
- Validator
src/validation/validator.js - Schema Drafts
src/validation/drafts/draft-2020-12.js - Constraint Rules
src/validation/constrains/type.js - Translations
src/i18n/translations.js
Presentation
- Theme Renderer
src/themes/theme.js - Bootstrap Themes
src/themes/bootstrap5.js
Other components
- Integrating App
- JSON Schema
- External Schema
- Form User
- Interactive Form
- Errors And Value
Connections 17
- Integrating App → Library Exports: imports
- Integrating App → Jedison Create: creates
- JSON Schema → Jedison Create: configures
- Jedison Create → Interactive Form: renders
- Reference Parser → External Schema: fetches references
- Reference Parser → JSON Walker: traverses schema
- Reference Parser → Schema Helpers: merges schemas
- Object Instance → Typed Instances: creates children
- UI Resolver → Schema Editors: selects editor
- Schema Editors → Theme Renderer: renders controls
- Bootstrap Themes → Theme Renderer: extends
- Form User → Interactive Form: edits
- Validator → Schema Drafts: loads rules
- Validator → Constraint Rules: dispatches constraints
- Validator → Errors And Value: returns errors
- Jedison Create → Schema Generator: exposes generation
- Translations → Errors And Value: localizes messages