-
-
Save joshfraser/d411a9e73fe638364a46d91d9aa08838 to your computer and use it in GitHub Desktop.
Example JSON representing an Origin Protocol identity (this JSON blob would be stored on IPFS & the content hash would be added to the Ethereum User Registry contract)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"$schema":"http://schemas.originprotocol.com/v1/id#", | |
"language": "en-US", | |
"version": "1.0" | |
}, | |
"data": { | |
"wallet": "0x2B5634C42055806a59e9107ED44D43c426E58258", | |
"claims":[ | |
{ | |
"firstName": "Josh" | |
}, | |
{ | |
"lastName": "Fraser" | |
}, | |
{ | |
"customfield": { | |
"field" : "driversLicense", | |
"value": "DL1234123" | |
} | |
} | |
], | |
"attestations":[ | |
{ | |
"service": "civic.com", | |
"field": "email", | |
"value": "josh@originprotocol.com", | |
"signature": "0x1f5df2dbe8ea16700b37f860cb00e6a00cfa7c581f1f5df2dbe8ea16700b3b33f4b4b9b69f945012f7ea7d3febf11eb1b73febf11eb1b78e1adc00093febf11eb1b78e1adc", | |
} | |
], | |
"proofs":[ | |
{ | |
"service": "twitter.com", | |
"username": "joshfraser", | |
"proofString": "Verifying myself: I own ETH wallet 0x123...", | |
"proofLink": "https://twitter.com/joshfraser/status/892654623240052737" | |
} | |
] | |
}, | |
"signature": { | |
"0x9955af11969a2d2a7f860cb00e6a00cfa7c581f5df2dbe8ea16700b33f4b4b9b69f945012f7ea7d3febf11eb1b78e1adc2d1c14c2cf48b25000938cc1860c83e01" | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment