{
  "JSONSchema": {
    "title": "Custom validation",
    "description": "This form defines custom validation rules checking that the two passwords match.",
    "type": "object",
    "properties": {
      "pass1": {
        "title": "Password",
        "type": "string",
        "minLength": 3
      },
      "pass2": {
        "title": "Repeat password",
        "type": "string",
        "minLength": 3
      }
    }
  },
  "UISchema": {
    "pass1": {
      "ui:widget": "password"
    },
    "pass2": {
      "ui:widget": "password"
    }
  },
  "formData": { }
}
