# systems.witchcraft.archive.bundle

> Published by [kira.pds.witchcraft.systems](https://lexicon.garden/identity/did:plc:2tqqxubv2lu4ahj35ysjer2r)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:2tqqxubv2lu4ahj35ysjer2r/systems.witchcraft.archive.bundle)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2tqqxubv2lu4ahj35ysjer2r/systems.witchcraft.archive.bundle/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2tqqxubv2lu4ahj35ysjer2r/systems.witchcraft.archive.bundle/examples)

## Definitions

### `systems.witchcraft.archive.bundle`

**Type**: `record`

A multi-resource web archive bundle using MASL format. Resources stored as PDS blobs with a manifest mapping paths to blob refs.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `url` | `string` (uri) | Yes | The primary URL that was archived. |
| `masl` | `unknown` | Yes | MASL metadata object with 'src' (CID string for single) or 'resources' map (path -> {src, headers}) for bundles. |
| `blobs` | `unknown` | Yes | Map of resource paths to PDS blob references for content retrieval. |
| `title` | `string` | No | Page title at time of capture. |
| `createdAt` | `string` (datetime) | Yes | When this record was created. |
| `capturedAt` | `string` (datetime) | Yes | When the capture was made. |

## Raw Schema

```json
{
  "id": "systems.witchcraft.archive.bundle",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "url",
          "capturedAt",
          "createdAt",
          "masl",
          "blobs"
        ],
        "properties": {
          "url": {
            "type": "string",
            "format": "uri",
            "description": "The primary URL that was archived."
          },
          "masl": {
            "type": "unknown",
            "description": "MASL metadata object with 'src' (CID string for single) or 'resources' map (path -> {src, headers}) for bundles."
          },
          "blobs": {
            "type": "unknown",
            "description": "Map of resource paths to PDS blob references for content retrieval."
          },
          "title": {
            "type": "string",
            "maxLength": 1000,
            "description": "Page title at time of capture."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "When this record was created."
          },
          "capturedAt": {
            "type": "string",
            "format": "datetime",
            "description": "When the capture was made."
          }
        }
      },
      "description": "A multi-resource web archive bundle using MASL format. Resources stored as PDS blobs with a manifest mapping paths to blob refs."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
