Skip to content

Commit 6aefa04

Browse files
authored
Update CanonLT.md
1 parent c5958fb commit 6aefa04

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/CanonLT.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@ type NodeOrRef = URI | Node;
2020
// A type alias for node entries which may be a single NodeOrRef or an array of them.
2121
type NodeEntry = NodeOrRef | NodeOrRef[];
2222

23-
interface CanonLT {
23+
interface LinkedTree {
2424
// The root can be a single NodeOrRef or an array of NodeOrRef.
2525
root: NodeOrRef | NodeOrRef[];
2626

27-
// A mapping of terms to their corresponding Node objects.
28-
nodes: Map<URI, Node | Node[]>;
27+
// A mapping of identifiers to their corresponding Node objects.
28+
nodes: Map<URI, CNLTNode | Node[]>;
2929
}
3030

3131
interface Node {
3232
// The type of the node, represented as a single URI.
3333
type: URI;
3434

35-
// A mapping of URIs to node entries, which can be direct node references, URIs, or arrays thereof.
36-
entries: Map<URI, NodeEntry>;
35+
// A mapping of terms to node entries, which can be direct node references, URIs, or arrays thereof.
36+
predicates: Map<URI, NodeEntry>;
3737
}
3838

3939
```

0 commit comments

Comments
 (0)