Package-level declarations
Types
A Template that expands to a RelativePath inside the consuming project, such as raw-art/{profile}/{action}_{facing:lower}/{frame:000}.png.
The one rule for paths a consuming project writes in roto.json: forward slashes, relative to the project root, and portable to every desktop file system. Each segment is non-empty, is not . or .., and avoids the characters Windows forbids in file names — so a path that validates on Linux also works on Windows, and no path can climb out of the project root.
The rule for every name that ends up in a file name — project ids, profile ids, facings, actions: it starts with a letter or digit and holds only letters, digits, _ and -. Such a name is safe as, or inside, a path segment on every desktop file system.
A placeholder a Template may use, written {key} or {key:format}.