A method of managing a plurality of network devices, the method comprising: maintaining (150, 152), by a controller device that manages a plurality of network devices, a graph data structure representing device level configuration schemas for the plurality of network devices, the graph data structure including trie nodes for every first device level configuration schema element for a first model of a version of a network device of the plurality of network devices; obtaining, by the controller device, a corresponding second device level configuration schema element for a second model of the version of the network device, wherein obtaining the second device level configuration schema element comprises: loading, by the controller device, the second device level configuration schema element, and/or compiling, by the controller device, an intent model including data for the second model of the version of the network device to produce the second device level configuration schema element; determining, by the controller device, a deviation between the second device level configuration schema element and a first device level configuration schema element of the first device level configuration schema elements; updating (156, 158), by the controller device, the trie node to add a branch to a node representing the second device level configuration schema element; and managing network devices of the plurality of network devices matching the particular version of the network device using the trie node of the graph data structure, wherein managing the network devices comprises: managing network devices that correspond to the first model of the version of the network device using the first device level configuration schema element; and managing network devices that correspond to the second model of the version of the network device using the second device level configuration schema element. maintaining (150, 152), by a controller device that manages a plurality of network devices, a graph data structure representing device level configuration schemas for the plurality of network devices, the graph data structure including trie nodes for every first device level configuration schema element for a first model of a version of a network device of the plurality of network devices; obtaining, by the controller device, a corresponding second device level configuration schema element for a second model of the version of the network device, wherein obtaining the second device level configuration schema element comprises: loading, by the controller device, the second device level configuration schema element, and/or compiling, by the controller device, an intent model including data for the second model of the version of the network device to produce the second device level configuration schema element; loading, by the controller device, the second device level configuration schema element, and/or compiling, by the controller device, an intent model including data for the second model of the version of the network device to produce the second device level configuration schema element; determining, by the controller device, a deviation between the second device level configuration schema element and a first device level configuration schema element of the first device level configuration schema elements; updating (156, 158), by the controller device, the trie node to add a branch to a node representing the second device level configuration schema element; and managing network devices of the plurality of network devices matching the particular version of the network device using the trie node of the graph data structure, wherein managing the network devices comprises: managing network devices that correspond to the first model of the version of the network device using the first device level configuration schema element; and managing network devices that correspond to the second model of the version of the network device using the second device level configuration schema element. managing network devices that correspond to the first model of the version of the network device using the first device level configuration schema element; and managing network devices that correspond to the second model of the version of the network device using the second device level configuration schema element.