This repository has no description
1.4 kB
46 lines
1{
2 "id": "network.cosmik.connection",
3 "defs": {
4 "main": {
5 "key": "tid",
6 "type": "record",
7 "record": {
8 "type": "object",
9 "required": ["source", "target"],
10 "properties": {
11 "note": {
12 "type": "string",
13 "maxLength": 1000,
14 "description": "Optional note about the connection"
15 },
16 "source": {
17 "type": "string",
18 "description": "Source entity (URL string or AT URI)"
19 },
20 "target": {
21 "type": "string",
22 "description": "Target entity (URL string or AT URI)"
23 },
24 "createdAt": {
25 "type": "string",
26 "format": "datetime",
27 "description": "Timestamp when this connection was created."
28 },
29 "updatedAt": {
30 "type": "string",
31 "format": "datetime",
32 "description": "Timestamp when this connection was last updated."
33 },
34 "connectionType": {
35 "type": "string",
36 "description": "Optional type of connection"
37 }
38 }
39 },
40 "description": "A connection linking a source to a target, with optional type and note."
41 }
42 },
43 "$type": "com.atproto.lexicon.schema",
44 "lexicon": 1,
45 "description": "A record representing a connection between two entities (URLs or cards)."
46}