13 lines
323 B
TypeScript
13 lines
323 B
TypeScript
import { z } from "zod"
|
|
|
|
export const rateDefinitionSchema = z.object({
|
|
breakfastIncluded: z.boolean(),
|
|
cancellationRule: z.string(),
|
|
cancellationText: z.string(),
|
|
generalTerms: z.array(z.string()),
|
|
mustBeGuaranteed: z.boolean(),
|
|
rateCode: z.string(),
|
|
rateType: z.string().optional(),
|
|
title: z.string(),
|
|
})
|