{
    "ObjectFields": [
        {
            "Name": "CalendarId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": 0
        },
        {
            "Name": "CalendarCode",
            "Type":"string",
            "Multiple": false,
            "PicklistTitle": "Code",
            "Label": "Common.code",
            "Width": 300,
            "PlaceHolder": "Enter Code",
            "IsFirstField":true,
            "LinkId": "CalendarId",
            "PicklistJSON": "CalendarName",
            "AddNew":true,
            "Required": true,
            "ValidRegEx": "",
            "PostData":true,
            "DefaultValue": ""
        },
        {
            "Name": "CalendarName",
            "Type":"string",
            "Multiple": false,
            "PicklistTitle": "Name",
            "Label": "Common.name",
            "Width": 300,
            "PlaceHolder": "Enter Name",
            "IsFirstField": false,
            "LinkId": "CalendarId",
            "PicklistJSON": "CalendarName",
            "AddNew":true,
            "Required": true,
            "ValidRegEx": "",
            "PostData":true,
            "DefaultValue": ""
        },
        {
            "Name": "FromDate",
            "Type": "string",
            "Required": false,
            "ValidRegEx": "",
            "PostData":false,
            "LabelWidth":140,
            "Width": 100,
            "DefaultValue": "today",
            "Label": "AccountVoucher.FromDate",
            "PlaceHolder":""
        },
         {
            "Name": "ToDate",
            "Type": "string",
            "Required": false,
            "ValidRegEx": "",
            "PostData":false,
            "LabelWidth": 140,
            "Width": 100,
            "DefaultValue": "today",
            "Label": "AccountVoucher.ToDate",
            "PlaceHolder":""
        },
         {
            "Name": "Sunday",
            "Type": "string",
            "Label": "Calendar.Sunday",
            "Required":true,
            "ValidRegEx": "",
            "LabelWidth": 152,
            "PostData": false,
            "DefaultValue": 1
        },
        {
            "Name": "Monday",
            "Type": "string",
            "Label": "Calendar.Monday",
            "Required":true,
            "ValidRegEx": "",
            "LabelWidth": 152,
            "PostData": false,
            "DefaultValue": 1
        },
        {
            "Name": "Tuesday",
            "Type": "string",
            "Label": "Calendar.Tuesday",
            "Required":true,
            "ValidRegEx": "",
            "LabelWidth": 152,
            "PostData": false,
            "DefaultValue": 1
        },
        {
            "Name": "Wednesday",
            "Type": "string",
            "Label": "Calendar.Wednesday",
            "Required":true,
            "ValidRegEx": "",
            "LabelWidth": 152,
            "PostData": false,
            "DefaultValue": 1
        },
        {
            "Name": "Thursday",
            "Type": "string",
            "Label": "Calendar.Thursday",
            "Required":true,
            "ValidRegEx": "",
            "LabelWidth": 152,
            "PostData": false,
            "DefaultValue": 1
        },
        {
            "Name": "Friday",
            "Type": "string",
            "Label": "Calendar.Friday",
            "Required":true,
            "ValidRegEx": "",
            "LabelWidth": 152,
            "PostData": false,
            "DefaultValue": 1
        },
        {
            "Name": "Saturday",
            "Type": "string",
            "Label": "Calendar.Saturday",
            "Required":true,
            "ValidRegEx": "",
            "LabelWidth": 152,
            "PostData": false,
            "DefaultValue": 1
        },
        {
            "Name": "CalendarDetailArray",
            "Type": "string",
            "Label": "Calendar.CalendarDetail",
            "PostData": true,
            "SLNOField": "CalendarDetailSlNo",
            "Required": true,
            "Grid": [
                 {
                    "Label": "#",
                    "value": "CalendarDetailSlNo",
                    "width": 50,
                    "Type": "SNo",
                    "IsVisible":false,
                    "SNo": 1,
                    "sticky": false,
                    "left": 0
                },
                {
                    "value": "CalendarDetailDate",
                    "Type": "Date",
                    "Required": true,
                    "Label": "AccountVoucher.Date",
                    "DefaultValue": "today",
                    "width": 188,
                    "SNo":2,
                    "Placeholder": "",
                    "IsVisible": true
                },
                {
                    "Label": "ShiftPattern.day",
                    "value": "CalendarDetailDay",
                    "Type": "string",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "DefaultValue": "",
                    "SNo":3,
                    "MaxLength":5,
                    "Placeholder":"Day",
                    "PostData": true,
                    "ReadOnly":true
                },
                {
                    "Label": "AssetActivity.Type",
                    "value": "CalendarDetailType",
                    "width": 200,
                    "Type": "ComboBox",
                    "IsVisible": true,
                    "DefaultValue": 0,
                    "SNo":4,
                    "sticky": false,
                    "PickLists": [
                        {
                            "key": 0,
                            "value": "Festival Holiday"
                        },
                        {
                            "key": 1,
                            "value": "Working Day"
                        },
                        {
                            "key": 2,
                            "value": "Half Working Day"
                        },
                        {
                            "key": 3,
                            "value": "Weekly Off"
                        },
                        {
                            "key": 4,
                            "value": "National Holiday"
                        }
                    ]
                },
                {
                    "Label": "MailList.Particulars",
                    "value": "CalendarDetailParticulars",
                    "Type": "string",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "DefaultValue":"Enter Particulars",
                    "SNo": 5,
                    "MaxLength":50,
                    "PlaceHolder": "Enter the particulars",
                    "width":"200"
                }
            ]
        }
    ]
}
    