{
  "kind": "acm.FormDefinition",
  "name": "ui_options",
  "jsonSchema": {
    "type": "object",
    "required": [],
    "properties": {
      "testEntityString": {
        "title": "A string",
        "type": "string"
      },
      "testEntityStringSec": {
        "title": "A string sec",
        "type": "string"
      },
      "testEntityStringThird": {
        "title": "A string third",
        "type": "string"
      },
      "testEntityBoolean": {
        "title": "A boolean",
        "type": "boolean"
      },
      "testEntityDouble": {
        "title": "A number",
        "type": "number"
      },
      "testEntityInt": {
        "title": "An integer",
        "type": "integer"
      },
      "testEntityDate": {
        "title": "A date (full)",
        "type": "string",
        "format": "date"
      },
      "testEntityDateSec": {
        "title": "A date (month, year)",
        "type": "string",
        "format": "date"
      },
      "email": {
        "title": "An email",
        "type": "string",
        "format": "email"
      },
      "password": {
        "title": "A password",
        "type": "string",
        "format": "password"
      },
      "formattedNumber": {
        "title": "A formatted number",
        "type": "string"
      },
      "textArea": {
        "title": "A text area",
        "type": "string"
      },
      "computation": {
        "title": "A template string",
        "type": "string",
        "maxLength": 200
      },
      "radio": {
        "type": "boolean",
        "title": "A radio buttons"
      }
    }
  },
  "uiSchema": {
    "ui:order": [
      "testEntityString",
      "testEntityStringSec",
      "testEntityStringThird",
      "testEntityBoolean",
      "helpFiles",
      "testEntityDouble",
      "testEntityInt",
      "testEntityDate",
      "testEntityDateSec",
      "email",
      "password",
      "formattedNumber",
      "textArea",
      "computation",
      "radio"
    ],
    "testEntityString": {
      "ui:help": "This is the `help` text",
      "ui:columns": {
        "xs": "1/-1",
        "sm": "1/6",
        "md": 6
      }
    },
    "testEntityStringSec": {
      "ui:columns": {
        "xs": "1/-1",
        "sm": "1/6",
        "md": 6
      }
    },
    "testEntityStringThird": {
      "ui:columns": {
        "xs": "1/-1",
        "sm": "1/6",
        "md": 6
      }
    },
    "testEntityBoolean": {
      "ui:columns": {
        "xs": "1/-1",
        "sm": "6/-1",
        "md": 6
      }
    },
    "testEntityDouble": {
      "ui:columns": {
        "xs": "1/-1",
        "sm": "1/6",
        "md": 6
      }
    },

    "testEntityInt": {
      "ui:columns": {
        "xs": "1/-1",
        "sm": "6/-1",
        "md": 6
      }
    },

    "testEntityDate": {
      "ui:options": {
        "disableFuture": true
      }
    },

    "testEntityDateSec": {
      "ui:options": {
        "views": "year,month",
        "displayFormat": "MMM/yyyy",
        "min": "01.01.2020",
        "max": "01.01.2021"
      }
    },
    "formattedNumber": {
      "ui:widget": "FormattedNumber"
    },
    "textArea": {
      "ui:widget": "textarea",
      "ui:options": {
        "rowsMax": 20
      }
    },
    "computation": {
      "ui:widget": "TemplateString",
      "ui:valueTemplate": "Email: ${email} - string: ${testEntityString} - Date: ${testEntityDate}"
    },
    "radio": {
      "ui:widget": "radio"
    }
  }
}
