Variable MJAIAgentRelationshipSchemaConst
MJAIAgentRelationshipSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
Agent: ZodNullable<ZodString>;
AgentID: ZodString;
ID: ZodString;
MaxMessages: ZodNullable<ZodNumber>;
MessageMode: ZodUnion<
[
ZodLiteral<"All">,
ZodLiteral<"Bookend">,
ZodLiteral<"Latest">,
ZodLiteral<"None">,
],
>;
Status: ZodUnion<
[ZodLiteral<"Active">, ZodLiteral<"Pending">, ZodLiteral<"Revoked">],
>;
SubAgent: ZodNullable<ZodString>;
SubAgentContextPaths: ZodNullable<ZodString>;
SubAgentID: ZodString;
SubAgentInputMapping: ZodNullable<ZodString>;
SubAgentOutputMapping: ZodNullable<ZodString>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Agent?: string;
AgentID?: string;
ID?: string;
MaxMessages?: number;
MessageMode?: "None"
| "All"
| "Bookend"
| "Latest";
Status?: "Active" | "Pending" | "Revoked";
SubAgent?: string;
SubAgentContextPaths?: string;
SubAgentID?: string;
SubAgentInputMapping?: string;
SubAgentOutputMapping?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Agent?: string;
AgentID?: string;
ID?: string;
MaxMessages?: number;
MessageMode?: "None"
| "All"
| "Bookend"
| "Latest";
Status?: "Active" | "Pending" | "Revoked";
SubAgent?: string;
SubAgentContextPaths?: string;
SubAgentID?: string;
SubAgentInputMapping?: string;
SubAgentOutputMapping?: string;
},
> = ...
zod schema definition for the entity MJ: AI Agent Relationships