pub const MAX_DEPTH: usize = 50;
How deep values may nest in a message, and components below root, as in the reference SDKs.
root