import { schema } from '@kbn/config-schema' ; export const calendarSchema = schema . object ( { calendarId : schema . string ( ) , calendar_id : schema . maybe ( schema . string ( ) ) , job_ids : schema . arrayOf ( schema . string ( ) ) , description : schema . maybe ( schema . string ( ) ) , total_job_count : schema . maybe ( schema . number ( ) ) , events : schema . arrayOf ( schema . object ( { event_id : schema . maybe ( schema . string ( ) ) , calendar_id : schema . maybe ( schema . string ( ) ) , description : schema . maybe ( schema . string ( ) ) , start_time : schema . oneOf ( [ schema . string ( ) , schema . number ( ) ] ) , end_time : schema . oneOf ( [ schema . string ( ) , schema . number ( ) ] ) , } ) ) , } ) ; export const calendarIdSchema = schema . object ( { calendarId : schema . string ( ) } ) ; export const calendarIdsSchema = schema . object ( { /** Comma-separated list of calendar IDs */ calendarIds : schema . string ( ) , } ) ;