Centralize schema knowledge in SwaggerSchema object. DRY up error catching