@mintlify/validation
Version:
Validates mint.json files
12 lines (11 loc) • 352 B
JavaScript
import { z } from 'zod';
export const metadataSchema = z
.object({
timestamp: z
.boolean()
.optional()
.default(false)
.describe('When enabled, all pages will display the date the content was last modified. Default is false.'),
})
.optional()
.describe('Metadata configuration for documentation pages');