{ plain: new FabricLink({ id: "of:fid1:abc", path: ["x"], space: "did:key:z" }), "empty payload": new FabricLink({}), "empty path, no space": new FabricLink({ id: "of:fid1:abc", path: [] }), "mixed path": new FabricLink({ id: "of:fid1:abc", path: ["items", 3, "name"] }), "other keys": new FabricLink({ id: "of:fid1:abc", path: [], schema: { type: "object" }, overwrite: "this", }), "fabric values in the payload": new FabricLink({ id: "of:fid1:abc", at: new FabricEpochNsec(1n), bytes: new FabricBytes(new Uint8Array([1, 2])), }), "link in the payload": new FabricLink({ id: "of:fid1:abc", target: new FabricLink({ id: "of:fid1:def", path: ["y"] }), }), } -- plain: /Link(id:"of:fid1:abc",path:["x"],space:"did:key:z") /Link( id: "of:fid1:abc", path: [ "x" ], space: "did:key:z" ) { "/Link@1": { id: "of:fid1:abc", path: [ "x" ], space: "did:key:z" } } empty payload: /Link() /Link() { "/Link@1": {} } empty path, no space: /Link(id:"of:fid1:abc",path:[]) /Link( id: "of:fid1:abc", path: [] ) { "/Link@1": { id: "of:fid1:abc", path: [] } } mixed path: /Link(id:"of:fid1:abc",path:["items",3,"name"]) /Link( id: "of:fid1:abc", path: [ "items", 3, "name" ] ) { "/Link@1": { id: "of:fid1:abc", path: [ "items", 3, "name" ] } } other keys: /Link(id:"of:fid1:abc",path:[],schema:{type:"object"},overwrite:"this") /Link( id: "of:fid1:abc", path: [], schema: { type: "object" }, overwrite: "this" ) { "/Link@1": { id: "of:fid1:abc", path: [], schema: { type: "object" }, overwrite: "this" } } fabric values in the payload: /Link(id:"of:fid1:abc",at:/EpochNsec(1n),bytes:/Bytes(buf[0102])) /Link( id: "of:fid1:abc", at: /EpochNsec(1n), bytes: /Bytes(buf [0102]) ) { "/Link@1": { id: "of:fid1:abc", at: /EpochNsec(1n), bytes: /Bytes(buf [0102]) } } link in the payload: /Link(id:"of:fid1:abc",target:/Link(id:"of:fid1:def",path:["y"])) /Link( id: "of:fid1:abc", target: /Link( id: "of:fid1:def", path: [ "y" ] ) ) { "/Link@1": { id: "of:fid1:abc", target: { "/Link@1": { id: "of:fid1:def", path: [ "y" ] } } } }