full diff

pub.chive.graph.getNode

From
bafyreidbmje2xtwxgi4zd754edepycd2eaqnnl4sagggvm7uasbbxogddi indexed 2026-06-18 13:14 UTC View this version
To
bafyreidbmje2xtwxgi4zd754edepycd2eaqnnl4sagggvm7uasbbxogddi indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "graphEdge": {
55 "description": "Graph edge response",
66 "properties": {
77 "cid": {
88 "description": "Content identifier",
99 "type": "string"
1010 },
1111 "createdAt": {
1212 "description": "Creation timestamp",
1313 "format": "datetime",
1414 "type": "string"
1515 },
1616 "createdBy": {
1717 "description": "DID of creator",
1818 "format": "did",
1919 "type": "string"
2020 },
2121 "id": {
2222 "description": "Edge UUID identifier",
2323 "type": "string"
2424 },
2525 "metadata": {
2626 "description": "Edge-specific metadata",
2727 "ref": "pub.chive.graph.edge#edgeMetadata",
2828 "type": "ref"
2929 },
3030 "proposalUri": {
3131 "description": "AT-URI of creating proposal",
3232 "format": "at-uri",
3333 "type": "string"
3434 },
3535 "relationSlug": {
3636 "description": "Relation slug (broader, narrower, related, etc.)",
3737 "type": "string"
3838 },
3939 "relationUri": {
4040 "description": "AT-URI of relation type node",
4141 "format": "at-uri",
4242 "type": "string"
4343 },
4444 "sourceUri": {
4545 "description": "AT-URI of source node",
4646 "format": "at-uri",
4747 "type": "string"
4848 },
4949 "status": {
5050 "description": "Edge lifecycle status",
5151 "knownValues": [
5252 "proposed",
5353 "established",
5454 "deprecated"
5555 ],
5656 "type": "string"
5757 },
5858 "targetUri": {
5959 "description": "AT-URI of target node",
6060 "format": "at-uri",
6161 "type": "string"
6262 },
6363 "updatedAt": {
6464 "description": "Last update timestamp",
6565 "format": "datetime",
6666 "type": "string"
6767 },
6868 "uri": {
6969 "description": "AT-URI of the edge",
7070 "format": "at-uri",
7171 "type": "string"
7272 },
7373 "weight": {
7474 "description": "Edge weight (scaled by 1000 for 0.0-1.0 range)",
7575 "maximum": 1000,
7676 "minimum": 0,
7777 "type": "integer"
7878 }
7979 },
8080 "required": [
8181 "id",
8282 "uri",
8383 "sourceUri",
8484 "targetUri",
8585 "relationSlug",
8686 "status",
8787 "createdAt"
8888 ],
8989 "type": "object"
9090 },
9191 "main": {
9292 "description": "Retrieve a unified knowledge graph node by ID",
9393 "errors": [
9494 {
9595 "name": "NotFound"
9696 }
9797 ],
9898 "output": {
9999 "encoding": "application/json",
100100 "schema": {
101101 "ref": "#nodeWithEdges",
102102 "type": "ref"
103103 }
104104 },
105105 "parameters": {
106106 "properties": {
107107 "id": {
108108 "description": "Node ID (UUID or rkey)",
109109 "type": "string"
110110 },
111111 "includeEdges": {
112112 "default": false,
113113 "description": "Include connected edges in the response",
114114 "type": "boolean"
115115 }
116116 },
117117 "required": [
118118 "id"
119119 ],
120120 "type": "params"
121121 },
122122 "type": "query"
123123 },
124124 "nodeWithEdges": {
125125 "description": "Graph node with optional connected edges",
126126 "properties": {
127127 "alternateLabels": {
128128 "description": "Alternate labels/synonyms",
129129 "items": {
130130 "type": "string"
131131 },
132132 "type": "array"
133133 },
134134 "cid": {
135135 "description": "Content identifier",
136136 "type": "string"
137137 },
138138 "createdAt": {
139139 "description": "Creation timestamp",
140140 "format": "datetime",
141141 "type": "string"
142142 },
143143 "createdBy": {
144144 "description": "DID of creator",
145145 "format": "did",
146146 "type": "string"
147147 },
148148 "deprecatedBy": {
149149 "description": "AT-URI of superseding node",
150150 "format": "at-uri",
151151 "type": "string"
152152 },
153153 "description": {
154154 "description": "Detailed description",
155155 "type": "string"
156156 },
157157 "edges": {
158158 "description": "Connected edges (when includeEdges=true)",
159159 "items": {
160160 "ref": "#graphEdge",
161161 "type": "ref"
162162 },
163163 "type": "array"
164164 },
165165 "externalIds": {
166166 "description": "External identifier mappings",
167167 "items": {
168168 "ref": "pub.chive.graph.node#externalId",
169169 "type": "ref"
170170 },
171171 "type": "array"
172172 },
173173 "id": {
174174 "description": "Node UUID identifier",
175175 "type": "string"
176176 },
177177 "kind": {
178178 "description": "Node kind: type or object",
179179 "knownValues": [
180180 "type",
181181 "object"
182182 ],
183183 "type": "string"
184184 },
185185 "label": {
186186 "description": "Primary display label",
187187 "type": "string"
188188 },
189189 "metadata": {
190190 "description": "Subkind-specific metadata",
191191 "ref": "pub.chive.graph.node#nodeMetadata",
192192 "type": "ref"
193193 },
194194 "proposalUri": {
195195 "description": "AT-URI of creating proposal",
196196 "format": "at-uri",
197197 "type": "string"
198198 },
199199 "status": {
200200 "description": "Lifecycle status",
201201 "knownValues": [
202202 "proposed",
203203 "provisional",
204204 "established",
205205 "deprecated"
206206 ],
207207 "type": "string"
208208 },
209209 "subkind": {
210210 "description": "Subkind slug (e.g., field, institution)",
211211 "type": "string"
212212 },
213213 "subkindUri": {
214214 "description": "AT-URI of the subkind type node",
215215 "format": "at-uri",
216216 "type": "string"
217217 },
218218 "updatedAt": {
219219 "description": "Last update timestamp",
220220 "format": "datetime",
221221 "type": "string"
222222 },
223223 "uri": {
224224 "description": "AT-URI of the node",
225225 "format": "at-uri",
226226 "type": "string"
227227 }
228228 },
229229 "required": [
230230 "id",
231231 "uri",
232232 "kind",
233233 "label",
234234 "status",
235235 "createdAt"
236236 ],
237237 "type": "object"
238238 }
239239 },
240240 "id": "pub.chive.graph.getNode",
241241 "lexicon": 1,
242242 "revision": 1
243243}