> For the complete documentation index, see [llms.txt](https://docs.digit.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digit.org/health/ph-v1.8/deploy/configuration/hcm-console-configuration/enable-new-campaign-type/co-delivery-campaign-type.md). Agents can also search and read this documentation through its [MCP server](https://docs.digit.org/~gitbook/mcp).

# Co-Delivery Campaign Type

Co-delivery is the default configuration supported by the Console, where delivery rules have no restrictions.&#x20;

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"&#x20;

<details>

<summary>HCM-PROJECT-TYPES</summary>

```
{
            "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
            }
        }
```

</details>

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:&#x20;

<details>

<summary>HCM-ADMIN-CONSOLE.allAttributes</summary>

```
[
        {
            "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
        }
    ]
```

</details>

\
Schema no longer in use - HCM-ADMIN-CONSOLE`.attributeConfig`

`[MASTER - ADMIN SCHEMA MODULE - (HCM-ADMIN-CONSOLE)] TO BE CONFIGURED FOR PROJECT-TYPE "DEFAULT"`

<details>

<summary><code>ADMIN SCHEMAS</code></summary>

```json

 "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"
            }

```

</details>

\
Master - targetConfigs to be configured:&#x20;

<details>

<summary>targetConfigs</summary>

```json

{
                "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"
                    }
                ]
            }

```

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.digit.org/health/ph-v1.8/deploy/configuration/hcm-console-configuration/enable-new-campaign-type/co-delivery-campaign-type.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
