{
 "actions": [],
 "allow_import": 1,
 "autoname": "EV.#####",
 "creation": "2013-06-10 13:17:47",
 "doctype": "DocType",
 "document_type": "Document",
 "email_append_to": 1,
 "engine": "InnoDB",
 "field_order": [
  "details",
  "subject",
  "event_category",
  "event_type",
  "color",
  "send_reminder",
  "repeat_this_event",
  "column_break_4",
  "starts_on",
  "ends_on",
  "status",
  "sender",
  "all_day",
  "sync_with_google_calendar",
  "sb_00",
  "google_calendar",
  "pulled_from_google_calendar",
  "cb_00",
  "google_calendar_id",
  "google_calendar_event_id",
  "section_break_13",
  "repeat_on",
  "repeat_till",
  "column_break_16",
  "monday",
  "tuesday",
  "wednesday",
  "thursday",
  "friday",
  "saturday",
  "sunday",
  "section_break_8",
  "description",
  "participants",
  "event_participants"
 ],
 "fields": [
  {
   "fieldname": "details",
   "fieldtype": "Section Break",
   "label": "Details",
   "oldfieldtype": "Section Break"
  },
  {
   "fieldname": "subject",
   "fieldtype": "Small Text",
   "in_global_search": 1,
   "in_list_view": 1,
   "label": "Subject",
   "reqd": 1
  },
  {
   "fieldname": "event_category",
   "fieldtype": "Select",
   "label": "Event Category",
   "options": "Event\nMeeting\nCall\nSent/Received Email\nOther"
  },
  {
   "fieldname": "event_type",
   "fieldtype": "Select",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Event Type",
   "oldfieldname": "event_type",
   "oldfieldtype": "Select",
   "options": "Private\nPublic\nCancelled",
   "reqd": 1,
   "search_index": 1
  },
  {
   "default": "1",
   "fieldname": "send_reminder",
   "fieldtype": "Check",
   "label": "Send an email reminder in the morning"
  },
  {
   "default": "0",
   "fieldname": "repeat_this_event",
   "fieldtype": "Check",
   "label": "Repeat this Event"
  },
  {
   "fieldname": "column_break_4",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "starts_on",
   "fieldtype": "Datetime",
   "label": "Starts on",
   "reqd": 1
  },
  {
   "fieldname": "ends_on",
   "fieldtype": "Datetime",
   "label": "Ends on"
  },
  {
   "default": "0",
   "fieldname": "all_day",
   "fieldtype": "Check",
   "label": "All Day"
  },
  {
   "depends_on": "repeat_this_event",
   "fieldname": "section_break_13",
   "fieldtype": "Section Break"
  },
  {
   "depends_on": "repeat_this_event",
   "fieldname": "repeat_on",
   "fieldtype": "Select",
   "in_global_search": 1,
   "label": "Repeat On",
   "options": "\nDaily\nWeekly\nMonthly\nYearly"
  },
  {
   "depends_on": "repeat_this_event",
   "description": "Leave blank to repeat always",
   "fieldname": "repeat_till",
   "fieldtype": "Date",
   "label": "Repeat Till"
  },
  {
   "fieldname": "column_break_16",
   "fieldtype": "Column Break"
  },
  {
   "default": "0",
   "depends_on": "eval:doc.repeat_this_event && doc.repeat_on===\"Weekly\"",
   "fieldname": "monday",
   "fieldtype": "Check",
   "label": "Monday"
  },
  {
   "default": "0",
   "depends_on": "eval:doc.repeat_this_event && doc.repeat_on===\"Weekly\"",
   "fieldname": "tuesday",
   "fieldtype": "Check",
   "label": "Tuesday"
  },
  {
   "default": "0",
   "depends_on": "eval:doc.repeat_this_event && doc.repeat_on===\"Weekly\"",
   "fieldname": "wednesday",
   "fieldtype": "Check",
   "label": "Wednesday"
  },
  {
   "default": "0",
   "depends_on": "eval:doc.repeat_this_event && doc.repeat_on===\"Weekly\"",
   "fieldname": "thursday",
   "fieldtype": "Check",
   "label": "Thursday"
  },
  {
   "default": "0",
   "depends_on": "eval:doc.repeat_this_event && doc.repeat_on===\"Weekly\"",
   "fieldname": "friday",
   "fieldtype": "Check",
   "label": "Friday"
  },
  {
   "default": "0",
   "depends_on": "eval:doc.repeat_this_event && doc.repeat_on===\"Weekly\"",
   "fieldname": "saturday",
   "fieldtype": "Check",
   "label": "Saturday"
  },
  {
   "default": "0",
   "depends_on": "eval:doc.repeat_this_event && doc.repeat_on===\"Weekly\"",
   "fieldname": "sunday",
   "fieldtype": "Check",
   "label": "Sunday"
  },
  {
   "fieldname": "section_break_8",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "color",
   "fieldtype": "Color",
   "label": "Color"
  },
  {
   "fieldname": "description",
   "fieldtype": "Text Editor",
   "in_global_search": 1,
   "label": "Description",
   "oldfieldname": "description",
   "oldfieldtype": "Text",
   "print_width": "300px",
   "width": "300px"
  },
  {
   "fieldname": "participants",
   "fieldtype": "Section Break",
   "label": "Participants",
   "oldfieldtype": "Section Break"
  },
  {
   "fieldname": "event_participants",
   "fieldtype": "Table",
   "label": "Event Participants",
   "options": "Event Participants"
  },
  {
   "default": "Open",
   "fieldname": "status",
   "fieldtype": "Select",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Status",
   "options": "Open\nClosed"
  },
  {
   "collapsible": 1,
   "depends_on": "eval:doc.sync_with_google_calendar",
   "fieldname": "sb_00",
   "fieldtype": "Section Break",
   "label": "Google Calendar"
  },
  {
   "fetch_from": "google_calendar.google_calendar_id",
   "fieldname": "google_calendar_id",
   "fieldtype": "Data",
   "label": "Google Calendar ID",
   "read_only": 1
  },
  {
   "fieldname": "cb_00",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "google_calendar_event_id",
   "fieldtype": "Data",
   "label": "Google Calendar Event ID",
   "read_only": 1
  },
  {
   "default": "0",
   "fieldname": "sync_with_google_calendar",
   "fieldtype": "Check",
   "label": "Sync with Google Calendar"
  },
  {
   "fieldname": "google_calendar",
   "fieldtype": "Link",
   "label": "Google Calendar",
   "options": "Google Calendar"
  },
  {
   "default": "0",
   "fieldname": "pulled_from_google_calendar",
   "fieldtype": "Check",
   "label": "Pulled from Google Calendar",
   "read_only": 1
  },
  {
   "fieldname": "sender",
   "fieldtype": "Data",
   "label": "Sender",
   "options": "Email",
   "read_only": 1
  }
 ],
 "icon": "fa fa-calendar",
 "idx": 1,
 "links": [],
 "modified": "2021-11-18 05:06:24.881742",
 "modified_by": "Administrator",
 "module": "Desk",
 "name": "Event",
 "naming_rule": "Expression (old style)",
 "owner": "Administrator",
 "permissions": [
  {
   "create": 1,
   "email": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "All",
   "share": 1,
   "write": 1
  },
  {
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "import": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "System Manager",
   "share": 1,
   "write": 1
  }
 ],
 "read_only": 1,
 "sender_field": "sender",
 "sort_field": "modified",
 "sort_order": "DESC",
 "subject_field": "subject",
 "title_field": "subject",
 "track_changes": 1,
 "track_seen": 1,
 "track_views": 1
}