Skip to content

Instantly share code, notes, and snippets.

@kostysh
Last active February 19, 2020 10:56
Show Gist options
  • Save kostysh/3bde88a0e8248c73c68c1aed2ca4b9be to your computer and use it in GitHub Desktop.
Save kostysh/3bde88a0e8248c73c68c1aed2ca4b9be to your computer and use it in GitHub Desktop.
ORG.ID example
{
"@context": "https://windingtree.com/ns/did/v1",
"id": "did:orgid:0xd1e15bcea4bbf5fa55e36bb5aa9ad5183a4acdc1b06a0f21f3dba8868dee2c99",
"created": "2019-01-01T13:10:02.251Z",
"updated": "2019-06-03T13:20:06.398Z",
"publicKey": [
{
"id": "did:orgid:0x00000000000000000000000000000000000tree#firstkey",
"type": "X25519",
"controller": "did:orgid:0x00000000000000000000000000000000000tree",
"publicKeyPem": "MCowBQYDK2VuAyEArWDt90SvctcQi8DTqdpVc3exXS6gr9fNMcOa5dwuTgQ=",
"note": "Key 1"
},
{
"id": "did:orgid:0x00000000000000000000000000000000000tree#secondkey",
"type": "secp256k1",
"controller": "did:orgid:0x00000000000000000000000000000000000tree",
"publicKeyPem": "MFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEJLF/J88QmfN1l0y7HI5kwSyJaXVA115W\nGjZwYsXgpxya/i0qr+vXXCVSedkF40tz1IzDvQatqjWc6CWQqSO4CA==",
"note": "Key 2"
}
],
"service": [
{
"id": "did:orgid:0x00000000000000000000000000000000000tree#orgid-auth",
"type": "orgid-auth-0.3.1",
"serviceEndpoint": "https://api.windingtree.com/auth/",
"note": "ORG.ID Authentication Service"
}
],
"trust": {
"assertions": [
{
"type": "domain",
"claim": "windingtree.com",
"proof": "dns"
},
{
"type": "domain",
"claim": "lif.windingtree.com",
"proof": "https://lif.windingtree.com/orgid.txt"
},
{
"type": "twitter",
"claim": "windingtree",
"proof": "https://twitter.com/windingtree/status/1225446490107207681"
}
],
"credentials": []
},
"legalEntity": {
"legalName": "Winding Tree Stiftung",
"alternativeName": "Winding Tree",
"legalIdentifier": "CHE-415.029.859",
"identifiers": [
{
"type": "Commercial register number",
"value": "CH-170.7.000.838-1"
}
],
"legalForm": "Stiftung",
"registeredAddress": {
"country": "CH",
"subdivision": "ZG",
"locality": "Zug",
"postal_code": "6300",
"street_address": "Gubelstrasse 11",
"premise": "c/o Sielva Management SA"
},
"locations": [
{
"name": "Main Office",
"description": "",
"address": {
"country": "CH",
"subdivision": "ZG",
"locality": "Zug",
"postal_code": "6300",
"street_address": "Gubelstrasse 11",
"premise": "c/o Sielva Management SA",
"gps": "50.087070,14.417210",
"geocodes": [
{
"type": "olc",
"value": "5GF9+J4 Zug"
},
{
"type": "what3words",
"value": "luring.deployed.quench"
}
]
},
"openingHours": [
{
"weekDay": "mon,tue,wed,thu",
"hours": "9:00-16:00"
},
{
"weekDay": "fri",
"hours": "10:00-13:00"
}
],
"contacts": []
}
],
"contacts": [
{
"function": "Community Chat",
"telegram": "t.me/windingtree"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment