Widget RJSF JSON Data Schema
A field widget (rjsf) that lets users edit a Text field containing JSON using React JSON Schema Form (RJSF) in edit mode. In read-only mode the stored JSON is displayed as a formatted block.
Usage
Apply the widget to any text field in a form view and supply a JSON Schema via the options attribute:
<field
name="json_data"
widget="rjsf"
options='{"schema": {"type": "object",
"properties": {"name": {"type": "string"},
"age": {"type": "integer"}}}}'
/>
Available options
Option |
Type |
Default |
Description |
|---|---|---|---|
schema |
object |
— |
Required. JSON Schema describing the form. |
uiSchema |
object |
{} |
RJSF uiSchema for UI customization. |
liveValidate |
boolean |
false |
Validate against schema on every change. |
omitExtraData |
boolean |
false |
Strip keys not described in the schema on save. |
Features
Edit mode — full RJSF form rendered from the supplied JSON Schema.
Read-only mode — stored JSON displayed as a pretty-printed code block.
Live validation — optional real-time schema validation via ajv8.
No OWL — built on Odoo 14 legacy JS (web.AbstractField).
Self-contained — bundles React 17, @rjsf/core 5, and @rjsf/validator-ajv8 5; no CDN dependency.
Installation
To install this module, you need to:
Clone the branch 14.0 of the repository https://github.com/open-synergy/ssi-web
Add the path to this repository in your configuration (addons-path)
Update the module list (Must be on developer mode)
Go to menu Apps -> Apps -> Main Apps
Search For Widget RJSF JSON Data Schema
Install the module
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.
Credits
Contributors
Andhitia Rama <andhitia.r@gmail.com>
Maintainer
This module is maintained by the PT. Simetri Sinergi Indonesia.
Metadata
Release files for odoo14-addon-ssi-web-widget-rjsf 14.0.1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| odoo14_addon_ssi_web_widget_rjsf-14.0.1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / odoo14_addon_ssi_web_widget_rjsf-14.0.1.0.0-py3-none-any.whl
| Download URL | odoo14_addon_ssi_web_widget_rjsf-14.0.1.0.0-py3-none-any.whl |
|---|---|
| Size | 21.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c6cc22e5a2876d05dc8dd88187f6ab5e03875dce449b546d985f367e2c7e053
|
|
BLAKE2b-256 checksum How to use checksums |
c8189e9af46a45b8b4d34d4d83a285c8d297fab82924e9302c2655f4fa7c8cbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|