{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/writerslogic-com/json-schema/writerslogic-com-anchor-request-schema.json",
  "title": "AnchorRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/writerslogic-com-anchoring-api-openapi.yml#/components/schemas/AnchorRequest",
  "type": "object",
  "required": [
    "evidenceHash",
    "authorDid",
    "signature"
  ],
  "properties": {
    "evidenceHash": {
      "type": "string",
      "pattern": "^[0-9a-f]{64}$",
      "description": "SHA-256 hash of the evidence packet"
    },
    "authorDid": {
      "type": "string",
      "maxLength": 256
    },
    "signature": {
      "type": "string",
      "pattern": "^[0-9a-f]{128}$",
      "description": "128-char hex Ed25519 signature"
    },
    "metadata": {
      "type": "object",
      "properties": {
        "documentName": {
          "type": "string"
        },
        "tier": {
          "type": "string"
        }
      }
    }
  }
}