# ai.syui.at.link

> Published by [syui.syui.ai](https://lexicon.garden/identity/did:plc:vzsvtbtbnwn22xjqhcu3vd6y)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:vzsvtbtbnwn22xjqhcu3vd6y/ai.syui.at.link)
- [Documentation](https://lexicon.garden/lexicon/did:plc:vzsvtbtbnwn22xjqhcu3vd6y/ai.syui.at.link/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:vzsvtbtbnwn22xjqhcu3vd6y/ai.syui.at.link/examples)

## Definitions

### `ai.syui.at.link`

**Type**: `record`

Record containing links to external service profiles.

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `links` | `array` | Yes | Array of external service links. |
| `createdAt` | `string` (datetime) | Yes | Client-declared timestamp when this record was created. |
| `updatedAt` | `string` (datetime) | No | Client-declared timestamp when this record was last updated. |

### `ai.syui.at.link#linkItem`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `service` | `string` | Yes | Service identifier. |
| `username` | `string` | Yes | Username or ID on the service. |

## Raw Schema

```json
{
  "id": "ai.syui.at.link",
  "defs": {
    "main": {
      "key": "literal:self",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "links",
          "createdAt"
        ],
        "properties": {
          "links": {
            "type": "array",
            "items": {
              "ref": "#linkItem",
              "type": "ref"
            },
            "description": "Array of external service links."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Client-declared timestamp when this record was created."
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime",
            "description": "Client-declared timestamp when this record was last updated."
          }
        }
      },
      "description": "Record containing links to external service profiles."
    },
    "linkItem": {
      "type": "object",
      "required": [
        "service",
        "username"
      ],
      "properties": {
        "service": {
          "type": "string",
          "description": "Service identifier.",
          "knownValues": [
            "github",
            "youtube",
            "x"
          ]
        },
        "username": {
          "type": "string",
          "maxLength": 300,
          "description": "Username or ID on the service."
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
