# us.off-the-clock.community.spaceProfile

> A space's public face in the space directory (D50): the community identity's record in the default pair's content space, keyed by the space's own key (its pair's TID), so a space has at most one. A space is listed exactly when its profile exists; deleting it unlists the space. Records by anyone else, elsewhere, or under a key that is not a registered pair's are ignored.

- Kind: record
- Record key: any
- Authority: community.off-the-clock.us
- Lexicon: 1
- Published by [off-the-clock.us](https://lexicon.garden/identity/did:plc:tevv7zpavtjtsvqrrwwipobt), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.community.spaceProfile)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.community.spaceProfile/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.community.spaceProfile/analytics)

## Record (`us.off-the-clock.community.spaceProfile`)

Type: record · key any

### Properties

- `admin` (array): The people to ask about joining, in order. Clients show their current profiles and use these copies only for an account that does not resolve.
  - Constraints: maxLength: 10
  - `items` (ref)
    - Reference: `#admin`
- `avatar` (blob, required)
  - Constraints: maxSize: 1000000, accept: image/*
- `description` (string, required)
  - Constraints: minLength: 1, maxLength: 10000, maxGraphemes: 1000
- `displayName` (string, required)
  - Constraints: minLength: 1, maxLength: 640, maxGraphemes: 64
- `facets` (array): Mentions and links in the description.
  - `items` (ref)
    - Reference: `app.bsky.richtext.facet`
- `header` (blob, required): Shown as a 3:1 band, cropped by the client.
  - Constraints: maxSize: 1000000, accept: image/*

## #admin (`us.off-the-clock.community.spaceProfile#admin`)

Type: object

### Properties

- `avatar` (blob)
  - Constraints: maxSize: 1000000, accept: image/*
- `did` (string · did, required)
- `displayName` (string)
  - Constraints: maxLength: 640, maxGraphemes: 64
- `handle` (string · handle)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "admin": {
      "properties": {
        "avatar": {
          "accept": [
            "image/*"
          ],
          "maxSize": 1000000,
          "type": "blob"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        }
      },
      "required": [
        "did"
      ],
      "type": "object"
    },
    "main": {
      "description": "A space's public face in the space directory (D50): the community identity's record in the default pair's content space, keyed by the space's own key (its pair's TID), so a space has at most one. A space is listed exactly when its profile exists; deleting it unlists the space. Records by anyone else, elsewhere, or under a key that is not a registered pair's are ignored.",
      "key": "any",
      "record": {
        "properties": {
          "admin": {
            "description": "The people to ask about joining, in order. Clients show their current profiles and use these copies only for an account that does not resolve.",
            "items": {
              "ref": "#admin",
              "type": "ref"
            },
            "maxLength": 10,
            "type": "array"
          },
          "avatar": {
            "accept": [
              "image/*"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "description": {
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "minLength": 1,
            "type": "string"
          },
          "displayName": {
            "maxGraphemes": 64,
            "maxLength": 640,
            "minLength": 1,
            "type": "string"
          },
          "facets": {
            "description": "Mentions and links in the description.",
            "items": {
              "ref": "app.bsky.richtext.facet",
              "type": "ref"
            },
            "type": "array"
          },
          "header": {
            "accept": [
              "image/*"
            ],
            "description": "Shown as a 3:1 band, cropped by the client.",
            "maxSize": 1000000,
            "type": "blob"
          }
        },
        "required": [
          "displayName",
          "description",
          "avatar",
          "header"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "us.off-the-clock.community.spaceProfile",
  "lexicon": 1
}
```
