metadata schema: add field type information, manadatory flag, document in README, remove unused attributes