systems.witchcraft.archive.capture

kira.pds.witchcraft.systems

Documentation

A single-page web archive capture with content hash and optional IPFS/PDS blob storage.

main record

A single-page web archive capture with content hash and optional IPFS/PDS blob storage.

Record Key tid Timestamp-based ID

Properties

capturedAt string datetime Required

When the capture was made.

contentHash string Required

SHA-256 hash of captured content, prefixed with 'sha256:'.

createdAt string datetime Required

When this record was created.

htmlBlob blob Optional

The captured HTML uploaded as a PDS blob.

ipfsCid string Optional

IPFS Content Identifier (CIDv1) for the pinned content.

pinned boolean Optional

Whether the content is pinned to IPFS.

title string Optional

Page title at time of capture.

maxLength: 1000 bytes
url string uri Required

The URL that was archived.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "url",
      "contentHash",
      "capturedAt",
      "createdAt"
    ],
    "properties": {
      "url": {
        "type": "string",
        "format": "uri",
        "description": "The URL that was archived."
      },
      "title": {
        "type": "string",
        "maxLength": 1000,
        "description": "Page title at time of capture."
      },
      "pinned": {
        "type": "boolean",
        "description": "Whether the content is pinned to IPFS."
      },
      "ipfsCid": {
        "type": "string",
        "description": "IPFS Content Identifier (CIDv1) for the pinned content."
      },
      "htmlBlob": {
        "type": "blob",
        "accept": [
          "text/html"
        ],
        "description": "The captured HTML uploaded as a PDS blob."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "When this record was created."
      },
      "capturedAt": {
        "type": "string",
        "format": "datetime",
        "description": "When the capture was made."
      },
      "contentHash": {
        "type": "string",
        "description": "SHA-256 hash of captured content, prefixed with 'sha256:'."
      }
    }
  },
  "description": "A single-page web archive capture with content hash and optional IPFS/PDS blob storage."
}

Lexicon Garden

@