{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/proofable-me/json-schema/proofable-me-verification-request-schema.json",
  "title": "VerificationRequest",
  "description": "Phase 2 of the raw HTTP verification handshake. For raw HTTP callers, first call POST /api/v1/verification/standardize with this same body (minus signature), sign the returned signerString, then submit this body with signature. Treat this as a continuation of the standardized request, not as an independent one-step POST.",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/proofable-me-openapi.yml#/components/schemas/VerificationRequest",
  "type": "object",
  "required": [
    "verifierIds",
    "data",
    "walletAddress"
  ],
  "properties": {
    "verifierIds": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "ownership-basic",
          "ownership-social",
          "ownership-pseudonym",
          "ownership-dns-txt",
          "ownership-org-oauth",
          "contract-ownership",
          "proof-of-human",
          "nft-ownership",
          "token-holding",
          "wallet-risk",
          "wallet-link",
          "ai-content-moderation",
          "agent-identity",
          "agent-delegation"
        ]
      },
      "minItems": 1
    },
    "data": {
      "oneOf": [
        {
          "$ref": "#/$defs/VerificationDataFlat"
        },
        {
          "$ref": "#/$defs/VerificationDataNamespaced"
        },
        {
          "type": "string"
        }
      ]
    },
    "walletAddress": {
      "type": "string",
      "description": "Signer wallet address (who authenticates the request). For raw HTTP, this must match the walletAddress used during POST /api/v1/verification/standardize and the wallet that produced signature."
    },
    "subjectWallet": {
      "type": "string",
      "description": "Optional: Wallet being verified (delegated subject). Must match signed payload for verifiers that support delegated subjects (allowsDelegatedSubject: true). Defaults to walletAddress if omitted. Only valid when all verifiers in verifierIds support allowsDelegatedSubject: true."
    },
    "signature": {
      "type": "string",
      "description": "Required unless authenticated session is present. For raw HTTP, sign the exact signerString returned by POST /api/v1/verification/standardize for this same request body."
    },
    "signedTimestamp": {
      "type": "number",
      "description": "Required unless authenticated session is present. For raw HTTP, this must exactly match the signedTimestamp used during POST /api/v1/verification/standardize."
    },
    "chainId": {
      "type": "integer",
      "description": "Advanced/optional. EVM signing context; defaults to Base mainnet (8453) when omitted and remains independent from the optional protocol hub. For non-EVM, use chain (CAIP-2). For chain-specific asset claims (NFT, token, contract), set chainId inside verifier data, not here."
    },
    "chain": {
      "type": "string",
      "description": "CAIP-2 signer-chain identifier. Non-EVM wallets must provide it (for example solana:mainnet); EVM wallets may provide eip155:<id> or use the Base mainnet default."
    },
    "signatureMethod": {
      "type": "string"
    },
    "options": {
      "type": "object",
      "description": "Optional verification options. By default the proof persists offchain with no on-chain transaction.",
      "properties": {
        "publishToHub": {
          "type": "boolean",
          "description": "Opt in to an on-chain hub registry transaction when targetChains is empty. Default false: offchain receipt only."
        },
        "targetChains": {
          "type": "array",
          "items": {
            "type": "integer"
          },
          "description": "Optional chain IDs for cross-chain propagation. Empty (default) = no cross-chain spokes."
        },
        "enableIpfs": {
          "type": "boolean",
          "description": "Pin proof metadata to IPFS (public proofs only)."
        },
        "privacyLevel": {
          "type": "string",
          "enum": [
            "private",
            "public"
          ]
        },
        "publicDisplay": {
          "type": "boolean"
        }
      },
      "additionalProperties": true
    },
    "meta": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "additionalProperties": true,
  "$defs": {
    "VerificationDataFlat": {
      "oneOf": [
        {
          "$ref": "#/$defs/VerifierData_ownership_basic"
        },
        {
          "$ref": "#/$defs/VerifierData_ownership_social"
        },
        {
          "$ref": "#/$defs/VerifierData_ownership_pseudonym"
        },
        {
          "$ref": "#/$defs/VerifierData_ownership_dns_txt"
        },
        {
          "$ref": "#/$defs/VerifierData_ownership_org_oauth"
        },
        {
          "$ref": "#/$defs/VerifierData_contract_ownership"
        },
        {
          "$ref": "#/$defs/VerifierData_proof_of_human"
        },
        {
          "$ref": "#/$defs/VerifierData_nft_ownership"
        },
        {
          "$ref": "#/$defs/VerifierData_token_holding"
        },
        {
          "$ref": "#/$defs/VerifierData_wallet_risk"
        },
        {
          "$ref": "#/$defs/VerifierData_wallet_link"
        },
        {
          "$ref": "#/$defs/VerifierData_ai_content_moderation"
        },
        {
          "$ref": "#/$defs/VerifierData_agent_identity"
        },
        {
          "$ref": "#/$defs/VerifierData_agent_delegation"
        }
      ]
    },
    "VerificationDataNamespaced": {
      "type": "object",
      "additionalProperties": {
        "oneOf": [
          {
            "$ref": "#/$defs/VerifierData_ownership_basic"
          },
          {
            "$ref": "#/$defs/VerifierData_ownership_social"
          },
          {
            "$ref": "#/$defs/VerifierData_ownership_pseudonym"
          },
          {
            "$ref": "#/$defs/VerifierData_ownership_dns_txt"
          },
          {
            "$ref": "#/$defs/VerifierData_ownership_org_oauth"
          },
          {
            "$ref": "#/$defs/VerifierData_contract_ownership"
          },
          {
            "$ref": "#/$defs/VerifierData_proof_of_human"
          },
          {
            "$ref": "#/$defs/VerifierData_nft_ownership"
          },
          {
            "$ref": "#/$defs/VerifierData_token_holding"
          },
          {
            "$ref": "#/$defs/VerifierData_wallet_risk"
          },
          {
            "$ref": "#/$defs/VerifierData_wallet_link"
          },
          {
            "$ref": "#/$defs/VerifierData_ai_content_moderation"
          },
          {
            "$ref": "#/$defs/VerifierData_agent_identity"
          },
          {
            "$ref": "#/$defs/VerifierData_agent_delegation"
          }
        ]
      }
    },
    "VerifierData_agent_delegation": {
      "type": "object",
      "description": "Delegation from a controller account to an agent; the controller signs. Use CAIP-2 chain references per wallet, or set chain or chainId on the verification request when both parties share the same network context. Proof output may include CAIP-10 account identifiers.",
      "required": [
        "controllerWallet",
        "controllerChainRef",
        "agentWallet",
        "agentChainRef",
        "allowedActions"
      ],
      "properties": {
        "controllerChainRef": {
          "type": "string",
          "description": "CAIP-2 network reference for controllerWallet. Supply in data or on the verification request as chain (CAIP-2) or chainId (EVM).",
          "pattern": "^[a-z0-9]+:[a-zA-Z0-9._-]+$"
        },
        "controllerWallet": {
          "type": "string",
          "pattern": "^(0x[a-fA-F0-9]{40}|[1-9A-HJ-NP-Za-km-z]{32,44}|[a-z0-9._-]{2,64})$"
        },
        "controllerAccountId": {
          "type": "string",
          "format": "caip10-account",
          "description": "Optional CAIP-10 account identifier for controllerWallet. May be injected when inputs are normalized from wallet + chain context."
        },
        "agentChainRef": {
          "type": "string",
          "description": "CAIP-2 network reference for agentWallet. Supply in data or on the verification request as chain (CAIP-2) or chainId (EVM).",
          "pattern": "^[a-z0-9]+:[a-zA-Z0-9._-]+$"
        },
        "agentWallet": {
          "type": "string",
          "pattern": "^(0x[a-fA-F0-9]{40}|[1-9A-HJ-NP-Za-km-z]{32,44}|[a-z0-9._-]{2,64})$"
        },
        "agentAccountId": {
          "type": "string",
          "format": "caip10-account",
          "description": "Optional CAIP-10 account identifier for agentWallet. May be injected when inputs are normalized from wallet + chain context."
        },
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "pattern": "^[A-Za-z0-9_-]{1,128}$",
          "description": "Stable agent id: 1-128 letters, digits, hyphens or underscores. It addresses the agent page at /agent/<agentId>."
        },
        "maxSpend": {
          "type": "string",
          "pattern": "^[0-9]{1,78}$",
          "description": "Maximum amount for one proposed payment, encoded as a whole-number string in token base units. This field is not a cumulative balance. USDC uses six decimal places."
        },
        "allowedPaymentTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 32
          },
          "maxItems": 8
        },
        "receiptDisclosure": {
          "type": "string",
          "enum": [
            "none",
            "summary",
            "full"
          ]
        },
        "expiresAt": {
          "type": "integer",
          "minimum": 0
        },
        "instructions": {
          "type": "string",
          "maxLength": 16000
        },
        "model": {
          "type": "string",
          "maxLength": 128,
          "description": "Preferred inference model label (backward compat; prefer runtimePolicy.allowedModelClasses for structured policy). Owner-view-only: not included in public proof responses."
        },
        "provider": {
          "type": "string",
          "maxLength": 64,
          "description": "Preferred inference provider label (backward compat; prefer runtimePolicy.allowedProviders for structured policy). Owner-view-only: not included in public proof responses."
        },
        "runtimePolicy": {
          "type": "object",
          "description": "Runtime execution policy, security-authoritative, overrides identity defaultRuntime. Owner-view-only: not included in public proof responses. Only include when model/provider constraints affect the permission boundary.",
          "properties": {
            "allowedProviders": {
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 64
              },
              "maxItems": 8,
              "description": "Allowed inference provider labels (e.g., [\"openrouter\", \"openai\"])."
            },
            "allowedModelClasses": {
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 128
              },
              "maxItems": 8,
              "description": "Allowed model class patterns (e.g., [\"gpt-4.1-*\", \"approved-public-content-models\"])."
            },
            "requiresHumanApproval": {
              "type": "boolean",
              "description": "Whether the agent must pause for explicit human approval before irreversible actions."
            },
            "secretsExposedToReceipt": {
              "type": "boolean",
              "description": "Whether the delegation policy allows secrets to appear in action proofs (default false)."
            }
          },
          "additionalProperties": false
        },
        "allowedActions": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 128
          },
          "maxItems": 32,
          "minItems": 1,
          "description": "Required. The canonical actions this agent may perform (e.g., [\"read_context\", \"read_proofs\", \"execute_jobs\"]). Nothing outside this list is granted. make_payment also requires allowedPaymentTypes and maxSpend. Owner-view-only: not included in public proof responses."
        },
        "deniedActions": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 128
          },
          "maxItems": 32,
          "description": "Explicit denylist of action types the agent may NOT perform. Takes precedence over allowedActions. Owner-view-only: not included in public proof responses."
        },
        "allowedOrigins": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 256
          },
          "maxItems": 16,
          "description": "For an app acting as the agent (agentId = app id): the exact web origins it may act from, or \"*\" for server-to-server callers."
        },
        "approvalPolicy": {
          "type": "object",
          "description": "Approval requirements for the delegated agent. Owner-view-only: not included in public proof responses.",
          "properties": {
            "humanApprovalRequiredForNewClaims": {
              "type": "boolean",
              "description": "Whether the agent must get human approval before creating new proof claims on behalf of the controller."
            },
            "preApprovedContentOnly": {
              "type": "boolean",
              "description": "Whether the agent may only publish content pre-approved by the controller."
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    "VerifierData_agent_identity": {
      "type": "object",
      "description": "Register an agent identity signed by the agent wallet. Uses CAIP-2 chain references; proof output may include CAIP-10 account identifiers. Provide chain context as agentChainRef in data and/or as chain (CAIP-2) or chainId (EVM) on the verification request. Does not grant permissions; use agent-delegation for authority.",
      "required": [
        "agentId",
        "agentWallet",
        "agentChainRef"
      ],
      "properties": {
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "pattern": "^[A-Za-z0-9_-]{1,128}$",
          "description": "Stable agent id: 1-128 letters, digits, hyphens or underscores. It addresses the agent page at /agent/<agentId>."
        },
        "agentChainRef": {
          "type": "string",
          "description": "CAIP-2 network reference for agentWallet (for example eip155:8453). Supply in data or on the verification request as chain (CAIP-2) or chainId (EVM).",
          "pattern": "^[a-z0-9]+:[a-zA-Z0-9._-]+$"
        },
        "agentWallet": {
          "type": "string",
          "pattern": "^(0x[a-fA-F0-9]{40}|[1-9A-HJ-NP-Za-km-z]{32,44}|[a-z0-9._-]{2,64})$"
        },
        "agentAccountId": {
          "type": "string",
          "format": "caip10-account",
          "description": "Optional CAIP-10 account identifier for agentWallet. May be injected when inputs are normalized from wallet + chain context."
        },
        "agentLabel": {
          "type": "string",
          "maxLength": 128
        },
        "agentType": {
          "type": "string",
          "enum": [
            "ai",
            "bot",
            "service",
            "automation",
            "agent"
          ]
        },
        "avatar": {
          "type": "string",
          "maxLength": 512,
          "description": "Public agent avatar/logo URL or ipfs:// URI."
        },
        "description": {
          "type": "string",
          "maxLength": 500
        },
        "capabilities": {
          "type": "object",
          "description": "Agent capabilities as boolean flags",
          "properties": {
            "wallet": {
              "type": "boolean"
            },
            "signing": {
              "type": "boolean"
            },
            "spending": {
              "type": "boolean"
            },
            "publishing": {
              "type": "boolean"
            },
            "search": {
              "type": "boolean"
            },
            "browser": {
              "type": "boolean"
            },
            "mcp": {
              "type": "boolean"
            },
            "webhooks": {
              "type": "boolean"
            },
            "receipts": {
              "type": "boolean"
            },
            "proofs": {
              "type": "boolean"
            },
            "delegation": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        },
        "instructions": {
          "type": "string",
          "maxLength": 16000
        },
        "skills": {
          "type": "array",
          "description": "Agent skills as structured objects",
          "maxItems": 48,
          "items": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "maxLength": 64
              },
              "label": {
                "type": "string",
                "maxLength": 64
              },
              "version": {
                "type": "string",
                "maxLength": 32
              },
              "provider": {
                "type": "string",
                "maxLength": 64
              },
              "kind": {
                "type": "string",
                "enum": [
                  "native",
                  "integration",
                  "plugin",
                  "mcp",
                  "toolkit"
                ]
              },
              "configId": {
                "type": "string",
                "maxLength": 128,
                "description": "Optional opaque integration or provider configuration reference. Not a secret, not an OAuth token, not credential material."
              },
              "enabled": {
                "type": "boolean"
              }
            }
          }
        },
        "services": {
          "type": "array",
          "maxItems": 16,
          "items": {
            "type": "object",
            "required": [
              "name",
              "endpoint"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 64
              },
              "endpoint": {
                "type": "string",
                "format": "uri",
                "maxLength": 256
              },
              "version": {
                "type": "string",
                "maxLength": 32
              }
            }
          }
        },
        "defaultRuntime": {
          "type": "object",
          "description": "Default runtime display hints, NOT security-authoritative; delegation runtimePolicy overrides these. These are convenience metadata for UI and tooling, not proof of which model/provider the agent actually uses.",
          "properties": {
            "provider": {
              "type": "string",
              "maxLength": 64,
              "description": "Default inference provider label (e.g., \"openrouter\", \"openai\")."
            },
            "model": {
              "type": "string",
              "maxLength": 128,
              "description": "Default inference model label (e.g., \"kimi-k2.6\", \"gpt-5.4\")."
            },
            "mode": {
              "type": "string",
              "maxLength": 64,
              "description": "Default inference mode (e.g., \"openai-chat\", \"openai-responses\")."
            },
            "origin": {
              "type": "string",
              "enum": [
                "hermes",
                "openclaw",
                "opencode",
                "cursor",
                "claude",
                "codex",
                "hosted",
                "other"
              ],
              "description": "Runtime origin for wrap-and-connect imports. Display metadata only. Local frameworks share this token with `proofable mount --apply`. hosted/other have no implied adapter."
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    "VerifierData_ai_content_moderation": {
      "type": "object",
      "required": [
        "content",
        "contentType"
      ],
      "properties": {
        "content": {
          "type": "string",
          "maxLength": 13653334
        },
        "contentType": {
          "type": "string",
          "enum": [
            "image/jpeg",
            "image/png",
            "image/webp",
            "image/gif",
            "text/plain",
            "text/markdown",
            "text/x-markdown",
            "application/json",
            "application/xml"
          ]
        },
        "provider": {
          "type": "string",
          "enum": [
            "google-vision",
            "google-perspective"
          ]
        }
      }
    },
    "VerifierData_contract_ownership": {
      "type": "object",
      "required": [
        "contractAddress",
        "chainId"
      ],
      "properties": {
        "contractAddress": {
          "type": "string",
          "pattern": "^0x[a-fA-F0-9]{40}$"
        },
        "chainId": {
          "type": "integer",
          "minimum": 1
        },
        "walletAddress": {
          "type": "string",
          "pattern": "^0x[a-fA-F0-9]{40}$"
        },
        "method": {
          "type": "string",
          "enum": [
            "owner",
            "admin",
            "accessControl"
          ]
        }
      }
    },
    "VerifierData_nft_ownership": {
      "type": "object",
      "required": [
        "contractAddress",
        "tokenId"
      ],
      "oneOf": [
        {
          "required": [
            "chainId"
          ]
        },
        {
          "required": [
            "chain"
          ]
        }
      ],
      "properties": {
        "ownerAddress": {
          "type": "string",
          "pattern": "^(0x[a-fA-F0-9]{40}|[1-9A-HJ-NP-Za-km-z]{32,44}|[a-z0-9._-]{2,64})$"
        },
        "contractAddress": {
          "type": "string",
          "pattern": "^(0x[a-fA-F0-9]{40}|[1-9A-HJ-NP-Za-km-z]{32,44}|[a-z0-9._-]{2,64})$"
        },
        "tokenId": {
          "type": "string",
          "minLength": 1
        },
        "tokenType": {
          "type": "string",
          "enum": [
            "erc721",
            "erc1155"
          ],
          "default": "erc721"
        },
        "chainId": {
          "type": "integer",
          "minimum": 1
        },
        "chain": {
          "type": "string",
          "description": "CAIP-2 for Solana (e.g. solana:mainnet)"
        },
        "blockNumber": {
          "type": "integer",
          "minimum": 0
        }
      }
    },
    "VerifierData_ownership_basic": {
      "type": "object",
      "description": "Ownership proofs require owner plus at least one durable anchor: content, contentHash, or reference.id. Use reference and provenance to keep proofs linkable and explain origin without storing unnecessary raw content.",
      "required": [
        "owner"
      ],
      "anyOf": [
        {
          "required": [
            "content"
          ]
        },
        {
          "required": [
            "contentHash"
          ]
        },
        {
          "required": [
            "reference"
          ]
        }
      ],
      "properties": {
        "content": {
          "type": "string",
          "maxLength": 50000,
          "description": "Exact text/content being claimed (max 50KB inline). Use when you want Proofable to derive the ownership anchor from the submitted content."
        },
        "contentHash": {
          "type": "string",
          "pattern": "^0x[a-fA-F0-9]{64}$",
          "description": "Pre-computed ownership-basic verifier hash (32-byte hex). If content is also provided, the verifier integrity-checks that they match."
        },
        "contentType": {
          "type": "string",
          "maxLength": 100,
          "description": "MIME type hint"
        },
        "owner": {
          "type": "string",
          "description": "Owner identifier (must match request walletAddress). Supports EVM (0x..), Solana (base58), NEAR (account IDs), and other universal address formats depending on chain context.",
          "minLength": 1,
          "pattern": "^(0x[a-fA-F0-9]{40}|[1-9A-HJ-NP-Za-km-z]{32,44}|[a-z0-9._-]{2,64})$"
        },
        "reference": {
          "type": "object",
          "required": [
            "type",
            "id"
          ],
          "description": "Stable pointer to the thing being proven. Use this for files, URLs, releases, repository paths, transactions, prior proofs, or external records.",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "ipfs",
                "ipfs-hash",
                "url",
                "license-nft",
                "contract",
                "qhash",
                "ethereum-tx",
                "on-chain-tx",
                "tx",
                "file",
                "doc",
                "media",
                "username-claim",
                "job",
                "job-status",
                "other"
              ],
              "description": "Reference type"
            },
            "id": {
              "type": "string",
              "maxLength": 2048,
              "description": "Stable reference identifier such as a URL, CID, transaction hash, repository path, file key, or prior proof qHash."
            },
            "title": {
              "type": "string",
              "maxLength": 200,
              "description": "Human-readable title for proof pages, inventory, and agent/tool summaries."
            },
            "description": {
              "type": "string",
              "maxLength": 500,
              "description": "Short explanation of what the reference points to."
            },
            "mime": {
              "type": "string",
              "maxLength": 100,
              "description": "MIME type when the reference points to a file or media artifact."
            },
            "name": {
              "type": "string",
              "maxLength": 255,
              "description": "File, artifact, or object name when available."
            },
            "size": {
              "type": "integer",
              "minimum": 0,
              "description": "Referenced object size in bytes when available."
            }
          }
        },
        "provenance": {
          "type": "object",
          "description": "Origin metadata for the claim. Use declaredKind and aiContext to make AI-assisted or agent-created work understandable without changing proof identity.",
          "properties": {
            "declaredKind": {
              "type": "string",
              "enum": [
                "human",
                "ai",
                "mixed",
                "unknown"
              ],
              "description": "Declared origin of the claimed content."
            },
            "aiContext": {
              "type": "object",
              "description": "AI or agent generation context when declaredKind is ai or mixed.",
              "properties": {
                "generatorType": {
                  "type": "string",
                  "enum": [
                    "local",
                    "saas",
                    "agent"
                  ],
                  "description": "Where generation happened."
                },
                "provider": {
                  "type": "string",
                  "maxLength": 64,
                  "description": "AI provider, runtime, or agent system."
                },
                "model": {
                  "type": "string",
                  "maxLength": 128,
                  "description": "Model or agent version when available."
                },
                "runId": {
                  "type": "string",
                  "maxLength": 128,
                  "description": "Non-secret run or job reference for traceability."
                }
              }
            }
          }
        }
      }
    },
    "VerifierData_ownership_dns_txt": {
      "type": "object",
      "required": [
        "domain"
      ],
      "properties": {
        "domain": {
          "type": "string",
          "format": "hostname",
          "minLength": 1,
          "description": "Hostname to verify (TXT lookup at _proofable.<domain> or _neus.<domain>)."
        },
        "walletAddress": {
          "type": "string",
          "description": "Optional in data when options.walletAddress supplies the signer; filled in if omitted. If present, it must match the signing wallet and any allowed delegation rules. The TXT record must use wallet= with the same address Proofable checks.",
          "pattern": "^(0x[a-fA-F0-9]{40}|[1-9A-HJ-NP-Za-km-z]{32,44}|[a-z0-9._-]{2,64})$"
        }
      }
    },
    "VerifierData_ownership_org_oauth": {
      "type": "object",
      "required": [
        "provider",
        "internalSocialToken"
      ],
      "properties": {
        "provider": {
          "type": "string",
          "enum": [
            "google",
            "microsoft",
            "email"
          ],
          "description": "How the work email is confirmed: Google Workspace or Microsoft sign-in, or email (a one-time code sent to the work address)."
        },
        "internalSocialToken": {
          "type": "string",
          "description": "Opaque token from the hosted org sign-in or work-email code session; not your app API key."
        },
        "walletAddress": {
          "type": "string",
          "description": "Wallet to associate with the verified org identity.",
          "pattern": "^(0x[a-fA-F0-9]{40}|[1-9A-HJ-NP-Za-km-z]{32,44}|[a-z0-9._-]{2,64})$"
        },
        "expectedOrgDomain": {
          "type": "string",
          "format": "hostname",
          "description": "Optional DNS hostname for the organization (e.g. company.com) to match against the IdP directory."
        }
      }
    },
    "VerifierData_ownership_pseudonym": {
      "type": "object",
      "required": [
        "pseudonymId"
      ],
      "properties": {
        "pseudonymId": {
          "type": "string",
          "pattern": "^[a-z0-9][a-z0-9._-]{1,30}[a-z0-9]$",
          "minLength": 3,
          "maxLength": 32,
          "description": "Stable handle for this identity within `namespace` (lowercase alphanumeric, dots, hyphens, underscores; 3 to 32 chars)."
        },
        "namespace": {
          "type": "string",
          "pattern": "^[a-z0-9]([a-z0-9._-]*[a-z0-9])?$",
          "minLength": 1,
          "maxLength": 64,
          "default": "proofable",
          "description": "Logical partition so the same `pseudonymId` can exist in different apps or communities. Omit to write `proofable`. Legacy `neus` writes remap to `proofable`; existing `neus:<handle>` proofs still resolve."
        },
        "displayName": {
          "type": "string",
          "maxLength": 64,
          "description": "Optional display label for UX; omit or minimize PII if you do not need it."
        },
        "metadata": {
          "type": "object",
          "description": "Optional app-defined structured fields (keep small; avoid secrets)."
        }
      }
    },
    "VerifierData_ownership_social": {
      "type": "object",
      "required": [
        "provider",
        "internalSocialToken"
      ],
      "properties": {
        "provider": {
          "type": "string",
          "enum": [
            "discord",
            "github",
            "facebook",
            "x",
            "linkedin",
            "telegram",
            "coinbase"
          ],
          "description": "OAuth provider to verify against."
        },
        "internalSocialToken": {
          "type": "string",
          "description": "Opaque token from the hosted link session after the user authorizes; not your app API key."
        },
        "walletAddress": {
          "type": "string",
          "description": "Wallet bound to the social account when applicable.",
          "pattern": "^(0x[a-fA-F0-9]{40}|[1-9A-HJ-NP-Za-km-z]{32,44}|[a-z0-9._-]{2,64})$"
        }
      }
    },
    "VerifierData_proof_of_human": {
      "type": "object",
      "required": [
        "proofs",
        "queryResult"
      ],
      "properties": {
        "provider": {
          "type": "string",
          "enum": [
            "zkpassport"
          ]
        },
        "proofs": {
          "type": "array",
          "minItems": 1,
          "maxItems": 10
        },
        "queryResult": {
          "type": "object"
        },
        "scope": {
          "type": "string",
          "pattern": "^[a-zA-Z0-9_-]{1,64}$"
        },
        "neusPersonhoodId": {
          "type": "string",
          "pattern": "^0x[a-fA-F0-9]{64}$",
          "description": "Salted SHA-256 personhood ID for sybil resistance (not returned in API responses)"
        },
        "assuranceLevel": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ],
          "description": "Verification confidence level derived from proof claims"
        },
        "claims": {
          "type": "object",
          "description": "Privacy-preserving boolean/numeric verification claims"
        },
        "traits": {
          "type": "object",
          "description": "Provider-specific verification metadata"
        },
        "expiresAt": {
          "type": "number",
          "description": "Unix timestamp (ms) when the proof expires"
        }
      }
    },
    "VerifierData_token_holding": {
      "type": "object",
      "required": [
        "contractAddress",
        "minBalance"
      ],
      "oneOf": [
        {
          "required": [
            "chainId"
          ]
        },
        {
          "required": [
            "chain"
          ]
        }
      ],
      "properties": {
        "ownerAddress": {
          "type": "string",
          "pattern": "^(0x[a-fA-F0-9]{40}|[1-9A-HJ-NP-Za-km-z]{32,44}|[a-z0-9._-]{2,64})$"
        },
        "contractAddress": {
          "type": "string",
          "pattern": "^(0x[a-fA-F0-9]{40}|[1-9A-HJ-NP-Za-km-z]{32,44}|[a-z0-9._-]{2,64})$"
        },
        "minBalance": {
          "type": "string",
          "minLength": 1
        },
        "chainId": {
          "type": "integer",
          "minimum": 1
        },
        "chain": {
          "type": "string",
          "description": "CAIP-2 for Solana (e.g. solana:mainnet)"
        },
        "blockNumber": {
          "type": "integer",
          "minimum": 0
        }
      }
    },
    "VerifierData_wallet_link": {
      "type": "object",
      "required": [
        "signature",
        "signatureMethod",
        "signedTimestamp"
      ],
      "anyOf": [
        {
          "required": [
            "primaryAccountId",
            "secondaryAccountId"
          ]
        },
        {
          "required": [
            "primaryWalletAddress",
            "secondaryWalletAddress",
            "chain"
          ]
        }
      ],
      "properties": {
        "primaryAccountId": {
          "type": "string",
          "format": "caip10-account"
        },
        "secondaryAccountId": {
          "type": "string",
          "format": "caip10-account"
        },
        "primaryChainRef": {
          "type": "string",
          "pattern": "^[a-z0-9]+:[a-zA-Z0-9._-]+$"
        },
        "secondaryChainRef": {
          "type": "string",
          "pattern": "^[a-z0-9]+:[a-zA-Z0-9._-]+$"
        },
        "primaryWalletAddress": {
          "type": "string",
          "pattern": "^(0x[a-fA-F0-9]{40}|[1-9A-HJ-NP-Za-km-z]{32,44}|[a-z0-9._-]{2,64})$"
        },
        "secondaryWalletAddress": {
          "type": "string",
          "pattern": "^(0x[a-fA-F0-9]{40}|[1-9A-HJ-NP-Za-km-z]{32,44}|[a-z0-9._-]{2,64})$"
        },
        "signature": {
          "type": "string",
          "minLength": 1
        },
        "chain": {
          "type": "string",
          "pattern": "^[a-z0-9]+:[a-zA-Z0-9._-]+$"
        },
        "signatureMethod": {
          "type": "string",
          "minLength": 1
        },
        "signedTimestamp": {
          "type": "integer",
          "minimum": 0
        },
        "relationshipType": {
          "type": "string",
          "enum": [
            "primary",
            "personal",
            "org",
            "affiliate",
            "agent",
            "linked"
          ]
        },
        "label": {
          "type": "string",
          "maxLength": 64
        }
      }
    },
    "VerifierData_wallet_risk": {
      "type": "object",
      "required": [
        "walletAddress"
      ],
      "properties": {
        "provider": {
          "type": "string",
          "enum": [
            "webacy"
          ],
          "default": "webacy"
        },
        "walletAddress": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$"
            },
            {
              "type": "string",
              "pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
            },
            {
              "type": "string",
              "format": "ton-address"
            },
            {
              "type": "string",
              "format": "sui-address"
            },
            {
              "type": "string",
              "format": "sei-address"
            },
            {
              "type": "string",
              "format": "bitcoin-address"
            },
            {
              "type": "string",
              "format": "stellar-address"
            }
          ]
        },
        "chain": {
          "type": "string",
          "enum": [
            "eth",
            "base",
            "bsc",
            "pol",
            "opt",
            "arb",
            "sol",
            "ton",
            "sei",
            "sui",
            "btc",
            "stellar"
          ]
        },
        "chainId": {
          "type": "integer",
          "minimum": 1
        }
      }
    }
  }
}