Co-Delivery Console Support
Co-delivery is the default configuration supported by the Console, where delivery rules have no restrictions.
For co-delivery to be displayed as the campaign type, it must be initially added to the MDMS. Project type name - 'DEFAULT' Master name: projectTypes Module name: "HCM-PROJECT-TYPES"
HCM-PROJECT-TYPES
{
"id": "469a45cd-7a5f-45d9-bacc-f441320a0c48",
"tenantId": "mz",
"schemaCode": "HCM-PROJECT-TYPES.projectTypes",
"uniqueIdentifier": "ea1bb2e7-06d8-4fe4-ba1e-f4a6363a23re",
"data": {
"id": "ea1bb2e7-06d8-4fe4-ba1e-f4a6363a23re",
"code": "DEFAULT",
"name": "configuration for Co-Delivery Campaign",
"type": "multiround",
"group": "MALARIA",
"cycles": [],
"resources": [],
"beneficiaryType": "INDIVIDUAL"
},
"isActive": true,
"auditDetails": {
"createdBy": "db842ca9-25c5-4419-a72f-459443d38feb",
"lastModifiedBy": "db842ca9-25c5-4419-a72f-459443d38feb",
"createdTime": 1734585310867,
"lastModifiedTime": 1734585310867
}
}
Newly added schema - HCM-ADMIN-CONSOLE.allAttributes This schema contains different types of attributes, their respective project types, and the allowed operators for that attribute. valuesSchema: Is the name of schema from where dropdown options will render:
HCM-ADMIN-CONSOLE.allAttributes
[
{
"id": "b6ca2d6a-3f40-4823-9436-7f5db9c4e8eb",
"tenantId": "mz",
"schemaCode": "HCM-ADMIN-CONSOLE.allAttributes",
"uniqueIdentifier": "gender",
"data": {
"key": 6,
"code": "gender",
"i18nKey": "CAMPAIGN_ATTRIBUTE_GENDER",
"projectTypes": [
"CO-DEL",
"MR-DN"
],
"valuesSchema": "common-masters.GenderType",
"allowedOperators": [
"EQUAL_TO"
]
},
"isActive": true
},
{
"id": "6d874cc3-23b9-49d1-ab93-f03c2199174f",
"tenantId": "mz",
"schemaCode": "HCM-ADMIN-CONSOLE.allAttributes",
"uniqueIdentifier": "weight",
"data": {
"key": 5,
"code": "weight",
"i18nKey": "CAMPAIGN_ATTRIBUTE_WEIGHT",
"projectTypes": [
"CO-DEL",
"MR-DN"
]
},
"isActive": true
},
{
"id": "600f3003-fdaa-4c14-86dd-c5f79dc69baa",
"tenantId": "mz",
"schemaCode": "HCM-ADMIN-CONSOLE.allAttributes",
"uniqueIdentifier": "height",
"data": {
"key": 4,
"code": "height",
"i18nKey": "CAMPAIGN_ATTRIBUTE_HEIGHT",
"projectTypes": [
"CO-DEL",
"MR-DN"
]
},
"isActive": true
},
{
"id": "bb8ca065-e406-43b0-9a47-5a744a64386d",
"tenantId": "mz",
"schemaCode": "HCM-ADMIN-CONSOLE.allAttributes",
"uniqueIdentifier": "age",
"data": {
"key": 3,
"code": "age",
"i18nKey": "CAMPAIGN_ATTRIBUTE_AGE",
"projectTypes": [
"CO-DEL",
"MR-DN"
]
},
"isActive": true
},
{
"id": "6ca05e70-06c1-4f0b-abf7-e4dfc7173086",
"tenantId": "mz",
"schemaCode": "HCM-ADMIN-CONSOLE.allAttributes",
"uniqueIdentifier": "type_of_structure",
"data": {
"key": 2,
"code": "type_of_structure",
"i18nKey": "TYPE_OF_STRUCTURE",
"projectTypes": [
"CO-DEL",
"IRS-mz"
],
"valuesSchema": "HCM.HOUSE_STRUCTURE_TYPES",
"allowedOperators": [
"EQUAL_TO"
]
},
"isActive": true
},
{
"id": "a07cdcfb-83b0-4543-bfd7-01f4c7bd8bea",
"tenantId": "mz",
"schemaCode": "HCM-ADMIN-CONSOLE.allAttributes",
"uniqueIdentifier": "memberCount",
"data": {
"key": 1,
"code": "memberCount",
"i18nKey": "CAMPAIGN_BEDNET_INDIVIDUAL_LABEL",
"projectTypes": [
"LLIN-mz",
"CO-DEL"
]
},
"isActive": true
}
]
Schema no longer in use - HCM-ADMIN-CONSOLE.attributeConfig
[MASTER - ADMIN SCHEMA MODULE - (HCM-ADMIN-CONSOLE)] TO BE CONFIGURED FOR PROJECT-TYPE "DEFAULT"
ADMIN SCHEMAS
"data": {
"title": "boundary",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"numberProperties": [
{
"name": "HCM_ADMIN_CONSOLE_TARGET_INDIVIDUAL",
"type": "number",
"isRequired": false,
"description": "Target Individual",
"orderNumber": 2
},
{
"name": "HCM_ADMIN_CONSOLE_TARGET_HOUSEHOLD",
"type": "number",
"isRequired": false,
"description": "Target Household",
"orderNumber": 3
},
{
"name": "HCM_ADMIN_CONSOLE_TARGET_PRODUCT",
"type": "number",
"isRequired": false,
"description": "Target Product",
"orderNumber": 4
}
],
"stringProperties": [
{
"name": "HCM_ADMIN_CONSOLE_BOUNDARY_CODE",
"type": "string",
"isRequired": true,
"description": "Boundary Code",
"orderNumber": 1,
"freezeColumn": true
}
]
},
"campaignType": "DEFAULT"
}
{
"title": "boundaryWithTarget",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"numberProperties": [
{
"name": "HCM_ADMIN_CONSOLE_TARGET_INDIVIDUAL",
"type": "number",
"isRequired": false,
"description": "Target Individual",
"orderNumber": 2
},
{
"name": "HCM_ADMIN_CONSOLE_TARGET_HOUSEHOLD",
"type": "number",
"isRequired": false,
"description": "Target Household",
"orderNumber": 3
},
{
"name": "HCM_ADMIN_CONSOLE_TARGET_PRODUCT",
"type": "number",
"isRequired": false,
"description": "Target Product",
"orderNumber": 4
}
],
"stringProperties": [
{
"name": "HCM_ADMIN_CONSOLE_BOUNDARY_CODE",
"type": "string",
"isRequired": true,
"description": "Boundary Code",
"orderNumber": 1,
"freezeColumn": true
}
]
},
"campaignType": "DEFAULT"
}
Master - targetConfigs to be configured:
targetConfigs
{
"campaignType": "DEFAULT",
"beneficiaries": [
{
"columns": [
"HCM_ADMIN_CONSOLE_TARGET_INDIVIDUAL"
],
"beneficiaryType": "INDIVIDUAL"
},
{
"columns": [
"HCM_ADMIN_CONSOLE_TARGET_HOUSEHOLD"
],
"beneficiaryType": "HOUSEHOLD"
},
{
"columns": [
"HCM_ADMIN_CONSOLE_TARGET_PRODUCT"
],
"beneficiaryType": "PRODUCT"
}
]
}
Last updated
Was this helpful?