The evolution of the format is focused on the relationship part.
Before the version 2.4.0 of the Thing'in platform, an edge was define as :
{
"_uuid": "5167f30d-e22b-44a8-a25b-5897aa3ffb9a",
"_iri": "http://orange.bj.com/test_202010602#04",
"_domain": "http://orange.bj.com/",
"http://orange.com/labs/china/ontologies/Sniffer_Object.owl#device_description": "test for trigger update 2",
"_outE": [
{
"_property": "http://elite.polito.it/ontologies/dogont.owl#isIn",
"_iri": "http://orange.bj.com/Sniffer-Room-20201211#BeijingOffice",
"_uuid": "a8fb99c9-2646-461e-9fb5-66bc2f0b533c"
}
]
}
Where _property
refers to the label over the ralationship, _iri
to the iri of the targeted avatar, _uuid
the uuid of the avatar.
Now, from the 2.4.0, to be consistent in the naming and less confusing _property
is renamed in _label
and _iri
in _targetIRI
. To simply, the _uuid
in no more needed since the target avatar identification can be found via _targetIRI
.
Then previous example becomes :
{
"_uuid": "5167f30d-e22b-44a8-a25b-5897aa3ffb9a",
"_iri": "http://orange.bj.com/test_202010602#04",
"_domain": "http://orange.bj.com/",
"http://orange.com/labs/china/ontologies/Sniffer_Object.owl#device_description": "test for trigger update 2",
"_outE": [
{
"_label": "http://elite.polito.it/ontologies/dogont.owl#isIn",
"_targetIRI": "http://orange.bj.com/Sniffer-Room-20201211#BeijingOffice"
}
]
}
Note : in a avatar read, you could get more information about relationship
{
"_id" : "13896874579009868746857",
"_label": "http://elite.polito.it/ontologies/dogont.owl#isIn",
"_targetIRI": "http://orange.bj.com/Sniffer-Room-20201211#BeijingOffice",
"_targetIRI": "a8fb99c9-2646-461e-9fb5-66bc2f0b533c"
}
where _id
is the id of the relationship, this id could be used to modify directly the relationship in a near future.
_targetUUID
the uuid of the targeted avatar