# place.hud.chat.artifact

> Something a chat made, an app or a view, in its person's repo in the chat's space (place.hud.chat), keyed by its key: the name the model gave it (1 to 40 of a-z, 0-9 and -). Its versions are place.hud.chat.version records keyed <key>-<version>.

- Kind: record
- Record key: any
- Authority: chat.hud.place
- Lexicon: 1
- Published by [lexicons.hud.place](https://lexicon.garden/identity/did:plc:3tzbz4pml36u4mkresb6pdhv), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:3tzbz4pml36u4mkresb6pdhv/place.hud.chat.artifact)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:3tzbz4pml36u4mkresb6pdhv/place.hud.chat.artifact/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:3tzbz4pml36u4mkresb6pdhv/place.hud.chat.artifact/analytics)

## Record (`place.hud.chat.artifact`)

Type: record · key any

### Properties

- `createdAt` (string · datetime, required)
- `kind` (string, required)
  - Constraints: maxLength: 32, knownValues: app | view
- `latest` (integer, required): Its newest version.
  - Constraints: minimum: 1
- `published` (ref)
  - Reference: `place.hud.chatDefs#published`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Something a chat made, an app or a view, in its person's repo in the chat's space (place.hud.chat), keyed by its key: the name the model gave it (1 to 40 of a-z, 0-9 and -). Its versions are place.hud.chat.version records keyed <key>-<version>.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "kind": {
            "knownValues": [
              "app",
              "view"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "latest": {
            "description": "Its newest version.",
            "minimum": 1,
            "type": "integer"
          },
          "published": {
            "ref": "place.hud.chatDefs#published",
            "type": "ref"
          }
        },
        "required": [
          "kind",
          "latest",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "place.hud.chat.artifact",
  "lexicon": 1
}
```
