One notation component of a site: its type, its source file and its document (changed in place).
typedef ScopedComponent = ({String type, String path, Json document});