Skip to content

Instantly share code, notes, and snippets.

@elparkino
Last active October 12, 2017 20:26
Show Gist options
  • Save elparkino/839f141be935b4c778ca1f2517e62978 to your computer and use it in GitHub Desktop.
Save elparkino/839f141be935b4c778ca1f2517e62978 to your computer and use it in GitHub Desktop.
{
"nodes": {
"0": {
"kind": "proto",
"properties": {
"nodeType": "Project"
},
"id": 0
},
"1": {
"kind": "proto",
"properties": {
"nodeType": "User"
},
"id": 1
},
"2": {
"kind": "proto",
"properties": {
"nodeType": "Pilot"
},
"id": 2
},
"3": {
"kind": "proto",
"properties": {
"nodeType": "Job"
},
"id": 3
},
"4": {
"kind": "proto",
"properties": {
"permissions": [],
"name": "user",
"nodeType": "Role"
},
"id": 4
},
"5": {
"kind": "proto",
"properties": {
"nodeType": "Status"
},
"id": 5
},
"6": {
"kind": "proto",
"properties": {
"nodeType": "TypeOf"
},
"id": 6
},
"7": {
"kind": "proto",
"properties": {
"nodeType": "Owner"
},
"id": 7
},
"8": {
"kind": "proto",
"properties": {
"nodeType": "Operator"
},
"id": 8
},
"9": {
"id": 9,
"kind": "user",
"properties": {
"kind": "proto",
"properties": {
"nodeType": "User"
},
"id": {
"name": "SSN",
"value": "786-88-5684"
},
"gender": "male",
"name": {
"title": "mr",
"first": "harvey",
"last": "torres"
},
"location": {
"street": "7595 frances ct",
"city": "carlsbad",
"state": "south dakota",
"postcode": 22102
},
"email": "harvey.torres@example.com",
"login": {
"username": "tinyfish823",
"password": "golden1",
"salt": "4bYO7Rk1",
"md5": "c02b2d7fc31b9db05bf4ff7b99592bb2",
"sha1": "ccbeec05e971eeb9ca87efa4b8be96d8f80f8d11",
"sha256": "174b42d2afdf4e295083cea3bac7c0764fe85834462e41edbdfbec368ce5b293"
},
"dob": "1987-11-12 17:58:21",
"registered": "2006-11-26 08:18:28",
"phone": "(942)-033-6288",
"cell": "(873)-686-0637",
"picture": {
"large": "https://randomuser.me/api/portraits/men/36.jpg",
"medium": "https://randomuser.me/api/portraits/med/men/36.jpg",
"thumbnail": "https://randomuser.me/api/portraits/thumb/men/36.jpg"
},
"nat": "US",
"role": {
"kind": "Role",
"id": 10,
"properties": {
"nodeType": "Role",
"name": "pilot",
"permissions": [
{
"action": "edit",
"grant": true,
"resource": "*"
}
]
}
}
}
}
},
"edges": {
"10": {
"kind": "TypeOf",
"source": {
"kind": "proto",
"properties": {
"permissions": [],
"name": "user",
"nodeType": "Role"
},
"id": 4
},
"target": {
"kind": "proto",
"properties": {
"nodeType": "Pilot"
},
"id": 2
}
},
"11": {
"id": 11,
"kind": "TypeOf",
"target": {
"kind": "Role",
"id": 10,
"properties": {
"nodeType": "Role",
"name": "pilot",
"permissions": [
{
"action": "edit",
"grant": true,
"resource": "*"
}
]
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment