Skip to content

apps/api/src/schemas/responses.ts ​

Auto-generated by scripts/generate-file-docs.ts. Do not edit — overwritten on every run.

Purpose ​

Shared Zod response schemas for the Heritage Virginia API. AB#4326 — add response validation schemas. These schemas are the canonical contract between API and consumers (web, CLI). Runtime validation should be applied at route boundaries where needed. /

Exports ​

  • export const UserProfileSchema
  • export type UserProfile
  • export const ServiceStatusSchema
  • export const DatabaseServiceStatusSchema
  • export const HealthResponseSchema
  • export type HealthResponse
  • export const PaginatedResponseSchema

Imports ​

  • zod

Imported by ​

Heritage Community Hub — Internal. Access restricted via Cloudflare Access + Entra ID.