# ing.opn.actor.profile

> An account's Opning profile, shown on its booking pages, and its calendar preferences. First copied from app.bsky.actor.profile, then the account's own.

- Kind: record
- Record key: literal:self
- Authority: actor.opn.ing
- Lexicon: 1
- Published by [opn.ing](https://lexicon.garden/identity/did:plc:fd7yovynbzbli5i7m6tu76cl), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:fd7yovynbzbli5i7m6tu76cl/ing.opn.actor.profile)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:fd7yovynbzbli5i7m6tu76cl/ing.opn.actor.profile/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:fd7yovynbzbli5i7m6tu76cl/ing.opn.actor.profile/analytics)

## Record (`ing.opn.actor.profile`)

Type: record · key literal:self

### Properties

- `accentColor` (string): A hex color, such as #1f6feb.
  - Constraints: maxLength: 9
- `avatar` (blob): Small image shown with the account. AKA profile picture.
  - Constraints: maxSize: 1000000, accept: image/png, image/jpeg
- `createdAt` (string · datetime, required)
- `defaultSchedule` (string · at-uri): The ing.opn.availability.schedule event types use when they name none.
- `description` (string): Free-form profile description text. Plain text: mentions and links are found in it when drawn.
  - Constraints: maxLength: 2560, maxGraphemes: 256
- `displayName` (string)
  - Constraints: maxLength: 640, maxGraphemes: 64
- `eventTypes` (array): The account's ing.opn.booking.eventType records in the order its profile shows them. Records it leaves out follow, oldest first.
  - Constraints: maxLength: 100
  - `items` (string · at-uri)
- `links` (array): Links shown on the profile, in display order. Each ref points to an ing.opn.actor.link record in this repo.
  - Constraints: maxLength: 10
  - `items` (ref)
    - Reference: `com.atproto.repo.strongRef`
- `location` (string): Where the account is, as it wants it shown, such as a city. Free text, not a place reference.
  - Constraints: maxLength: 640, maxGraphemes: 64
- `pronouns` (string): Free-form pronouns text.
  - Constraints: maxLength: 200, maxGraphemes: 20
- `theme` (string)
  - Constraints: maxLength: 16, knownValues: system | light | dark
- `timeFormat` (string): How times are shown by default: h12 or h24.
  - Constraints: maxLength: 8, knownValues: h12 | h24
- `timeZone` (string, required): An IANA timezone name, such as Europe/Lisbon.
  - Constraints: maxLength: 64
- `weekStart` (string): The first day of the week in calendars.
  - Constraints: maxLength: 16, knownValues: monday | tuesday | wednesday | thursday | friday | saturday | sunday

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An account's Opning profile, shown on its booking pages, and its calendar preferences. First copied from app.bsky.actor.profile, then the account's own.",
      "key": "literal:self",
      "record": {
        "properties": {
          "accentColor": {
            "description": "A hex color, such as #1f6feb.",
            "maxLength": 9,
            "type": "string"
          },
          "avatar": {
            "accept": [
              "image/png",
              "image/jpeg"
            ],
            "description": "Small image shown with the account. AKA profile picture.",
            "maxSize": 1000000,
            "type": "blob"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "defaultSchedule": {
            "description": "The ing.opn.availability.schedule event types use when they name none.",
            "format": "at-uri",
            "type": "string"
          },
          "description": {
            "description": "Free-form profile description text. Plain text: mentions and links are found in it when drawn.",
            "maxGraphemes": 256,
            "maxLength": 2560,
            "type": "string"
          },
          "displayName": {
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "eventTypes": {
            "description": "The account's ing.opn.booking.eventType records in the order its profile shows them. Records it leaves out follow, oldest first.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 100,
            "type": "array"
          },
          "links": {
            "description": "Links shown on the profile, in display order. Each ref points to an ing.opn.actor.link record in this repo.",
            "items": {
              "ref": "com.atproto.repo.strongRef",
              "type": "ref"
            },
            "maxLength": 10,
            "type": "array"
          },
          "location": {
            "description": "Where the account is, as it wants it shown, such as a city. Free text, not a place reference.",
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "pronouns": {
            "description": "Free-form pronouns text.",
            "maxGraphemes": 20,
            "maxLength": 200,
            "type": "string"
          },
          "theme": {
            "knownValues": [
              "system",
              "light",
              "dark"
            ],
            "maxLength": 16,
            "type": "string"
          },
          "timeFormat": {
            "description": "How times are shown by default: h12 or h24.",
            "knownValues": [
              "h12",
              "h24"
            ],
            "maxLength": 8,
            "type": "string"
          },
          "timeZone": {
            "description": "An IANA timezone name, such as Europe/Lisbon.",
            "maxLength": 64,
            "type": "string"
          },
          "weekStart": {
            "description": "The first day of the week in calendars.",
            "knownValues": [
              "monday",
              "tuesday",
              "wednesday",
              "thursday",
              "friday",
              "saturday",
              "sunday"
            ],
            "maxLength": 16,
            "type": "string"
          }
        },
        "required": [
          "timeZone",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "ing.opn.actor.profile",
  "lexicon": 1
}
```
