In a word, the reason why type is None is that JSONSchema
checker doesn't return the unified form when the outmost layer
of JSONSchema doesn't pass the examination.
So, we can use assertIn instead.
Change-Id: I49a2879ce249d83ee7ab36f1e0a67fe887aa4738
Closes-bug: #1531841