Rulvar API reference / @rulvar/core / CITATION_JUDGE_SCHEMA
Variable: CITATION_JUDGE_SCHEMA
ts
const CITATION_JUDGE_SCHEMA: {
additionalProperties: false;
properties: {
verdicts: {
items: {
additionalProperties: false;
properties: {
reason: {
type: "string";
};
row: {
type: "integer";
};
verdict: {
enum: readonly ["supported", "partial", "unsupported"];
type: "string";
};
};
required: readonly ["row", "verdict", "reason"];
type: "object";
};
type: "array";
};
};
required: readonly ["verdicts"];
type: "object";
};Defined in: packages/core/src/orchestrator/citation-audit.ts:801
The audit judge's structured verdict schema (mirrors the claim judge).
Type Declaration
| Name | Type | Default value | Defined in |
|---|---|---|---|
additionalProperties | false | false | packages/core/src/orchestrator/citation-audit.ts:819 |
properties | { verdicts: { items: { additionalProperties: false; properties: { reason: { type: "string"; }; row: { type: "integer"; }; verdict: { enum: readonly ["supported", "partial", "unsupported"]; type: "string"; }; }; required: readonly ["row", "verdict", "reason"]; type: "object"; }; type: "array"; }; } | - | packages/core/src/orchestrator/citation-audit.ts:803 |
properties.verdicts | { items: { additionalProperties: false; properties: { reason: { type: "string"; }; row: { type: "integer"; }; verdict: { enum: readonly ["supported", "partial", "unsupported"]; type: "string"; }; }; required: readonly ["row", "verdict", "reason"]; type: "object"; }; type: "array"; } | - | packages/core/src/orchestrator/citation-audit.ts:804 |
properties.verdicts.items | { additionalProperties: false; properties: { reason: { type: "string"; }; row: { type: "integer"; }; verdict: { enum: readonly ["supported", "partial", "unsupported"]; type: "string"; }; }; required: readonly ["row", "verdict", "reason"]; type: "object"; } | - | packages/core/src/orchestrator/citation-audit.ts:806 |
properties.verdicts.items.additionalProperties | false | false | packages/core/src/orchestrator/citation-audit.ts:814 |
properties.verdicts.items.properties | { reason: { type: "string"; }; row: { type: "integer"; }; verdict: { enum: readonly ["supported", "partial", "unsupported"]; type: "string"; }; } | - | packages/core/src/orchestrator/citation-audit.ts:808 |
properties.verdicts.items.properties.reason | { type: "string"; } | - | packages/core/src/orchestrator/citation-audit.ts:811 |
properties.verdicts.items.properties.reason.type | "string" | 'string' | packages/core/src/orchestrator/citation-audit.ts:811 |
properties.verdicts.items.properties.row | { type: "integer"; } | - | packages/core/src/orchestrator/citation-audit.ts:809 |
properties.verdicts.items.properties.row.type | "integer" | 'integer' | packages/core/src/orchestrator/citation-audit.ts:809 |
properties.verdicts.items.properties.verdict | { enum: readonly ["supported", "partial", "unsupported"]; type: "string"; } | - | packages/core/src/orchestrator/citation-audit.ts:810 |
properties.verdicts.items.properties.verdict.enum | readonly ["supported", "partial", "unsupported"] | - | packages/core/src/orchestrator/citation-audit.ts:810 |
properties.verdicts.items.properties.verdict.type | "string" | 'string' | packages/core/src/orchestrator/citation-audit.ts:810 |
properties.verdicts.items.required | readonly ["row", "verdict", "reason"] | - | packages/core/src/orchestrator/citation-audit.ts:813 |
properties.verdicts.items.type | "object" | 'object' | packages/core/src/orchestrator/citation-audit.ts:807 |
properties.verdicts.type | "array" | 'array' | packages/core/src/orchestrator/citation-audit.ts:805 |
required | readonly ["verdicts"] | - | packages/core/src/orchestrator/citation-audit.ts:818 |
type | "object" | 'object' | packages/core/src/orchestrator/citation-audit.ts:802 |