def METHOD_NAME(schema: Dict) -> str:
    if "type" not in schema:
        return "object"
    if schema["type"] == "object":
        properties = [
            f"{name}:{EventBridgeExtractor.METHOD_NAME(_schema)}"
            for name, _schema in schema.get("properties", {}).items()
        ]
        if len(properties) > 0:
            return "struct<" + ",".join(properties) + ">"
        return "struct<object>"
    elif schema["type"] == "array":
        items = EventBridgeExtractor.METHOD_NAME(schema.get("items", {}))
        return "array<" + items + ">"
    else:
        if "format" in schema:
            return f"{schema['type']}[{schema['format']}]"
        return schema["type"]