UNPKG

@dwp/govuk-casa

Version:

Framework for creating basic GOVUK Collect-And-Submit-Applications

82 lines (74 loc) 1.93 kB
{ "rule": { "dateObject": { "inline": "Enter a valid date", "summary": "Enter a valid date" }, "email": { "inline": "Enter a valid email address", "summary": "Enter a valid email address" }, "inArray": { "inline": "Enter a valid value", "summary": "Enter a valid value" }, "nino": { "inline": "Enter a valid National Insurance number", "summary": "Enter a valid National Insurance number" }, "postalAddressObject": { "group": { "inline": "Enter an address", "summary": "Enter an address" }, "address1": { "inline": "Enter your street/flat/building", "summary": "Enter your street/flat/building" }, "address2": { "inline": "Enter your street/flat/building", "summary": "Enter your street/flat/building" }, "address3": { "inline": "Enter your town", "summary": "Enter your town" }, "address4": { "inline": "Enter your county", "summary": "Enter your county" }, "postcode": { "inline": "Enter a valid postcode", "summary": "Enter a valid postcode" } }, "regex": { "inline": "Information is not correctly formatted", "summary": "Information is not correctly formatted" }, "required": { "inline": "Information is required", "summary": "Information is required" }, "strlen": { "min": { "inline": "Value is too short", "summary": "Value is too short" }, "max": { "inline": "Value is too long", "summary": "Value is too long" } }, "wordCount": { "min": { "inline": "Value is too short", "summary": "Value is too short" }, "max": { "inline": "Value is too long", "summary": "Value is too long" } } } }