{
    "domain": {
        "chainId": 1,
        "name": "Complex Structs Mail",
        "verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
        "version": "1"
    },
    "message": {
        "contents": "Hello, Bob!",
        "from": {
            "name": "Cow",
            "wallets": [
                "0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826",
                "0xDeaDbeefdEAdbeefdEadbEEFdeadbeEFdEaDbeeF"
            ]
        },
        "to": {
            "name": "test list",
            "members": [
                {
                    "name": "Bob",
                    "wallets": [
                        "0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB",
                        "0xB0B0b0b0b0b0B000000000000000000000000000"
                    ]
                },
                {
                    "name": "Alice",
                    "wallets": [
                        "0xB0BdaBea57B0BDABeA57b0bdABEA57b0BDabEa57"
                    ]
                }
            ]
        },
        "attach": {
            "list": [
                {
                    "name": "first",
                    "size": "100"
                },
                {
                    "name": "second",
                    "size": "3400"
                }
            ]
        }
    },
    "primaryType": "Mail",
    "types": {
        "EIP712Domain": [
            { "name": "name", "type": "string" },
            { "name": "version", "type": "string" },
            { "name": "chainId", "type": "uint256" },
            { "name": "verifyingContract", "type": "address" }
        ],
        "Attachment": [
            { "name": "name", "type": "string" },
            { "name": "size", "type": "uint16" }
        ],
        "Attachments": [
            { "name": "list", "type": "Attachment[]" }
        ],
        "MailingList": [
            { "name": "name", "type": "string" },
            { "name": "members", "type": "Person[]" }
        ],
        "Mail": [
            { "name": "from", "type": "Person" },
            { "name": "to", "type": "MailingList" },
            { "name": "contents", "type": "string" },
            { "name": "attach", "type": "Attachments" }
        ],
        "Person": [
            { "name": "name", "type": "string" },
            { "name": "wallets", "type": "address[]" }
        ]
    }
}
