{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "scheduler-sync-google-calendar",
  "framework": "blazor",
  "type": "registry:component",
  "component": "Scheduler",
  "variant": "sync-google-calendar",
  "dependencies": [
    "Syncfusion.Blazor.Schedule"
  ],
  "description": "Scheduler synced to Google Calendar appointments and resources for convenient calendar coordination.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 3 (v35.1.37)",
    "license": "commercial-or-community",
    "licenseNote": "The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md",
    "requiresLicenseKey": true,
    "requiresServerEndpoint": false,
    "platformIndex": "https://ai.syncfusion.com/blazor/llms.txt",
    "skillPack": "syncfusion/blazor-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/blazor/scheduler-sync-google-calendar.md"
  },
  "files": [
    {
      "target": "src/components/scheduler-sync-google-calendar/Scheduler.razor",
      "content": "@page \"/scheduler/sync-google-calendar\"\n@namespace blazor.Components.Pages.SyncGoogleCalendar.SyncGoogleCalendar\n@using Syncfusion.Blazor.Schedule\n\n<div class=\"control-section\">\n    <div class=\"schedule-container\">\n        <SfSchedule TValue=\"GoogleCalendarEvent\" Width=\"100%\" Height=\"650px\" Readonly=\"true\" Timezone=\"UTC\"\n                    @bind-SelectedDate=\"SelectedDate\" @bind-CurrentView=\"CurrentView\">\n            <ScheduleEventSettings TValue=\"GoogleCalendarEvent\" DataSource=\"@Events\"></ScheduleEventSettings>\n            <ScheduleViews>\n                <ScheduleView Option=\"View.Day\"></ScheduleView>\n                <ScheduleView Option=\"View.Week\"></ScheduleView>\n                <ScheduleView Option=\"View.WorkWeek\"></ScheduleView>\n                <ScheduleView Option=\"View.Month\"></ScheduleView>\n                <ScheduleView Option=\"View.Agenda\"></ScheduleView>\n            </ScheduleViews>\n        </SfSchedule>\n    </div>\n</div>\n\n@code {\n    // A small placeholder list of all-day events shaped like the records a\n    // Google Calendar API call would return. Querying the real API needs a\n    // network connection and credentials, so this sample stays self-contained.\n    public DateTime SelectedDate { get; set; } = DateTime.Today;\n    public View CurrentView { get; set; } = View.Month;\n\n    public List<GoogleCalendarEvent> Events { get; set; } = new List<GoogleCalendarEvent>\n    {\n        new GoogleCalendarEvent { Id = 1, Subject = \"All-day sample A\", StartTime = DateTime.Today.AddDays(1).Date, EndTime = DateTime.Today.AddDays(2).Date, IsAllDay = true },\n        new GoogleCalendarEvent { Id = 2, Subject = \"All-day sample B\", StartTime = DateTime.Today.AddDays(3).Date, EndTime = DateTime.Today.AddDays(4).Date, IsAllDay = true },\n    };\n\n    public class GoogleCalendarEvent\n    {\n        public int Id { get; set; }\n        public string Subject { get; set; } = string.Empty;\n        public DateTime StartTime { get; set; }\n        public DateTime EndTime { get; set; }\n        public bool IsAllDay { get; set; }\n    }\n}\n"
    }
  ]
}