{ "title": "A registration form", "description": "A simple form example.", "type": "object", "required": [ "firstName", "lastName", "age", "bio", "telephone" ], "properties": { "firstName": { "type": "string", "title": "First name", "default": "Chuck" }, "lastName": { "type": "string", "title": "Last name", "default": "Norris" }, "age": { "type": "integer", "title": "Age", "default": 83, "minimum": 18, "maximum": 130 }, "bio": { "type": "string", "title": "Bio", "default": "Chuck Norris was once bitten by a poisonous snake. And after a week of excruciating pain, the snake died.", "minLength": 10 }, "telephone": { "type": "string", "title": "Telephone", "pattern": "^(\\+\\d{1,2}\\s)?\\(?\\d{3}\\)?[\\s.-]\\d{3}[\\s.-]\\d{4}$", "validationErrorMessage": "Please provide a valid phone number, for example: +91 (123) 456-7890 or +1 540-555-1234", "default": "1-800-kick-ass" } } }