This repository has no description
3.1 kB
87 lines
1{
2 "lexicon": 1,
3 "id": "network.cosmik.connection",
4 "description": "A directed connection between two resources (URLs or AT URIs). The fundamental primitive of the Stigmergic knowledge graph.",
5 "defs": {
6 "main": {
7 "type": "record",
8 "description": "A connection linking a source to a target, with optional type and note. Connections are the morphisms of the knowledge graph -- objects (cards, collections, URLs) emerge from their connections rather than being created first.",
9 "key": "tid",
10 "record": {
11 "type": "object",
12 "required": ["source", "target", "createdAt"],
13 "properties": {
14 "source": {
15 "type": "string",
16 "description": "Source resource -- a URL or AT URI."
17 },
18 "target": {
19 "type": "string",
20 "description": "Target resource -- a URL or AT URI."
21 },
22 "connectionType": {
23 "type": "string",
24 "knownValues": [
25 "network.cosmik.connection#contains",
26 "network.cosmik.connection#cites",
27 "network.cosmik.connection#relates",
28 "network.cosmik.connection#inspired",
29 "network.cosmik.connection#contradicts",
30 "network.cosmik.connection#extends",
31 "network.cosmik.connection#forks",
32 "network.cosmik.connection#annotates"
33 ],
34 "description": "Type of connection. Open set -- new types can be added without schema changes."
35 },
36 "note": {
37 "type": "string",
38 "maxGraphemes": 1000,
39 "description": "Optional note about the connection."
40 },
41 "createdAt": {
42 "type": "string",
43 "format": "datetime",
44 "description": "When this connection was created."
45 },
46 "updatedAt": {
47 "type": "string",
48 "format": "datetime",
49 "description": "When this connection was last updated."
50 }
51 }
52 }
53 },
54 "contains": {
55 "type": "token",
56 "description": "Collection contains card. Source is the collection AT URI, target is the card AT URI or URL."
57 },
58 "cites": {
59 "type": "token",
60 "description": "Card cites a URL or reference. Source is the card AT URI, target is the cited URL."
61 },
62 "relates": {
63 "type": "token",
64 "description": "General relation between two resources."
65 },
66 "inspired": {
67 "type": "token",
68 "description": "Creative lineage -- source was inspired by target."
69 },
70 "contradicts": {
71 "type": "token",
72 "description": "Source contradicts target -- opposing evidence or argument."
73 },
74 "extends": {
75 "type": "token",
76 "description": "Source builds on target -- extension or elaboration."
77 },
78 "forks": {
79 "type": "token",
80 "description": "Source diverges from target -- a different direction from the same origin."
81 },
82 "annotates": {
83 "type": "token",
84 "description": "Source annotates target -- marginalia, commentary, or highlight."
85 }
86 }
87}