code: def sni2route(self, sni: SchemaNodeId, sctx: SchemaContext) -> SchemaRoute:
          
          nlist = sni.split("/")
          res = []
          for qn in (nlist[1:] if sni[0] == "/" else nlist):
              res.append(self.translate_node_id(qn, sctx))
          return res
docs: Translate schema node identifier to a schema route.
  
          Args:
              sni: Schema node identifier (absolute or relative).
              sctx: Schema context.
  
          Raises:
              ModuleNotRegistered: If `mid` is not registered in the data model.
              UnknownPrefix: If a prefix specified in `sni` is not declared.