Directory

← Back

eco-json-schema-form

Polymer's json schema form builder

Author

Rating

Popularity

<100

[ 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

  • multipleOf
  • maximum
  • exclusiveMaximum
  • minimum
  • exclusiveMinimum

type: string

  • maxLength
  • minLength
  • pattern

type: array

  • items - object
  • items - array
  • additionalItems - boolean
  • additionalItems - object
  • maxItems
  • minItems
  • uniqueItems

type: object

  • maxProperties
  • minProperties
  • required
  • additionalProperties - boolean
  • additionalProperties - object
  • 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
  • title
  • description
  • default
  • format - date-time
  • format - email
  • format - hostname
  • format - ipv4
  • format - ipv6
  • format - uri

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

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
Released
2016-10-29
Maturity
IMPORTED
License
MIT License

Compatibility

Framework
Polymer 1.0+
Browser
Browser Independent

eco-json-schema-form - Vaadin Add-on Directory

Polymer's json schema form builder eco-json-schema-form - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/DimShadoWWW/eco-json-schema-form](https://github.com//DimShadoWWW/eco-json-schema-form/blob/v1.0.0/README.md) on 2019-05-22 ]** eco-json-schema-form =============== [Polymer 1.0 JSON Schema form builder](http://ecoutu.github.io/eco-json-schema-form) ## Description This repository provides elements that take in a [JSON schema](http://json-schema.org/) and generates a DOM tree of inputs linked to the object described by the schema. See the [component page](http://ecoutu.github.io/eco-json-schema-form) 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 `` and `` * 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
Online Demo
Documentation
View on GitHub
GitHub Homepage
Issue tracker

eco-json-schema-form version 0.1.0
### Dependencies * iron-flex-layout#PolymerElements/iron-flex-layout#~1.0.3 * iron-icons#PolymerElements/iron-icons#~1.0.3 * paper-icon-button#PolymerElements/paper-icon-button#~1.0.3 * paper-input#PolymerElements/paper-input#~1.0.14 * polymer#Polymer/polymer#~1.1.4

eco-json-schema-form version 0.2.0
### Dependencies * iron-flex-layout#PolymerElements/iron-flex-layout#~1.0.3 * iron-icons#PolymerElements/iron-icons#~1.0.3 * paper-icon-button#PolymerElements/paper-icon-button#~1.0.3 * paper-input#PolymerElements/paper-input#~1.0.14 * polymer#Polymer/polymer#~1.1.4

eco-json-schema-form version 0.3.0
### Dependencies * iron-flex-layout#PolymerElements/iron-flex-layout#~1.0.3 * iron-icons#PolymerElements/iron-icons#~1.0.3 * paper-icon-button#PolymerElements/paper-icon-button#~1.0.3 * paper-input#PolymerElements/paper-input#~1.0.14 * polymer#Polymer/polymer#~1.1.4

eco-json-schema-form version 0.4.0
### Dependencies * iron-flex-layout#PolymerElements/iron-flex-layout#~1.0.3 * iron-icons#PolymerElements/iron-icons#~1.0.3 * paper-icon-button#PolymerElements/paper-icon-button#~1.0.3 * paper-input#PolymerElements/paper-input#~1.0.14 * polymer#Polymer/polymer#~1.2.1 * paper-checkbox#PolymerElements/paper-checkbox#~1.0.15 * paper-item#PolymerElements/paper-item#~1.1.2 * paper-dropdown-menu#PolymerElements/paper-dropdown-menu#~1.1.0 * paper-menu#PolymerElements/paper-menu#~1.2.0

eco-json-schema-form version 0.5.0
### 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.2.1 * paper-dropdown-menu#PolymerElements/paper-dropdown-menu#^1.2.1 * paper-icon-button#PolymerElements/paper-icon-button#^1.1.1 * paper-input#PolymerElements/paper-input#^1.1.11 * 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.9.2 * polymer#Polymer/polymer#^1.6.0

eco-json-schema-form version 0.5.1
### 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

eco-json-schema-form 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

eco-json-schema-form version 1.0.0
### 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

Online