github.com/SwapLandExchange/go-ethereum@v1.9.7/signer/core/testdata/custom_arraytype.json (about) 1 { 2 "types": { 3 "EIP712Domain": [ 4 { 5 "name": "name", 6 "type": "string" 7 }, 8 { 9 "name": "version", 10 "type": "string" 11 }, 12 { 13 "name": "chainId", 14 "type": "uint256" 15 }, 16 { 17 "name": "verifyingContract", 18 "type": "address" 19 } 20 ], 21 "Person": [ 22 { 23 "name": "name", 24 "type": "string" 25 } 26 ], 27 "Mail": [ 28 { 29 "name": "from", 30 "type": "Person" 31 }, 32 { 33 "name": "to", 34 "type": "Person[]" 35 }, 36 { 37 "name": "contents", 38 "type": "string" 39 } 40 ] 41 }, 42 "primaryType": "Mail", 43 "domain": { 44 "name": "Ether Mail", 45 "version": "1", 46 "chainId": "1", 47 "verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC" 48 }, 49 "message": { 50 "from": { "name": "Cow"}, 51 "to": [{ "name": "Moose"},{ "name": "Goose"}], 52 "contents": "Hello, Bob!" 53 } 54 }