id.sifa.profile.investment

sifa.id

Schema Diff

+5 -0

From

CID
bafyreicic5xo37o...
Indexed At
2026-08-06 12:40 UTC
View this version

To

CID
bafyreifboeqjaj2...
Indexed At
2026-09-05 18:31 UTC
View this version

Compatibility Analysis

Backward Compatible

Backward compatible. 4 non-breaking changes.

Non-Breaking Changes (4)
  • AddedVertex AddedVertex { vertex_id: "id.sifa.defs#agentRef" }
  • AddedVertex AddedVertex { vertex_id: "id.sifa.profile.investment:body.agentRef" }
  • AddedEdge AddedEdge { src: "id.sifa.profile.investment:body", tgt: "id.sifa.profile.investment:body.agentRef", kind: "prop", name: Some("agentRef") }
  • AddedEdge AddedEdge { src: "id.sifa.profile.investment:body.agentRef", tgt: "id.sifa.defs#agentRef", kind: "ref", name: None }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "id.sifa.defs#agentRef" }
  • AddedVertex { vertex_id: "id.sifa.profile.investment:body.agentRef" }

Additional Notes

  • Non-breaking: AddedEdge { src: "id.sifa.profile.investment:body", tgt: "id.sifa.profile.investment:body.agentRef", kind: "prop", name: Some("agentRef") }
  • Non-breaking: AddedEdge { src: "id.sifa.profile.investment:body.agentRef", tgt: "id.sifa.defs#agentRef", kind: "ref", name: None }
1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 5
      "description": "Record representing one capital position.",
6 6
      "key": "tid",
7 7
      "record": {
8 8
        "properties": {
9 +
          "agentRef": {
10 +
            "description": "The invested company (or, for a limited-partner entry, the fund), as a single nested reference mirroring the flat company / companyDid / entityRef fields. Additive dual-write: the flat fields remain the source of truth for existing consumers. The via vehicle stays flat and is not mirrored here.",
11 +
            "ref": "id.sifa.defs#agentRef",
12 +
            "type": "ref"
13 +
          },
9 14
          "amount": {
10 15
            "description": "How much was invested. Optional and empty by default — cheque size is a personal financial disclosure, and clients must not prompt for it.",
11 16
            "ref": "id.sifa.defs#investmentAmount",
12 17
            "type": "ref"
13 18
          },
14 19
          "company": {
15 20
            "description": "Name of the company invested in. For a limited-partner entry this is the fund itself, since an LP commits to the fund rather than to its portfolio.",
16 21
            "maxGraphemes": 256,
17 22
            "maxLength": 2560,
18 23
            "minLength": 1,
19 24
            "type": "string"
20 25
          },
21 26
          "companyDid": {
22 27
            "description": "DID of the company's ATproto account, if one exists.",
23 28
            "format": "did",
24 29
            "type": "string"
25 30
          },
26 31
          "createdAt": {
27 32
            "description": "Client-declared timestamp when this record was originally created.",
28 33
            "format": "datetime",
29 34
            "type": "string"
30 35
          },
31 36
          "description": {
32 37
            "description": "What the company does and what the person contributes beyond capital.",
33 38
            "maxGraphemes": 5000,
34 39
            "maxLength": 50000,
35 40
            "type": "string"
36 41
          },
37 42
          "endedAt": {
38 43
            "description": "Date the position ended, on exit or write-off, in YYYY-MM or YYYY-MM-DD format. Omit while the position is held.",
39 44
            "type": "string"
40 45
          },
41 46
          "entityRef": {
42 47
            "description": "Portable, app-neutral identifier for the company the user selected from a resolver dropdown: a Wikidata Q-ID URI, a ROR URI, or an LEI URI. Absent for free-text entries.",
43 48
            "format": "uri",
44 49
            "type": "string"
45 50
          },
46 51
          "labels": {
47 52
            "description": "Self-label values for this record.",
48 53
            "refs": [
49 54
              "com.atproto.label.defs#selfLabels"
50 55
            ],
51 56
            "type": "union"
52 57
          },
53 58
          "links": {
54 59
            "description": "Public artifacts relating to the investment (round announcement, portfolio page, filing).",
55 60
            "items": {
56 61
              "ref": "id.sifa.defs#artifactLink",
57 62
              "type": "ref"
58 63
            },
59 64
            "maxLength": 50,
60 65
            "type": "array"
61 66
          },
62 67
          "role": {
63 68
            "description": "How the capital went in.",
64 69
            "ref": "id.sifa.defs#investmentRole",
65 70
            "type": "ref"
66 71
          },
67 72
          "stage": {
68 73
            "description": "The company's funding stage at the time of the investment.",
69 74
            "ref": "id.sifa.defs#investmentStage",
70 75
            "type": "ref"
71 76
          },
72 77
          "startedAt": {
73 78
            "description": "Date of the investment in YYYY-MM or YYYY-MM-DD format. Freeform (NOT strict datetime) to allow partial dates.",
74 79
            "type": "string"
75 80
          },
76 81
          "status": {
77 82
            "description": "Where the position stands now, including written off.",
78 83
            "ref": "id.sifa.defs#investmentStatus",
79 84
            "type": "ref"
80 85
          },
81 86
          "via": {
82 87
            "description": "Name of the investment vehicle the capital went through, if any. Omit for a cheque written in the person's own name.",
83 88
            "maxGraphemes": 256,
84 89
            "maxLength": 2560,
85 90
            "type": "string"
86 91
          },
87 92
          "viaDid": {
88 93
            "description": "DID of the vehicle's ATproto account, if one exists.",
89 94
            "format": "did",
90 95
            "type": "string"
91 96
          },
92 97
          "viaEntityRef": {
93 98
            "description": "Portable, app-neutral identifier for the vehicle selected from a resolver dropdown: a Wikidata Q-ID URI, a ROR URI, or an LEI URI. Funds carry LEIs by regulation, so this resolves more often than it does for ordinary companies. Absent for per-deal SPVs and unregistered vehicles.",
94 99
            "format": "uri",
95 100
            "type": "string"
96 101
          }
97 102
        },
98 103
        "required": [
99 104
          "company",
100 105
          "createdAt"
101 106
        ],
102 107
        "type": "object"
103 108
      },
104 109
      "type": "record"
105 110
    }
106 111
  },
107 112
  "description": "Capital the user put into a company or fund — an angel cheque, a syndicate position, a limited-partner commitment. Distinct from roles with duties (position, which now covers board seats and advisory work) and from equity received as compensation, which belongs to the position that granted it.",
108 113
  "id": "id.sifa.profile.investment",
109 114
  "lexicon": 1
110 115
}

Compare Other Versions

Lexicon Garden

@