code: function setValidateLabel () {
    var values = getCheckedAndUnchecked(form.validate.schema, form.validate.spec);
  
    switch (values.checked.length) {
      case 0:
        form.validate.label.text("Don't validate anything");
        break;
      case 1:
        form.validate.label.text("Don't validate Swagger " + values.unchecked[0]);
        break;
      case 2:
        form.validate.label.text("Validate everything");
    }
  }
docs: Sets the "validate" label, based on which options are selected