From 2e279c9b2f4663eed3d661a3813c46aeaf1c2b4f Mon Sep 17 00:00:00 2001 From: Shreya-egov Date: Thu, 26 Jun 2025 17:18:26 +0530 Subject: [PATCH] adding schema and data for admin console v0.4 --- .../HCM-ADMIN-CONSOLE.DETAILS_RENDERER_CONFIG | 92 + ...M-ADMIN-CONSOLE.FieldPropertiesPanelConfig | 564 +++ .../HCM-ADMIN-CONSOLE.FieldTypeMappingConfig | 314 ++ .../Data/HCM-ADMIN-CONSOLE.FormConfigTemplate | 3483 +++++++++++++++++ .../Data/HCM-ADMIN-CONSOLE.emailTemplate | 12 + .../Schemas/HCM-ADMIN-CONSOLE.AppConfigCache | 32 + .../Schemas/HCM-ADMIN-CONSOLE.AppModuleSchema | 46 + ...-ADMIN-CONSOLE.AppScreenLocalisationConfig | 61 + .../HCM-ADMIN-CONSOLE.DETAILS_RENDERER_CONFIG | 92 + ...M-ADMIN-CONSOLE.FieldPropertiesPanelConfig | 107 + .../HCM-ADMIN-CONSOLE.FieldTypeMappingConfig | 72 + .../Schemas/HCM-ADMIN-CONSOLE.FormConfig | 197 + .../HCM-ADMIN-CONSOLE.FormConfigTemplate | 197 + .../Schemas/HCM-ADMIN-CONSOLE.MobileAppLink | 26 + .../Schemas/HCM-ADMIN-CONSOLE.emailTemplate | 33 + .../Schemas/commonUiConfig.HelpTutorial | 60 + 16 files changed, 5388 insertions(+) create mode 100644 mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.DETAILS_RENDERER_CONFIG create mode 100644 mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.FieldPropertiesPanelConfig create mode 100644 mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.FieldTypeMappingConfig create mode 100644 mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.FormConfigTemplate create mode 100644 mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.emailTemplate create mode 100644 mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.AppConfigCache create mode 100644 mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.AppModuleSchema create mode 100644 mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.AppScreenLocalisationConfig create mode 100644 mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.DETAILS_RENDERER_CONFIG create mode 100644 mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.FieldPropertiesPanelConfig create mode 100644 mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.FieldTypeMappingConfig create mode 100644 mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.FormConfig create mode 100644 mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.FormConfigTemplate create mode 100644 mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.MobileAppLink create mode 100644 mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.emailTemplate create mode 100644 mdms/HCM/AdminConsole v0.4/Schemas/commonUiConfig.HelpTutorial diff --git a/mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.DETAILS_RENDERER_CONFIG b/mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.DETAILS_RENDERER_CONFIG new file mode 100644 index 00000000..9181e265 --- /dev/null +++ b/mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.DETAILS_RENDERER_CONFIG @@ -0,0 +1,92 @@ +[ + { + "entity": "Individual", + "displayFields": [ + { + "fieldKey": "locality", + "jsonPath": "Individual.address[0].locality.code", + "mandatory": "false" + }, + { + "fieldKey": "name", + "jsonPath": "Individual.name.givenName", + "mandatory": "true" + }, + { + "fieldKey": "gender", + "jsonPath": "Individual.gender", + "mandatory": "false" + }, + { + "fieldKey": "identifierId", + "jsonPath": "Individual.identifiers[0].identifierId", + "mandatory": "false" + }, + { + "isList": "true", + "fieldKey": "identifierType", + "jsonPath": "Individual.identifiers[0].identifierType", + "mandatory": "false" + }, + { + "fieldKey": "mobileNumber", + "jsonPath": "Individual.mobileNumber", + "mandatory": "false" + } + ] + }, + { + "entity": "Task", + "displayFields": [ + { + "fieldKey": "doseIndex", + "jsonPath": "Task.additionalFields", + "mandatory": "false", + "additionalField": "true" + }, + { + "fieldKey": "status", + "jsonPath": "Task.status", + "mandatory": "false" + }, + { + "fieldKey": "createdTime", + "jsonPath": "Task.auditDetails.createdTime", + "mandatory": "false" + }, + { + "fieldKey": "cycleIndex", + "jsonPath": "Task.additionalFields", + "mandatory": "false", + "additionalField": "true" + } + ] + }, + { + "entity": "Household", + "displayFields": [ + { + "fieldKey": "locality", + "jsonPath": "Household.address.locality.code", + "mandatory": "false" + }, + { + "fieldKey": "memberCount", + "jsonPath": "Household.memberCount", + "mandatory": "false" + }, + { + "fieldKey": "pregnantWomenCount", + "jsonPath": "Household.additionalFields", + "mandatory": "false", + "additionalField": "true" + }, + { + "fieldKey": "childrenCount", + "jsonPath": "Household.additionalFields", + "mandatory": "false", + "additionalField": "true" + } + ] + } +] \ No newline at end of file diff --git a/mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.FieldPropertiesPanelConfig b/mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.FieldPropertiesPanelConfig new file mode 100644 index 00000000..d3491af9 --- /dev/null +++ b/mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.FieldPropertiesPanelConfig @@ -0,0 +1,564 @@ +[ + { + "tab": "content", + "label": "Details Keys", + "order": 11, + "bindTo": "dropDownOptions", + "tabOrder": 1, + "fieldType": "DetailsCard", + "defaultValue": false, + "conditionalField": [ + { + "type": "DetailsCard", + "bindTo": "dropDownOptions" + } + ], + "showFieldOnToggle": true, + "visibilityEnabledFor": [ + "DetailsCard" + ] + }, + { + "tab": "content", + "label": "tableHeaders", + "order": 12, + "bindTo": "dropDownOptions", + "tabOrder": 1, + "fieldType": "Table", + "defaultValue": false, + "conditionalField": [ + { + "type": "Table", + "bindTo": "dropDownOptions" + } + ], + "showFieldOnToggle": true, + "visibilityEnabledFor": [ + "Table" + ] + }, + { + "tab": "content", + "label": "isMultiSelect", + "order": 10, + "bindTo": "isMultiSelect", + "tabOrder": 1, + "fieldType": "toggle", + "defaultValue": false, + "conditionalField": [], + "showFieldOnToggle": true, + "disableForRequired": true, + "visibilityEnabledFor": [ + "dropdown", + "select" + ] + }, + { + "tab": "content", + "label": "systemDate", + "order": 9, + "bindTo": "systemDate", + "tabOrder": 1, + "fieldType": "toggle", + "defaultValue": false, + "conditionalField": [], + "showFieldOnToggle": true, + "disableForRequired": true, + "visibilityEnabledFor": [ + "date" + ] + }, + { + "tab": "content", + "label": "readOnly", + "order": 8, + "bindTo": "readOnly", + "tabOrder": 1, + "fieldType": "toggle", + "defaultValue": false, + "conditionalField": [], + "showFieldOnToggle": true, + "disableForRequired": true, + "visibilityEnabledFor": [ + "checkbox", + "numeric", + "dob", + "date", + "select", + "dropdown", + "mobileNumber", + "number", + "textArea", + "text", + "latLng", + "administrativeArea" + ] + }, + { + "tab": "content", + "label": "tooltip", + "order": 6, + "tabOrder": 1, + "fieldType": "toggle", + "defaultValue": false, + "conditionalField": [ + { + "type": "text", + "bindTo": "tooltip" + } + ], + "showFieldOnToggle": true, + "visibilityEnabledFor": [ + "text", + "number" + ] + }, + { + "tab": "content", + "label": "isMdms", + "order": 7, + "tabOrder": 1, + "fieldType": "toggle", + "defaultValue": false, + "conditionalField": [ + { + "type": "MdmsDropdown", + "label": "APPCONFIG_SELECT_SCHEMA", + "bindTo": "schemaCode", + "jsonPath": "schemaCode", + "condition": true + }, + { + "type": "options", + "bindTo": "dropDownOptions", + "condition": false + } + ], + "showFieldOnToggle": true, + "visibilityEnabledFor": [ + "dropdown", + "radio", + "select" + ] + }, + { + "tab": "validation", + "label": "endDate", + "order": 8, + "tabOrder": 2, + "fieldType": "toggle", + "defaultValue": false, + "conditionalField": [ + { + "type": "date", + "bindTo": "endDate" + } + ], + "showFieldOnToggle": true, + "visibilityEnabledFor": [ + "date", + "dob" + ] + }, + { + "tab": "validation", + "label": "startDate", + "order": 7, + "tabOrder": 2, + "fieldType": "toggle", + "defaultValue": false, + "conditionalField": [ + { + "type": "date", + "bindTo": "startDate" + } + ], + "showFieldOnToggle": true, + "visibilityEnabledFor": [ + "date", + "dob" + ] + }, + { + "tab": "validation", + "label": "max", + "order": 4, + "bindTo": "toArray.max", + "tabOrder": 2, + "fieldType": "toggle", + "defaultValue": false, + "conditionalField": [ + { + "type": "number", + "label": "APPCONFIG_NUMBER_MAX", + "bindTo": "toArray.max", + "options": [], + "validation": { + "pattern": "^(0|[1-9]\\d*)$" + } + }, + { + "type": "text", + "label": "APPCONFIG_ERRORMESSAGE", + "bindTo": "toArray.max.message", + "options": [] + } + ], + "showFieldOnToggle": true, + "visibilityEnabledFor": [ + "number", + "numeric" + ] + }, + { + "tab": "validation", + "label": "min", + "order": 3, + "bindTo": "toArray.min", + "tabOrder": 2, + "fieldType": "toggle", + "defaultValue": false, + "conditionalField": [ + { + "type": "number", + "label": "APPCONFIG_MIN_NUMBER", + "bindTo": "toArray.min", + "validation": { + "pattern": "^(0|[1-9]\\d*)$" + } + }, + { + "type": "text", + "label": "APPCONFIG_ERRORMESSAGE", + "bindTo": "toArray.min.message" + } + ], + "showFieldOnToggle": true, + "visibilityEnabledFor": [ + "number", + "numeric" + ] + }, + { + "tab": "content", + "label": "innerLabel", + "order": 5, + "tabOrder": 1, + "fieldType": "toggle", + "defaultValue": false, + "conditionalField": [ + { + "type": "text", + "bindTo": "innerLabel" + } + ], + "showFieldOnToggle": true, + "visibilityEnabledFor": [ + "text", + "number" + ] + }, + { + "tab": "content", + "label": "helpText", + "order": 4, + "tabOrder": 1, + "fieldType": "toggle", + "defaultValue": false, + "conditionalField": [ + { + "type": "text", + "bindTo": "helpText" + } + ], + "showFieldOnToggle": true, + "visibilityEnabledFor": [ + "text", + "date", + "dob", + "number", + "administrativeArea", + "latLng" + ] + }, + { + "tab": "content", + "label": "label", + "order": 2, + "bindTo": "label", + "tabOrder": 1, + "fieldType": "text", + "defaultValue": false, + "conditionalField": [], + "showFieldOnToggle": true, + "visibilityEnabledFor": [ + "checkbox", + "numeric", + "scanner", + "dob", + "date", + "select", + "dropdown", + "mobileNumber", + "number", + "textArea", + "text", + "filter", + "searchByProximity", + "searchBar", + "qrscanner", + "BeneficiaryRegistrationButton", + "latLng", + "administrativeArea", + "editHousehold", + "editIndividual", + "addMember", + "IndividualDeliverySecondaryButton", + "IndividualDeliveryPrimaryButton", + "SecondaryButton", + "AcknowledgementTitle", + "AcknowledgementDescription", + "PrimaryButton" + ] + }, + { + "tab": "content", + "label": "Mandatory", + "order": 3, + "bindTo": "toArray.required", + "tabOrder": 1, + "fieldType": "toggle", + "defaultValue": false, + "conditionalField": [ + { + "type": "text", + "label": "APPCONFIG_ERRORMESSAGE", + "bindTo": "toArray.required.message" + } + ], + "showFieldOnToggle": true, + "disableForRequired": true, + "visibilityEnabledFor": [ + "checkbox", + "numeric", + "dob", + "date", + "select", + "dropdown", + "mobileNumber", + "number", + "textArea", + "text", + "latLng", + "administrativeArea", + "" + ] + }, + { + "id": "regex", + "tab": "validation", + "label": "RegexPattern", + "order": 1, + "bindTo": "toArray.pattern", + "tabOrder": 2, + "fieldType": "toggle", + "conditionalField": [ + { + "type": "radioOptions", + "label": "APPCONFIG_PATTERN", + "bindTo": "toArray.pattern", + "options": [ + { + "code": "CHARACTERONLY", + "pattern": "^[a-zA-Z]+$", + "description": "Alphabets only (uppercase and lowercase)" + }, + { + "code": "NUMBERONLY", + "pattern": "^\\d+$", + "description": "Numbers only (0-9)" + }, + { + "code": "ALPHANUMERICONLY", + "pattern": "^[a-zA-Z0-9]+$", + "description": "Letters and numbers only (no special characters)" + } + ], + "jsonPath": "pattern" + }, + { + "type": "text", + "label": "APPCONFIG_CUSTOM_PATTERN", + "bindTo": "toArray.pattern" + }, + { + "type": "text", + "label": "APPCONFIG_ERRORMESSAGE", + "bindTo": "toArray.pattern.message" + } + ], + "showFieldOnToggle": true, + "visibilityEnabledFor": [ + "text" + ] + }, + { + "id": "errorMessage", + "tab": "validation", + "label": "errorMessage", + "order": 9, + "tabOrder": 2, + "fieldType": "toggle", + "defaultValue": false, + "conditionalField": [ + { + "type": "text", + "bindTo": "errorMessage" + } + ], + "showFieldOnToggle": true, + "visibilityEnabledFor": [ + "text", + "number" + ] + }, + { + "id": "defaultValue", + "tab": "validation", + "label": "defaultValue", + "order": 2, + "tabOrder": 2, + "fieldType": "toggle", + "defaultValue": false, + "conditionalField": [ + { + "type": "text", + "label": "APPCONFIG_DEFAULT_VALUE", + "bindTo": "value" + } + ], + "showFieldOnToggle": true, + "visibilityEnabledFor": [ + "text", + "number", + "numeric" + ] + }, + { + "tab": "content", + "label": "fieldType", + "order": 1, + "tabOrder": 1, + "fieldType": "fieldTypeDropdown", + "disableForRequired": true, + "visibilityEnabledFor": [] + }, + { + "tab": "validation", + "label": "minLength", + "order": 5, + "bindTo": "toArray.minLength", + "tabOrder": 2, + "fieldType": "toggle", + "defaultValue": false, + "conditionalField": [ + { + "type": "number", + "label": "APPCONFIG_MIN_LENGTH", + "bindTo": "toArray.minLength", + "validation": { + "pattern": "^(0|[1-9]\\d*)$" + } + }, + { + "type": "text", + "label": "APPCONFIG_ERRORMESSAGE", + "bindTo": "toArray.minLength.message" + } + ], + "showFieldOnToggle": true, + "visibilityEnabledFor": [ + "text", + "number" + ] + }, + { + "tab": "validation", + "label": "maxLength", + "order": 6, + "bindTo": "toArray.maxLength", + "tabOrder": 2, + "fieldType": "toggle", + "defaultValue": false, + "conditionalField": [ + { + "type": "number", + "label": "APPCONFIG_MAX_LENGTH", + "bindTo": "toArray.maxLength", + "validation": { + "pattern": "^(0|[1-9]\\d*)$" + } + }, + { + "type": "text", + "label": "APPCONFIG_ERRORMESSAGE", + "bindTo": "toArray.maxLength.message" + } + ], + "showFieldOnToggle": true, + "visibilityEnabledFor": [ + "text", + "number" + ] + }, + { + "tab": "validation", + "label": "minAge", + "order": 10, + "bindTo": "toArray.minAge", + "tabOrder": 2, + "fieldType": "toggle", + "defaultValue": false, + "conditionalField": [ + { + "type": "number", + "label": "APPCONFIG_MIN_AGE", + "bindTo": "toArray.minAge" + }, + { + "type": "text", + "label": "APPCONFIG_ERRORMESSAGE", + "bindTo": "toArray.minAge.message" + } + ], + "showFieldOnToggle": true, + "visibilityEnabledFor": [ + "dob" + ] + }, + { + "tab": "validation", + "label": "maxAge", + "order": 11, + "bindTo": "toArray.maxAge", + "tabOrder": 2, + "fieldType": "toggle", + "defaultValue": false, + "conditionalField": [ + { + "type": "number", + "label": "APPCONFIG_MAX_AGE", + "bindTo": "toArray.maxAge" + }, + { + "type": "text", + "label": "APPCONFIG_ERRORMESSAGE", + "bindTo": "toArray.maxAge.message" + } + ], + "showFieldOnToggle": true, + "visibilityEnabledFor": [ + "dob" + ] + } +] \ No newline at end of file diff --git a/mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.FieldTypeMappingConfig b/mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.FieldTypeMappingConfig new file mode 100644 index 00000000..570d2401 --- /dev/null +++ b/mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.FieldTypeMappingConfig @@ -0,0 +1,314 @@ +[ + { + "type": "resourceCard", + "order": 17, + "metadata": { + "type": "dynamic", + "format": "custom" + }, + "fieldType": "custom", + "attributeToRename": {} + }, + { + "type": "Table", + "metadata": { + "type": "template", + "format": "Table" + }, + "fieldType": "Table", + "attributeToRename": {} + }, + { + "type": "DetailsCard", + "metadata": { + "type": "template", + "format": "DetailsCard" + }, + "fieldType": "DetailsCard", + "attributeToRename": {} + }, + { + "type": "idPopulator", + "order": 16, + "metadata": { + "type": "string", + "format": "idPopulator" + }, + "fieldType": "dropdown", + "attributeToRename": { + "schemaCode": "schemaCode" + } + }, + { + "type": "searchBar", + "metadata": { + "type": "template", + "format": "searchBar" + }, + "fieldType": "searchBar", + "attributeToRename": {} + }, + { + "type": "searchByProximity", + "metadata": { + "type": "template", + "format": "searchByProximity" + }, + "fieldType": "searchByProximity", + "attributeToRename": {} + }, + { + "type": "filter", + "metadata": { + "type": "template", + "format": "filter" + }, + "fieldType": "filter", + "attributeToRename": {} + }, + { + "type": "radio", + "order": 13, + "metadata": { + "type": "string", + "format": "radio" + }, + "fieldType": "radio", + "attributeToRename": { + "helpText": "helpText", + "schemaCode": "schemaCode", + "dropDownOptions": "enums" + } + }, + { + "type": "administrativeArea", + "order": 12, + "metadata": { + "type": "string", + "format": "locality" + }, + "fieldType": "textInput", + "attributeToRename": { + "appAdministrativeArea": "administrativeArea" + } + }, + { + "type": "latLng", + "order": 11, + "metadata": { + "type": "string", + "format": "latLng" + }, + "fieldType": "textInput", + "attributeToRename": { + "helpText": "helpText" + } + }, + { + "type": "text", + "order": 1, + "metadata": { + "type": "string", + "format": "text" + }, + "fieldType": "textInput", + "attributeToRename": { + "helpText": "helpText" + } + }, + { + "type": "number", + "order": 2, + "metadata": { + "type": "integer", + "format": "text" + }, + "fieldType": "number", + "attributeToRename": { + "helpText": "helpText" + } + }, + { + "type": "mobileNumber", + "order": 10, + "metadata": { + "type": "integer", + "format": "mobileNumber" + }, + "fieldType": "mobileNumber", + "attributeToRename": { + "helpText": "helpText" + } + }, + { + "type": "dropdown", + "order": 9, + "metadata": { + "type": "string", + "format": "dropdown" + }, + "fieldType": "dropdown", + "attributeToRename": { + "schemaCode": "schemaCode", + "isMultiSelect": "isMultiSelect", + "dropDownOptions": "enums" + } + }, + { + "type": "select", + "order": 8, + "metadata": { + "type": "string", + "format": "select" + }, + "fieldType": "selection", + "attributeToRename": { + "helpText": "helpText", + "schemaCode": "schemaCode", + "dropDownOptions": "enums" + } + }, + { + "type": "date", + "order": 3, + "metadata": { + "type": "integer", + "format": "date" + }, + "fieldType": "datePicker", + "attributeToRename": { + "endDate": "endDate", + "helpText": "helpText", + "startDate": "startDate" + } + }, + { + "type": "dob", + "order": 4, + "metadata": { + "type": "string", + "format": "dob" + }, + "fieldType": "datePicker", + "attributeToRename": { + "endDate": "endDate", + "helpText": "helpText", + "startDate": "startDate" + } + }, + { + "type": "scanner", + "order": 7, + "metadata": { + "type": "string", + "format": "scanner" + }, + "fieldType": "button", + "attributeToRename": {} + }, + { + "type": "numeric", + "order": 5, + "metadata": { + "type": "integer", + "format": "numeric" + }, + "fieldType": "numeric", + "attributeToRename": { + "helpText": "helpText" + } + }, + { + "type": "checkbox", + "order": 6, + "metadata": { + "type": "boolean", + "format": "checkbox" + }, + "fieldType": "checkbox", + "attributeToRename": { + "helpText": "helpText" + } + }, + { + "type": "PrimaryButton", + "metadata": { + "type": "template", + "format": "PrimaryButton" + }, + "fieldType": "PrimaryButton", + "attributeToRename": {} + }, + { + "type": "SecondaryButton", + "metadata": { + "type": "template", + "format": "SecondaryButton" + }, + "fieldType": "SecondaryButton", + "attributeToRename": {} + }, + { + "type": "AcknowledgementDescription", + "metadata": { + "type": "template", + "format": "AcknowledgementDescription" + }, + "fieldType": "AcknowledgementDescription", + "attributeToRename": {} + }, + { + "type": "AcknowledgementTitle", + "metadata": { + "type": "template", + "format": "AcknowledgementTitle" + }, + "fieldType": "AcknowledgementTitle", + "attributeToRename": {} + }, + { + "type": "IndividualDeliveryPrimaryButton", + "metadata": { + "type": "template", + "format": "IndividualDeliveryPrimaryButton" + }, + "fieldType": "IndividualDeliveryPrimaryButton", + "attributeToRename": {} + }, + { + "type": "IndividualDeliverySecondaryButton", + "metadata": { + "type": "template", + "format": "IndividualDeliverySecondaryButton" + }, + "fieldType": "IndividualDeliverySecondaryButton", + "attributeToRename": {} + }, + { + "type": "addMember", + "metadata": { + "type": "template", + "format": "addMember" + }, + "fieldType": "addMember", + "attributeToRename": {} + }, + { + "type": "editIndividual", + "metadata": { + "type": "template", + "format": "editIndividual" + }, + "fieldType": "editIndividual", + "attributeToRename": {} + }, + { + "type": "editHousehold", + "metadata": { + "type": "template", + "format": "editHousehold" + }, + "fieldType": "editHousehold", + "attributeToRename": {} + } +] \ No newline at end of file diff --git a/mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.FormConfigTemplate b/mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.FormConfigTemplate new file mode 100644 index 00000000..4a17da9d --- /dev/null +++ b/mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.FormConfigTemplate @@ -0,0 +1,3483 @@ +[ + { + "name": "REGISTRATIONFLOW", + "order": 1, + "pages": [ + { + "page": "SearchBeneficiary", + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_SEARCH_SCREEN_HEADING", + "order": 1, + "properties": [ + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_SEARCH_BY_PROXIMITY", + "order": 1, + "value": true, + "format": "searchByProximity", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "searchByProximity", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_SEARCH_BAR", + "order": 2, + "value": "", + "format": "searchBar", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "searchBar", + "deleteFlag": false, + "innerLabel": "enter the name of household", + "systemDate": false, + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_FILTER_LABEL", + "order": 3, + "value": [], + "format": "filter", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "filter", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_REGISTRATION_LABEL", + "order": 4, + "value": "", + "format": "PrimaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "PrimaryButton", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_QR_LABEL", + "order": 5, + "value": true, + "format": "SecondaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "SecondaryButton", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + } + ], + "actionLabel": "", + "description": "APPONE_REGISTRATION_BENEFICIARY_SEARCH_SCREEN_DESCRIPTION" + }, + { + "page": "beneficiaryLocation", + "type": "object", + "label": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_SCREEN_HEADING", + "order": 2, + "properties": [ + { + "type": "string", + "enums": [], + "label": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_administrativeArea", + "order": 1, + "value": "", + "format": "locality", + "hidden": false, + "helpText": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_administrativeArea_helpText", + "infoText": "", + "fieldName": "administrativeArea", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + }, + { + "type": "string", + "enums": [], + "label": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_latlong", + "order": 2, + "value": "", + "format": "latLng", + "hidden": false, + "helpText": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_latlong_helpText", + "infoText": "", + "fieldName": "latLong", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + }, + { + "type": "string", + "enums": [], + "label": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_addressLine1", + "order": 3, + "value": "", + "format": "text", + "hidden": false, + "helpText": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_addressLine1_helpText", + "infoText": "", + "fieldName": "addressLine1", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + }, + { + "type": "minLength", + "value": "2", + "message": "Size must be 2 to 256 characters" + }, + { + "type": "maxLength", + "value": "256", + "message": "Size must be 2 to 256 characters" + } + ] + }, + { + "type": "string", + "enums": [], + "label": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_addressLine2", + "order": 4, + "value": "", + "format": "text", + "hidden": false, + "helpText": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_addressLine2_helpText", + "infoText": "", + "fieldName": "addressLine2", + "innerLabel": "", + "validations": [] + }, + { + "type": "string", + "enums": [], + "label": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_landmark", + "order": 5, + "value": "", + "format": "text", + "hidden": false, + "helpText": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_landmark_helpText", + "infoText": "", + "fieldName": "landmark", + "innerLabel": "", + "validations": [] + }, + { + "type": "integer", + "enums": [], + "label": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_pincode", + "order": 6, + "value": "", + "format": "text", + "hidden": false, + "helpText": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_pincode_helpText", + "infoText": "", + "fieldName": "pincode", + "innerLabel": "", + "validations": [] + }, + { + "type": "string", + "enums": [ + { + "code": "PERMANENT", + "name": "PERMANENT" + }, + { + "code": "CORRESPONDENCE", + "name": "CORRESPONDENCE" + }, + { + "code": "OTHER", + "name": "OTHER" + } + ], + "label": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_typeOfAddress", + "order": 7, + "value": "PERMANENT", + "format": "dropdown", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "typeOfAddress", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + } + ], + "actionLabel": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_ACTION_BUTTON_LABEL_1", + "description": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_SCREEN_DESCRIPTION" + }, + { + "page": "houseDetails", + "type": "object", + "label": "APPONE_REGISTRATION_HOUSEDETAILS_SCREEN_HEADING", + "order": 3, + "properties": [ + { + "type": "string", + "enums": [], + "label": "APPONE_REGISTRATION_HOUSEDETAILS_label_structureType", + "order": 1, + "value": "", + "format": "select", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "structureType", + "innerLabel": "", + "schemaCode": "HCM.HOUSE_STRUCTURE_TYPES", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + }, + { + "type": "integer", + "enums": [], + "label": "APPONE_REGISTRATION_HOUSEDETAILS_label_NoofRooms", + "order": 2, + "value": "1", + "format": "numeric", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "NoofRooms", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + } + ], + "actionLabel": "APPONE_REGISTRATION_HOUSEDETAILS_ACTION_BUTTON_LABEL_1", + "description": "APPONE_REGISTRATION_HOUSEDETAILS_SCREEN_DESCRIPTION" + }, + { + "page": "householdDetails", + "type": "object", + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_SCREEN_HEADING", + "order": 4, + "properties": [ + { + "type": "integer", + "enums": [], + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_label_dateOfRegistration", + "order": 1, + "value": "", + "format": "date", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": true, + "fieldName": "dateOfRegistration", + "innerLabel": "", + "systemDate": true, + "validations": [ + { + "type": "required", + "value": true, + "message": "" + } + ] + }, + { + "type": "integer", + "enums": [], + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_label_childrenCount", + "order": 2, + "value": "0", + "format": "numeric", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "childrenCount", + "innerLabel": "", + "validations": [] + }, + { + "type": "integer", + "enums": [], + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_label_pregnantWomenCount", + "order": 3, + "value": "0", + "format": "numeric", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "pregnantWomenCount", + "innerLabel": "", + "validations": [] + }, + { + "type": "integer", + "enums": [], + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_label_memberCount", + "order": 4, + "value": "1", + "format": "numeric", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "memberCount", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "" + }, + { + "type": "min", + "value": "1", + "message": "Total household members cannot be less than 1" + } + ] + } + ], + "actionLabel": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_ACTION_BUTTON_LABEL_1", + "description": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_SCREEN_DESCRIPTION" + }, + { + "page": "beneficiaryDetails", + "type": "object", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_SCREEN_HEADING", + "order": 5, + "properties": [ + { + "type": "string", + "enums": [], + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_nameOfIndividual", + "order": 1, + "value": "", + "format": "text", + "hidden": false, + "tooltip": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_nameOfIndividual_tooltip", + "helpText": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_nameOfIndividual_helpText", + "infoText": "", + "fieldName": "nameOfIndividual", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + }, + { + "type": "minLength", + "value": "2", + "message": "Size must be 2 to 200 characters" + }, + { + "type": "maxLength", + "value": "200", + "message": "Size must be 2 to 200 characters" + } + ] + }, + { + "type": "boolean", + "enums": [], + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_isHeadOfFamily", + "order": 2, + "value": false, + "format": "checkbox", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "isHeadOfFamily", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + }, + { + "type": "string", + "enums": [], + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_identifiers", + "order": 3, + "value": "", + "format": "idPopulator", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "identifiers", + "innerLabel": "", + "schemaCode": "HCM.ID_TYPE_OPTIONS_POPULATOR", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + }, + { + "type": "string", + "enums": [], + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_dobPicker", + "order": 5, + "value": "", + "format": "dob", + "hidden": false, + "tooltip": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_dobPicker_tooltip", + "helpText": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_dobPicker_helpText", + "infoText": "", + "fieldName": "dobPicker", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + }, + { + "type": "string", + "enums": [], + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_gender", + "order": 6, + "value": "", + "format": "select", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "gender", + "innerLabel": "", + "schemaCode": "common-masters.GenderType", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + }, + { + "type": "integer", + "enums": [], + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_phone", + "order": 7, + "value": "", + "format": "text", + "hidden": false, + "tooltip": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_phone_tooltip", + "helpText": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_phone_helpText", + "infoText": "", + "fieldName": "phone", + "innerLabel": "", + "validations": [] + }, + { + "type": "string", + "enums": [], + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_scanner", + "order": 8, + "value": "", + "format": "scanner", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "scanner", + "innerLabel": "", + "validations": [] + } + ], + "actionLabel": "APPONE_REGISTRATION_BENEFICIARYDETAILS_ACTION_BUTTON_LABEL_1", + "description": "APPONE_REGISTRATION_BENEFICIARYDETAILS_SCREEN_DESCRIPTION" + }, + { + "page": "BeneficiaryAcknowledgement", + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_ACKNOWLEDGEMENT_SCREEN_HEADING", + "order": 6, + "properties": [ + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_BENEFICIARY_ACKNOWLEDGEMENT_TITLE", + "order": 1, + "value": "", + "format": "AcknowledgementTitle", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "AcknowledgementTitle", + "deleteFlag": false, + "innerLabel": "", + "validations": [] + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_BENEFICIARY_ACKNOWLEDGEMENT_DESCRIPTION", + "order": 2, + "value": "", + "format": "AcknowledgementDescription", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "AcknowledgementDescription", + "deleteFlag": false, + "innerLabel": "", + "validations": [] + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_BENEFICIARY_ACKNOWLEDGEMENT_SECONDARY_LABEL", + "order": 3, + "value": true, + "format": "SecondaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "SecondaryButton", + "deleteFlag": false, + "innerLabel": "", + "validations": [] + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_BENEFICIARY_ACKNOWLEDGEMENT_PRIMARY_LABEL", + "order": 4, + "value": "", + "format": "PrimaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "PrimaryButton", + "deleteFlag": false, + "innerLabel": "", + "validations": [] + } + ], + "actionLabel": "", + "description": "APPONE_REGISTRATION_BENEFICIARY_ACKNOWLEDGEMENT_SCREEN_DESCRIPTION" + }, + { + "page": "HouseholdOverview", + "type": "template", + "label": "APPONE_REGISTRATION_OVERVIEW_SCREEN_HEADING", + "order": 7, + "properties": [ + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_EDIT_HOUSEHOLD", + "order": 1, + "value": true, + "format": "editHousehold", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "editHousehold", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_EDIT_INDIVIDUAL", + "order": 2, + "value": "", + "format": "editIndividual", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "editIndividual", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_ADD_MEMBER", + "order": 3, + "value": [], + "format": "addMember", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "addMember", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_DELIVERY_DETAILS_LABEL", + "order": 4, + "value": "", + "format": "PrimaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "PrimaryButton", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + } + ], + "actionLabel": "", + "description": "APPONE_REGISTRATION_BENEFICIARY_OVERVIEW_SCREEN_DESCRIPTION" + } + ], + "project": "DEFAULT", + "version": 0, + "disabled": false + }, + { + "name": "REGISTRATIONFLOW", + "order": 1, + "pages": [ + { + "page": "SearchBeneficiary", + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_SEARCH_SCREEN_HEADING", + "order": 1, + "properties": [ + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_SEARCH_BY_PROXIMITY", + "order": 1, + "value": true, + "format": "searchByProximity", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "searchByProximity", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_SEARCH_BAR", + "order": 2, + "value": "", + "format": "searchBar", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "searchBar", + "deleteFlag": false, + "innerLabel": "enter the name of household", + "systemDate": false, + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_FILTER_LABEL", + "order": 3, + "value": [], + "format": "filter", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "filter", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_REGISTRATION_LABEL", + "order": 4, + "value": "", + "format": "PrimaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "PrimaryButton", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_QR_LABEL", + "order": 5, + "value": true, + "format": "SecondaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "SecondaryButton", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + } + ], + "actionLabel": "", + "description": "APPONE_REGISTRATION_BENEFICIARY_SEARCH_SCREEN_DESCRIPTION" + }, + { + "page": "beneficiaryLocation", + "type": "object", + "label": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_SCREEN_HEADING", + "order": 2, + "properties": [ + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_administrativeArea", + "order": 1, + "value": "", + "format": "locality", + "hidden": false, + "helpText": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_administrativeArea_helpText", + "infoText": "", + "fieldName": "administrativeArea", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "" + } + ] + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_latlong", + "order": 2, + "value": "", + "format": "latLng", + "hidden": false, + "helpText": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_latlong_helpText", + "infoText": "", + "fieldName": "latLong", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "" + } + ] + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_addressLine1", + "order": 3, + "value": "", + "format": "text", + "hidden": false, + "helpText": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_addressLine1_helpText", + "infoText": "", + "fieldName": "addressLine1", + "innerLabel": "" + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_addressLine2", + "order": 4, + "value": "", + "format": "text", + "hidden": true, + "helpText": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_addressLine2_helpText", + "infoText": "", + "fieldName": "addressLine2", + "innerLabel": "" + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_landmark", + "order": 5, + "value": "", + "format": "text", + "hidden": true, + "helpText": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_landmark_helpText", + "infoText": "", + "fieldName": "landmark", + "innerLabel": "" + }, + { + "type": "integer", + "label": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_pincode", + "order": 6, + "value": "", + "format": "text", + "hidden": true, + "helpText": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_pincode_helpText", + "infoText": "", + "fieldName": "pincode", + "innerLabel": "" + }, + { + "type": "string", + "enums": [ + { + "code": "PERMANENT", + "name": "PERMANENT" + }, + { + "code": "CORRESPONDENCE", + "name": "CORRESPONDENCE" + }, + { + "code": "OTHER", + "name": "OTHER" + } + ], + "label": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_label_typeOfAddress", + "order": 7, + "value": "PERMANENT", + "format": "dropdown", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "typeOfAddress", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + } + ], + "actionLabel": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_ACTION_BUTTON_LABEL_1", + "description": "APPONE_REGISTRATION_BENEFICIARY_LOCATION_SCREEN_DESCRIPTION" + }, + { + "page": "houseDetails", + "type": "object", + "label": "APPONE_REGISTRATION_HOUSEDETAILS_SCREEN_HEADING", + "order": 3, + "properties": [ + { + "type": "string", + "label": "APPONE_REGISTRATION_HOUSEDETAILS_label_structureType", + "order": 1, + "value": "", + "format": "select", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "structureType", + "innerLabel": "", + "schemaCode": "HCM.HOUSE_STRUCTURE_TYPES", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + }, + { + "type": "integer", + "label": "APPONE_REGISTRATION_HOUSEDETAILS_label_NoofRooms", + "order": 2, + "value": "1", + "format": "numeric", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "NoofRooms", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "" + }, + { + "type": "min", + "value": "1", + "message": "Total number of rooms cannot be less than 1" + }, + { + "type": "max", + "value": "10", + "message": "Total number of rooms cannot be more than 10" + } + ] + } + ], + "actionLabel": "APPONE_REGISTRATION_HOUSEDETAILS_ACTION_BUTTON_LABEL_1", + "description": "APPONE_REGISTRATION_HOUSEDETAILS_SCREEN_DESCRIPTION" + }, + { + "page": "householdDetails", + "type": "object", + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_SCREEN_HEADING", + "order": 4, + "properties": [ + { + "type": "integer", + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_label_dateOfRegistration", + "order": 1, + "value": "", + "format": "date", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": true, + "fieldName": "dateOfRegistration", + "innerLabel": "", + "systemDate": true, + "validations": [ + { + "type": "required", + "value": true, + "message": "" + } + ] + }, + { + "type": "integer", + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_label_childrenCount", + "order": 2, + "value": "0", + "format": "numeric", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "childrenCount", + "innerLabel": "" + }, + { + "type": "integer", + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_label_pregnantWomenCount", + "order": 3, + "value": "0", + "format": "numeric", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "pregnantWomenCount", + "innerLabel": "" + }, + { + "type": "integer", + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_label_memberCount", + "order": 4, + "value": "1", + "format": "numeric", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "memberCount", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + }, + { + "type": "min", + "value": "1", + "message": "Total household members cannot be less than 1" + }, + { + "type": "max", + "value": "20", + "message": "Total household members cannot be more than 20" + } + ] + } + ], + "actionLabel": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_ACTION_BUTTON_LABEL_1", + "description": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_SCREEN_DESCRIPTION" + }, + { + "page": "beneficiaryDetails", + "type": "object", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_SCREEN_HEADING", + "order": 5, + "properties": [ + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_nameOfIndividual", + "order": 1, + "value": "", + "format": "text", + "hidden": false, + "tooltip": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_nameOfIndividual_tooltip", + "helpText": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_nameOfIndividual_helpText", + "infoText": "", + "fieldName": "nameOfIndividual", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + }, + { + "type": "minLength", + "value": "2", + "message": "Size must be 2 to 200 characters" + }, + { + "type": "maxLength", + "value": "200", + "message": "Size must be 2 to 200 characters" + } + ] + }, + { + "type": "boolean", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_isHeadOfFamily", + "order": 2, + "value": false, + "format": "checkbox", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "isHeadOfFamily", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_identifiers", + "order": 3, + "value": "", + "format": "idPopulator", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "identifiers", + "innerLabel": "", + "schemaCode": "HCM.ID_TYPE_OPTIONS_POPULATOR", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_dobPicker", + "order": 5, + "value": "", + "format": "dob", + "hidden": false, + "tooltip": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_dobPicker_tooltip", + "helpText": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_dobPicker_helpText", + "infoText": "", + "fieldName": "dobPicker", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_gender", + "order": 6, + "value": "", + "format": "select", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "gender", + "innerLabel": "", + "schemaCode": "common-masters.GenderType", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + }, + { + "type": "integer", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_phone", + "order": 7, + "value": "", + "format": "text", + "hidden": false, + "tooltip": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_phone_tooltip", + "helpText": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_phone_helpText", + "infoText": "", + "fieldName": "phone", + "innerLabel": "" + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_scanner", + "order": 8, + "value": "", + "format": "scanner", + "hidden": true, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "scanner", + "innerLabel": "" + } + ], + "actionLabel": "APPONE_REGISTRATION_BENEFICIARYDETAILS_ACTION_BUTTON_LABEL_1", + "description": "APPONE_REGISTRATION_BENEFICIARYDETAILS_SCREEN_DESCRIPTION" + }, + { + "page": "BeneficiaryAcknowledgement", + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_ACKNOWLEDGEMENT_SCREEN_HEADING", + "order": 6, + "properties": [ + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_BENEFICIARY_ACKNOWLEDGEMENT_TITLE", + "order": 1, + "value": "", + "format": "AcknowledgementTitle", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "AcknowledgementTitle", + "deleteFlag": false, + "innerLabel": "", + "validations": [] + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_BENEFICIARY_ACKNOWLEDGEMENT_DESCRIPTION", + "order": 2, + "value": "", + "format": "AcknowledgementDescription", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "AcknowledgementDescription", + "deleteFlag": false, + "innerLabel": "", + "validations": [] + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_BENEFICIARY_ACKNOWLEDGEMENT_SECONDARY_LABEL", + "order": 3, + "value": true, + "format": "SecondaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "SecondaryButton", + "deleteFlag": false, + "innerLabel": "", + "validations": [] + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_BENEFICIARY_ACKNOWLEDGEMENT_PRIMARY_LABEL", + "order": 4, + "value": "", + "format": "PrimaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "PrimaryButton", + "deleteFlag": false, + "innerLabel": "", + "validations": [] + } + ], + "actionLabel": "", + "description": "APPONE_REGISTRATION_BENEFICIARY_ACKNOWLEDGEMENT_SCREEN_DESCRIPTION" + }, + { + "page": "HouseholdOverview", + "type": "template", + "label": "APPONE_REGISTRATION_OVERVIEW_SCREEN_HEADING", + "order": 7, + "properties": [ + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_EDIT_HOUSEHOLD", + "order": 1, + "value": true, + "format": "editHousehold", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "editHousehold", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_EDIT_INDIVIDUAL", + "order": 2, + "value": "", + "format": "editIndividual", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "editIndividual", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_ADD_MEMBER", + "order": 3, + "value": [], + "format": "addMember", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "addMember", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_IRS_DELIVERY_DETAILS_LABEL", + "order": 4, + "value": "", + "format": "PrimaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "PrimaryButton", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + } + ], + "actionLabel": "", + "description": "APPONE_REGISTRATION_BENEFICIARY_OVERVIEW_SCREEN_DESCRIPTION" + } + ], + "project": "IRS-mz", + "version": 0, + "disabled": false + }, + { + "name": "REGISTRATIONFLOW", + "order": 1, + "pages": [ + { + "page": "SearchBeneficiary", + "type": "template", + "label": "APPONE_REGISTRATION_SEARCHBENEFICIARY_SCREEN_HEADING", + "order": 1, + "navigateTo": { + "name": "overview", + "type": "template" + }, + "properties": [ + { + "type": "template", + "label": "APPONE_REGISTRATION_SEARCHBENEFICIARY_BY_PROXIMITY", + "order": 1, + "value": true, + "format": "searchByProximity", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "searchByProximity", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_SEARCHBENEFICIARY_BAR", + "order": 2, + "value": "", + "format": "searchBar", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "searchBar", + "deleteFlag": false, + "innerLabel": "enter the name of household", + "systemDate": false, + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_SEARCHBENEFICIARY_FILTER_LABEL", + "order": 3, + "value": [], + "format": "filter", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "filter", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_SEARCHBENEFICIARY_REGISTRATION_LABEL", + "order": 4, + "value": "", + "format": "PrimaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "PrimaryButton", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_SEARCHBENEFICIARY_QR_LABEL", + "order": 5, + "value": true, + "format": "SecondaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "SecondaryButton", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + } + ], + "actionLabel": "", + "description": "APPONE_REGISTRATION_SEARCHBENEFICIARY_SCREEN_DESCRIPTION" + }, + { + "page": "beneficiaryLocation", + "type": "object", + "label": "APPONE_REGISTRATION_BENEFICIARYLOCATION_SCREEN_HEADING", + "order": 2, + "navigateTo": { + "name": "REGISRATIONFLOW", + "type": "form" + }, + "properties": [ + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_administrativeArea", + "order": 1, + "value": "", + "format": "locality", + "hidden": false, + "tooltip": "", + "helpText": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_administrativeArea_helpText", + "infoText": "", + "readOnly": true, + "fieldName": "administrativeArea", + "deleteFlag": false, + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ], + "isMultiSelect": false + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_latlong", + "order": 2, + "value": "", + "format": "latLng", + "hidden": false, + "tooltip": "", + "helpText": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_latlong_helpText", + "infoText": "", + "readOnly": true, + "fieldName": "latLng", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ], + "isMultiSelect": false + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_addressLine1", + "order": 3, + "value": "", + "format": "text", + "hidden": true, + "tooltip": "", + "helpText": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_addressLine1_helpText", + "infoText": "", + "readOnly": false, + "fieldName": "addressLine1", + "innerLabel": "", + "validations": [], + "isMultiSelect": false + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_addressLine2", + "order": 4, + "value": "", + "format": "text", + "hidden": true, + "tooltip": "", + "helpText": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_addressLine2_helpText", + "infoText": "", + "fieldName": "addressLine2", + "innerLabel": "", + "validations": [], + "isMultiSelect": false + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_landmark", + "order": 5, + "value": "", + "format": "text", + "hidden": true, + "tooltip": "", + "helpText": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_landmark_helpText", + "infoText": "", + "fieldName": "landmark", + "deleteFlag": false, + "innerLabel": "", + "validations": [], + "isMultiSelect": false + }, + { + "type": "integer", + "label": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_pincode", + "order": 6, + "value": "", + "format": "text", + "hidden": true, + "tooltip": "", + "helpText": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_pincode_helpText", + "infoText": "", + "fieldName": "pincode", + "innerLabel": "", + "systemDate": false, + "validations": [] + }, + { + "type": "string", + "enums": [ + { + "code": "PERMANENT", + "name": "BENEFICIARYLOCATION_PERMANENT" + }, + { + "code": "CORRESPONDENCE", + "name": "BENEFICIARYLOCATION_CORRESPONDENCE" + }, + { + "code": "OTHER", + "name": "BENEFICIARYLOCATION_OTHER" + } + ], + "label": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_typeOfAddress", + "order": 7, + "value": "PERMANENT", + "format": "dropdown", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "typeOfAddress", + "innerLabel": "", + "validations": [], + "includeInForm": true, + "includeInSummary": false + } + ], + "actionLabel": "APPONE_REGISTRATION_BENEFICIARYLOCATION_ACTION_BUTTON_LABEL_1", + "description": "APPONE_REGISTRATION_BENEFICIARYLOCATION_SCREEN_DESCRIPTION" + }, + { + "page": "householdDetails", + "type": "object", + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_SCREEN_HEADING", + "order": 3, + "navigateTo": { + "name": "REGISRATIONFLOW", + "type": "form" + }, + "properties": [ + { + "type": "integer", + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_label_dateOfRegistration", + "order": 1, + "value": "", + "format": "date", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": true, + "fieldName": "dateOfRegistration", + "innerLabel": "", + "systemDate": true, + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + }, + { + "type": "integer", + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_label_childrenCount", + "order": 2, + "value": "0", + "format": "numeric", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "childrenCount", + "innerLabel": "" + }, + { + "type": "integer", + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_label_pregnantWomenCount", + "order": 3, + "value": "0", + "format": "numeric", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "pregnantWomenCount", + "innerLabel": "" + }, + { + "type": "integer", + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_label_memberCount", + "order": 4, + "value": "1", + "format": "numeric", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "memberCount", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Please fill the required field." + }, + { + "type": "min", + "value": "1", + "message": "Total household members cannot be less than 1" + }, + { + "type": "max", + "value": "10", + "message": "Total household members cannot be more than 10" + } + ] + } + ], + "actionLabel": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_ACTION_BUTTON_LABEL_1", + "description": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_SCREEN_DESCRIPTION" + }, + { + "page": "beneficiaryDetails", + "type": "object", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_SCREEN_HEADING", + "order": 4, + "navigateTo": { + "name": "beneficiary-details", + "type": "template" + }, + "properties": [ + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_nameOfIndividual", + "order": 1, + "value": "", + "format": "text", + "hidden": false, + "tooltip": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_nameOfIndividual_tooltip", + "helpText": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_nameOfIndividual_helpText", + "infoText": "", + "fieldName": "nameOfIndividual", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + }, + { + "type": "minLength", + "value": "2", + "message": "Size must be 2 to 200 characters" + }, + { + "type": "maxLength", + "value": "200", + "message": "Size must be 2 to 200 characters" + } + ] + }, + { + "type": "boolean", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_isHeadOfFamily", + "order": 2, + "value": false, + "format": "checkbox", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "isHeadOfFamily", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_identifiers", + "order": 3, + "value": "", + "format": "idPopulator", + "hidden": true, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "identifiers", + "innerLabel": "", + "schemaCode": "HCM.ID_TYPE_OPTIONS_POPULATOR", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ], + "includeInForm": true, + "includeInSummary": false + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_dobPicker", + "order": 5, + "value": "", + "format": "dob", + "hidden": false, + "tooltip": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_dobPicker_tooltip", + "helpText": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_dobPicker_helpText", + "infoText": "", + "fieldName": "dobPicker", + "innerLabel": "", + "validations": [] + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_gender", + "order": 6, + "value": "", + "format": "select", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "gender", + "innerLabel": "", + "schemaCode": "common-masters.GenderType", + "validations": [] + }, + { + "type": "integer", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_phone", + "order": 7, + "value": "", + "format": "text", + "hidden": false, + "tooltip": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_phone_tooltip", + "helpText": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_phone_helpText", + "infoText": "", + "fieldName": "phone", + "innerLabel": "" + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_scanner", + "order": 8, + "value": "", + "format": "scanner", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "scanner", + "innerLabel": "" + } + ], + "actionLabel": "APPONE_REGISTRATION_BENEFICIARYDETAILS_ACTION_BUTTON_LABEL_1", + "description": "APPONE_REGISTRATION_BENEFICIARYDETAILS_SCREEN_DESCRIPTION" + }, + { + "page": "HouseholdOverview", + "type": "template", + "label": "APPONE_REGISTRATION_HOUSEHOLDOVERVIEW_SCREEN_HEADING", + "order": 5, + "navigateTo": { + "name": "beneficiary-details", + "type": "template" + }, + "properties": [ + { + "type": "template", + "label": "APPONE_REGISTRATION_HOUSEHOLDOVERVIEW_EDIT_HOUSEHOLD", + "order": 1, + "value": true, + "format": "editHousehold", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": true, + "fieldName": "editHousehold", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + }, + { + "type": "template", + "enums": [ + { + "code": "Individual.name", + "name": "name", + "fieldKey": "name", + "jsonPath": "Individual.name.givenName", + "mandatory": "true" + }, + { + "code": "Household.locality", + "name": "locality", + "isList": "true", + "fieldKey": "locality", + "jsonPath": "Household.address.locality.code", + "mandatory": "false" + }, + { + "code": "Household.memberCount", + "name": "memberCount", + "fieldKey": "memberCount", + "jsonPath": "Household.memberCount", + "mandatory": "true" + } + ], + "label": " ", + "order": 2, + "value": "", + "format": "DetailsCard", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "DetailsCard", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_HOUSEHOLDOVERVIEW_EDIT_INDIVIDUAL", + "order": 3, + "value": "", + "format": "editIndividual", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": true, + "fieldName": "editIndividual", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_HOUSEHOLDOVERVIEW_ADD_MEMBER", + "order": 4, + "value": [], + "format": "addMember", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": true, + "fieldName": "addMember", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_HOUSEHOLDOVERVIEW_DELIVERY_DETAILS_LABEL", + "order": 5, + "value": "", + "format": "PrimaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "PrimaryButton", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + } + ], + "actionLabel": "", + "description": "APPONE_REGISTRATION_HOUSEHOLDOVERVIEW_SCREEN_DESCRIPTION" + } + ], + "project": "LLIN", + "summary": true, + "version": 1, + "disabled": false + }, + { + "name": "REGISTRATIONFLOW", + "order": 1, + "pages": [ + { + "page": "SearchBeneficiary", + "type": "template", + "label": "APPONE_REGISTRATION_SEARCHBENEFICIARY_SCREEN_HEADING", + "order": 1, + "properties": [ + { + "type": "template", + "label": "APPONE_REGISTRATION_SEARCHBENEFICIARY_BY_PROXIMITY", + "order": 1, + "value": true, + "format": "searchByProximity", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "searchByProximity", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_SEARCHBENEFICIARY_BAR", + "order": 2, + "value": "", + "format": "searchBar", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "searchBar", + "deleteFlag": false, + "innerLabel": "enter the name of household", + "systemDate": false, + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_SEARCHBENEFICIARY_FILTER_LABEL", + "order": 3, + "value": [], + "format": "filter", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "filter", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_SEARCHBENEFICIARY_REGISTRATION_LABEL", + "order": 4, + "value": "", + "format": "PrimaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "PrimaryButton", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ], + "isMultiSelect": false + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_SEARCHBENEFICIARY_QR_LABEL", + "order": 5, + "value": true, + "format": "SecondaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "SecondaryButton", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "isMultiSelect": false + } + ], + "actionLabel": "", + "description": "APPONE_REGISTRATION_SEARCHBENEFICIARY_SCREEN_DESCRIPTION" + }, + { + "page": "beneficiaryLocation", + "type": "object", + "label": "APPONE_REGISTRATION_BENEFICIARYLOCATION_SCREEN_HEADING", + "order": 2, + "properties": [ + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_administrativeArea", + "order": 1, + "value": "", + "format": "locality", + "hidden": false, + "tooltip": "", + "helpText": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_administrativeArea_helpText", + "infoText": "", + "readOnly": true, + "fieldName": "administrativeArea", + "deleteFlag": false, + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ], + "isMultiSelect": false + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_latlong", + "order": 2, + "value": "", + "format": "latLng", + "hidden": false, + "tooltip": "", + "helpText": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_latlong_helpText", + "infoText": "", + "readOnly": true, + "fieldName": "latLng", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ], + "isMultiSelect": false + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_addressLine1", + "order": 3, + "value": "", + "format": "text", + "hidden": true, + "tooltip": "", + "helpText": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_addressLine1_helpText", + "infoText": "", + "readOnly": false, + "fieldName": "addressLine1", + "innerLabel": "", + "validations": [], + "isMultiSelect": false + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_addressLine2", + "order": 4, + "value": "", + "format": "text", + "hidden": true, + "tooltip": "", + "helpText": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_addressLine2_helpText", + "infoText": "", + "fieldName": "addressLine2", + "innerLabel": "", + "validations": [], + "isMultiSelect": false + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_landmark", + "order": 5, + "value": "", + "format": "text", + "hidden": true, + "tooltip": "", + "helpText": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_landmark_helpText", + "infoText": "", + "fieldName": "landmark", + "deleteFlag": false, + "innerLabel": "", + "validations": [], + "isMultiSelect": false + }, + { + "type": "integer", + "label": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_pincode", + "order": 6, + "value": "", + "format": "text", + "hidden": true, + "tooltip": "", + "helpText": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_pincode_helpText", + "infoText": "", + "fieldName": "pincode", + "innerLabel": "", + "systemDate": false, + "validations": [] + }, + { + "type": "string", + "enums": [ + { + "code": "BENEFICIARYLOCATION_PERMANENT", + "name": "BENEFICIARYLOCATION_PERMANENT" + }, + { + "code": "BENEFICIARYLOCATION_CORRESPONDENCE", + "name": "BENEFICIARYLOCATION_CORRESPONDENCE" + }, + { + "code": "BENEFICIARYLOCATION_OTHER", + "name": "BENEFICIARYLOCATION_OTHER" + } + ], + "label": "APPONE_REGISTRATION_BENEFICIARYLOCATION_label_typeOfAddress", + "order": 7, + "value": "PERMANENT", + "format": "dropdown", + "hidden": true, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "typeOfAddress", + "innerLabel": "", + "validations": [], + "includeInForm": true, + "includeInSummary": false + } + ], + "actionLabel": "APPONE_REGISTRATION_BENEFICIARYLOCATION_ACTION_BUTTON_LABEL_1", + "description": "APPONE_REGISTRATION_BENEFICIARYLOCATION_SCREEN_DESCRIPTION" + }, + { + "page": "householdDetails", + "type": "object", + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_SCREEN_HEADING", + "order": 3, + "properties": [ + { + "type": "integer", + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_label_dateOfRegistration", + "order": 1, + "value": "", + "format": "date", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "dateOfRegistration", + "innerLabel": "", + "systemDate": true, + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + }, + { + "type": "integer", + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_label_childrenCount", + "order": 2, + "value": "0", + "format": "numeric", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "childrenCount", + "innerLabel": "" + }, + { + "type": "integer", + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_label_pregnantWomenCount", + "order": 3, + "value": "0", + "format": "numeric", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "pregnantWomenCount", + "innerLabel": "", + "isMultiSelect": false + }, + { + "type": "integer", + "label": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_label_memberCount", + "order": 4, + "value": "1", + "format": "numeric", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "memberCount", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "" + }, + { + "type": "min", + "value": "1", + "message": "Total household members cannot be less than 1" + }, + { + "type": "max", + "value": "10", + "message": "Total household members cannot be more than 10" + } + ], + "isMultiSelect": false + } + ], + "actionLabel": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_ACTION_BUTTON_LABEL_1", + "description": "APPONE_REGISTRATION_HOUSEHOLDDETAILS_SCREEN_DESCRIPTION" + }, + { + "page": "beneficiaryDetails", + "type": "object", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_SCREEN_HEADING", + "order": 4, + "properties": [ + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_nameOfIndividual", + "order": 1, + "value": "", + "format": "text", + "hidden": false, + "tooltip": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_nameOfIndividual_tooltip", + "helpText": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_nameOfIndividual_helpText", + "infoText": "", + "readOnly": false, + "fieldName": "nameOfIndividual", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + }, + { + "type": "minLength", + "value": "2", + "message": "Size must be 2 to 200 characters" + }, + { + "type": "maxLength", + "value": "200", + "message": "Size must be 2 to 200 characters" + } + ] + }, + { + "type": "boolean", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_isHeadOfFamily", + "order": 2, + "value": false, + "format": "checkbox", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "isHeadOfFamily", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_identifiers", + "order": 3, + "value": "", + "format": "idPopulator", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "identifiers", + "innerLabel": "", + "schemaCode": "HCM.ID_TYPE_OPTIONS_POPULATOR", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_dobPicker", + "order": 4, + "value": "", + "format": "dob", + "hidden": false, + "tooltip": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_dobPicker_tooltip", + "helpText": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_dobPicker_helpText", + "infoText": "", + "fieldName": "dobPicker", + "innerLabel": "", + "validations": [] + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_gender", + "order": 5, + "value": "", + "format": "select", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "gender", + "innerLabel": "", + "schemaCode": "common-masters.GenderType", + "validations": [] + }, + { + "type": "integer", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_phone", + "order": 6, + "value": "", + "format": "text", + "hidden": false, + "tooltip": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_phone_tooltip", + "helpText": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_phone_helpText", + "infoText": "", + "fieldName": "phone", + "innerLabel": "", + "validations": [] + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_scanner", + "order": 7, + "value": "", + "format": "scanner", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "scanner", + "innerLabel": "", + "validations": [] + } + ], + "actionLabel": "APPONE_REGISTRATION_BENEFICIARYDETAILS_ACTION_BUTTON_LABEL_1", + "description": "APPONE_REGISTRATION_BENEFICIARYDETAILS_SCREEN_DESCRIPTION" + }, + { + "page": "BeneficiaryAcknowledgement", + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARYACKNOWLEDGEMENT_SCREEN_HEADING", + "order": 5, + "properties": [ + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_BENEFICIARYACKNOWLEDGEMENT_TITLE", + "order": 1, + "value": "", + "format": "AcknowledgementTitle", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "AcknowledgementTitle", + "deleteFlag": false, + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_BENEFICIARYACKNOWLEDGEMENT_DESCRIPTION", + "order": 2, + "value": "", + "format": "AcknowledgementDescription", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "AcknowledgementDescription", + "deleteFlag": false, + "innerLabel": "", + "validations": [] + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_BENEFICIARYACKNOWLEDGEMENT_SECONDARY_LABEL", + "order": 3, + "value": true, + "format": "SecondaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "SecondaryButton", + "innerLabel": "", + "validations": [] + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARY_BENEFICIARYACKNOWLEDGEMENT_PRIMARY_LABEL", + "order": 4, + "value": "", + "format": "PrimaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "PrimaryButton", + "innerLabel": "", + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + } + ], + "actionLabel": "", + "description": "APPONE_REGISTRATION_BENEFICIARYACKNOWLEDGEMENT_SCREEN_DESCRIPTION" + }, + { + "page": "HouseholdOverview", + "type": "template", + "label": "APPONE_REGISTRATION_HOUSEHOLDOVERVIEW_SCREEN_HEADING", + "order": 6, + "properties": [ + { + "type": "template", + "label": "APPONE_REGISTRATION_HOUSEHOLDOVERVIEW_EDIT_HOUSEHOLD", + "order": 1, + "value": true, + "format": "editHousehold", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "editHousehold", + "innerLabel": "", + "validations": [] + }, + { + "type": "template", + "enums": [ + { + "code": "Household.boundary", + "name": "boundary", + "isList": "true", + "fieldKey": "boundary", + "jsonPath": "Household.address[0].boundary", + "mandatory": "false" + }, + { + "code": "Household.memberCount", + "name": "memberCount", + "fieldKey": "memberCount", + "jsonPath": "Household.memberCount", + "mandatory": "true" + }, + { + "code": "Individual.givenName", + "name": "givenName", + "fieldKey": "givenName", + "jsonPath": "name.givenName", + "mandatory": "true" + }, + { + "code": "Individual.gender", + "name": "gender", + "isEnum": "true", + "fieldKey": "gender", + "jsonPath": "gender", + "mandatory": "false" + }, + { + "code": "Household.noOfRooms", + "name": "noOfRooms", + "fieldKey": "noOfRooms", + "jsonPath": "Household.additionalFields", + "mandatory": "false", + "additionalField": "true" + } + ], + "label": " ", + "order": 2, + "value": "", + "format": "DetailsCard", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "DetailsCard", + "innerLabel": "", + "validations": [] + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_HOUSEHOLDOVERVIEW_EDIT_INDIVIDUAL", + "order": 3, + "value": "", + "format": "editIndividual", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "editIndividual", + "innerLabel": "", + "validations": [] + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_HOUSEHOLDOVERVIEW_ADD_MEMBER", + "order": 4, + "value": [], + "format": "addMember", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "addMember", + "innerLabel": "", + "validations": [] + }, + { + "type": "template", + "label": "APPONE_REGISTRATION_HOUSEHOLDOVERVIEW_DELIVERY_DETAILS_LABEL", + "order": 5, + "value": "", + "format": "PrimaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "fieldName": "PrimaryButton", + "innerLabel": "", + "validations": [] + } + ], + "actionLabel": "", + "description": "APPONE_REGISTRATION_HOUSEHOLDOVERVIEW_SCREEN_DESCRIPTION" + } + ], + "project": "MR-DN", + "version": 0, + "disabled": false + }, + { + "name": "DELIVERYFLOW", + "order": 2, + "pages": [ + { + "page": "BeneficiaryDetails", + "type": "template", + "label": "APPONE_DELIVERYFLOW_BENEFICIARYDETAILS_SCREEN_HEADING", + "order": 1, + "properties": [ + { + "type": "template", + "enums": [ + { + "code": "Household.boundary", + "name": "boundary", + "isList": "true", + "fieldKey": "administrativeArea", + "jsonPath": "Household.address[0].boundary", + "mandatory": "false" + }, + { + "code": "Household.memberCount", + "name": "memberCount", + "fieldKey": "memberCount", + "jsonPath": "Household.memberCount", + "mandatory": "true" + }, + { + "code": "Individual.givenName", + "name": "givenName", + "fieldKey": "givenName", + "jsonPath": "name.givenName", + "mandatory": "true" + }, + { + "code": "Individual.gender", + "name": "gender", + "isEnum": "true", + "fieldKey": "gender", + "jsonPath": "gender", + "mandatory": "false" + }, + { + "code": "Household.noOfRooms", + "name": "noOfRooms", + "fieldKey": "noOfRooms", + "jsonPath": "Household.additionalFields", + "mandatory": "false", + "additionalField": "true" + } + ], + "label": "APPONE_DELIVERYFLOW_BENEFICIARYDETAILS_TITLE", + "order": 1, + "value": "", + "format": "DetailsCard", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "DetailsCard", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + }, + { + "type": "template", + "enums": [ + { + "code": "Task.deliveryNo", + "name": "deliveryNo", + "isList": "true", + "fieldKey": "doseIndex", + "jsonPath": "Task.additionalFields", + "mandatory": "false" + }, + { + "code": "Task.status", + "name": "deliveryStatus", + "isList": "true", + "fieldKey": "status", + "jsonPath": "Task.status", + "mandatory": "false" + }, + { + "code": "Task.taskCompletionDate", + "name": "taskCompletionDate", + "isEnum": "true", + "fieldKey": "createdTime", + "jsonPath": "Task.auditDetails.createdTime", + "mandatory": "false" + } + ], + "label": "APPONE_DELIVERYFLOW_BENEFICIARYDETAILS_TABLE_HEADER", + "order": 2, + "value": "", + "format": "Table", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "Table", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + }, + { + "type": "template", + "enums": [], + "label": "APPONE_DELIVERYFLOW_BENEFICIARYDETAILS_PRIMARY_BUTTON_LABEL", + "order": 3, + "value": "", + "format": "PrimaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "PrimaryButton", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + } + ], + "actionLabel": "", + "description": "APPONE_DELIVERYFLOW_BENEFICIARYDETAILS_SCREEN_DESCRIPTION" + }, + { + "page": "DeliveryDetails", + "type": "object", + "label": "APPONE_DELIVERYFLOW_DELIVERYDETAILS_SCREEN_HEADING", + "order": 2, + "properties": [ + { + "type": "integer", + "label": "APPONE_DELIVERYFLOW_DELIVERYDETAILS_label_dateOfRegistration", + "order": 1, + "value": "", + "format": "date", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": true, + "fieldName": "dateOfRegistration", + "deleteFlag": false, + "innerLabel": "", + "systemDate": true, + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ] + }, + { + "type": "string", + "enums": [ + { + "code": "DELIVERYDETAILS_SP1", + "name": "DELIVERYDETAILS_SP1" + }, + { + "code": "DELIVERYDETAILS_SP2", + "name": "DELIVERYDETAILS_SP2" + }, + { + "code": "DELIVERYDETAILS_AQ1", + "name": "DELIVERYDETAILS_AQ1" + }, + { + "code": "DELIVERYDETAILS_AQ2", + "name": "DELIVERYDETAILS_AQ2" + } + ], + "label": "APPONE_DELIVERYFLOW_DELIVERYDETAILS_label_resource", + "order": 2, + "value": "", + "format": "select", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "resourceCard", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + }, + { + "type": "string", + "enums": [ + { + "code": "DELIVERYDETAILS_SUCCESSFULDELIVERY", + "name": "DELIVERYDETAILS_SUCCESSFULDELIVERY" + }, + { + "code": "DELIVERYDETAILS_UNSUCCESSFULDELIVERY", + "name": "DELIVERYDETAILS_UNSUCCESSFULDELIVERY" + }, + { + "code": "DELIVERYDETAILS_INSUFFICIENTRESOURCE", + "name": "DELIVERYDETAILS_INSUFFICIENTRESOURCE" + } + ], + "label": "APPONE_DELIVERYFLOW_DELIVERYDETAILS_label_deliveryComments", + "order": 3, + "value": "", + "format": "dropdown", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "deliveryComment", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + }, + { + "type": "string", + "enums": [], + "label": "APPONE_DELIVERYFLOW_DELIVERYDETAILS_label_scanner", + "order": 4, + "value": "", + "format": "scanner", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "scanner", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + } + ], + "actionLabel": "APPONE_DELIVERYFLOW_DELIVERYDETAILS_ACTION_BUTTON_LABEL_1", + "description": "APPONE_DELIVERYFLOW_DELIVERYDETAILS_SCREEN_DESCRIPTION" + }, + { + "page": "HouseholdAcknowledgement", + "type": "template", + "label": "APPONE_DELIVERYFLOW_HOUSEHOLDACKNOWLEDGEMENT_SCREEN_HEADING", + "order": 3, + "properties": [ + { + "type": "template", + "enums": [], + "label": "HOUSEHOLDACKNOWLEDGEMENT_TITLE", + "order": 1, + "value": "", + "format": "AcknowledgementTitle", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "AcknowledgementTitle", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + }, + { + "type": "template", + "enums": [], + "label": "HOUSEHOLDACKNOWLEDGEMENT_DESCRIPTION", + "order": 2, + "value": "", + "format": "AcknowledgementDescription", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "AcknowledgementDescription", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + }, + { + "type": "template", + "enums": [], + "label": "HOUSEHOLDACKNOWLEDGEMENT_SECONDARY_LABEL", + "order": 3, + "value": true, + "format": "SecondaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "SecondaryButton", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + }, + { + "type": "template", + "enums": [], + "label": "HOUSEHOLDACKNOWLEDGEMENT_PRIMARY_LABEL", + "order": 4, + "value": "", + "format": "PrimaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "PrimaryButton", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ], + "errorMessage": "", + "isMultiSelect": false + } + ], + "actionLabel": "", + "description": "APPONE_DELIVERYFLOW_HOUSEHOLDACKNOWLEDGEMENT_SCREEN_DESCRIPTION" + } + ], + "project": "MR-DN", + "summary": true, + "version": 1, + "disabled": false + }, + { + "name": "DELIVERYFLOW", + "order": 2, + "pages": [ + { + "page": "BeneficiaryDetails", + "type": "template", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_SCREEN_HEADING", + "order": 1, + "navigateTo": { + "name": "DELIVERYFLOW", + "type": "form" + }, + "properties": [ + { + "type": "template", + "enums": [ + { + "code": "Individual.name", + "name": "name", + "fieldKey": "name", + "jsonPath": "Individual.name.givenName", + "mandatory": "true" + }, + { + "code": "Household.locality", + "name": "locality", + "fieldKey": "locality", + "jsonPath": "Household.address.locality.code", + "mandatory": "false" + }, + { + "code": "Individual.dateOfBirth", + "name": "dateOfBirth", + "fieldKey": "dateOfBirth", + "jsonPath": "Individual.dateOfBirth", + "mandatory": "false" + }, + { + "code": "Individual.identifierId", + "name": "identifierId", + "fieldKey": "identifierId", + "jsonPath": "Individual.identifiers[0].identifierId", + "mandatory": "false" + } + ], + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_TITLE", + "order": 1, + "value": "", + "format": "DetailsCard", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "DetailsCard", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + }, + { + "type": "template", + "enums": [ + { + "code": "Task.doseIndex", + "name": "doseIndex", + "fieldKey": "doseIndex", + "jsonPath": "Task.additionalFields", + "mandatory": "false", + "additionalField": "true" + }, + { + "code": "Task.status", + "name": "deliveryStatus", + "fieldKey": "status", + "jsonPath": "Task.status", + "mandatory": "false" + }, + { + "code": "Task.createdTime", + "name": "createdTime", + "fieldKey": "createdTime", + "jsonPath": "Task.auditDetails.createdTime", + "mandatory": "false" + } + ], + "label": "BENEFICIARYDETAILS_TABLE_HEADER", + "order": 2, + "value": "", + "format": "Table", + "hidden": true, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "Table", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + }, + { + "type": "template", + "label": "BENEFICIARYDETAILS_RECORD_DELIVERY_PRIMARY_LABEL", + "order": 3, + "value": "", + "format": "PrimaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "PrimaryButton", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + } + ], + "actionLabel": "", + "description": "APPONE_REGISTRATION_BENEFICIARYDETAILS_SCREEN_DESCRIPTION" + }, + { + "page": "DeliveryDetails", + "type": "object", + "label": "APPONE_REGISTRATION_DELIVERYDETAILS_SCREEN_HEADING", + "order": 2, + "navigateTo": { + "name": "household-acknowledgement", + "type": "template" + }, + "properties": [ + { + "type": "integer", + "label": "APPONE_REGISTRATION_DELIVERYDETAILS_label_dateOfDelivery", + "order": 1, + "value": "", + "format": "date", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": true, + "fieldName": "dateOfRegistration", + "deleteFlag": false, + "innerLabel": "", + "systemDate": true, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + }, + { + "type": "dynamic", + "enums": [ + { + "code": "SP1", + "name": "SP1" + }, + { + "code": "SP2", + "name": "SP2" + }, + { + "code": "AQ1", + "name": "AQ1" + }, + { + "code": "AQ2", + "name": "AQ2" + } + ], + "label": "APPONE_REGISTRATION_DELIVERYDETAILS_label_resource", + "order": 2, + "value": "", + "format": "custom", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "resourceCard", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_deliveryComments", + "order": 3, + "value": "", + "format": "dropdown", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "deliveryComment", + "deleteFlag": false, + "innerLabel": "", + "schemaCode": "HCM.DELIVERY_COMMENT_OPTIONS_POPULATOR", + "systemDate": false, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + }, + { + "type": "string", + "label": "APPONE_REGISTRATION_DELIVERYDETAILS_label_scanner", + "order": 4, + "value": "", + "format": "scanner", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "scanner", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + } + ], + "actionLabel": "APPONE_REGISTRATION_DELIVERYDETAILS_ACTION_BUTTON_LABEL_1", + "description": "APPONE_REGISTRATION_DELIVERYDETAILS_SCREEN_DESCRIPTION" + }, + { + "page": "HouseholdAcknowledgement", + "type": "template", + "label": "APPONE_REGISTRATION_HOUSEHOLDACKNOWLEDGEMENT_SCREEN_HEADING", + "order": 3, + "navigateTo": { + "name": "search-household", + "type": "template" + }, + "properties": [ + { + "type": "template", + "label": "HOUSEHOLDACKNOWLEDGEMENT_TITLE", + "order": 1, + "value": "", + "format": "AcknowledgementTitle", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "AcknowledgementTitle", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + }, + { + "type": "template", + "label": "HOUSEHOLDACKNOWLEDGEMENT_DESCRIPTION", + "order": 2, + "value": "", + "format": "AcknowledgementDescription", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "AcknowledgementDescription", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + }, + { + "type": "template", + "label": "HOUSEHOLDACKNOWLEDGEMENT_SECONDARY_LABEL", + "order": 3, + "value": true, + "format": "SecondaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "SecondaryButton", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [], + "errorMessage": "", + "isMultiSelect": false + }, + { + "type": "template", + "label": "HOUSEHOLDACKNOWLEDGEMENT_PRIMARY_LABEL", + "order": 4, + "value": "", + "format": "PrimaryButton", + "hidden": false, + "tooltip": "", + "helpText": "", + "infoText": "", + "readOnly": false, + "fieldName": "PrimaryButton", + "deleteFlag": false, + "innerLabel": "", + "systemDate": false, + "validations": [ + { + "type": "required", + "value": true, + "message": "Required field cannot be empty" + } + ], + "errorMessage": "", + "isMultiSelect": false + } + ], + "actionLabel": "", + "description": "APPONE_REGISTRATION_HOUSEHOLDACKNOWLEDGEMENT_SCREEN_DESCRIPTION" + } + ], + "project": "LLIN", + "version": 1, + "disabled": false + } +] \ No newline at end of file diff --git a/mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.emailTemplate b/mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.emailTemplate new file mode 100644 index 00000000..5a0d6d75 --- /dev/null +++ b/mdms/HCM/AdminConsole v0.4/Data/HCM-ADMIN-CONSOLE.emailTemplate @@ -0,0 +1,12 @@ +[ + { + "bodyCodes": [ + "USER_CREDENTIAL_BODY_INTRO", + "USER_CREDENTIAL_BODY_DETAILS", + "USER_CREDENTIAL_BODY_NOTES", + "USER_CREDENTIAL_BODY_SUPPORT", + "USER_CREDENTIAL_BODY_THANKS" + ], + "subjectCode": "USER_CREDENTIAL_SUBJECT" + } +] \ No newline at end of file diff --git a/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.AppConfigCache b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.AppConfigCache new file mode 100644 index 00000000..1a5962c1 --- /dev/null +++ b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.AppConfigCache @@ -0,0 +1,32 @@ + { + "tenantId": "{{tenantId}}", + "code": "HCM-ADMIN-CONSOLE.AppConfigCache", + "description": "HCM-ADMIN-CONSOLE.AppConfigCache", + "definition": { + "type": "object", + "title": "Flexible App Config with Campaign Constraint", + "$schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "campaignNumber", + "projectType", + "flow" + ], + "x-unique": [ + "campaignNumber", + "projectType", + "flow" + ], + "properties": { + "flow": { + "type": "string" + }, + "projectType": { + "type": "string" + }, + "campaignNumber": { + "type": "string" + } + } + }, + "isActive": true + } \ No newline at end of file diff --git a/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.AppModuleSchema b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.AppModuleSchema new file mode 100644 index 00000000..42f87e49 --- /dev/null +++ b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.AppModuleSchema @@ -0,0 +1,46 @@ + { + "tenantId": "{{tenantId}}", + "code": "HCM-ADMIN-CONSOLE.AppModuleSchema", + "description": null, + "definition": { + "type": "object", + "title": "Generated schema for Root", + "$schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "code" + ], + "x-unique": [ + "code" + ], + "properties": { + "code": { + "type": "string" + }, + "features": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "code": { + "type": "string" + }, + "disabled": { + "type": "boolean", + "default": false + }, + "description": { + "type": "string" + } + } + } + }, + "description": { + "type": "string" + } + } + }, + "isActive": true + } \ No newline at end of file diff --git a/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.AppScreenLocalisationConfig b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.AppScreenLocalisationConfig new file mode 100644 index 00000000..4938551c --- /dev/null +++ b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.AppScreenLocalisationConfig @@ -0,0 +1,61 @@ +{ + "tenantId": "{{tenantId}}", + "code": "HCM-ADMIN-CONSOLE.AppScreenLocalisationConfig", + "description": "HCM-ADMIN-CONSOLE.AppScreenLocalisationConfig", + "definition": { + "type": "object", + "title": "Generated schema for Root", + "$schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "screenName", + "LocalisationModule", + "moduleVersion", + "minModuleVersion", + "fields" + ], + "x-unique": [ + "screenName" + ], + "properties": { + "fields": { + "type": "array", + "items": { + "type": "object", + "required": [ + "fieldType" + ], + "properties": { + "fieldType": { + "type": "string" + }, + "applicableFieldTypes": { + "type": "array", + "items": { + "type": "string" + } + }, + "localisableProperties": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "screenName": { + "type": "string" + }, + "moduleVersion": { + "type": "string" + }, + "minModuleVersion": { + "type": "string" + }, + "LocalisationModule": { + "type": "string" + } + } + }, + "isActive": true + } \ No newline at end of file diff --git a/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.DETAILS_RENDERER_CONFIG b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.DETAILS_RENDERER_CONFIG new file mode 100644 index 00000000..9181e265 --- /dev/null +++ b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.DETAILS_RENDERER_CONFIG @@ -0,0 +1,92 @@ +[ + { + "entity": "Individual", + "displayFields": [ + { + "fieldKey": "locality", + "jsonPath": "Individual.address[0].locality.code", + "mandatory": "false" + }, + { + "fieldKey": "name", + "jsonPath": "Individual.name.givenName", + "mandatory": "true" + }, + { + "fieldKey": "gender", + "jsonPath": "Individual.gender", + "mandatory": "false" + }, + { + "fieldKey": "identifierId", + "jsonPath": "Individual.identifiers[0].identifierId", + "mandatory": "false" + }, + { + "isList": "true", + "fieldKey": "identifierType", + "jsonPath": "Individual.identifiers[0].identifierType", + "mandatory": "false" + }, + { + "fieldKey": "mobileNumber", + "jsonPath": "Individual.mobileNumber", + "mandatory": "false" + } + ] + }, + { + "entity": "Task", + "displayFields": [ + { + "fieldKey": "doseIndex", + "jsonPath": "Task.additionalFields", + "mandatory": "false", + "additionalField": "true" + }, + { + "fieldKey": "status", + "jsonPath": "Task.status", + "mandatory": "false" + }, + { + "fieldKey": "createdTime", + "jsonPath": "Task.auditDetails.createdTime", + "mandatory": "false" + }, + { + "fieldKey": "cycleIndex", + "jsonPath": "Task.additionalFields", + "mandatory": "false", + "additionalField": "true" + } + ] + }, + { + "entity": "Household", + "displayFields": [ + { + "fieldKey": "locality", + "jsonPath": "Household.address.locality.code", + "mandatory": "false" + }, + { + "fieldKey": "memberCount", + "jsonPath": "Household.memberCount", + "mandatory": "false" + }, + { + "fieldKey": "pregnantWomenCount", + "jsonPath": "Household.additionalFields", + "mandatory": "false", + "additionalField": "true" + }, + { + "fieldKey": "childrenCount", + "jsonPath": "Household.additionalFields", + "mandatory": "false", + "additionalField": "true" + } + ] + } +] \ No newline at end of file diff --git a/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.FieldPropertiesPanelConfig b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.FieldPropertiesPanelConfig new file mode 100644 index 00000000..c8bcdffc --- /dev/null +++ b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.FieldPropertiesPanelConfig @@ -0,0 +1,107 @@ +{ + "tenantId": "mz", + "code": "HCM-ADMIN-CONSOLE.FieldPropertiesPanelConfig", + "description": "HCM-ADMIN-CONSOLE.FieldPropertiesPanelConfig", + "definition":{ + "type": "object", + "title": "HCM-ADMIN-CONSOLE.FieldPropertiesPanelConfig", + "$schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "tab", + "label", + "order", + "fieldType" + ], + "x-unique": [ + "label" + ], + "properties": { + "id": { + "type": "string" + }, + "tab": { + "type": "string" + }, + "label": { + "type": "string" + }, + "order": { + "type": "number" + }, + "bindTo": { + "type": "string" + }, + "tabOrder": { + "type": "number" + }, + "fieldType": { + "type": "string" + }, + "defaultValue": { + "type": "boolean" + }, + "conditionalField": { + "type": "array", + "items": { + "type": "object", + "required": [ + "type", + "bindTo" + ], + "properties": { + "type": { + "type": "string" + }, + "label": { + "type": "string" + }, + "bindTo": { + "type": "string" + }, + "options": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code", + "pattern", + "description" + ], + "properties": { + "code": { + "type": "string" + }, + "pattern": { + "type": "string" + }, + "description": { + "type": "string" + } + } + } + }, + "jsonPath": { + "type": "string" + }, + "condition": { + "type": "boolean" + } + } + } + }, + "showFieldOnToggle": { + "type": "boolean" + }, + "disableForRequired": { + "type": "boolean" + }, + "visibilityEnabledFor": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "isActive": true + } \ No newline at end of file diff --git a/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.FieldTypeMappingConfig b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.FieldTypeMappingConfig new file mode 100644 index 00000000..4b792815 --- /dev/null +++ b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.FieldTypeMappingConfig @@ -0,0 +1,72 @@ +:{ + "tenantId": "mz", + "code": "HCM-ADMIN-CONSOLE.FieldTypeMappingConfig", + "description": "HCM-ADMIN-CONSOLE.FieldTypeMappingConfig", + "definition":{ + "type": "object", + "title": "HCM-ADMIN-CONSOLE.FieldTypeMappingConfig", + "$schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "type", + "metadata", + "fieldType", + "attributeToRename" + ], + "x-unique": [ + "type" + ], + "properties": { + "type": { + "type": "string" + }, + "metadata": { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "type": "string" + }, + "format": { + "type": "string" + } + } + }, + "fieldType": { + "type": "string" + }, + "attributeToRename": { + "type": "object", + "properties": { + "endDate": { + "type": "string" + }, + "helpText": { + "type": "string" + }, + "maxLength": { + "type": "string" + }, + "minLength": { + "type": "string" + }, + "startDate": { + "type": "string" + }, + "schemaCode": { + "type": "string" + }, + "dropDownOptions": { + "type": "string" + }, + "appAdministrativeArea": { + "type": "string" + } + } + } + } + }, + "isActive": true + } \ No newline at end of file diff --git a/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.FormConfig b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.FormConfig new file mode 100644 index 00000000..7766ce4a --- /dev/null +++ b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.FormConfig @@ -0,0 +1,197 @@ + { + "tenantId": "{{tenantId}}", + "code": "HCM-ADMIN-CONSOLE.FormConfig", + "description": "HCM-ADMIN-CONSOLE.FormConfig", + "definition":{ + "type": "object", + "title": "Generated schema for Root", + "$schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "name", + "pages", + "project", + "version" + ], + "x-unique": [ + "name", + "project" + ], + "properties": { + "name": { + "enum": [ + "REGISTRATIONFLOW", + "INVENTORYFLOW", + "ATTENDANCEFLOW", + "COMPLAINTFLOW", + "DELIVERYFLOW" + ], + "type": "string" + }, + "order": { + "type": "number" + }, + "pages": { + "type": "array", + "items": { + "type": "object", + "required": [ + "page", + "label", + "order", + "properties" + ], + "properties": { + "page": { + "type": "string" + }, + "type": { + "type": "string" + }, + "label": { + "type": "string" + }, + "order": { + "type": "number" + }, + "navigateTo": { + "type": "object", + "required": [], + "properties": { + "name": { + "type": "string" + }, + "type": { + "enum": [ + "template", + "form" + ], + "type": "string" + } + } + }, + "properties": { + "type": "array", + "items": { + "type": "object", + "required": [ + "type", + "label", + "order", + "format", + "hidden" + ], + "properties": { + "type": { + "type": "string" + }, + "enums": { + "type": "array", + "items": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + } + } + } + }, + "label": { + "type": "string" + }, + "order": { + "type": "number" + }, + "format": { + "type": "string" + }, + "hidden": { + "type": "boolean" + }, + "tooltip": { + "type": "string" + }, + "helpText": { + "type": "string" + }, + "infoText": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "required": { + "type": "boolean" + }, + "fieldName": { + "type": "string" + }, + "deleteFlag": { + "type": "boolean" + }, + "innerLabel": { + "type": "string" + }, + "schemaCode": { + "type": "string" + }, + "systemDate": { + "type": "boolean" + }, + "validations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "value": {}, + "message": { + "type": "string" + } + } + } + }, + "errorMessage": { + "type": "string" + }, + "includeInForm": { + "type": "boolean" + }, + "isMultiSelect": { + "type": "boolean" + }, + "includeInSummary": { + "type": "boolean" + } + } + } + }, + "actionLabel": { + "type": "string" + }, + "description": { + "type": "string" + } + } + } + }, + "project": { + "type": "string" + }, + "summary": { + "type": "boolean" + }, + "version": { + "type": "number" + }, + "disabled": { + "type": "boolean" + } + } + }, + "isActive": true + } \ No newline at end of file diff --git a/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.FormConfigTemplate b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.FormConfigTemplate new file mode 100644 index 00000000..72387627 --- /dev/null +++ b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.FormConfigTemplate @@ -0,0 +1,197 @@ + { + "tenantId": "mz", + "code": "HCM-ADMIN-CONSOLE.FormConfigTemplate", + "description": "HCM-ADMIN-CONSOLE.FormConfigTemplate", + "definition": { + "type": "object", + "title": "Generated schema for Root", + "$schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "name", + "pages", + "project", + "version" + ], + "x-unique": [ + "name", + "project" + ], + "properties": { + "name": { + "enum": [ + "REGISTRATIONFLOW", + "INVENTORYFLOW", + "ATTENDANCEFLOW", + "COMPLAINTFLOW", + "DELIVERYFLOW" + ], + "type": "string" + }, + "order": { + "type": "number" + }, + "pages": { + "type": "array", + "items": { + "type": "object", + "required": [ + "page", + "label", + "order", + "properties" + ], + "properties": { + "page": { + "type": "string" + }, + "type": { + "type": "string" + }, + "label": { + "type": "string" + }, + "order": { + "type": "number" + }, + "navigateTo": { + "type": "object", + "required": [], + "properties": { + "name": { + "type": "string" + }, + "type": { + "enum": [ + "template", + "form" + ], + "type": "string" + } + } + }, + "properties": { + "type": "array", + "items": { + "type": "object", + "required": [ + "type", + "label", + "order", + "format", + "hidden" + ], + "properties": { + "type": { + "type": "string" + }, + "enums": { + "type": "array", + "items": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + } + } + } + }, + "label": { + "type": "string" + }, + "order": { + "type": "number" + }, + "format": { + "type": "string" + }, + "hidden": { + "type": "boolean" + }, + "tooltip": { + "type": "string" + }, + "helpText": { + "type": "string" + }, + "infoText": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "required": { + "type": "boolean" + }, + "fieldName": { + "type": "string" + }, + "deleteFlag": { + "type": "boolean" + }, + "innerLabel": { + "type": "string" + }, + "schemaCode": { + "type": "string" + }, + "systemDate": { + "type": "boolean" + }, + "validations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "value": {}, + "message": { + "type": "string" + } + } + } + }, + "errorMessage": { + "type": "string" + }, + "includeInForm": { + "type": "boolean" + }, + "isMultiSelect": { + "type": "boolean" + }, + "includeInSummary": { + "type": "boolean" + } + } + } + }, + "actionLabel": { + "type": "string" + }, + "description": { + "type": "string" + } + } + } + }, + "project": { + "type": "string" + }, + "summary": { + "type": "boolean" + }, + "version": { + "type": "number" + }, + "disabled": { + "type": "boolean" + } + } + }, + "isActive": true + } \ No newline at end of file diff --git a/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.MobileAppLink b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.MobileAppLink new file mode 100644 index 00000000..d4d9fbee --- /dev/null +++ b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.MobileAppLink @@ -0,0 +1,26 @@ + { + "tenantId": "{{tenantId}}", + "code": "HCM-ADMIN-CONSOLE.MobileAppLink", + "description": "HCM-ADMIN-CONSOLE.MobileAppLink", + "definition": { + "type": "object", + "title": "Generated schema for Root", + "$schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "appLink", + "hierarchy" + ], + "x-unique": [ + "hierarchy" + ], + "properties": { + "appLink": { + "type": "string" + }, + "hierarchy": { + "type": "string" + } + } + }, + "isActive": true + } \ No newline at end of file diff --git a/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.emailTemplate b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.emailTemplate new file mode 100644 index 00000000..0e056447 --- /dev/null +++ b/mdms/HCM/AdminConsole v0.4/Schemas/HCM-ADMIN-CONSOLE.emailTemplate @@ -0,0 +1,33 @@ +{ + "tenantId": "{{tenantId}}", + "code": "HCM-ADMIN-CONSOLE.emailTemplate", + "description": null, + "definition": { + "type": "object", + "title": "Email Template Reference", + "$schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "subjectCode", + "bodyCodes" + ], + "x-unique": [ + "subjectCode" + ], + "properties": { + "bodyCodes": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 1, + "description": "List of message codes to be used in the body" + }, + "subjectCode": { + "type": "string", + "description": "Message code for the localized email subject" + } + }, + "additionalProperties": false + }, + "isActive": true + } \ No newline at end of file diff --git a/mdms/HCM/AdminConsole v0.4/Schemas/commonUiConfig.HelpTutorial b/mdms/HCM/AdminConsole v0.4/Schemas/commonUiConfig.HelpTutorial new file mode 100644 index 00000000..a9ec4266 --- /dev/null +++ b/mdms/HCM/AdminConsole v0.4/Schemas/commonUiConfig.HelpTutorial @@ -0,0 +1,60 @@ + { + "tenantId": "{{tenantId}}", + "code": "commonUiConfig.HelpTutorial", + "description": "commonUiConfig.HelpTutorial", + "definition": { + "type": "object", + "title": "Generated schema for Root", + "$schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "module", + "helpContent" + ], + "x-unique": [ + "module" + ], + "properties": { + "module": { + "type": "string" + }, + "helpContent": { + "type": "array", + "items": { + "type": "object", + "required": [ + "url", + "title", + "icon" + ], + "properties": { + "url": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "order": { + "type": "number" + }, + "pages": { + "type": "array", + "items": { + "type": "string" + } + }, + "title": { + "type": "string" + }, + "actionText": { + "type": "string" + }, + "iconBackground": { + "type": "string" + } + } + } + } + } + }, + "isActive": true + } \ No newline at end of file