required key "type" not found in dictionary {"allOf": [{"$ref": "#/definitions/BankingProductV3"}, {"type": "object", "properties": {"bundles": {"type": "array", "description": "An array of bundles that this product participates in. Each bundle is described by free form information but also by a list of product IDs of the other products that are included in the bundle. It is assumed that the current product is included in the bundle also", "items": {"$ref": "#/definitions/BankingProductBundle"}}, "features": {"type": "array", "description": "Array of features available for the product", "items": {"$ref": "#/definitions/BankingProductFeature"}}, "constraints": {"type": "array", "description": "Constraints on the application for or operation of the product such as minimum balances or limit thresholds", "items": {"$ref": "#/definitions/BankingProductConstraint"}}, "eligibility": {"type": "array", "description": "Eligibility criteria for the product", "items": {"$ref": "#/definitions/BankingProductEligibility"}}, "fees": {"type": "array", "description": "Fees applicable for the product", "items": {"$ref": "#/definitions/BankingProductFee"}}, "depositRates": {"type": "array", "description": "Interest rates available for deposits", "items": {"$ref": "#/definitions/BankingProductDepositRate"}}, "lendingRates": {"type": "array", "description": "Interest rates charged against lending balances", "items": {"$ref": "#/definitions/BankingProductLendingRateV2"}}}}]} Traceback (most recent call last): File "/usr/local/bin/swagger_to_uml", line 4, in __import__('pkg_resources').run_script('swagger-to-uml==0.1', 'swagger_to_uml') File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 666, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1446, in run_script exec(code, namespace, namespace) File "/usr/local/lib/python3.7/dist-packages/swagger_to_uml-0.1-py3.7.egg/EGG-INFO/scripts/swagger_to_uml", line 380, in sw = Swagger.from_file(input_file_name) File "/usr/local/lib/python3.7/dist-packages/swagger_to_uml-0.1-py3.7.egg/EGG-INFO/scripts/swagger_to_uml", line 367, in from_file return Swagger.from_dict(loader(fd)) File "/usr/local/lib/python3.7/dist-packages/swagger_to_uml-0.1-py3.7.egg/EGG-INFO/scripts/swagger_to_uml", line 356, in from_dict definitions = [Definition.from_dict(name, definition) for name, definition in d.get('definitions',{}).items()] File "/usr/local/lib/python3.7/dist-packages/swagger_to_uml-0.1-py3.7.egg/EGG-INFO/scripts/swagger_to_uml", line 356, in definitions = [Definition.from_dict(name, definition) for name, definition in d.get('definitions',{}).items()] File "/usr/local/lib/python3.7/dist-packages/swagger_to_uml-0.1-py3.7.egg/EGG-INFO/scripts/swagger_to_uml", line 203, in from_dict type=d['type'], KeyError: 'type'