# com.opendatingprotocol.profile

> The account's portable dating profile. Keep it in a permissioned Space, never a public repository.

- Kind: record
- Record key: literal:self
- Authority: opendatingprotocol.com
- Lexicon: 1
- Published by [authority.pds.opendatingprotocol.com](https://lexicon.garden/identity/did:plc:d3dxmnets3bsqzyrkuja6alw), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:d3dxmnets3bsqzyrkuja6alw/com.opendatingprotocol.profile)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:d3dxmnets3bsqzyrkuja6alw/com.opendatingprotocol.profile/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:d3dxmnets3bsqzyrkuja6alw/com.opendatingprotocol.profile/analytics)

## Record (`com.opendatingprotocol.profile`)

Type: record · key literal:self

### Properties

- `about` (string)
  - Constraints: maxLength: 2000
- `displayName` (string, required)
  - Constraints: minLength: 1, maxLength: 160
- `example` (boolean): True only for an operator-owned, clearly fictional demonstration profile. Clients must not present it as a real person.
- `homeBase` (string): Broad location only; precise location is not part of this record.
  - Constraints: maxLength: 160
- `images` (array): Ordered profile images; the first is the lead image. Each blob lives on the author's PDS.
  - Constraints: minLength: 1, maxLength: 12
  - `items` (ref)
    - Reference: `#profileImage`
- `kind` (string, required): Who this account represents; readers must handle unfamiliar values.
  - Constraints: minLength: 1, maxLength: 40, knownValues: single | couple | group
- `people` (array, required)
  - Constraints: minLength: 1, maxLength: 12
  - `items` (ref)
    - Reference: `#person`
- `picture` (blob): Legacy lead image for clients that do not read images. If both are present, it must equal images[0].image.
  - Constraints: maxSize: 1048576, accept: image/webp, image/jpeg, image/png
- `pictureKind` (string): Legacy lead image kind. If both are present, it must equal images[0].kind.
  - Constraints: maxLength: 40, knownValues: photo | avatar | game-character
- `videos` (array): Up to three ordered short videos. Video order is separate from images; clients show images before videos by default.
  - Constraints: minLength: 1, maxLength: 3
  - `items` (ref)
    - Reference: `#profileVideo`

## #person (`com.opendatingprotocol.profile#person`)

Type: object

One adult represented by the account. A linked DID is optional and does not attest to consent.

### Properties

- `age` (integer)
  - Constraints: minimum: 18, maximum: 120
- `boundaries` (array)
  - `items` (ref)
    - Reference: `com.opendatingprotocol.defs#term`
- `did` (string · did)
- `genders` (array)
  - `items` (ref)
    - Reference: `com.opendatingprotocol.defs#term`
- `interests` (array)
  - `items` (ref)
    - Reference: `com.opendatingprotocol.defs#term`
- `memberKey` (string): Stable unique key for this person within the profile. Preserve it across edits and reordering; do not reuse it for a different person.
  - Constraints: minLength: 1, maxLength: 80
- `name` (string, required)
  - Constraints: minLength: 1, maxLength: 80
- `orientation` (string)
  - Constraints: maxLength: 120
- `pronouns` (string)
  - Constraints: maxLength: 80

## #profileImage (`com.opendatingprotocol.profile#profileImage`)

Type: object

One image in the ordered profile gallery.

### Properties

- `alt` (string)
  - Constraints: maxLength: 300
- `image` (blob, required)
  - Constraints: maxSize: 1048576, accept: image/webp, image/jpeg, image/png
- `kind` (string)
  - Constraints: maxLength: 40, knownValues: photo | avatar | game-character

## #profileVideo (`com.opendatingprotocol.profile#profileVideo`)

Type: object

One short profile video. The source and poster blobs live on the author's PDS, not at a video website URL.

### Properties

- `alt` (string): Short description for people who cannot play the video.
  - Constraints: maxLength: 300
- `captions` (blob): Optional WebVTT timed captions.
  - Constraints: maxSize: 262144, accept: text/vtt
- `durationMs` (integer, required)
  - Constraints: minimum: 1, maximum: 30000
- `poster` (blob, required)
  - Constraints: maxSize: 1048576, accept: image/webp, image/jpeg, image/png
- `video` (blob, required)
  - Constraints: maxSize: 16777216, accept: video/mp4, video/webm

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The account's portable dating profile. Keep it in a permissioned Space, never a public repository.",
      "key": "literal:self",
      "record": {
        "properties": {
          "about": {
            "maxLength": 2000,
            "type": "string"
          },
          "displayName": {
            "maxLength": 160,
            "minLength": 1,
            "type": "string"
          },
          "example": {
            "description": "True only for an operator-owned, clearly fictional demonstration profile. Clients must not present it as a real person.",
            "type": "boolean"
          },
          "homeBase": {
            "description": "Broad location only; precise location is not part of this record.",
            "maxLength": 160,
            "type": "string"
          },
          "images": {
            "description": "Ordered profile images; the first is the lead image. Each blob lives on the author's PDS.",
            "items": {
              "ref": "#profileImage",
              "type": "ref"
            },
            "maxLength": 12,
            "minLength": 1,
            "type": "array"
          },
          "kind": {
            "description": "Who this account represents; readers must handle unfamiliar values.",
            "knownValues": [
              "single",
              "couple",
              "group"
            ],
            "maxLength": 40,
            "minLength": 1,
            "type": "string"
          },
          "people": {
            "items": {
              "ref": "#person",
              "type": "ref"
            },
            "maxLength": 12,
            "minLength": 1,
            "type": "array"
          },
          "picture": {
            "accept": [
              "image/webp",
              "image/jpeg",
              "image/png"
            ],
            "description": "Legacy lead image for clients that do not read images. If both are present, it must equal images[0].image.",
            "maxSize": 1048576,
            "type": "blob"
          },
          "pictureKind": {
            "description": "Legacy lead image kind. If both are present, it must equal images[0].kind.",
            "knownValues": [
              "photo",
              "avatar",
              "game-character"
            ],
            "maxLength": 40,
            "type": "string"
          },
          "videos": {
            "description": "Up to three ordered short videos. Video order is separate from images; clients show images before videos by default.",
            "items": {
              "ref": "#profileVideo",
              "type": "ref"
            },
            "maxLength": 3,
            "minLength": 1,
            "type": "array"
          }
        },
        "required": [
          "kind",
          "displayName",
          "people"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "person": {
      "description": "One adult represented by the account. A linked DID is optional and does not attest to consent.",
      "properties": {
        "age": {
          "maximum": 120,
          "minimum": 18,
          "type": "integer"
        },
        "boundaries": {
          "items": {
            "ref": "com.opendatingprotocol.defs#term",
            "type": "ref"
          },
          "type": "array"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "genders": {
          "items": {
            "ref": "com.opendatingprotocol.defs#term",
            "type": "ref"
          },
          "type": "array"
        },
        "interests": {
          "items": {
            "ref": "com.opendatingprotocol.defs#term",
            "type": "ref"
          },
          "type": "array"
        },
        "memberKey": {
          "description": "Stable unique key for this person within the profile. Preserve it across edits and reordering; do not reuse it for a different person.",
          "maxLength": 80,
          "minLength": 1,
          "type": "string"
        },
        "name": {
          "maxLength": 80,
          "minLength": 1,
          "type": "string"
        },
        "orientation": {
          "maxLength": 120,
          "type": "string"
        },
        "pronouns": {
          "maxLength": 80,
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "profileImage": {
      "description": "One image in the ordered profile gallery.",
      "properties": {
        "alt": {
          "maxLength": 300,
          "type": "string"
        },
        "image": {
          "accept": [
            "image/webp",
            "image/jpeg",
            "image/png"
          ],
          "maxSize": 1048576,
          "type": "blob"
        },
        "kind": {
          "knownValues": [
            "photo",
            "avatar",
            "game-character"
          ],
          "maxLength": 40,
          "type": "string"
        }
      },
      "required": [
        "image"
      ],
      "type": "object"
    },
    "profileVideo": {
      "description": "One short profile video. The source and poster blobs live on the author's PDS, not at a video website URL.",
      "properties": {
        "alt": {
          "description": "Short description for people who cannot play the video.",
          "maxLength": 300,
          "type": "string"
        },
        "captions": {
          "accept": [
            "text/vtt"
          ],
          "description": "Optional WebVTT timed captions.",
          "maxSize": 262144,
          "type": "blob"
        },
        "durationMs": {
          "maximum": 30000,
          "minimum": 1,
          "type": "integer"
        },
        "poster": {
          "accept": [
            "image/webp",
            "image/jpeg",
            "image/png"
          ],
          "maxSize": 1048576,
          "type": "blob"
        },
        "video": {
          "accept": [
            "video/mp4",
            "video/webm"
          ],
          "maxSize": 16777216,
          "type": "blob"
        }
      },
      "required": [
        "video",
        "poster",
        "durationMs"
      ],
      "type": "object"
    }
  },
  "description": "Draft portable dating profile owned by one AT Protocol account, which may represent one or several adults.",
  "id": "com.opendatingprotocol.profile",
  "lexicon": 1
}
```
