Specify maxLength properties for JSON string attributes