[cosmetics] convert tabs to space for consistency
extend metada.xsd with optional elements
set library attribute as required