pub fn dot_path(path: &str) -> String
Join a schema path onto an option name. A record field needs the separating dot (opt + target.file); an index does not (opt + [2]).
opt
target.file
[2]