# dev.keytrace.statement

> Published by [keytrace.dev](https://lexicon.garden/identity/did:plc:hcwfdlmprcc335oixyfsw7u3)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:hcwfdlmprcc335oixyfsw7u3/dev.keytrace.statement)
- [Documentation](https://lexicon.garden/lexicon/did:plc:hcwfdlmprcc335oixyfsw7u3/dev.keytrace.statement/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:hcwfdlmprcc335oixyfsw7u3/dev.keytrace.statement/examples)

## Definitions

### `dev.keytrace.statement`

**Type**: `record`

A public statement signed by one of the user's own published public keys (dev.keytrace.userPublicKey).

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `sig` | `string` | Yes | Cryptographic signature of the content field, produced by the key referenced in keyRef (PGP cleartext or detached, base64-encoded binary signature). |
| `keyRef` | `string` (at-uri) | Yes | AT URI of the dev.keytrace.userPublicKey record whose private key produced this signature (e.g., at://did:plc:xxx/dev.keytrace.userPublicKey/3k4...) |
| `content` | `string` | Yes | The statement text that was signed. |
| `subject` | `string` | No | Optional short subject or title for the statement. |
| `createdAt` | `string` (datetime) | Yes | Datetime when this statement was created (ISO 8601). |
| `retractedAt` | `string` (datetime) | No | Datetime when this statement was retracted. Present only if the statement has been retracted (ISO 8601). |

## Raw Schema

```json
{
  "id": "dev.keytrace.statement",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "content",
          "keyRef",
          "sig",
          "createdAt"
        ],
        "properties": {
          "sig": {
            "type": "string",
            "description": "Cryptographic signature of the content field, produced by the key referenced in keyRef (PGP cleartext or detached, base64-encoded binary signature)."
          },
          "keyRef": {
            "type": "string",
            "format": "at-uri",
            "description": "AT URI of the dev.keytrace.userPublicKey record whose private key produced this signature (e.g., at://did:plc:xxx/dev.keytrace.userPublicKey/3k4...)"
          },
          "content": {
            "type": "string",
            "maxLength": 10000,
            "description": "The statement text that was signed.",
            "maxGraphemes": 10000
          },
          "subject": {
            "type": "string",
            "description": "Optional short subject or title for the statement.",
            "maxGraphemes": 256
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Datetime when this statement was created (ISO 8601)."
          },
          "retractedAt": {
            "type": "string",
            "format": "datetime",
            "description": "Datetime when this statement was retracted. Present only if the statement has been retracted (ISO 8601)."
          }
        }
      },
      "description": "A public statement signed by one of the user's own published public keys (dev.keytrace.userPublicKey)."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
