Since you can’t use a YANG “must” statement to compare between tailf-xsd-type “duration” values, you need to use a validation point and check that the value is within your boundary using some code.
Can we have validation points for the confd builtin leaf nodes.
For example: /confdConfig/cli/idleTimeout by using tailf:link "/confdConfig/cli/idleTimeout"