diff --git a/bin/validate.py b/bin/validate.py index d0da8ab741..ed97c5196c 100644 --- a/bin/validate.py +++ b/bin/validate.py @@ -118,6 +118,9 @@ def validate_standard_fields(object, uuids): else: uuids.append(object['id']) + if (object['type']) == 'batch' and len(object['name']) > 75: + errors.append('ERROR: Search name is longer than 75 characters: %s' % (object['name'])) + # if object['name'].endswith(" "): # errors.append( # "ERROR: name has trailing spaces: '%s'" %