subject: "c.1"
predicate: "name"
objectId:
objectVal: "alice"
facets:
{
"friend": {
"name": "charlie"
}
}
subject: "c.1"
predicate: "friend"
objectId: "c.2"
objectVal:
facets:
subject: "c.2"
predicate: "name"
objectId:
objectVal: "charlie"
facets:
{
"friend": ["charlie", "bob"]
}
subject: "c.1"
predicate: "friend"
objectId:
objectVal: "charlie"
facets:
subject: "c.1"
predicate: "friend"
objectId:
objectVal: "bob"
facets:
{
"friend": [
{
"name": "charlie"
},
{
"name": "bob"
}
]
}
subject: "c.1"
predicate: "friend"
objectId: "c.2"
objectVal:
facets:
subject: "c.1"
predicate: "friend"
objectId: "c.3"
objectVal:
facets:
subject: "c.2"
predicate: "name"
objectId: "charlie"
objectVal:
facets:
subject: "c.3"
predicate: "name"
objectId: "bob"
objectVal:
facets:
{
"uid": "1000",
"name": "charlie"
}
subject: "1000"
predicate: "name"
objectId:
objectVal: "charlie"
facets:
{
"friend": {
"uid": "1000",
"name": "charlie"
}
}
subject: "c.1"
predicate: "friend"
objectId: "1000"
objectVal:
facets:
subject: "1000"
predicate: "name"
objectId:
objectVal: "charlie"
facets:
{
"friend": "charlie",
"friend|close": true
}
subject: "c.1"
predicate: "friend"
objectId:
objectVal: "charlie"
facets: [
key: "close",
val: []byte{0x01},
valType: bool
]
2.1.1 scalar array pointer
{
"name": "alice",
"friend": [
{
"name": "charlie",
"friend|close": true
}
]
}
subject: "c.1"
predicate: "name"
objectId:
objectVal: "alice"
facets:
subject: "c.2"
predicate: "name"
objectId:
objectVal: "charlie"
facets:
subject: "c.1"
predicate: "friend"
objectId: "c.2"
objectVal:
facets: [
key: "close",
val: []byte{0x01},
valType: bool
]
{
"friend": ["charlie", "bob", "josh"],
"friend|from": {
"0": "college",
"2": "work"
}
}
subject: "c.1"
predicate: "friend"
objectId:
objectVal: "charlie"
facets: [
key: "from",
val: []byte("college"),
valType: string
]
subject: "c.1"
predicate: "friend"
objectId:
objectVal: "bob"
facets:
subject: "c.1"
predicate: "friend"
objectId:
objectVal: "josh"
facets: [
key: "from",
val: []byte("work"),
valType: string
]