# world.ptah.temp.action

> Published by [ptah.world](https://lexicon.garden/identity/did:plc:l45z35sxxjuobp5q65a5vu22)

✓ This is the authoritative definition for this NSID.

## Description

An action record in The Ptah Protocol. The heartbeat of the protocol — every time someone acts inside a world, they create one of these. It is what makes the world alive rather than static.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:l45z35sxxjuobp5q65a5vu22/world.ptah.temp.action)
- [Documentation](https://lexicon.garden/lexicon/did:plc:l45z35sxxjuobp5q65a5vu22/world.ptah.temp.action/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:l45z35sxxjuobp5q65a5vu22/world.ptah.temp.action/examples)

## Definitions

### `world.ptah.temp.action`

**Type**: `record`

An entry in a ship's log. Something happened. Someone did it. The Opening of the Mouth ceremony — Ptah opens the mouth and the statue breathes, speaks, acts. The action record is the breath.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `content` | `string` | No | What actually happened. The text of the action. |
| `actorDID` | `string` (did) | Yes | Who performed the action — the person behind the character. |
| `createdAt` | `string` (datetime) | Yes | Timestamp of the action. |
| `actionType` | `string` | No | What kind of action. Open-ended. |
| `visibility` | `string` | No | The narrative visibility tier of this action. |
| `worldReference` | `string` (at-uri) | Yes | The AT URI of the world this action happened in. |
| `narrativeWeight` | `integer` | No | Optional importance scoring hook. Null by default. Populated by the AppView or by originator designation when needed. Does not change v1 behavior — all actions are structurally flat by default. |
| `targetReference` | `string` (at-uri) | No | If this action was directed at another character or object, the AT URI of the target. |
| `locationReference` | `string` (at-uri) | No | The AT URI of the location record where this action took place. |
| `characterReference` | `string` (at-uri) | No | The AT URI of the character performing the action. Not the person — the character. |

## Raw Schema

```json
{
  "id": "world.ptah.temp.action",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "actorDID",
          "worldReference",
          "createdAt"
        ],
        "properties": {
          "content": {
            "type": "string",
            "maxLength": 30720,
            "description": "What actually happened. The text of the action.",
            "maxGraphemes": 3000
          },
          "actorDID": {
            "type": "string",
            "format": "did",
            "description": "Who performed the action — the person behind the character."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp of the action."
          },
          "actionType": {
            "type": "string",
            "maxLength": 640,
            "description": "What kind of action. Open-ended.",
            "knownValues": [
              "movement",
              "speech",
              "conflict",
              "creation",
              "witness"
            ],
            "maxGraphemes": 64
          },
          "visibility": {
            "type": "string",
            "description": "The narrative visibility tier of this action.",
            "knownValues": [
              "canon",
              "community",
              "experimental"
            ]
          },
          "worldReference": {
            "type": "string",
            "format": "at-uri",
            "description": "The AT URI of the world this action happened in."
          },
          "narrativeWeight": {
            "type": "integer",
            "minimum": 0,
            "description": "Optional importance scoring hook. Null by default. Populated by the AppView or by originator designation when needed. Does not change v1 behavior — all actions are structurally flat by default."
          },
          "targetReference": {
            "type": "string",
            "format": "at-uri",
            "description": "If this action was directed at another character or object, the AT URI of the target."
          },
          "locationReference": {
            "type": "string",
            "format": "at-uri",
            "description": "The AT URI of the location record where this action took place."
          },
          "characterReference": {
            "type": "string",
            "format": "at-uri",
            "description": "The AT URI of the character performing the action. Not the person — the character."
          }
        }
      },
      "description": "An entry in a ship's log. Something happened. Someone did it. The Opening of the Mouth ceremony — Ptah opens the mouth and the statue breathes, speaks, acts. The action record is the breath."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "An action record in The Ptah Protocol. The heartbeat of the protocol — every time someone acts inside a world, they create one of these. It is what makes the world alive rather than static."
}
```
