You need to annotate the Record's property with [StringLengthMax] and also to update the SchemaBuilder call with .Unlimited(). You will find extensive example throughout the code.
Isn't that only for strings? I need to store bytes.
I could base64 encode it ofc, but that would just be wasting space.