full diff

pub.chive.graph.nodeProposal

From
bafyreibmcf5kunliz2fkg5lbrk2njdvtdnln6cg2fzibyl2pr3u53y5ysu indexed 2026-06-18 13:14 UTC View this version
To
bafyreibmcf5kunliz2fkg5lbrk2njdvtdnln6cg2fzibyl2pr3u53y5ysu 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 "evidence": {
55 "description": "Supporting evidence for a proposal",
66 "properties": {
77 "description": {
88 "description": "Description of the evidence",
99 "maxLength": 500,
1010 "type": "string"
1111 },
1212 "type": {
1313 "description": "Evidence type",
1414 "knownValues": [
1515 "wikidata",
1616 "lcsh",
1717 "fast",
1818 "ror",
1919 "credit",
2020 "usage",
2121 "citation",
2222 "external",
2323 "other"
2424 ],
2525 "type": "string"
2626 },
2727 "uri": {
2828 "description": "URI to evidence",
2929 "format": "uri",
3030 "type": "string"
3131 }
3232 },
3333 "required": [
3434 "type"
3535 ],
3636 "type": "object"
3737 },
3838 "main": {
3939 "description": "Unified proposal for creating, updating, merging, or deprecating knowledge graph nodes (stored in user PDS)",
4040 "key": "tid",
4141 "record": {
4242 "properties": {
4343 "createdAt": {
4444 "format": "datetime",
4545 "type": "string"
4646 },
4747 "evidence": {
4848 "description": "Supporting evidence for the proposal",
4949 "items": {
5050 "ref": "#evidence",
5151 "type": "ref"
5252 },
5353 "maxLength": 10,
5454 "type": "array"
5555 },
5656 "kind": {
5757 "description": "Node kind being proposed",
5858 "knownValues": [
5959 "type",
6060 "object"
6161 ],
6262 "type": "string"
6363 },
6464 "mergeIntoUri": {
6565 "description": "AT-URI of node to merge into (for merge action)",
6666 "format": "at-uri",
6767 "type": "string"
6868 },
6969 "proposalType": {
7070 "description": "Type of proposal action",
7171 "knownValues": [
7272 "create",
7373 "update",
7474 "merge",
7575 "deprecate"
7676 ],
7777 "type": "string"
7878 },
7979 "proposedNode": {
8080 "description": "Proposed node data (for create/update)",
8181 "ref": "#proposedNodeData",
8282 "type": "ref"
8383 },
8484 "rationale": {
8585 "description": "Justification for the proposal",
8686 "maxLength": 2000,
8787 "type": "string"
8888 },
8989 "schemaRevision": {
9090 "description": "Schema revision this record was created with. Absent means revision 1.",
9191 "minimum": 1,
9292 "type": "integer"
9393 },
9494 "subkind": {
9595 "description": "Subkind slug (e.g., 'field', 'institution', 'contribution-type')",
9696 "maxLength": 50,
9797 "type": "string"
9898 },
9999 "targetUri": {
100100 "description": "AT-URI of node to update/deprecate/merge",
101101 "format": "at-uri",
102102 "type": "string"
103103 }
104104 },
105105 "required": [
106106 "proposalType",
107107 "kind",
108108 "rationale",
109109 "createdAt"
110110 ],
111111 "type": "object"
112112 },
113113 "type": "record"
114114 },
115115 "proposedNodeData": {
116116 "description": "Proposed node data",
117117 "properties": {
118118 "alternateLabels": {
119119 "items": {
120120 "maxLength": 500,
121121 "type": "string"
122122 },
123123 "maxLength": 50,
124124 "type": "array"
125125 },
126126 "description": {
127127 "maxLength": 2000,
128128 "type": "string"
129129 },
130130 "externalIds": {
131131 "items": {
132132 "ref": "pub.chive.graph.node#externalId",
133133 "type": "ref"
134134 },
135135 "maxLength": 20,
136136 "type": "array"
137137 },
138138 "label": {
139139 "maxLength": 500,
140140 "type": "string"
141141 },
142142 "metadata": {
143143 "ref": "pub.chive.graph.node#nodeMetadata",
144144 "type": "ref"
145145 }
146146 },
147147 "required": [
148148 "label"
149149 ],
150150 "type": "object"
151151 }
152152 },
153153 "id": "pub.chive.graph.nodeProposal",
154154 "lexicon": 1,
155155 "revision": 1
156156}