{
"id": "network.cosmik.connection",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"source",
"target"
],
"properties": {
"note": {
"type": "string",
"maxLength": 1000,
"description": "Optional note about the connection"
},
"source": {
"type": "string",
"description": "Source entity (URL string or AT URI)"
},
"target": {
"type": "string",
"description": "Target entity (URL string or AT URI)"
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Timestamp when this connection was created."
},
"updatedAt": {
"type": "string",
"format": "datetime",
"description": "Timestamp when this connection was last updated."
},
"connectionType": {
"type": "string",
"description": "Optional type of connection"
}
}
},
"description": "A connection linking a source to a target, with optional type and note."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"description": "A record representing a connection between two entities (URLs or cards)."
}