Variable MJRubricEvaluationSchemaConst
MJRubricEvaluationSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
AIAgentRun: ZodNullable<ZodString>;
AIAgentRunID: ZodNullable<ZodString>;
AIPromptRun: ZodNullable<ZodString>;
AIPromptRunID: ZodNullable<ZodString>;
ApplicableCriteriaCount: ZodNullable<ZodNumber>;
Band: ZodNullable<ZodString>;
BandID: ZodNullable<ZodString>;
CohortAICount: ZodNullable<ZodNumber>;
CohortAIMeanScore: ZodNullable<ZodNumber>;
CohortEvaluationCount: ZodNullable<ZodNumber>;
CohortHumanCount: ZodNullable<ZodNumber>;
CohortHumanMeanScore: ZodNullable<ZodNumber>;
CohortMaxScore: ZodNullable<ZodNumber>;
CohortMeanScore: ZodNullable<ZodNumber>;
CohortMinScore: ZodNullable<ZodNumber>;
CohortPassedCount: ZodNullable<ZodNumber>;
CohortScoredCount: ZodNullable<ZodNumber>;
CohortScoreStdDev: ZodNullable<ZodNumber>;
Completeness: ZodNullable<ZodNumber>;
Confidence: ZodNullable<ZodNumber>;
ContextEntity: ZodNullable<ZodString>;
ContextEntityID: ZodNullable<ZodString>;
ContextRecordID: ZodNullable<ZodString>;
DeviationFromCohortMean: ZodNullable<ZodNumber>;
ErrorMessage: ZodNullable<ZodString>;
EvaluatorName: ZodNullable<ZodString>;
EvaluatorType: ZodUnion<
[
ZodLiteral<"AIPrompt">,
ZodLiteral<"Agent">,
ZodLiteral<"Deterministic">,
ZodLiteral<"External">,
ZodLiteral<"Human">,
ZodLiteral<"Self">,
],
>;
EvaluatorUser: ZodNullable<ZodString>;
EvaluatorUserID: ZodNullable<ZodString>;
GateFailed: ZodBoolean;
ID: ZodString;
Metadata: ZodNullable<ZodAny>;
Narrative: ZodNullable<ZodString>;
NormalizedScore: ZodNullable<ZodNumber>;
Outcome: ZodNullable<
ZodUnion<
[
ZodLiteral<"BelowThreshold">,
ZodLiteral<"GateFailed">,
ZodLiteral<"Incomplete">,
ZodLiteral<"NotApplicableFailure">,
ZodLiteral<"Passed">,
ZodLiteral<"Scored">,
],
>,
>;
Passed: ZodNullable<ZodBoolean>;
PassThresholdApplied: ZodNullable<ZodNumber>;
Rubric: ZodString;
RubricID: ZodString;
RubricMajorVersion: ZodNullable<ZodNumber>;
RubricVersionID: ZodString;
RubricVersionLabel: ZodNullable<ZodString>;
ScoredCriteriaCount: ZodNullable<ZodNumber>;
ScoringEngineVersion: ZodNullable<ZodString>;
SelfAssessmentCount: ZodNullable<ZodNumber>;
SelfAssessmentScore: ZodNullable<ZodNumber>;
Status: ZodUnion<
[
ZodLiteral<"Draft">,
ZodLiteral<"Failed">,
ZodLiteral<"Submitted">,
ZodLiteral<"Superseded">,
ZodLiteral<"Withdrawn">,
],
>;
SubjectEntity: ZodString;
SubjectEntityID: ZodString;
SubjectRecordID: ZodString;
SubmittedAt: ZodNullable<ZodDate>;
SupersedesEvaluationID: ZodNullable<ZodString>;
TotalCriteriaCount: ZodNullable<ZodNumber>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AIAgentRun?: string;
AIAgentRunID?: string;
AIPromptRun?: string;
AIPromptRunID?: string;
ApplicableCriteriaCount?: number;
Band?: string;
BandID?: string;
CohortAICount?: number;
CohortAIMeanScore?: number;
CohortEvaluationCount?: number;
CohortHumanCount?: number;
CohortHumanMeanScore?: number;
CohortMaxScore?: number;
CohortMeanScore?: number;
CohortMinScore?: number;
CohortPassedCount?: number;
CohortScoredCount?: number;
CohortScoreStdDev?: number;
Completeness?: number;
Confidence?: number;
ContextEntity?: string;
ContextEntityID?: string;
ContextRecordID?: string;
DeviationFromCohortMean?: number;
ErrorMessage?: string;
EvaluatorName?: string;
EvaluatorType?: | "Agent"
| "Human"
| "AIPrompt"
| "External"
| "Deterministic"
| "Self";
EvaluatorUser?: string;
EvaluatorUserID?: string;
GateFailed?: boolean;
ID?: string;
Metadata?: any;
Narrative?: string;
NormalizedScore?: number;
Outcome?: | "GateFailed"
| "Passed"
| "BelowThreshold"
| "Incomplete"
| "NotApplicableFailure"
| "Scored";
Passed?: boolean;
PassThresholdApplied?: number;
Rubric?: string;
RubricID?: string;
RubricMajorVersion?: number;
RubricVersionID?: string;
RubricVersionLabel?: string;
ScoredCriteriaCount?: number;
ScoringEngineVersion?: string;
SelfAssessmentCount?: number;
SelfAssessmentScore?: number;
Status?: "Failed"
| "Draft"
| "Submitted"
| "Superseded"
| "Withdrawn";
SubjectEntity?: string;
SubjectEntityID?: string;
SubjectRecordID?: string;
SubmittedAt?: Date;
SupersedesEvaluationID?: string;
TotalCriteriaCount?: number;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AIAgentRun?: string;
AIAgentRunID?: string;
AIPromptRun?: string;
AIPromptRunID?: string;
ApplicableCriteriaCount?: number;
Band?: string;
BandID?: string;
CohortAICount?: number;
CohortAIMeanScore?: number;
CohortEvaluationCount?: number;
CohortHumanCount?: number;
CohortHumanMeanScore?: number;
CohortMaxScore?: number;
CohortMeanScore?: number;
CohortMinScore?: number;
CohortPassedCount?: number;
CohortScoredCount?: number;
CohortScoreStdDev?: number;
Completeness?: number;
Confidence?: number;
ContextEntity?: string;
ContextEntityID?: string;
ContextRecordID?: string;
DeviationFromCohortMean?: number;
ErrorMessage?: string;
EvaluatorName?: string;
EvaluatorType?: | "Agent"
| "Human"
| "AIPrompt"
| "External"
| "Deterministic"
| "Self";
EvaluatorUser?: string;
EvaluatorUserID?: string;
GateFailed?: boolean;
ID?: string;
Metadata?: any;
Narrative?: string;
NormalizedScore?: number;
Outcome?: | "GateFailed"
| "Passed"
| "BelowThreshold"
| "Incomplete"
| "NotApplicableFailure"
| "Scored";
Passed?: boolean;
PassThresholdApplied?: number;
Rubric?: string;
RubricID?: string;
RubricMajorVersion?: number;
RubricVersionID?: string;
RubricVersionLabel?: string;
ScoredCriteriaCount?: number;
ScoringEngineVersion?: string;
SelfAssessmentCount?: number;
SelfAssessmentScore?: number;
Status?: "Failed"
| "Draft"
| "Submitted"
| "Superseded"
| "Withdrawn";
SubjectEntity?: string;
SubjectEntityID?: string;
SubjectRecordID?: string;
SubmittedAt?: Date;
SupersedesEvaluationID?: string;
TotalCriteriaCount?: number;
},
> = ...
zod schema definition for the entity MJ: Rubric Evaluations