Polymer's json schema form builder
[ This description is mirrored from README.md at github.com/DimShadoWWW/eco-json-schema-form on 2019-05-22 ]
eco-json-schema-form
Polymer 1.0 JSON Schema form builder
Description
This repository provides elements that take in a JSON schema and generates a DOM tree of inputs linked to the object described by the schema.
See the component page for more information.
TODO:
- Being able to set an initial value (eg, providing an instance of the schema for modification) - currently only supports new instances
- Create an element that provides a single entry point, so there is no need to choose between
<eco-json-schema-object>
and<eco-json-schema-array>
- Specifying which fields to show
Supported
wizard:
Including eco-json-schema-wizard.html the first level objects will be treated as wizard pages, with a Next and Previous buttons
type: number
- [x] multipleOf
- [x] maximum
- [x] exclusiveMaximum
- [x] minimum
- [x] exclusiveMinimum
type: string
- [x] maxLength
- [x] minLength
- [x] pattern
type: array
- [x] items - object
- [ ] items - array
- [ ] additionalItems - boolean
- [ ] additionalItems - object
- [ ] maxItems
- [ ] minItems
- [ ] uniqueItems
type: object
- [ ] maxProperties
- [ ] minProperties
- [ ] required
- [ ] additionalProperties - boolean
- [ ] additionalProperties - object
- [x] properties
- [ ] patternProperties
- [ ] dependencies, value is an object
- [ ] dependencies, value is an array
misc
- [ ] enum - number / integer
- [ ] enum - string
- [ ] enum - array
- [ ] enum - object
- [ ] allOf
- [ ] anyOf
- [ ] oneOf
- [ ] not
- [ ] definitions
- [x] title
- [ ] description
- [ ] default
- [x] format - date-time
- [x] format - email
- [ ] format - hostname
- [ ] format - ipv4
- [ ] format - ipv6
- [x] format - uri
Install
Framework Support
Polymer 1.0+
Browser Compatibility
Install with
Run the above Bower command in your project folder.
If you have any issues installing, please
contact the author.
Release notes - Version 0.5.2
Dependencies
- iron-flex-layout#PolymerElements/iron-flex-layout#^1.3.1
- iron-icons#PolymerElements/iron-icons#^1.1.3
- paper-checkbox#PolymerElements/paper-checkbox#^1.4.1
- paper-dropdown-menu#PolymerElements/paper-dropdown-menu#^1.4.1
- paper-icon-button#PolymerElements/paper-icon-button#^1.1.3
- paper-input#PolymerElements/paper-input#^1.1.20
- paper-item#PolymerElements/paper-item#^1.2.1
- paper-menu#PolymerElements/paper-menu#^1.2.2
- paper-input-image#^1.1.1
- app-localize-behavior#^0.10.0
- polymer#Polymer/polymer#^1.7.0
- iron-pages#PolymerElements/iron-pages#^1.0.8
- iron-validator-behavior#PolymerElements/iron-validator-behavior#^1.0.1
- geo-location#^1.0.6
- google-map#GoogleWebComponents/google-map#^1.1.13