# ai.newnal.mydata.profileLifeEvents

> The history of the major events that shaped the user's background.

- Kind: record
- Record key: tid
- Authority: mydata.newnal.ai
- Lexicon: 1
- Published by [newnal-platform.newnal.id](https://lexicon.garden/identity/did:plc:vciktevzoffubdvdaajz2yp3), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.profileLifeEvents)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.profileLifeEvents/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.profileLifeEvents/analytics)

## Record (`ai.newnal.mydata.profileLifeEvents`)

Type: record · key tid

### Properties

- `_meta` (ref, required)
  - Reference: `ai.newnal.mydata.defs#recordMeta`
- `data` (union, required)
  - One of (closed): `#entry`

## #entry (`ai.newnal.mydata.profileLifeEvents#entry`)

Type: object

One major life event.

### Properties

- `description` (string): A description of the life event.
  - Constraints: maxLength: 30000, maxGraphemes: 3000
- `eventType` (string): The kind of life event.
  - Constraints: maxLength: 640, maxGraphemes: 64, knownValues: move | marriage | graduation | education | career_change | birth | health_event | milestone | loss | travel
- `peopleRefs` (array): List of the AT-URIs of the relationships.people records of the people involved in the event.
  - Constraints: maxLength: 100
  - `items` (string · at-uri): One item of the list of the AT-URIs of the relationships.people records of the people involved in the event.
- `relatedLocations` (array): List of the places related to the event.
  - Constraints: maxLength: 100
  - `items` (string): One item of the list of the places related to the event.
    - Constraints: maxLength: 2560, maxGraphemes: 256
- `relatedPeople` (array): List of the people or relationships related to the event.
  - Constraints: maxLength: 100
  - `items` (string): One item of the list of the people or relationships related to the event.
    - Constraints: maxLength: 640, maxGraphemes: 64, knownValues: spouse | parent | child | mentor
- `time` (union): The point in time or period of the life event.
  - One of (closed): `ai.newnal.mydata.defs#instantTime`, `ai.newnal.mydata.defs#intervalTime`
- `title` (string): The title of the life event.
  - Constraints: maxLength: 2560, maxGraphemes: 256

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "entry": {
      "description": "One major life event.",
      "properties": {
        "description": {
          "description": "A description of the life event.",
          "maxGraphemes": 3000,
          "maxLength": 30000,
          "type": "string"
        },
        "eventType": {
          "description": "The kind of life event.",
          "knownValues": [
            "move",
            "marriage",
            "graduation",
            "education",
            "career_change",
            "birth",
            "health_event",
            "milestone",
            "loss",
            "travel"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "peopleRefs": {
          "description": "List of the AT-URIs of the relationships.people records of the people involved in the event.",
          "items": {
            "description": "One item of the list of the AT-URIs of the relationships.people records of the people involved in the event.",
            "format": "at-uri",
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "relatedLocations": {
          "description": "List of the places related to the event.",
          "items": {
            "description": "One item of the list of the places related to the event.",
            "maxGraphemes": 256,
            "maxLength": 2560,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "relatedPeople": {
          "description": "List of the people or relationships related to the event.",
          "items": {
            "description": "One item of the list of the people or relationships related to the event.",
            "knownValues": [
              "spouse",
              "parent",
              "child",
              "mentor"
            ],
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "time": {
          "closed": true,
          "description": "The point in time or period of the life event.",
          "refs": [
            "ai.newnal.mydata.defs#instantTime",
            "ai.newnal.mydata.defs#intervalTime"
          ],
          "type": "union"
        },
        "title": {
          "description": "The title of the life event.",
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        }
      },
      "type": "object"
    },
    "main": {
      "description": "The history of the major events that shaped the user's background.",
      "key": "tid",
      "record": {
        "properties": {
          "_meta": {
            "ref": "ai.newnal.mydata.defs#recordMeta",
            "type": "ref"
          },
          "data": {
            "closed": true,
            "refs": [
              "#entry"
            ],
            "type": "union"
          }
        },
        "required": [
          "data",
          "_meta"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "ai.newnal.mydata.profileLifeEvents",
  "lexicon": 1
}
```
