{
  "schemaVersion": 1,
  "generatedBy": "generation/forms_p7.py",
  "note": "SAMPLE wording for form validation messages. Fictional product, fictional copy.",
  "messages": [
    {
      "rule": "valueMissing",
      "control": "text",
      "terse": "Enter a value",
      "helpful": "Enter your full name"
    },
    {
      "rule": "valueMissing",
      "control": "checkbox",
      "terse": "Tick this box",
      "helpful": "Confirm you have read the sample terms to continue"
    },
    {
      "rule": "typeMismatch",
      "control": "email",
      "terse": "Invalid email",
      "helpful": "Enter an email address in the form name@example.com"
    },
    {
      "rule": "typeMismatch",
      "control": "url",
      "terse": "Invalid URL",
      "helpful": "Enter a web address beginning with https://"
    },
    {
      "rule": "patternMismatch",
      "control": "text",
      "terse": "Wrong format",
      "helpful": "Enter the reference as NX- followed by four digits and two capitals"
    },
    {
      "rule": "tooShort",
      "control": "textarea",
      "terse": "Too short",
      "helpful": "Add at least 40 characters so we can understand the request"
    },
    {
      "rule": "tooLong",
      "control": "text",
      "terse": "Too long",
      "helpful": "Shorten this to 40 characters or fewer"
    },
    {
      "rule": "rangeUnderflow",
      "control": "number",
      "terse": "Too small",
      "helpful": "Enter 1 or more"
    },
    {
      "rule": "rangeOverflow",
      "control": "number",
      "terse": "Too large",
      "helpful": "Enter 250 or fewer"
    },
    {
      "rule": "stepMismatch",
      "control": "number",
      "terse": "Not a legal step",
      "helpful": "Enter an amount to the nearest penny"
    },
    {
      "rule": "badInput",
      "control": "number",
      "terse": "Not a number",
      "helpful": "Enter digits only, with no spaces or currency symbols"
    },
    {
      "rule": "crossField",
      "control": "date",
      "terse": "Dates out of order",
      "helpful": "The last day away cannot be before the first day away"
    }
  ]
}
