# at.zrwv.parker.publication

> Published by [zerowave.at](https://lexicon.garden/identity/did:plc:i7lvp4e6nkzlyi6xdgig7r7g)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:i7lvp4e6nkzlyi6xdgig7r7g/at.zrwv.parker.publication)
- [Documentation](https://lexicon.garden/lexicon/did:plc:i7lvp4e6nkzlyi6xdgig7r7g/at.zrwv.parker.publication/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:i7lvp4e6nkzlyi6xdgig7r7g/at.zrwv.parker.publication/examples)

## Definitions

### `at.zrwv.parker.publication`

**Type**: `record`

Private publication intent and receipt for one public write. Provisional (schemaVersion 1).

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `destination` | `string` | Yes |  |
| `error` | `string` | No |  |
| `id` | `string` | Yes |  |
| `itemId` | `string` | Yes |  |
| `itemRevision` | `string` | Yes |  |
| `payload` | `unknown` | No |  |
| `payloadHash` | `string` | Yes |  |
| `publicCid` | `string` (cid) | No |  |
| `publicUri` | `string` (at-uri) | No |  |
| `publisherDid` | `string` (did) | Yes |  |
| `queueOwnerDid` | `string` (did) | Yes |  |
| `reservedRkey` | `string` (record-key) | Yes |  |
| `schemaVersion` | `integer` | Yes |  |
| `state` | `string` | Yes |  |
| `updatedAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Private publication intent and receipt for one public write. Provisional (schemaVersion 1).",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "destination": {
            "maxLength": 64,
            "type": "string"
          },
          "error": {
            "maxLength": 3000,
            "type": "string"
          },
          "id": {
            "maxLength": 64,
            "type": "string"
          },
          "itemId": {
            "maxLength": 64,
            "type": "string"
          },
          "itemRevision": {
            "maxLength": 128,
            "type": "string"
          },
          "payload": {
            "type": "unknown"
          },
          "payloadHash": {
            "maxLength": 128,
            "type": "string"
          },
          "publicCid": {
            "format": "cid",
            "type": "string"
          },
          "publicUri": {
            "format": "at-uri",
            "type": "string"
          },
          "publisherDid": {
            "format": "did",
            "type": "string"
          },
          "queueOwnerDid": {
            "format": "did",
            "type": "string"
          },
          "reservedRkey": {
            "format": "record-key",
            "type": "string"
          },
          "schemaVersion": {
            "minimum": 1,
            "type": "integer"
          },
          "state": {
            "knownValues": [
              "intent",
              "attempting",
              "succeeded",
              "failed"
            ],
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "schemaVersion",
          "id",
          "itemId",
          "itemRevision",
          "queueOwnerDid",
          "publisherDid",
          "destination",
          "reservedRkey",
          "payloadHash",
          "state",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "at.zrwv.parker.publication",
  "lexicon": 1
}
```
