Skip to content

Variable: KindDefinitionSpecSchema

const KindDefinitionSpecSchema: ZodObject<{
  alias: ZodString;
  ascii_icon: ZodOptional<ZodNullable<ZodString>>;
  default_agent: ZodOptional<ZodNullable<ZodString>>;
  default_agent_field: ZodOptional<ZodNullable<ZodString>>;
  dep_filters: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodString>>>;
  describe: ZodOptional<ZodNullable<ZodUnion<[ZodString, ZodRecord<ZodString, ZodUnknown>]>>>;
  description_fallback_field: ZodOptional<ZodNullable<ZodString>>;
  display_label: ZodOptional<ZodNullable<ZodString>>;
  docs: ZodOptional<ZodString>;
  embed: ZodOptional<ZodNullable<ZodArray<ZodString, "many">>>;
  flatten_in_context: ZodDefault<ZodBoolean>;
  graph_style: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodString>>>;
  is_overlayable: ZodDefault<ZodBoolean>;
  is_root: ZodDefault<ZodBoolean>;
  is_runtime_artifact: ZodDefault<ZodBoolean>;
  origin: ZodString;
  plane: ZodDefault<ZodEnum<["composition", "record"]>>;
  prompt_target: ZodDefault<ZodBoolean>;
  prompt_target_priority: ZodDefault<ZodNumber>;
  schema: ZodDefault<ZodRecord<ZodString, ZodUnknown>>;
  scope_inheritable: ZodDefault<ZodBoolean>;
  spec_defaults: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
  storage: ZodRecord<ZodString, ZodUnknown>;
  summary: ZodOptional<ZodNullable<ZodUnion<[ZodRecord<ZodString, ZodUnknown>, ZodArray<ZodString, "many">]>>>;
  target_api_version: ZodString;
  target_kind: ZodString;
  tenant_scope: ZodOptional<ZodEnum<["tenanted", "global"]>>;
  ui: ZodOptional<ZodNullable<ZodEffects<ZodRecord<ZodString, ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>>;
  ui_schema: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
  volatile_spec_fields: ZodOptional<ZodNullable<ZodArray<ZodString, "many">>>;
}, "strip", ZodTypeAny, {
  alias: string;
  ascii_icon?: string | null;
  default_agent?: string | null;
  default_agent_field?: string | null;
  dep_filters?: Record<string, string> | null;
  describe?: string | Record<string, unknown> | null;
  description_fallback_field?: string | null;
  display_label?: string | null;
  docs?: string;
  embed?: string[] | null;
  flatten_in_context: boolean;
  graph_style?: Record<string, string> | null;
  is_overlayable: boolean;
  is_root: boolean;
  is_runtime_artifact: boolean;
  origin: string;
  plane: "record" | "composition";
  prompt_target: boolean;
  prompt_target_priority: number;
  schema: Record<string, unknown>;
  scope_inheritable: boolean;
  spec_defaults?: Record<string, unknown> | null;
  storage: Record<string, unknown>;
  summary?: Record<string, unknown> | string[] | null;
  target_api_version: string;
  target_kind: string;
  tenant_scope?: "tenanted" | "global";
  ui?: Record<string, unknown> | null;
  ui_schema?: Record<string, unknown> | null;
  volatile_spec_fields?: string[] | null;
}, {
  alias: string;
  ascii_icon?: string | null;
  default_agent?: string | null;
  default_agent_field?: string | null;
  dep_filters?: Record<string, string> | null;
  describe?: string | Record<string, unknown> | null;
  description_fallback_field?: string | null;
  display_label?: string | null;
  docs?: string;
  embed?: string[] | null;
  flatten_in_context?: boolean;
  graph_style?: Record<string, string> | null;
  is_overlayable?: boolean;
  is_root?: boolean;
  is_runtime_artifact?: boolean;
  origin: string;
  plane?: "record" | "composition";
  prompt_target?: boolean;
  prompt_target_priority?: number;
  schema?: Record<string, unknown>;
  scope_inheritable?: boolean;
  spec_defaults?: Record<string, unknown> | null;
  storage: Record<string, unknown>;
  summary?: Record<string, unknown> | string[] | null;
  target_api_version: string;
  target_kind: string;
  tenant_scope?: "tenanted" | "global";
  ui?: Record<string, unknown> | null;
  ui_schema?: Record<string, unknown> | null;
  volatile_spec_fields?: string[] | null;
}>;