(#13) - change schema.type in components to schema.libraryType