com.opendatingprotocol.profile

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

Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authorityopendatingprotocol.com
Commit rev3n2gycmht2s2o
Indexed

Showing version bafyreie4deaevkxmvpsbcge33g3pppvyo5hz7zj7babcpjyeasjaazy2ky. Show the latest

cid bafyreie4deaevkxmvpsbcge33g3pppvyo5hz7zj7babcpjyeasjaazy2ky

Checks

Valid Lint pass
JSONDownload
{
  "$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"
          },
          "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
}