List with no value . Can it even exists

hi i have a use case where the following options are available .

ip list 1
ip list 2
ip list ===> Here you see that there is no key . “list” is like a presence container

I am wondering whats the best way to model this.

i modelled as follows

container ip {

 container list { 
     presence true;
             list tagnumber {
                       type string;
                    } 
         }

The problem here is in the confd_cli
I hacve config
ip list
ip list 1

and when i do

no ip list , both the configs get deleted.
i need a behaviour where i can set container to false (or)
in the confd_cli i do a no ip list

and diff generated should be only “no ip list” to be generated. and not “no ip list 1”

Please let me know if i need to furnish more info

When you add tailf:cli-show-no to the container list, you would also get the command no ip list, though you would still get the no commands for entries. Does that work for you?

Sure I will try that . Somehow with trial and error the following worked
container list {
presence true;

     }

container dummy {
tailf:cli-drop-node-name;
list tagnumber {
type string;
}
}

Thanks a lot for the suggestions