Skip to content

s1seven/json-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Sep 9, 2024
d3ddf3a · Sep 9, 2024
Aug 9, 2023
Jul 20, 2023
Sep 9, 2024
Jul 20, 2023
Sep 5, 2024
Aug 16, 2023
Aug 3, 2023
Aug 30, 2023
Aug 10, 2023
Sep 9, 2024
Sep 9, 2024
Aug 16, 2023
Jul 20, 2023
Aug 16, 2023
Aug 22, 2023
Aug 10, 2023
Aug 10, 2023

Repository files navigation

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