import { z } from "@hono/zod-openapi"; export const TermsOfService = z .object({ updated_at: z.string().datetime().openapi({ description: "A timestamp of when the ToS was last updated.", example: "2025-01-12T13:11:00Z", }), content: z.string().openapi({ description: "The rendered HTML content of the ToS.", example: "

ToS

None, have fun.

", }), }) .openapi("TermsOfService", { description: "Represents the ToS of the instance.", });