systems.witchcraft.archive.capture

kira.ws

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

Lexicon Garden

@