# tech.tokimeki.atmosphere.service

> A showcase listing for an AT Protocol service. Published by the service provider in their own repository and submitted to TOKIMEKI's Atmosphere index (tech.tokimeki.atmosphere.submitService), which verifies that the provider controls the service domain.

- Kind: record
- Record key: tid
- Authority: atmosphere.tokimeki.tech
- Lexicon: 1
- Published by [tokimeki.blue](https://lexicon.garden/identity/did:plc:4tr5dqti7nmu6g2czpthntak), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/tech.tokimeki.atmosphere.service)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/tech.tokimeki.atmosphere.service/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/tech.tokimeki.atmosphere.service/analytics)

## Record (`tech.tokimeki.atmosphere.service`)

Type: record · key tid

### Properties

- `category` (string)
  - Constraints: maxLength: 64, knownValues: social | messaging | blog | art | photo | video | music | feeds | bookmarks | polls | tools | developer | games | community | other
- `collections` (array): Record collections (NSIDs) this service writes to its users' repositories. Clients may show the service on the profiles of people whose repository contains one of them. Each NSID's authority must be the service domain (the host of url) or a subdomain of it.
  - Constraints: maxLength: 20
  - `items` (string · nsid)
- `createdAt` (string · datetime, required)
- `description` (string, required): Full description shown on the detail page. Line breaks are preserved.
  - Constraints: maxLength: 30000, maxGraphemes: 3000
- `icon` (blob)
  - Constraints: maxSize: 500000, accept: image/png, image/jpeg, image/webp
- `localized` (array)
  - Constraints: maxLength: 20
  - `items` (ref)
    - Reference: `#localizedText`
- `name` (string, required)
  - Constraints: maxLength: 640, maxGraphemes: 64
- `screenshots` (array)
  - Constraints: maxLength: 10
  - `items` (ref)
    - Reference: `#screenshot`
- `tagline` (string): Short subtitle shown under the name on cards.
  - Constraints: maxLength: 640, maxGraphemes: 64
- `url` (string · uri, required)
  - Constraints: maxLength: 2048

## #aspectRatio (`tech.tokimeki.atmosphere.service#aspectRatio`)

Type: object

### Properties

- `height` (integer, required)
  - Constraints: minimum: 1
- `width` (integer, required)
  - Constraints: minimum: 1

## #localizedText (`tech.tokimeki.atmosphere.service#localizedText`)

Type: object

### Properties

- `description` (string)
  - Constraints: maxLength: 30000, maxGraphemes: 3000
- `lang` (string · language, required)
- `name` (string)
  - Constraints: maxLength: 640, maxGraphemes: 64
- `tagline` (string)
  - Constraints: maxLength: 640, maxGraphemes: 64

## #screenshot (`tech.tokimeki.atmosphere.service#screenshot`)

Type: object

### Properties

- `alt` (string)
  - Constraints: maxLength: 3000, maxGraphemes: 300
- `aspectRatio` (ref)
  - Reference: `#aspectRatio`
- `image` (blob, required)
  - Constraints: maxSize: 1000000, accept: image/png, image/jpeg, image/webp

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "aspectRatio": {
      "properties": {
        "height": {
          "minimum": 1,
          "type": "integer"
        },
        "width": {
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "width",
        "height"
      ],
      "type": "object"
    },
    "localizedText": {
      "properties": {
        "description": {
          "maxGraphemes": 3000,
          "maxLength": 30000,
          "type": "string"
        },
        "lang": {
          "format": "language",
          "type": "string"
        },
        "name": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "tagline": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        }
      },
      "required": [
        "lang"
      ],
      "type": "object"
    },
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "category": {
            "knownValues": [
              "social",
              "messaging",
              "blog",
              "art",
              "photo",
              "video",
              "music",
              "feeds",
              "bookmarks",
              "polls",
              "tools",
              "developer",
              "games",
              "community",
              "other"
            ],
            "maxLength": 64,
            "type": "string"
          },
          "collections": {
            "description": "Record collections (NSIDs) this service writes to its users' repositories. Clients may show the service on the profiles of people whose repository contains one of them. Each NSID's authority must be the service domain (the host of url) or a subdomain of it.",
            "items": {
              "format": "nsid",
              "type": "string"
            },
            "maxLength": 20,
            "type": "array"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Full description shown on the detail page. Line breaks are preserved.",
            "maxGraphemes": 3000,
            "maxLength": 30000,
            "type": "string"
          },
          "icon": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 500000,
            "type": "blob"
          },
          "localized": {
            "items": {
              "ref": "#localizedText",
              "type": "ref"
            },
            "maxLength": 20,
            "type": "array"
          },
          "name": {
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "screenshots": {
            "items": {
              "ref": "#screenshot",
              "type": "ref"
            },
            "maxLength": 10,
            "type": "array"
          },
          "tagline": {
            "description": "Short subtitle shown under the name on cards.",
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "url": {
            "format": "uri",
            "maxLength": 2048,
            "type": "string"
          }
        },
        "required": [
          "name",
          "description",
          "url",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "screenshot": {
      "properties": {
        "alt": {
          "maxGraphemes": 300,
          "maxLength": 3000,
          "type": "string"
        },
        "aspectRatio": {
          "ref": "#aspectRatio",
          "type": "ref"
        },
        "image": {
          "accept": [
            "image/png",
            "image/jpeg",
            "image/webp"
          ],
          "maxSize": 1000000,
          "type": "blob"
        }
      },
      "required": [
        "image"
      ],
      "type": "object"
    }
  },
  "description": "A showcase listing for an AT Protocol service. Published by the service provider in their own repository and submitted to TOKIMEKI's Atmosphere index (tech.tokimeki.atmosphere.submitService), which verifies that the provider controls the service domain.",
  "id": "tech.tokimeki.atmosphere.service",
  "lexicon": 1
}
```
