Segments - Additional Information (Detail)
|3 Months Ended|
Jul. 31, 2023
|Segment Reporting [Abstract]|
|Number of business segments | segment||8|
|Number of line of business | business||5|
Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.
Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef