{
    "ObjectFields": [
        {
            "Name": "ChannelId",
            "Type": "number",
            "Required": true,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": 0
        },
        {
            "Name": "ChannelCode",
            "Type": "string",
            "Label": "ShowChannel.Code",
            "PostData": true,
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "LinkId": "ChannelId",
            "PicklistJSON": "showchannel",
            "Multiple": false,
            "PicklistTitle": "Code",
            "PlaceHolder": "e.g. IT_ALERTS",
            "Width": 295,
            "LabelWidth": 135,
            "AddNew": true,
            "IsFirstField": true,
            "MaxLength": 50,
            "isKeyField": true
        },
        {
            "Name": "ChannelName",
            "Type": "string",
            "Label": "ShowChannel.Name",
            "PostData": true,
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "LinkId": "ChannelId",
            "PicklistJSON": "showchannel",
            "Multiple": false,
            "PicklistTitle": "Name",
            "PlaceHolder": "e.g. IT Alerts",
            "Width": 295,
            "LabelWidth": 135,
            "AddNew": true,
            "MaxLength": 200,
            "isKeyField": true
        },
        {
            "Name": "Description",
            "Type": "string",
            "Label": "ShowChannel.Description",
            "Required": false,
            "PostData": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "MaxLength": 1000,
            "Width": 400
        },
        {
            "Name": "SubscriptionType",
            "Type": "number",
            "Label": "ShowChannel.SubscriptionType",
            "Required": true,
            "PostData": true,
            "ValidRegEx": "",
            "DefaultValue": 2,
            "Width": 220,
            "LabelWidth": 135,
            "PickLists": [
                { "key": 0, "value": "Mandatory" },
                { "key": 1, "value": "Auto-subscribed" },
                { "key": 2, "value": "Optional" }
            ]
        },
        {
            "Name": "AutoSubscribeRule",
            "Type": "number",
            "Label": "ShowChannel.AutoSubscribeRule",
            "Required": true,
            "PostData": true,
            "ValidRegEx": "",
            "DefaultValue": 3,
            "Width": 220,
            "LabelWidth": 135,
            "PickLists": [
                { "key": 0, "value": "All users" },
                { "key": 1, "value": "By role" },
                { "key": 2, "value": "By OU" },
                { "key": 3, "value": "Manual only" }
            ]
        },
        {
            "Name": "IsPortalInternal",
            "Label": "ShowChannel.PortalInternal",
            "Type": "checkbox",
            "Required": false,
            "PostData": true,
            "DefaultValue": 1,
            "Width": 150
        },
        {
            "Name": "IsPortalEss",
            "Label": "ShowChannel.PortalEss",
            "Type": "checkbox",
            "Required": false,
            "PostData": true,
            "DefaultValue": 0,
            "Width": 150
        },
        {
            "Name": "IsPortalVendor",
            "Label": "ShowChannel.PortalVendor",
            "Type": "checkbox",
            "Required": false,
            "PostData": true,
            "DefaultValue": 0,
            "Width": 150
        },
        {
            "Name": "IsPortalCustomer",
            "Label": "ShowChannel.PortalCustomer",
            "Type": "checkbox",
            "Required": false,
            "PostData": true,
            "DefaultValue": 0,
            "Width": 150
        },
        {
            "Name": "SortOrder",
            "Type": "number",
            "Label": "Common.SortOrder",
            "Required": false,
            "PostData": true,
            "ValidRegEx": "",
            "DefaultValue": 9999,
            "Width": 150,
            "LabelWidth": 135
        },
        {
            "Name": "IsActive",
            "Label": "Common.Active",
            "Type": "checkbox",
            "Required": false,
            "PostData": true,
            "DefaultValue": 1,
            "Width": 150
        }
    ]
}
