{
 "actions": [],
 "allow_rename": 1,
 "creation": "2022-03-06 20:52:45.544397",
 "pagetype": "PageType",
 "editable_grid": 1,
 "engine": "InnoDB",
 "field_order": [
  "subdomain",
  "domain",
  "status",
  "status_before_update",
  "server",
  "archive_failed",
  "column_break_3",
  "bench",
  "group",
  "cluster",
  "admin_password",
  "additional_system_user_created",
  "config_tab",
  "hide_config",
  "host_name",
  "configuration",
  "column_break_12",
  "database_name",
  "config",
  "billing_tab",
  "team",
  "plan",
  "free",
  "staging",
  "column_break_15",
  "account_request",
  "is_jerp_setup",
  "trial_end_date",
  "jerp_consultant",
  "site_usage_section",
  "disable_site_usage_exceed_check",
  "site_usage_exceeded",
  "site_usage_exceeded_on",
  "site_usage_exceeded_last_checked_on",
  "column_break_vngj",
  "last_site_usage_warning_mail_sent_on",
  "_site_usages",
  "current_disk_usage",
  "current_cpu_usage",
  "current_database_usage",
  "apps_tab",
  "apps",
  "_keys_removed_in_last_update",
  "deploy_section",
  "timezone",
  "column_break_29",
  "remote_files_tab",
  "skip_failing_patches",
  "remote_config_file",
  "remote_database_file",
  "column_break_34",
  "remote_private_file",
  "remote_public_file",
  "backup_tab",
  "logical_backup_section",
  "skip_scheduled_logical_backups",
  "schedule_logical_backup_at_custom_time",
  "logical_backup_times",
  "physical_backup_section",
  "skip_scheduled_physical_backups",
  "schedule_physical_backup_at_custom_time",
  "physical_backup_times",
  "flags1_section",
  "allow_physical_backup_by_user",
  "tab_break_46",
  "notifications_section",
  "communication_infos",
  "monitoring_section",
  "is_monitoring_disabled",
  "reason_for_disabling_monitoring",
  "auto_updates_section",
  "skip_auto_updates",
  "only_update_at_specified_time",
  "auto_update_last_triggered_on",
  "column_break_53",
  "update_trigger_frequency",
  "update_trigger_time",
  "column_break_57",
  "update_on_weekday",
  "update_end_of_month",
  "update_on_day_of_month",
  "setup_wizard_status_section",
  "setup_wizard_complete",
  "column_break_vbgj",
  "setup_wizard_status_check_retries",
  "setup_wizard_status_check_next_retry_on",
  "database_section",
  "database_access_connection_limit",
  "saas_section",
  "is_standby",
  "standby_for",
  "standby_for_product",
  "hybrid_for",
  "signup_time",
  "column_break_63",
  "hybrid_saas_pool",
  "saas_communication_secret",
  "tags_section",
  "tags"
 ],
 "fields": [
  {
   "fetch_from": "bench.server",
   "fetch_if_empty": 1,
   "fieldname": "server",
   "fieldtype": "Link",
   "hide_days": 1,
   "hide_seconds": 1,
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Server",
   "options": "Server",
   "reqd": 1,
   "set_only_once": 1
  },
  {
   "fieldname": "bench",
   "fieldtype": "Link",
   "hide_days": 1,
   "hide_seconds": 1,
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Bench",
   "options": "Bench",
   "reqd": 1,
   "set_only_once": 1
  },
  {
   "default": "Pending",
   "fieldname": "status",
   "fieldtype": "Select",
   "hide_days": 1,
   "hide_seconds": 1,
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Status",
   "options": "Pending\nInstalling\nUpdating\nRecovering\nActive\nInactive\nBroken\nArchived\nSuspended",
   "read_only": 1,
   "reqd": 1,
   "search_index": 1
  },
  {
   "fieldname": "admin_password",
   "fieldtype": "Password",
   "hide_days": 1,
   "hide_seconds": 1,
   "label": "Administrator Password"
  },
  {
   "fieldname": "column_break_3",
   "fieldtype": "Column Break",
   "hide_days": 1,
   "hide_seconds": 1
  },
  {
   "default": "{}",
   "fieldname": "config",
   "fieldtype": "Code",
   "hide_days": 1,
   "hide_seconds": 1,
   "label": "Preview",
   "options": "JSON",
   "read_only": 1
  },
  {
   "fieldname": "subdomain",
   "fieldtype": "Data",
   "hide_days": 1,
   "hide_seconds": 1,
   "label": "Subdomain",
   "reqd": 1,
   "search_index": 1
  },
  {
   "fieldname": "team",
   "fieldtype": "Link",
   "hide_days": 1,
   "hide_seconds": 1,
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Team",
   "options": "Team",
   "reqd": 1,
   "search_index": 1
  },
  {
   "collapsible": 1,
   "fieldname": "deploy_section",
   "fieldtype": "Section Break",
   "hide_days": 1,
   "hide_seconds": 1,
   "label": "Deploy"
  },
  {
   "fieldname": "timezone",
   "fieldtype": "Data",
   "hide_days": 1,
   "hide_seconds": 1,
   "label": "Timezone"
  },
  {
   "default": "0",
   "fieldname": "setup_wizard_complete",
   "fieldtype": "Check",
   "hide_days": 1,
   "hide_seconds": 1,
   "label": "Setup Wizard Complete",
   "read_only": 1
  },
  {
   "default": "0",
   "description": "If checked, this site's usage data won't be sent to Stripe",
   "fieldname": "free",
   "fieldtype": "Check",
   "hide_days": 1,
   "hide_seconds": 1,
   "label": "Free Site"
  },
  {
   "fieldname": "host_name",
   "fieldtype": "Data",
   "label": "Host Name"
  },
  {
   "fieldname": "status_before_update",
   "fieldtype": "Data",
   "hidden": 1,
   "label": "Status Before Update"
  },
  {
   "fieldname": "remote_database_file",
   "fieldtype": "Link",
   "label": "Remote Database File",
   "options": "Remote File"
  },
  {
   "fieldname": "remote_private_file",
   "fieldtype": "Link",
   "label": "Remote Private File",
   "options": "Remote File"
  },
  {
   "fieldname": "remote_public_file",
   "fieldtype": "Link",
   "label": "Remote Public File",
   "options": "Remote File"
  },
  {
   "fieldname": "remote_config_file",
   "fieldtype": "Link",
   "label": "Remote Config File",
   "options": "Remote File"
  },
  {
   "fieldname": "configuration",
   "fieldtype": "Table",
   "label": "Configuration",
   "options": "Site Config"
  },
  {
   "fieldname": "_keys_removed_in_last_update",
   "fieldtype": "Data",
   "hidden": 1,
   "label": "Keys Removed in Last Config Change"
  },
  {
   "fieldname": "apps",
   "fieldtype": "Table",
   "hide_days": 1,
   "hide_seconds": 1,
   "label": "Apps",
   "options": "Site App",
   "reqd": 1
  },
  {
   "fieldname": "domain",
   "fieldtype": "Link",
   "label": "Domain",
   "options": "Root Domain",
   "search_index": 1
  },
  {
   "fieldname": "_site_usages",
   "fieldtype": "Data",
   "hidden": 1,
   "label": "Site Usage"
  },
  {
   "fieldname": "current_cpu_usage",
   "fieldtype": "Int",
   "hidden": 1
  },
  {
   "fieldname": "current_database_usage",
   "fieldtype": "Int",
   "hidden": 1
  },
  {
   "fieldname": "current_disk_usage",
   "fieldtype": "Int",
   "hidden": 1
  },
  {
   "fetch_from": "bench.cluster",
   "fieldname": "cluster",
   "fieldtype": "Link",
   "label": "Cluster",
   "options": "Cluster",
   "read_only": 1,
   "reqd": 1
  },
  {
   "fetch_from": "bench.group",
   "fieldname": "group",
   "fieldtype": "Link",
   "label": "Release Group",
   "options": "Release Group",
   "read_only": 1,
   "reqd": 1,
   "search_index": 1
  },
  {
   "fieldname": "column_break_29",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "column_break_34",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "column_break_15",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "trial_end_date",
   "fieldtype": "Date",
   "label": "Trial End Date"
  },
  {
   "default": "0",
   "fieldname": "is_standby",
   "fieldtype": "Check",
   "label": "Is Standby"
  },
  {
   "fieldname": "account_request",
   "fieldtype": "Link",
   "label": "Account Request",
   "options": "Account Request"
  },
  {
   "default": "0",
   "fieldname": "is_jerp_setup",
   "fieldtype": "Check",
   "label": "Is JERP Setup"
  },
  {
   "fieldname": "jerp_consultant",
   "fieldtype": "Link",
   "label": "JERP Consultant",
   "options": "JERP Consultant"
  },
  {
   "fieldname": "plan",
   "fieldtype": "Link",
   "label": "Plan",
   "options": "Site Plan",
   "read_only": 1
  },
  {
   "default": "0",
   "fieldname": "staging",
   "fieldtype": "Check",
   "label": "Staging"
  },
  {
   "default": "0",
   "fieldname": "skip_auto_updates",
   "fieldtype": "Check",
   "label": "Skip Auto Updates"
  },
  {
   "collapsible": 1,
   "fieldname": "notifications_section",
   "fieldtype": "Section Break",
   "label": "Notifications"
  },
  {
   "default": "0",
   "description": "Only used while first restore",
   "fieldname": "skip_failing_patches",
   "fieldtype": "Check",
   "hidden": 1,
   "label": "Skip Failing Patches",
   "read_only": 1
  },
  {
   "collapsible": 1,
   "fieldname": "auto_updates_section",
   "fieldtype": "Section Break",
   "label": "Auto Updates"
  },
  {
   "fieldname": "auto_update_last_triggered_on",
   "fieldtype": "Datetime",
   "label": "Auto Update Last Triggered On"
  },
  {
   "default": "Daily",
   "fieldname": "update_trigger_frequency",
   "fieldtype": "Select",
   "label": "Update Trigger Frequency",
   "options": "Daily\nWeekly\nMonthly"
  },
  {
   "default": "Sunday",
   "depends_on": "eval:pg.update_trigger_frequency === 'Weekly'",
   "fieldname": "update_on_weekday",
   "fieldtype": "Select",
   "label": "Update on Weekday",
   "options": "Sunday\nMonday\nTuesday\nWednesday\nThursday\nFriday\nSaturday"
  },
  {
   "default": "0",
   "depends_on": "eval:pg.update_trigger_frequency === 'Monthly'",
   "fieldname": "update_end_of_month",
   "fieldtype": "Check",
   "label": "Update End of Month"
  },
  {
   "default": "1",
   "depends_on": "eval:(pg.update_trigger_frequency === 'Monthly' && pg.update_end_of_month === 0)",
   "fieldname": "update_on_day_of_month",
   "fieldtype": "Int",
   "label": "Update on Day of month",
   "non_negative": 1
  },
  {
   "default": "15:30:00",
   "fieldname": "update_trigger_time",
   "fieldtype": "Time",
   "label": "Update Trigger Time"
  },
  {
   "fieldname": "column_break_12",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "database_name",
   "fieldtype": "Data",
   "label": "Database Name",
   "read_only": 1
  },
  {
   "collapsible": 1,
   "fieldname": "database_section",
   "fieldtype": "Section Break",
   "label": "Database Access"
  },
  {
   "fieldname": "standby_for",
   "fieldtype": "Link",
   "label": "Standby For",
   "options": "Marketplace App"
  },
  {
   "fieldname": "column_break_57",
   "fieldtype": "Column Break"
  },
  {
   "collapsible": 1,
   "fieldname": "saas_section",
   "fieldtype": "Section Break",
   "label": "SaaS / Signup"
  },
  {
   "fieldname": "column_break_63",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "hybrid_saas_pool",
   "fieldtype": "Link",
   "label": "Hybrid Saas Pool",
   "options": "Hybrid Saas Pool"
  },
  {
   "fieldname": "billing_tab",
   "fieldtype": "Tab Break",
   "label": "Billing"
  },
  {
   "fieldname": "config_tab",
   "fieldtype": "Tab Break",
   "label": "Config"
  },
  {
   "fieldname": "remote_files_tab",
   "fieldtype": "Tab Break",
   "label": "Remote Files"
  },
  {
   "fieldname": "tab_break_46",
   "fieldtype": "Tab Break",
   "label": "Miscellaneous"
  },
  {
   "fieldname": "apps_tab",
   "fieldtype": "Tab Break",
   "label": "Apps"
  },
  {
   "fieldname": "column_break_53",
   "fieldtype": "Column Break"
  },
  {
   "default": "0",
   "fieldname": "archive_failed",
   "fieldtype": "Check",
   "label": "Archive Failed",
   "read_only": 1
  },
  {
   "default": "0",
   "description": "Hide site config tab from dashboard",
   "fieldname": "hide_config",
   "fieldtype": "Check",
   "label": "Hide Config"
  },
  {
   "collapsible": 1,
   "fieldname": "tags_section",
   "fieldtype": "Section Break",
   "label": "Tags"
  },
  {
   "fieldname": "tags",
   "fieldtype": "Table",
   "label": "Tags",
   "options": "Resource Tag"
  },
  {
   "fieldname": "standby_for_product",
   "fieldtype": "Link",
   "label": "Standby for Product",
   "options": "Product Trial",
   "search_index": 1
  },
  {
   "default": "0",
   "fieldname": "only_update_at_specified_time",
   "fieldtype": "Check",
   "label": "Only update at specified time"
  },
  {
   "default": "0",
   "fieldname": "additional_system_user_created",
   "fieldtype": "Check",
   "label": "Additional System User Created"
  },
  {
   "description": "This key will be used to validate requests from saas site for billing & configuration purpose",
   "fieldname": "saas_communication_secret",
   "fieldtype": "Data",
   "label": "SaaS Communication Secret"
  },
  {
   "collapsible": 1,
   "fieldname": "setup_wizard_status_section",
   "fieldtype": "Section Break",
   "label": "Setup Wizard Status"
  },
  {
   "fieldname": "column_break_vbgj",
   "fieldtype": "Column Break"
  },
  {
   "default": "0",
   "fieldname": "setup_wizard_status_check_retries",
   "fieldtype": "Int",
   "label": "Retries"
  },
  {
   "fieldname": "setup_wizard_status_check_next_retry_on",
   "fieldtype": "Datetime",
   "label": "Next Retry On"
  },
  {
   "default": "16",
   "fieldname": "database_access_connection_limit",
   "fieldtype": "Int",
   "label": "Database Access Connection Limit"
  },
  {
   "fieldname": "signup_time",
   "fieldtype": "Datetime",
   "label": "Signup Time"
  },
  {
   "fieldname": "backup_tab",
   "fieldtype": "Tab Break",
   "label": "Backup"
  },
  {
   "default": "0",
   "fieldname": "allow_physical_backup_by_user",
   "fieldtype": "Check",
   "label": "Allow Physical Backup By User"
  },
  {
   "collapsible_depends_on": "eval: pg.schedule_logical_backup_at_custom_time",
   "fieldname": "logical_backup_section",
   "fieldtype": "Section Break",
   "label": "Logical Backup"
  },
  {
   "fieldname": "logical_backup_times",
   "fieldtype": "Table",
   "label": "Logical Backup Times",
   "options": "Site Backup Time"
  },
  {
   "collapsible_depends_on": "eval: pg.schedule_physical_backup_at_custom_time",
   "fieldname": "physical_backup_section",
   "fieldtype": "Section Break",
   "label": "Physical Backup"
  },
  {
   "default": "0",
   "fieldname": "schedule_physical_backup_at_custom_time",
   "fieldtype": "Check",
   "label": "Schedule Physical Backup at Custom Time"
  },
  {
   "fieldname": "physical_backup_times",
   "fieldtype": "Table",
   "label": "Physical Backup Times",
   "options": "Site Backup Time"
  },
  {
   "fieldname": "flags1_section",
   "fieldtype": "Section Break",
   "label": "Flags"
  },
  {
   "default": "0",
   "fieldname": "schedule_logical_backup_at_custom_time",
   "fieldtype": "Check",
   "label": "Schedule Logical Backup at Custom Time"
  },
  {
   "default": "0",
   "fieldname": "skip_scheduled_logical_backups",
   "fieldtype": "Check",
   "label": "Skip Scheduled Logical Backups"
  },
  {
   "default": "1",
   "fieldname": "skip_scheduled_physical_backups",
   "fieldtype": "Check",
   "label": "Skip Scheduled Physical Backups"
  },
  {
   "fieldname": "hybrid_for",
   "fieldtype": "Link",
   "label": "Hybrid For",
   "options": "App"
  },
  {
   "fieldname": "site_usage_section",
   "fieldtype": "Section Break",
   "label": "Site Usage"
  },
  {
   "depends_on": "eval: pg.site_usage_exceeded",
   "fieldname": "site_usage_exceeded_on",
   "fieldtype": "Datetime",
   "label": "Site Usage Exceeded On"
  },
  {
   "fieldname": "column_break_vngj",
   "fieldtype": "Column Break"
  },
  {
   "default": "0",
   "fieldname": "site_usage_exceeded",
   "fieldtype": "Check",
   "label": "Site Usage Exceeded"
  },
  {
   "depends_on": "eval: pg.site_usage_exceeded",
   "fieldname": "last_site_usage_warning_mail_sent_on",
   "fieldtype": "Datetime",
   "label": "Last Site Usage Warning Mail Sent On"
  },
  {
   "fieldname": "site_usage_exceeded_last_checked_on",
   "fieldtype": "Datetime",
   "label": "Site Usage Exceeded Last Checked On"
  },
  {
   "default": "0",
   "fieldname": "disable_site_usage_exceed_check",
   "fieldtype": "Check",
   "label": "Disable Site Usage Exceed Check"
  },
  {
   "fieldname": "communication_infos",
   "fieldtype": "Table",
   "label": "Communication Infos",
   "options": "Communication Info"
  },
  {
   "default": "0",
   "fieldname": "is_monitoring_disabled",
   "fieldtype": "Check",
   "label": "Is Monitoring Disabled",
   "read_only": 1,
   "search_index": 1
  },
  {
   "fieldname": "monitoring_section",
   "fieldtype": "Section Break",
   "label": "Monitoring"
  },
  {
   "fieldname": "reason_for_disabling_monitoring",
   "fieldtype": "Data",
   "label": "Reason for Disabling Monitoring",
   "read_only": 1
  }
 ],
 "links": [
  {
   "group": "Usage",
   "link_pagetype": "Site Usage",
   "link_fieldname": "site"
  },
  {
   "group": "Usage",
   "link_pagetype": "Remote File",
   "link_fieldname": "site"
  },
  {
   "group": "Related Documents",
   "link_pagetype": "Site Domain",
   "link_fieldname": "site"
  },
  {
   "group": "Related Documents",
   "link_pagetype": "Site Activity",
   "link_fieldname": "site"
  },
  {
   "group": "Related Documents",
   "link_pagetype": "Site Plan Change",
   "link_fieldname": "site"
  },
  {
   "group": "Related Documents",
   "link_pagetype": "Subscription",
   "link_fieldname": "document_name"
  },
  {
   "group": "Logs",
   "link_pagetype": "Agent Job",
   "link_fieldname": "site"
  },
  {
   "group": "Logs",
   "link_pagetype": "Site Backup",
   "link_fieldname": "site"
  },
  {
   "group": "Logs",
   "link_pagetype": "Site Update",
   "link_fieldname": "site"
  },
  {
   "group": "Related Documents",
   "link_pagetype": "JERP Site Settings",
   "link_fieldname": "site"
  },
  {
   "group": "Related Documents",
   "link_pagetype": "Site Migration",
   "link_fieldname": "site"
  },
  {
   "group": "Related Documents",
   "link_pagetype": "Marketplace App Subscription",
   "link_fieldname": "site"
  },
  {
   "group": "Related Documents",
   "link_pagetype": "Site Access Token",
   "link_fieldname": "site"
  },
  {
   "group": "Related Documents",
   "link_pagetype": "Site Database User",
   "link_fieldname": "site"
  },
  {
   "group": "Related Documents",
   "link_pagetype": "Physical Backup Restoration",
   "link_fieldname": "site"
  }
 ],
 "modified": "2025-10-07 19:14:24.341019",
 "modified_by": "Administrator",
 "module": "Jcloude",
 "name": "Site",
 "owner": "Administrator",
 "permissions": [
  {
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "System Manager",
   "share": 1,
   "write": 1
  },
  {
   "create": 1,
   "read": 1,
   "role": "Jcloude Admin",
   "write": 1
  },
  {
   "create": 1,
   "read": 1,
   "role": "Jcloude Member",
   "write": 1
  },
  {
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Jcloude Support Agent",
   "share": 1
  }
 ],
 "row_format": "Dynamic",
 "sort_field": "creation",
 "sort_order": "DESC",
 "states": [],
 "track_changes": 1
}
