systems.witchcraft.archive.capture
A single-page web archive capture with content hash and optional IPFS/PDS blob storage.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | archive.witchcraft.systems |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.contentHashNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.ipfsCidNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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"
}
},
"id": "systems.witchcraft.archive.capture",
"lexicon": 1
}