Associations are doneand it looks good in JSONLint:
{
"type": "XYZ",
"bounds": {
"xmin": -5,
"xmax": 5,
"ymin": 0,
"ymax": 5,
"zmin": -5,
"zmax": 5
},
"data3D": {
"URL": {
"URL_1": {
"data": {
"type": "URL",
"idIndex": 1,
"guid": "my_url_guid_1",
"description": "my url 1",
"title": "url 1",
"link": "http://url",
"image": "rock-512.jpg"
}
},
"URL_2": {
"data": {
"type": "URL",
"idIndex": 2,
"guid": "my_url_guid_2",
"description": "my url 2",
"title": "url 2",
"link": "http://url",
"image": "rock-512.jpg"
}
},
"URL_3": {
"data": {
"type": "URL",
"idIndex": 3,
"guid": "my_url_guid_3",
"description": "my url 3",
"title": "url 3",
"link": "http://url",
"image": "rock-512.jpg"
}
},
"URL_4": {
"data": {
"type": "URL",
"idIndex": 4,
"guid": "my_url_guid_4",
"description": "my url 4",
"title": "url 4",
"link": "http://url",
"image": "rock-512.jpg"
}
}
},
"ENTITIES": {
"ENTITIES_5": {
"data": {
"type": "ENTITIES",
"idIndex": 5,
"guid": "my_entity_guid_5",
"description": "my entity 1",
"title": "entity 1",
"link": "no link for entity",
"image": "rock-512.jpg"
}
},
"ENTITIES_6": {
"data": {
"type": "ENTITIES",
"idIndex": 6,
"guid": "my_entity_guid_6",
"description": "my entity 2",
"title": "entity 2",
"link": "no link for entity",
"image": "rock-512.jpg"
}
},
"ENTITIES_7": {
"data": {
"type": "ENTITIES",
"idIndex": 7,
"guid": "my_entity_guid_7",
"description": "my entity 3",
"title": "entity 3",
"link": "no link for entity",
"image": "rock-512.jpg"
}
},
"ENTITIES_8": {
"data": {
"type": "ENTITIES",
"idIndex": 8,
"guid": "my_entity_guid_8",
"description": "my entity 4",
"title": "entity 4",
"link": "no link for entity",
"image": "rock-512.jpg"
}
}
}
},
"network": {
"edges": [
{
"source": "URL.URL_1",
"target": "ENTITIES.ENTITIES_5",
"val": 1,
"type": "TRUSTWORTHINESS"
},
{
"source": "URL.URL_1",
"target": "ENTITIES.ENTITIES_5",
"val": 1,
"type": "TRUSTWORTHINESS"
},
{
"source": "URL.URL_2",
"target": "ENTITIES.ENTITIES_5",
"val": 1,
"type": "TRUSTWORTHINESS"
},
{
"source": "URL.URL_2",
"target": "ENTITIES.ENTITIES_5",
"val": 1,
"type": "TRUSTWORTHINESS"
},
{
"source": "URL.URL_3",
"target": "ENTITIES.ENTITIES_5",
"val": 1,
"type": "TRUSTWORTHINESS"
},
{
"source": "URL.URL_3",
"target": "ENTITIES.ENTITIES_5",
"val": 1,
"type": "TRUSTWORTHINESS"
},
{
"source": "URL.URL_4",
"target": "ENTITIES.ENTITIES_5",
"val": 1,
"type": "TRUSTWORTHINESS"
},
{
"source": "URL.URL_4",
"target": "ENTITIES.ENTITIES_5",
"val": 1,
"type": "TRUSTWORTHINESS"
}
]
}
}
You must be logged in to post a comment.