Hello @Mike Kiser ,
You can utilize the "if" logical comparison function long with the greater ,length and take in the following manner.
"value": "@if(greater(length('enter_your_value'),30), take('enter_your_value',30), 'enter_your_value')",
Please let me know if this solution does not solve your issue I will be happy to continue with our discussion.