{
    "ObjectFields": [
        {
            "Name": "EntityType",
            "Type": "ComboBox",
            "Label": "ValidationAssignment.EntityType",
            "PostData": true,
            "Required": true,
            "DefaultValue": 4,
            "IsFirstField": true,
            "Width": 250,
            "LabelWidth": 150,
            "PickLists": [
                { "key": 1, "value": "Question Bank" },
                { "key": 2, "value": "Session Assessment" },
                { "key": 3, "value": "Quiz" },
                { "key": 4, "value": "Work Instruction" },
                { "key": 5, "value": "Show" },
                { "key": 6, "value": "IDMS Document" },
                { "key": 7, "value": "Training Programme" },
                { "key": 8, "value": "LMS Course Offering" },
                { "key": 9, "value": "Learning Object" }
            ]
        },
        {
            "Name": "EntityId",
            "Type": "number",
            "Label": "ValidationAssignment.EntityId",
            "PostData": true,
            "Required": true,
            "DefaultValue": 0,
            "Width": 200,
            "LabelWidth": 150,
            "Placeholder": "Id of the entity requiring this validation"
        },
        {
            "Name": "EntityStepId",
            "Type": "number",
            "Label": "ValidationAssignment.EntityStepId",
            "PostData": true,
            "Required": false,
            "DefaultValue": -1,
            "Width": 200,
            "LabelWidth": 150,
            "Placeholder": "-1 = whole entity (not step-specific)"
        },
        {
            "Name": "ValidationCriteriaId",
            "Type": "number",
            "Label": "ValidationAssignment.ValidationCriteria",
            "PostData": true,
            "Required": true,
            "DefaultValue": -1,
            "LinkId": "ValidationCriteriaId",
            "PicklistJSON": "validationCriteria",
            "PicklistTitle": "Name",
            "PlaceHolder": "Search Validation Criteria",
            "Width": 295,
            "LabelWidth": 150
        },
        { "Name": "ValidationAssignmentId", "Type": "number", "Required": true, "PostData": true, "DefaultValue": 0 },
        {
            "Name": "Enforcement",
            "Type": "ComboBox",
            "Label": "ValidationAssignment.Enforcement",
            "PostData": true,
            "Required": true,
            "DefaultValue": 1,
            "Width": 200,
            "LabelWidth": 150,
            "PickLists": [
                { "key": 0, "value": "Log" },
                { "key": 1, "value": "Warn" },
                { "key": 2, "value": "Block" }
            ]
        },
        {
            "Name": "IsMandatory",
            "Type": "checkbox",
            "Label": "ValidationAssignment.IsMandatory",
            "Required": false,
            "PostData": true,
            "DefaultValue": 1,
            "LabelWidth": 150
        },
        {
            "Name": "Remarks",
            "Type": "string",
            "Label": "Common.Remark",
            "Required": false,
            "PostData": true,
            "DefaultValue": "",
            "Width": 368,
            "LabelWidth": 150,
            "Placeholder": "Enter Remarks",
            "MaxLength": 500
        }
    ]
}
