From
bafyreigdyr273bd5ra3pdof7bocj2vaick3d2fpv47nxd6uozyvde3btpi
indexed 2026-06-18 13:14 UTC
View this version
To
bafyreigdyr273bd5ra3pdof7bocj2vaick3d2fpv47nxd6uozyvde3btpi
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
"main": {55
"description": "Proposal for creating, updating, or deprecating edges between knowledge graph nodes (stored in user PDS)",66
"key": "tid",77
"record": {88
"properties": {99
"createdAt": {1010
"format": "datetime",1111
"type": "string"1212
},1313
"evidence": {1414
"description": "Supporting evidence for the proposal",1515
"items": {1616
"ref": "pub.chive.graph.nodeProposal#evidence",1717
"type": "ref"1818
},1919
"maxLength": 10,2020
"type": "array"2121
},2222
"proposalType": {2323
"description": "Type of proposal action",2424
"knownValues": [2525
"create",2626
"update",2727
"deprecate"2828
],2929
"type": "string"3030
},3131
"proposedEdge": {3232
"description": "Proposed edge data (for create/update)",3333
"ref": "#proposedEdgeData",3434
"type": "ref"3535
},3636
"rationale": {3737
"description": "Justification for the proposal",3838
"maxLength": 2000,3939
"type": "string"4040
},4141
"schemaRevision": {4242
"description": "Schema revision this record was created with. Absent means revision 1.",4343
"minimum": 1,4444
"type": "integer"4545
},4646
"targetEdgeUri": {4747
"description": "AT-URI of edge to update/deprecate",4848
"format": "at-uri",4949
"type": "string"5050
}5151
},5252
"required": [5353
"proposalType",5454
"rationale",5555
"createdAt"5656
],5757
"type": "object"5858
},5959
"type": "record"6060
},6161
"proposedEdgeData": {6262
"description": "Proposed edge data",6363
"properties": {6464
"metadata": {6565
"ref": "pub.chive.graph.edge#edgeMetadata",6666
"type": "ref"6767
},6868
"relationSlug": {6969
"description": "Relation slug (broader, narrower, related, etc.)",7070
"maxLength": 50,7171
"type": "string"7272
},7373
"relationUri": {7474
"description": "AT-URI of relation type node",7575
"format": "at-uri",7676
"type": "string"7777
},7878
"sourceUri": {7979
"description": "AT-URI of source node",8080
"format": "at-uri",8181
"type": "string"8282
},8383
"targetUri": {8484
"description": "AT-URI of target node",8585
"format": "at-uri",8686
"type": "string"8787
},8888
"weight": {8989
"description": "Edge weight (scaled by 1000 for 0.0-1.0 range)",9090
"maximum": 1000,9191
"minimum": 0,9292
"type": "integer"9393
}9494
},9595
"required": [9696
"sourceUri",9797
"targetUri",9898
"relationSlug"9999
],100100
"type": "object"101101
}102102
},103103
"id": "pub.chive.graph.edgeProposal",104104
"lexicon": 1,105105
"revision": 1106106
}