json
[
{
"name": "schoolName",
"type": "text",
"label": "School name",
"sortOrder": "0",
"validations": [
{
"type": "maxlength",
"error": "School name must not exceed 300 characters",
"value": 300
}
],
"perTicket": false
},
{
"name": "firstName",
"type": "text",
"label": "First name",
"sortOrder": "0",
"validations": [
{
"type": "maxlength",
"error": "First name must not exceed 50 characters",
"value": 50
}
],
"perTicket": false
},
{
"name": "lastName",
"type": "text",
"label": "Last name",
"sortOrder": "0",
"validations": [
{
"type": "maxlength",
"error": "Last name must not exceed 50 characters",
"value": 50
}
],
"perTicket": false
},
{
"name": "email",
"type": "email",
"label": "Email",
"sortOrder": "0",
"infoText": "Make sure this is correct so you'll receive your tickets.",
"validations": [
{
"type": "required",
"error": "Email address is required"
},
{
"type": "email",
"error": "Invalid email address"
},
{
"type": "maxlength",
"error": "Email address must not exceed 255 characters",
"value": 255
},
{
"type": "confirm",
"error": "Email address does not match"
}
],
"perTicket": true
},
{
"name": "address.country",
"type": "country",
"label": "Country",
"sortOrder": "0",
"infoText": "We need your country to determine your available payment methods.",
"items": [
{
"text": "Afghanistan",
"value": "AF"
},
{
"text": "Åland Islands",
"value": "AX"
},
{
"text": "Albania",
"value": "AL"
},
{
"text": "Algeria",
"value": "DZ"
}],
"validations": [
{
"type": "required",
"error": "Please select country"
}
],
"perTicket": false
},
{
"name": "emailOfFinanceDivision",
"type": "email",
"label": "Email of finance division",
"sortOrder": "0",
"validations": [
{
"type": "email",
"error": "Invalid email address"
},
{
"type": "maxlength",
"error": "Email address must not exceed 255 characters",
"value": 255
}
],
"perTicket": false
},
{
"name": "phone",
"type": "phone",
"label": "Phone",
"sortOrder": "0",
"validations": [
{
"type": "phone",
"error": "Invalid phone number"
}
],
"perTicket": true
},
{
"name": "address.number",
"type": "text",
"label": "House number",
"sortOrder": "0",
"validations": [
{
"type": "maxlength",
"error": "House number must not exceed 50 characters",
"value": 50
}
],
"perTicket": false
},
{
"name": "address.street",
"type": "text",
"label": "Street name",
"sortOrder": "0",
"validations": [
{
"type": "maxlength",
"error": "Street name must not exceed 300 characters",
"value": 300
}
],
"perTicket": false
},
{
"name": "address.city",
"type": "text",
"label": "City",
"sortOrder": "0",
"validations": [
{
"type": "maxlength",
"error": "City name must not exceed 50 character",
"value": 50
}
],
"perTicket": false
},
{
"name": "address.postalCode",
"type": "text",
"label": "Postal code",
"sortOrder": "0",
"validations": [
{
"type": "maxlength",
"error": "Postal code must not exceed 20 characters",
"value": 20
}
]
"perTicket": false
},
{
"name": "reasonForVisit",
"type": "textarea",
"label": "Reason for visit",
"sortOrder": "0",
"validations": [
{
"type": "maxlength",
"error": "Reason for visit must not exceed 300 characters",
"value": 300
}
]
"perTicket": true
},
{
"name": "remarks",
"type": "textarea",
"label": "Remarks",
"sortOrder": "0",
"validations": [
{
"type": "maxlength",
"error": "Remarks must not exceed 300 characters",
"value": 300
}
],
"perTicket": false
}
]