{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Remote attestation proof containing the CID of the content being attested.",
      "key": "tid",
      "record": {
        "properties": {
          "cid": {
            "description": "CID of the attested content, computed per the ATProtocol Attestation Specification: encode the attested record with its `signatures` field removed and a temporary `$sig` object inserted as canonical DAG-CBOR, then SHA-256 hash to produce a 36-byte CIDv1. `$sig` is this proof record without its `cid` field (so `$type`, plus `note` and `createdAt` when set), plus `repository`: the DID of the repository that holds the attested record.",
            "format": "cid",
            "type": "string"
          },
          "createdAt": {
            "description": "Client-declared timestamp when this proof was created.",
            "format": "datetime",
            "type": "string"
          },
          "note": {
            "description": "Optional note explaining the attestation purpose or context.",
            "maxLength": 500,
            "type": "string"
          }
        },
        "required": [
          "cid"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A remote attestation proof record holding the CID of attested content. Lives in the attestor's repository and is referenced from the attested record's `signatures` array via `com.atproto.repo.strongRef`. Conforms to the ATProtocol Attestation Specification.",
  "id": "app.certified.signature.proof",
  "lexicon": 1
}
