{
  "x402Version": 2,
  "id": 54597,
  "slug": "54597",
  "resource": "https://www.pennypress.org/witness/attest",
  "description": "",
  "type": "http",
  "resourceType": "Developer Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x19ea1e953542d7ac76f042f8bdc94d81b964c53d",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "amountUsd": 0.05,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "content_hash": {
            "type": "string"
          },
          "entry_hash": {
            "type": "string"
          },
          "entry_id": {
            "type": "string"
          },
          "seq": {
            "type": "integer"
          },
          "verify_url": {
            "type": "string"
          },
          "witness": {
            "type": "string"
          },
          "witnessed_at": {
            "type": "string"
          },
          "work_title": {
            "type": "string"
          }
        },
        "required": [
          "witness",
          "entry_id",
          "entry_hash"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "author_label": "Optional pen name or label (max 80 chars).",
            "content_hash": "Hex SHA-256 of the work (required).",
            "prev_entry_id": "Optional entry_id of the previous version.",
            "work_title": "Title of the work (required, max 200 chars)."
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "entry_hash": "(sha256 of the canonical entry)",
            "entry_id": "lw-000001",
            "verify_url": "/witness/verify?hash=...",
            "witness": "The Literary Witness"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "author_label": {
                    "type": "string"
                  },
                  "content_hash": {
                    "type": "string"
                  },
                  "prev_entry_id": {
                    "type": "string"
                  },
                  "work_title": {
                    "type": "string"
                  }
                },
                "required": [
                  "work_title",
                  "content_hash"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "content_hash": {
                    "type": "string"
                  },
                  "entry_hash": {
                    "type": "string"
                  },
                  "entry_id": {
                    "type": "string"
                  },
                  "seq": {
                    "type": "integer"
                  },
                  "verify_url": {
                    "type": "string"
                  },
                  "witness": {
                    "type": "string"
                  },
                  "witnessed_at": {
                    "type": "string"
                  },
                  "work_title": {
                    "type": "string"
                  }
                },
                "required": [
                  "witness",
                  "entry_id",
                  "entry_hash"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "www.pennypress.org",
  "lastUpdated": "2026-10-11T23:00:47.635Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-11T23:00:47.324Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "author_label": "Optional pen name or label (max 80 chars).",
              "content_hash": "Hex SHA-256 of the work (required).",
              "prev_entry_id": "Optional entry_id of the previous version.",
              "work_title": "Title of the work (required, max 200 chars)."
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "entry_hash": "(sha256 of the canonical entry)",
              "entry_id": "lw-000001",
              "verify_url": "/witness/verify?hash=...",
              "witness": "The Literary Witness"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "author_label": {
                      "type": "string"
                    },
                    "content_hash": {
                      "type": "string"
                    },
                    "prev_entry_id": {
                      "type": "string"
                    },
                    "work_title": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "work_title",
                    "content_hash"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "content_hash": {
                      "type": "string"
                    },
                    "entry_hash": {
                      "type": "string"
                    },
                    "entry_id": {
                      "type": "string"
                    },
                    "seq": {
                      "type": "integer"
                    },
                    "verify_url": {
                      "type": "string"
                    },
                    "witness": {
                      "type": "string"
                    },
                    "witnessed_at": {
                      "type": "string"
                    },
                    "work_title": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "witness",
                    "entry_id",
                    "entry_hash"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "www.pennypress.org",
    "manifest_name": "www.pennypress.org",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "content_hash": "string",
      "entry_hash": "string",
      "entry_id": "string",
      "seq": 0,
      "verify_url": "string",
      "witness": "string",
      "witnessed_at": "string",
      "work_title": "string"
    },
    "type": "string"
  }
}