@s1seven/json-ui
TypeScript icon, indicating that this package has built-in type declarations

0.36.0 • Public • Published

JSON UI

A dynamic user interface for creating JSON documents according to a JSON schema.

JSON UI Screenshot

TODO

  • uniqueItems
  • remove array items

NOT SUPPORTED

  • multiple types
  • nested oneOf, anyOf (think of inferring values)
  • sub-objects within oneOf and anyOf (same reason)
  • null type
  • true | false type
  • inferring oneOf is a bit flawed if additionalProperties is true

Paths

  • Enum: Certificate/Analysis/Inspections/0/ValueType
  • Enum Array: ``

JSON UI decision tree

.
├── string
│   ├── file
│   │   └── file upload
│   │       ├── file type
│   │       └── size requirements
│   ├── enum
│   │   ├── dropdown (one of)
│   │   │   └── search functionality
│   │   ├── radio button
│   │   └── autocomplete
│   ├── date
│   │   └── date picker
│   │       ├── min / max date
│   │       └── time input
│   ├── password
│   │   └── password input
│   ├── color
│   │   └── color picker
│   ├── multiline
│   │   ├── textarea
│   │   │   └── min / max length
│   │   └── wysiwyg editor
│   │       └── ...
│   └── one line
│       └── text input
│           ├── min / max length
│           └── format / mask
│               ├── email
│               ├── password
│               ├── phone
│               ├── zip code
│               └── url
├── number
│   ├── enum
│   │   └── dropdown (single select)
│   ├── number picker
│   │   ├── min / max
│   │   ├── steps
│   │   ├── number format
│   │   └── decimal places
│   └── slider
│       ├── min / max
│       └── steps
├── boolean
│   ├── toggle
│   └── checkbox
├── object
│   └── section
│       ├── title
│       ├── level
│       └── collapsable
└── array
    ├── typed set (many of)
    │   ├── checkbox group
    │   └── multi select dropdown
    └── repeatable field group
        ├── min / max item count
        └── optional item type

Package Sidebar

Install

npm i @s1seven/json-ui

Weekly Downloads

4

Version

0.36.0

License

MIT

Unpacked Size

764 kB

Total Files

43

Last publish

Collaborators

  • christophbuehler
  • eamon0989
  • s1seven-service
  • stiebitzhofer