Skip to content

Components JSON Schema

Travis Tidwell edited this page Jun 30, 2017 · 20 revisions

Every component that can be rendered within a form also adheres to a JSON schema definition used to describe how that component behaves within the form. Below is a list of all Form Components and the JSON schema specification for each component.

Textfield

The textfield component renders a <input type="text" /> input.

Example

{
  "type": "textfield",
  "label": "First Name",
  "key": "firstName",
  "input": true,
  "inputType": "text"
}

JSON Spec

Clone this wiki locally