Invenio has min and max part size limits, which will also apply to the invenio-sword segmented upload deposit implementation.
At the moment, invenio-sword will reject segment-init requests outside of these limits with a ValidationError, but it has no standardised way to advertise the requirements for clients to follow.
Can we add optional minSegmentSize and maxSegmentSize attributes to the service document?