{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://evidence.contact/transaction-evidence-chain-report.schema.json",
  "title": "402Mob optional chain verification report",
  "type": "object",
  "properties": {
    "protocol": {
      "type": "string",
      "const": "402mob.transaction-evidence-chain-report.v1"
    },
    "status": {
      "type": "string",
      "enum": [
        "verified",
        "pending",
        "invalid",
        "unavailable"
      ]
    },
    "scope": {
      "type": "string",
      "enum": [
        "usdc_transfer_only",
        "protected_contract_snapshot"
      ]
    },
    "chainId": {
      "type": "number",
      "const": 8453
    },
    "confirmations": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10000
    },
    "blockNumber": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[0-9]+$"
        },
        {
          "type": "null"
        }
      ]
    },
    "blockHash": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^0x[0-9a-fA-F]{64}$"
        },
        {
          "type": "null"
        }
      ]
    },
    "detail": {
      "type": "string"
    },
    "resourceBinding": {
      "type": "string",
      "const": "not_proven"
    },
    "rpcTrust": {
      "type": "string",
      "const": "caller_selected_rpc"
    }
  },
  "required": [
    "protocol",
    "status",
    "scope",
    "chainId",
    "confirmations",
    "blockNumber",
    "blockHash",
    "detail",
    "resourceBinding",
    "rpcTrust"
  ],
  "additionalProperties": false
}
