pub.chive.graph.edgeProposal

chive.pub View official

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Proposal for creating, updating, or deprecating edges between knowledge graph nodes (stored in user PDS)",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "evidence": {
            "description": "Supporting evidence for the proposal",
            "items": {
              "ref": "pub.chive.graph.nodeProposal#evidence",
              "type": "ref"
            },
            "maxLength": 10,
            "type": "array"
          },
          "proposalType": {
            "description": "Type of proposal action",
            "knownValues": [
              "create",
              "update",
              "deprecate"
            ],
            "type": "string"
          },
          "proposedEdge": {
            "description": "Proposed edge data (for create/update)",
            "ref": "#proposedEdgeData",
            "type": "ref"
          },
          "rationale": {
            "description": "Justification for the proposal",
            "maxLength": 2000,
            "type": "string"
          },
          "schemaRevision": {
            "description": "Schema revision this record was created with. Absent means revision 1.",
            "minimum": 1,
            "type": "integer"
          },
          "targetEdgeUri": {
            "description": "AT-URI of edge to update/deprecate",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "proposalType",
          "rationale",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "proposedEdgeData": {
      "description": "Proposed edge data",
      "properties": {
        "metadata": {
          "ref": "pub.chive.graph.edge#edgeMetadata",
          "type": "ref"
        },
        "relationSlug": {
          "description": "Relation slug (broader, narrower, related, etc.)",
          "maxLength": 50,
          "type": "string"
        },
        "relationUri": {
          "description": "AT-URI of relation type node",
          "format": "at-uri",
          "type": "string"
        },
        "sourceUri": {
          "description": "AT-URI of source node",
          "format": "at-uri",
          "type": "string"
        },
        "targetUri": {
          "description": "AT-URI of target node",
          "format": "at-uri",
          "type": "string"
        },
        "weight": {
          "description": "Edge weight (scaled by 1000 for 0.0-1.0 range)",
          "maximum": 1000,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "sourceUri",
        "targetUri",
        "relationSlug"
      ],
      "type": "object"
    }
  },
  "id": "pub.chive.graph.edgeProposal",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.graph.edgeProposal

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:7natp5xae72bddaqlkef2t4e
CID
bafyreigdyr273bd5ra3pdof7bocj2vaick3d2fpv47nxd6uozyvde3btpi
Indexed At
2026-05-04 17:29 UTC
AT-URI
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.graph.edgeProposal

Referenced Schemas (2)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@