Skip to content

evidence-report-mcp / EvidenceReport

Interface: EvidenceReport ​

Defined in: types.ts:115

What verify returns: the verdict and the evidence behind it.

Properties ​

checks ​

ts
checks: CheckResult[];

Defined in: types.ts:122

One result for each check that was planned for this kind of target.


generatedAt ​

ts
generatedAt: string;

Defined in: types.ts:126

ISO 8601 time the report was made.


notChecked ​

ts
notChecked: string[];

Defined in: types.ts:124

Things this verifier cannot or did not check. Always present, never empty.


summary ​

ts
summary: string;

Defined in: types.ts:118

One line a human can read. The checks array is the actual answer.


target ​

ts
target: 
  | {
  ecosystem: "npm" | "PyPI" | "Go" | "Maven" | "crates.io" | "NuGet" | "RubyGems";
  kind: "package";
  name: string;
  version: string;
}
  | {
  assetId?: string;
  kind: "dataset";
  records: unknown[];
  schema: Record<string, unknown>;
}
  | {
  kind: "file";
  path: string;
}
  | {
  kind: "claim";
  sources: string[];
  text: string;
};

Defined in: types.ts:120

The target as it was checked.

Union Members ​

Type Literal ​
ts
{
  ecosystem: "npm" | "PyPI" | "Go" | "Maven" | "crates.io" | "NuGet" | "RubyGems";
  kind: "package";
  name: string;
  version: string;
}

Type Literal ​
ts
{
  assetId?: string;
  kind: "dataset";
  records: unknown[];
  schema: Record<string, unknown>;
}
assetId? ​
ts
assetId?: string;

Optional asset id in an observability tool (freshness, volume, lineage).

kind ​
ts
kind: "dataset";
records ​
ts
records: unknown[];

Records to validate. Keep samples small; this is not a warehouse scan.

schema ​
ts
schema: Record<string, unknown>;

Inline JSON Schema the data must satisfy (the "contract").


Type Literal ​
ts
{
  kind: "file";
  path: string;
}
kind ​
ts
kind: "file";
path ​
ts
path: string;

Local path of an image/video/audio file to check for C2PA credentials.


Type Literal ​
ts
{
  kind: "claim";
  sources: string[];
  text: string;
}
kind ​
ts
kind: "claim";
sources ​
ts
sources: string[];

Sources the agent is relying on. Never verified against the agent's own output.

text ​
ts
text: string;

verdict ​

ts
verdict: Verdict;

Defined in: types.ts:116


verifier ​

ts
verifier: {
  name: string;
  version: string;
};

Defined in: types.ts:128

The package and version that made the report.

name ​

ts
name: string;

version ​

ts
version: string;