Convert Version.Schema and Version.Requirement into structs.