# st.lifepo.profile

> Published by [jsmnk.bsky.social](https://lexicon.garden/identity/did:plc:4xdvi56ox7ztjt72s76e3mtu)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4xdvi56ox7ztjt72s76e3mtu/st.lifepo.profile)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4xdvi56ox7ztjt72s76e3mtu/st.lifepo.profile/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4xdvi56ox7ztjt72s76e3mtu/st.lifepo.profile/examples)

## Definitions

### `st.lifepo.profile`

**Type**: `query`

Get a user's do-life profile including bio and life events.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `actor` | `string` | Yes | The DID or handle of the user. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `bio` | `string` | Yes |  |
| `handle` | `string` | Yes |  |
| `lifeEvents` | `array` | Yes |  |

### `st.lifepo.profile#lifeEvent`

**Type**: `object`

A single life event entry.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `title` | `string` | Yes |  |
| `endDate` | `string` (datetime) | No |  |
| `startDate` | `string` (datetime) | Yes |  |
| `description` | `string` | No |  |

## Raw Schema

```json
{
  "id": "st.lifepo.profile",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "handle",
            "bio",
            "lifeEvents"
          ],
          "properties": {
            "bio": {
              "type": "string"
            },
            "handle": {
              "type": "string"
            },
            "lifeEvents": {
              "type": "array",
              "items": {
                "ref": "#lifeEvent",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "actor"
        ],
        "properties": {
          "actor": {
            "type": "string",
            "description": "The DID or handle of the user."
          }
        }
      },
      "description": "Get a user's do-life profile including bio and life events."
    },
    "lifeEvent": {
      "type": "object",
      "required": [
        "title",
        "startDate"
      ],
      "properties": {
        "title": {
          "type": "string"
        },
        "endDate": {
          "type": "string",
          "format": "datetime"
        },
        "startDate": {
          "type": "string",
          "format": "datetime"
        },
        "description": {
          "type": "string"
        }
      },
      "description": "A single life event entry."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
