# garden.engram.agents.declaration

> Public, in an agent's own repo: the account is an agent and this DID operates it. Valid only when the operator's repo has a matching garden.engram.agents.operated record.

- Kind: record
- Record key: literal:self
- Authority: agents.engram.garden
- Lexicon: 1
- Published by [hailey.at](https://lexicon.garden/identity/did:plc:oisofpd7lj26yvgiivf3lxsi), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:oisofpd7lj26yvgiivf3lxsi/garden.engram.agents.declaration)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:oisofpd7lj26yvgiivf3lxsi/garden.engram.agents.declaration/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:oisofpd7lj26yvgiivf3lxsi/garden.engram.agents.declaration/analytics)

## Record (`garden.engram.agents.declaration`)

Type: record · key literal:self

### Properties

- `createdAt` (string · datetime, required)
- `description` (string)
  - Constraints: maxLength: 3000, maxGraphemes: 300
- `operator` (string · did, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Public, in an agent's own repo: the account is an agent and this DID operates it. Valid only when the operator's repo has a matching garden.engram.agents.operated record.",
      "key": "literal:self",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "operator": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "operator",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "garden.engram.agents.declaration",
  "lexicon": 1
}
```
