# app.askeverything.actor.analysis

> Published by [askeverything.app](https://lexicon.garden/identity/did:plc:g7d3ia2ctyxputd3pjuccp2t)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:g7d3ia2ctyxputd3pjuccp2t/app.askeverything.actor.analysis)
- [Documentation](https://lexicon.garden/lexicon/did:plc:g7d3ia2ctyxputd3pjuccp2t/app.askeverything.actor.analysis/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:g7d3ia2ctyxputd3pjuccp2t/app.askeverything.actor.analysis/examples)

## Definitions

### `app.askeverything.actor.analysis`

**Type**: `record`

An AI-generated analysis of this account's answers, written by the app on the user's explicit instruction. Analyses only exist when the user has enabled the feature and clicked generate; creating this record IS the act of publishing, and the generation UI must make clear that the result is public on the open network. Regeneration creates a new record; the app may delete superseded ones.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `lang` | `string` (language) | No | Language the analysis was generated in. |
| `text` | `string` | Yes | The analysis text. Supports Markdown. |
| `model` | `string` | No | Identifier of the model that generated the analysis. |
| `createdAt` | `string` (datetime) | Yes |  |
| `sourceAnswerCount` | `integer` | No | Number of answers the analysis was generated from, so staleness can be detected. |

## Raw Schema

```json
{
  "id": "app.askeverything.actor.analysis",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "text",
          "createdAt"
        ],
        "properties": {
          "lang": {
            "type": "string",
            "format": "language",
            "description": "Language the analysis was generated in."
          },
          "text": {
            "type": "string",
            "maxLength": 100000,
            "minLength": 1,
            "description": "The analysis text. Supports Markdown.",
            "maxGraphemes": 10000
          },
          "model": {
            "type": "string",
            "maxLength": 100,
            "description": "Identifier of the model that generated the analysis."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "sourceAnswerCount": {
            "type": "integer",
            "minimum": 0,
            "description": "Number of answers the analysis was generated from, so staleness can be detected."
          }
        }
      },
      "description": "An AI-generated analysis of this account's answers, written by the app on the user's explicit instruction. Analyses only exist when the user has enabled the feature and clicked generate; creating this record IS the act of publishing, and the generation UI must make clear that the result is public on the open network. Regeneration creates a new record; the app may delete superseded ones."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
