# net.oscillatory.dev.cartesium.publicationV1

> Published by [oscillatory.net](https://lexicon.garden/identity/did:plc:ncwcsl2uejt5ci5qgn7spgis)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ncwcsl2uejt5ci5qgn7spgis/net.oscillatory.dev.cartesium.publicationV1)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ncwcsl2uejt5ci5qgn7spgis/net.oscillatory.dev.cartesium.publicationV1/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ncwcsl2uejt5ci5qgn7spgis/net.oscillatory.dev.cartesium.publicationV1/examples)

## Definitions

### `net.oscillatory.dev.cartesium.publicationV1`

**Type**: `record`

An immutable Cartesium graph publication with a portable document snapshot and social preview.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `title` | `string` | No | The graph title at publication time. |
| `preview` | `blob` | Yes | A 1200 by 630 PNG preview of the published graph. |
| `snapshot` | `blob` | Yes | A Cartesium GraphSnapshotV1 encoded as UTF-8 JSON. |
| `createdAt` | `string` (datetime) | Yes | The time at which this immutable publication was created. |

## Raw Schema

```json
{
  "id": "net.oscillatory.dev.cartesium.publicationV1",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "createdAt",
          "snapshot",
          "preview"
        ],
        "properties": {
          "title": {
            "type": "string",
            "maxLength": 2000,
            "description": "The graph title at publication time.",
            "maxGraphemes": 500
          },
          "preview": {
            "type": "blob",
            "accept": [
              "image/png"
            ],
            "maxSize": 5000000,
            "description": "A 1200 by 630 PNG preview of the published graph."
          },
          "snapshot": {
            "type": "blob",
            "accept": [
              "application/json"
            ],
            "maxSize": 500000,
            "description": "A Cartesium GraphSnapshotV1 encoded as UTF-8 JSON."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "The time at which this immutable publication was created."
          }
        }
      },
      "description": "An immutable Cartesium graph publication with a portable document snapshot and social preview."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
