full diff

ai.newnal.mydata.relationshipsPeople

From
bafyreighvmz2lhzlrspe2lxtwqqrajn23fegomdkuivo222ehz5akmiaxu indexed 2026-11-18 12:19 UTC View this version
To
bafyreidqj64wsfz65qyqvah7ftntxhivellxsqjwyjlggqct6u3cieuh3m indexed 2026-11-23 10:40 UTC View this version

Compatibility

breaking 1 breaking change, 4 non-breaking changes.

Breaking changes (1)
  • ConstraintTightened ConstraintTightened { vertex_id: "ai.newnal.mydata.relationshipsPeople#entry.relationshipTypes:items", sort: "knownValues", old_value: "[\"spouse\",\"parent\",\"friend\",\"coworker\",\"mentor\",\"partner\",\"child\",\"sibling\"]", new_value: "[\"spouse\",\"parent\",\"friend\",\"coworker\",\"mentor\",\"partner\",\"child\",\"sibling\",\"grandchild\",\"grandparent\",\"in_law\",\"relative\",\"neighbor\",\"caregiver\"]" }
Non-breaking changes (4)
  • AddedVertex AddedVertex { vertex_id: "ai.newnal.mydata.defs#yearlyDate" }
  • AddedVertex AddedVertex { vertex_id: "ai.newnal.mydata.relationshipsPeople#entry.birthday" }
  • AddedEdge AddedEdge { src: "ai.newnal.mydata.relationshipsPeople#entry", tgt: "ai.newnal.mydata.relationshipsPeople#entry.birthday", kind: "prop", name: Some("birthday") }
  • AddedEdge AddedEdge { src: "ai.newnal.mydata.relationshipsPeople#entry.birthday", tgt: "ai.newnal.mydata.defs#yearlyDate", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "ai.newnal.mydata.defs#yearlyDate" }
  • AddedVertex { vertex_id: "ai.newnal.mydata.relationshipsPeople#entry.birthday" }

Constraint changes

  • ConstraintTightened ConstraintTightened { vertex_id: "ai.newnal.mydata.relationshipsPeople#entry.relationshipTypes:items", sort: "knownValues", old_value: "[\"spouse\",\"parent\",\"friend\",\"coworker\",\"mentor\",\"partner\",\"child\",\"sibling\"]", new_value: "[\"spouse\",\"parent\",\"friend\",\"coworker\",\"mentor\",\"partner\",\"child\",\"sibling\",\"grandchild\",\"grandparent\",\"in_law\",\"relative\",\"neighbor\",\"caregiver\"]" }

Notes

  • Non-breaking: AddedEdge { src: "ai.newnal.mydata.relationshipsPeople#entry", tgt: "ai.newnal.mydata.relationshipsPeople#entry.birthday", kind: "prop", name: Some("birthday") }
  • Non-breaking: AddedEdge { src: "ai.newnal.mydata.relationshipsPeople#entry.birthday", tgt: "ai.newnal.mydata.defs#yearlyDate", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "entry": {
55 "description": "One person the user has a relationship with.",
66 "properties": {
77 "addresses": {
88 "description": "List of the addresses related to the person.",
99 "items": {
1010 "description": "One item of the list of the addresses related to the person.",
1111 "ref": "ai.newnal.mydata.defs#addressEntry",
1212 "type": "ref"
1313 },
1414 "maxLength": 100,
1515 "type": "array"
1616 },
1717 "birthDate": {
1818 "description": "The person's date of birth.",
1919 "ref": "ai.newnal.mydata.defs#date",
2020 "type": "ref"
2121 },
22 "birthday": {
23 "description": "The birthday the person keeps every year, which may be on the lunar calendar.",
24 "ref": "ai.newnal.mydata.defs#yearlyDate",
25 "type": "ref"
26 },
2227 "contactPoints": {
2328 "description": "List of the ways to contact the person.",
2429 "items": {
2530 "description": "One item of the list of the ways to contact the person.",
2631 "ref": "ai.newnal.mydata.defs#contactPoint",
2732 "type": "ref"
2833 },
2934 "maxLength": 100,
3035 "type": "array"
3136 },
3237 "name": {
3338 "description": "The name of the person the user has a relationship with.",
3439 "maxGraphemes": 256,
3540 "maxLength": 2560,
3641 "type": "string"
3742 },
3843 "notes": {
3944 "description": "An additional note.",
4045 "maxGraphemes": 3000,
4146 "maxLength": 30000,
4247 "type": "string"
4348 },
4449 "relationshipTypes": {
4550 "description": "List of the types of relationship with the person.",
4651 "items": {
4752 "description": "One item of the list of the types of relationship with the person.",
4853 "knownValues": [
4954 "spouse",
5055 "parent",
5156 "friend",
5257 "coworker",
5358 "mentor",
5459 "partner",
5560 "child",
56 "sibling"
61 "sibling",
62 "grandchild",
63 "grandparent",
64 "in_law",
65 "relative",
66 "neighbor",
67 "caregiver"
5768 ],
5869 "maxGraphemes": 64,
5970 "maxLength": 640,
6071 "type": "string"
6172 },
6273 "maxLength": 100,
6374 "type": "array"
6475 },
6576 "tags": {
6677 "description": "List of the tags for the meaning, traits or context the user gave to or adopted for the relationship with this person. A tag itself does not decide visibility or access rights: disclosure is decided by a separate user permission policy.",
6778 "items": {
6879 "description": "One item of the list of the tags for the meaning, traits or context the user gave to or adopted for the relationship with this person.",
6980 "knownValues": [
7081 "family",
7182 "work"
7283 ],
7384 "maxGraphemes": 64,
7485 "maxLength": 640,
7586 "type": "string"
7687 },
7788 "maxLength": 100,
7889 "type": "array"
7990 }
8091 },
8192 "type": "object"
8293 },
8394 "main": {
8495 "description": "People the user has a relationship with, such as family and acquaintances. These are other people's personal data — names, dates of birth, addresses and contact points — recorded by the user, not by them. A service or an agent is given only what its purpose needs: the relationship type is often enough, and identifying details are passed on only where the task cannot be done without them.",
8596 "key": "tid",
8697 "record": {
8798 "properties": {
8899 "_meta": {
89100 "ref": "ai.newnal.mydata.defs#recordMeta",
90101 "type": "ref"
91102 },
92103 "data": {
93104 "closed": true,
94105 "refs": [
95106 "#entry"
96107 ],
97108 "type": "union"
98109 }
99110 },
100111 "required": [
101112 "data",
102113 "_meta"
103114 ],
104115 "type": "object"
105116 },
106117 "type": "record"
107118 }
108119 },
109120 "id": "ai.newnal.mydata.relationshipsPeople",
110121 "lexicon": 1
111122}

Compare other versions