Master Data Management Service (MDMS) and Configuration updates

Configuration Details

Service name
Feature
Changes

Plan Service

Plan Service Persister

Plan Service Indexer

Plan Chart API Config

Census Service

Census Service Persister

Census Service Indexer

Census Chart API Config

For MDMS-V2 changes, refer to the files below for MDMS schema and data that needs to be added for Microplanning:

1) Add below schemas:

1.1) Add hcm-microplanning.MicroplanNamingConvention schema:

{
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "id"
            ],
            "x-unique": [
                "id"
            ],
            "properties": {
                "id": {
                    "type": "number"
                },
                "data": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "isActive": {
                    "type": "boolean"
                }
            }
        }

1.2) Add hcm-microplanning.MicroplanNamingRegex schema:

{
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "id"
            ],
            "x-unique": [
                "id"
            ],
            "properties": {
                "id": {
                    "type": "number"
                },
                "data": {
                    "type": "string"
                },
                "isActive": {
                    "type": "boolean"
                }
            }
        }

1.3) Add hcm-microplanning.ResourceDistributionStrategy schema:

{
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "resourceDistributionStrategyCode",
                "resourceDistributionStrategyName"
            ],
            "x-unique": [
                "resourceDistributionStrategyCode"
            ],
            "properties": {
                "resourceDistributionStrategyCode": {
                    "type": "string"
                },
                "resourceDistributionStrategyName": {
                    "type": "string"
                }
            }
        }

1.4) Add hcm-microplanning.rolesForMicroplan schema:

{
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "role",
                "roleCode",
                "orderNumber"
            ],
            "x-unique": [
                "roleCode"
            ],
            "properties": {
                "role": {
                    "type": "string"
                },
                "roleCode": {
                    "type": "string"
                },
                "orderNumber": {
                    "type": "number"
                }
            }
        }

1.5) Add hcm-microplanning.HypothesisAssumptions schema:

{
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "campaignType",
                "resourceDistributionStrategyCode",
                "isRegistrationAndDistributionHappeningTogetherOrSeparately",
                "RegistrationProcess",
                "DistributionProcess"
            ],
            "x-unique": [
                "campaignType",
                "resourceDistributionStrategyCode",
                "isRegistrationAndDistributionHappeningTogetherOrSeparately",
                "RegistrationProcess",
                "DistributionProcess"
            ],
            "properties": {
                "campaignType": {
                    "type": "string"
                },
                "DistributionProcess": {
                    "type": "string"
                },
                "RegistrationProcess": {
                    "type": "string"
                },
                "assumptionCategories": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "required": [
                            "category",
                            "order",
                            "assumptions"
                        ],
                        "properties": {
                            "order": {
                                "type": "number"
                            },
                            "category": {
                                "type": "string"
                            },
                            "assumptions": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            }
                        }
                    }
                },
                "resourceDistributionStrategyCode": {
                    "type": "string"
                },
                "isRegistrationAndDistributionHappeningTogetherOrSeparately": {
                    "type": "string"
                }
            },
            "x-ref-schema": [
                {
                    "fieldPath": "resourceDistributionStrategyCode",
                    "schemaCode": "hcm-microplanning.ResourceDistributionStrategy"
                },
                {
                    "fieldPath": "resourceDistributionStrategyCode",
                    "schemaCode": "hcm-microplanning.ResourceDistributionStrategy"
                }
            ]
        }

1.6) Add hcm-microplanning.RuleConfigureOutput schema:

{
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "campaignType",
                "resourceDistributionStrategyCode",
                "isRegistrationAndDistributionHappeningTogetherOrSeparately",
                "RegistrationProcess",
                "DistributionProcess"
            ],
            "x-unique": [
                "campaignType",
                "resourceDistributionStrategyCode",
                "isRegistrationAndDistributionHappeningTogetherOrSeparately",
                "RegistrationProcess",
                "DistributionProcess"
            ],
            "properties": {
                "campaignType": {
                    "type": "string"
                },
                "outputCategories": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "required": [
                            "category",
                            "order",
                            "outputs"
                        ],
                        "properties": {
                            "order": {
                                "type": "number"
                            },
                            "outputs": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "category": {
                                "type": "string"
                            }
                        }
                    }
                },
                "DistributionProcess": {
                    "type": "string"
                },
                "RegistrationProcess": {
                    "type": "string"
                },
                "resourceDistributionStrategyCode": {
                    "type": "string"
                },
                "isRegistrationAndDistributionHappeningTogetherOrSeparately": {
                    "type": "string"
                }
            },
            "x-ref-schema": [
                {
                    "fieldPath": "resourceDistributionStrategyCode",
                    "schemaCode": "hcm-microplanning.ResourceDistributionStrategy"
                }
            ]
        }

1.7) Add hcm-microplanning.RuleConfigureInputs schema:

{
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "campaignType",
                "resourceDistributionStrategyCode",
                "isRegistrationAndDistributionHappeningTogetherOrSeparately",
                "RegistrationProcess",
                "DistributionProcess"
            ],
            "x-unique": [
                "campaignType",
                "resourceDistributionStrategyCode",
                "isRegistrationAndDistributionHappeningTogetherOrSeparately",
                "RegistrationProcess",
                "DistributionProcess"
            ],
            "properties": {
                "campaignType": {
                    "type": "string"
                },
                "inputCategories": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "required": [
                            "category",
                            "order",
                            "inputs"
                        ],
                        "properties": {
                            "order": {
                                "type": "number"
                            },
                            "inputs": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "category": {
                                "type": "string"
                            }
                        }
                    }
                },
                "DistributionProcess": {
                    "type": "string"
                },
                "RegistrationProcess": {
                    "type": "string"
                },
                "resourceDistributionStrategyCode": {
                    "type": "string"
                },
                "isRegistrationAndDistributionHappeningTogetherOrSeparately": {
                    "type": "string"
                }
            },
            "x-ref-schema": [
                {
                    "fieldPath": "resourceDistributionStrategyCode",
                    "schemaCode": "hcm-microplanning.ResourceDistributionStrategy"
                }
            ]
        }

1.8) Add hcm-microplanning.AutoFilledRuleConfigurations schema:

{
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "campaignType",
                "resourceDistributionStrategyCode",
                "isRegistrationAndDistributionHappeningTogetherOrSeparately",
                "RegistrationProcess",
                "DistributionProcess"
            ],
            "x-unique": [
                "campaignType",
                "resourceDistributionStrategyCode",
                "isRegistrationAndDistributionHappeningTogetherOrSeparately",
                "RegistrationProcess",
                "DistributionProcess"
            ],
            "properties": {
                "campaignType": {
                    "type": "string"
                },
                "DistributionProcess": {
                    "type": "string"
                },
                "RegistrationProcess": {
                    "type": "string"
                },
                "ruleConfigurationCategories": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "required": [
                            "category",
                            "order",
                            "ruleConfigurations"
                        ],
                        "properties": {
                            "order": {
                                "type": "number"
                            },
                            "category": {
                                "type": "string"
                            },
                            "ruleConfigurations": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "required": [
                                        "output",
                                        "input",
                                        "operatorName",
                                        "assumptionValue"
                                    ],
                                    "properties": {
                                        "input": {
                                            "type": "string"
                                        },
                                        "output": {
                                            "type": "string"
                                        },
                                        "operatorName": {
                                            "type": "string"
                                        },
                                        "assumptionValue": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "resourceDistributionStrategyCode": {
                    "type": "string"
                },
                "isRegistrationAndDistributionHappeningTogetherOrSeparately": {
                    "type": "string"
                }
            },
            "x-ref-schema": [
                {
                    "fieldPath": "resourceDistributionStrategyCode",
                    "schemaCode": "hcm-microplanning.ResourceDistributionStrategy"
                }
            ]
        }

1.9) Add hcm-microplanning.RuleConfigureOperators schema:

{
                "type": "object",
                "title": "Generated schema for Root",
                "$schema": "http://json-schema.org/draft-07/schema#",
                "required": [
                    "operatorName",
                    "operatorCode"
                ],
                "x-unique": [
                    "operatorName"
                ],
                "properties": {
                    "operatorCode": {
                        "type": "string"
                    },
                    "operatorName": {
                        "type": "string"
                    }
                }
            }

1.10) Add hcm-microplanning.RegistrationAndDistributionHappeningTogetherOrSeparately schema:

{
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "registrationAndDistributionHappeningTogetherOrSeparatelyName",
                "registrationAndDistributionHappeningTogetherOrSeparatelyCode"
            ],
            "x-unique": [
                "registrationAndDistributionHappeningTogetherOrSeparatelyCode"
            ],
            "properties": {
                "registrationAndDistributionHappeningTogetherOrSeparatelyCode": {
                    "type": "string"
                },
                "registrationAndDistributionHappeningTogetherOrSeparatelyName": {
                    "type": "string"
                }
            }
        }

1.11) Add hcm-microplanning.villageRoadCondition schema:

{
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "code"
            ],
            "x-unique": [
                "code"
            ],
            "properties": {
                "code": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "active": {
                    "type": "boolean"
                }
            }
        }

1.12) Add hcm-microplanning.villageTerrain schema:

{
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "code"
            ],
            "x-unique": [
                "code"
            ],
            "properties": {
                "code": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "active": {
                    "type": "boolean"
                }
            }
        }

1.13) Add hcm-microplanning.securityQuestions schema:

{
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "id"
            ],
            "x-unique": [
                "id"
            ],
            "properties": {
                "id": {
                    "type": "number"
                },
                "values": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "question": {
                    "type": "string"
                },
                "required": {
                    "type": "boolean"
                }
            }
        }

1.14) Add hcm-microplanning.facilityType schema:

{
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "code"
            ],
            "x-unique": [
                "code"
            ],
            "properties": {
                "code": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "active": {
                    "type": "boolean"
                }
            }
        }

1.15) Add hcm-microplanning.facilityStatus schema:

 {
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "code"
            ],
            "x-unique": [
                "code"
            ],
            "properties": {
                "code": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "active": {
                    "type": "boolean"
                }
            }
        }

1.16) Add hcm-microplanning.VehicleDetails schema:

{
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "type",
                "manufacturer",
                "model",
                "capacity"
            ],
            "x-unique": [
                "manufacturer",
                "model",
                "capacity"
            ],
            "properties": {
                "type": {
                    "type": "string"
                },
                "model": {
                    "type": "string"
                },
                "uomCode": {
                    "type": "string"
                },
                "capacity": {
                    "type": "number"
                },
                "manufacturer": {
                    "type": "string"
                }
            },
            "x-ref-schema": [
                {
                    "fieldPath": "type",
                    "schemaCode": "hcm-microplanning.VehicleType"
                },
                {
                    "fieldPath": "uomCode",
                    "schemaCode": "hcm-microplanning.Uom"
                }
            ]
        }

1.17) Add hcm-microplanning.VehicleType schema:

{
                "type": "object",
                "title": "Schema for vehicle type",
                "$schema": "http://json-schema.org/draft-07/schema#",
                "required": [
                    "type"
                ],
                "x-unique": [
                    "type"
                ],
                "properties": {
                    "type": {
                        "type": "string"
                    }
                }
            }

1.18) Add hcm-microplanning.ContextPathForUser schema:

{
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "contextPathConfig",
                "id"
            ],
            "x-unique": [
                "contextPathConfig",
                "id"
            ],
            "properties": {
                "id": {
                    "type": "string"
                },
                "contextPathConfig": {
                    "type": "string"
                }
            }
        }

1.19) Add hcm-microplanning.DssKpiConfigs schema:

{
                "type": "object",
                "title": "DssKpiConfigs",
                "$schema": "http://json-schema.org/draft-07/schema#",
                "required": [
                    "module",
                    "kpiConfig"
                ],
                "x-unique": [
                    "module"
                ],
                "properties": {
                    "module": {
                        "type": "string"
                    },
                    "kpiConfig": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "required": [
                                "campaignType",
                                "charts"
                            ],
                            "properties": {
                                "charts": {
                                    "type": "array",
                                    "items": {
                                        "type": "object",
                                        "required": [
                                            "visualizationType",
                                            "localeKey",
                                            "visualizationCode",
                                            "order",
                                            "moduleLevel"
                                        ],
                                        "properties": {
                                            "order": {
                                                "type": "number"
                                            },
                                            "localeKey": {
                                                "type": "string"
                                            },
                                            "moduleLevel": {
                                                "type": "string"
                                            },
                                            "concateChars": {
                                                "type": "string"
                                            },
                                            "concatenateKey": {
                                                "type": "string"
                                            },
                                            "visualizationCode": {
                                                "type": "string"
                                            },
                                            "visualizationType": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                },
                                "campaignType": {
                                    "type": "string"
                                }
                            }
                        }
                    }
                }
            }

1.20) Add hcm-microplanning.hierarchyConfig schema:

{
                "type": "object",
                "title": "Generated schema for Root",
                "$schema": "http://json-schema.org/draft-07/schema#",
                "required": [
                    "hierarchy",
                    "lowestHierarchy"
                ],
                "x-unique": [
                    "hierarchy"
                ],
                "properties": {
                    "hierarchy": {
                        "type": "string"
                    },
                    "lowestHierarchy": {
                        "type": "string"
                    }
                }
            }

1.21) Add hcm-microplanning.Uom schema:

{
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "uomCode",
                "name"
            ],
            "x-unique": [
                "uomCode"
            ],
            "properties": {
                "name": {
                    "type": "string"
                },
                "uomCode": {
                    "type": "string"
                }
            }
        }

1.22) Add hcm-microplanning.UploadConfiguration schema:

{
            "$schema": "http://json-schema.org/draft-07/schema#",
            "title": "Generated schema for Root",
            "type": "object",
            "properties": {
                "id": {
                    "type": "string"
                },
                "code": {
                    "type": "string"
                },
                "iconName": {
                    "type": "string"
                },
                "required": {
                    "type": "boolean"
                },
                "UploadFileTypes": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "code": {
                                "type": "string"
                            },
                            "fileExtension": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "iconName": {
                                "type": "string"
                            },
                            "namingConvention": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "id",
                            "code",
                            "fileExtension",
                            "iconName",
                            "namingConvention"
                        ]
                    }
                }
            },
            "x-unique": [
                "code"
            ],
            "required": [
                "id",
                "code",
                "iconName",
                "required",
                "UploadFileTypes"
            ]
        }

1.23) Add hcm-microplanning.Metric schema:

{
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "code",
                "name",
                "active"
            ],
            "x-unique": [
                "code"
            ],
            "properties": {
                "code": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "active": {
                    "type": "boolean"
                }
            }
        }

1.24) Add hcm-microplanning.Schemas schema:

{
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "type",
                "section",
                "doHierarchyCheckInUploadedData",
                "showResourcesInMappingSection",
                "template",
                "schema"
            ],
            "x-unique": [
                "type",
                "campaignType",
                "section"
            ],
            "properties": {
                "type": {
                    "type": "string"
                },
                "schema": {
                    "type": "object",
                    "required": [
                        "Properties"
                    ],
                    "properties": {
                        "Properties": {
                            "type": "object",
                            "required": [
                                "boundaryCode"
                            ],
                            "properties": {
                                "lat": {
                                    "$ref": "#/definitions/latLongProperties"
                                },
                                "long": {
                                    "$ref": "#/definitions/latLongProperties"
                                },
                                "capacity": {
                                    "$ref": "#/definitions/commonProperties"
                                },
                                "boundaryCode": {
                                    "$ref": "#/definitions/commonProperties"
                                },
                                "facilityCode": {
                                    "$ref": "#/definitions/commonProperties"
                                },
                                "facilityName": {
                                    "$ref": "#/definitions/commonProperties"
                                },
                                "facilityType": {
                                    "$ref": "#/definitions/facilityProperties"
                                },
                                "facilityStatus": {
                                    "$ref": "#/definitions/facilityProperties"
                                },
                                "targetPopulation": {
                                    "$ref": "#/definitions/commonProperties"
                                },
                                "totalTargetPopulation": {
                                    "$ref": "#/definitions/commonProperties"
                                },
                                "targetPopulationAge3To11": {
                                    "$ref": "#/definitions/commonProperties"
                                },
                                "targetpopulationAge12To59": {
                                    "$ref": "#/definitions/commonProperties"
                                }
                            }
                        }
                    }
                },
                "section": {
                    "type": "string"
                },
                "template": {
                    "type": "object",
                    "required": [
                        "showTemplateDownload",
                        "includeFacilityData",
                        "hierarchyLevelWiseSheets",
                        "propertiesToHide"
                    ],
                    "properties": {
                        "propertiesToHide": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        },
                        "includeFacilityData": {
                            "type": "boolean"
                        },
                        "showTemplateDownload": {
                            "type": "boolean"
                        },
                        "facilitySchemaApiMapping": {
                            "type": "object",
                            "properties": {
                                "capacity": {
                                    "type": "string"
                                },
                                "facilityCode": {
                                    "type": "string"
                                },
                                "facilityName": {
                                    "type": "string"
                                },
                                "facilityType": {
                                    "type": "string"
                                },
                                "facilityStatus": {
                                    "type": "string"
                                }
                            }
                        },
                        "hierarchyLevelWiseSheets": {
                            "type": "boolean"
                        }
                    }
                },
                "campaignType": {
                    "type": "string"
                },
                "showResourcesInMappingSection": {
                    "type": "boolean"
                },
                "doHierarchyCheckInUploadedData": {
                    "type": "boolean"
                }
            },
            "definitions": {
                "commonProperties": {
                    "type": "object",
                    "required": [
                        "type",
                        "isRequired",
                        "isLocationDataColumns",
                        "isRuleConfigureInputs",
                        "isFilterPropertyOfMapSection",
                        "isVisualizationPropertyOfMapSection",
                        "toShowInMicroplanPreview"
                    ],
                    "properties": {
                        "type": {
                            "type": "string"
                        },
                        "isRequired": {
                            "type": "boolean"
                        },
                        "isLocationDataColumns": {
                            "type": "boolean"
                        },
                        "isRuleConfigureInputs": {
                            "type": "boolean"
                        },
                        "toShowInMicroplanPreview": {
                            "type": "boolean"
                        },
                        "isFilterPropertyOfMapSection": {
                            "type": "boolean"
                        },
                        "isVisualizationPropertyOfMapSection": {
                            "type": "boolean"
                        }
                    }
                },
                "latLongProperties": {
                    "type": "object",
                    "required": [
                        "type",
                        "minimum",
                        "maximum",
                        "isRequired",
                        "isLocationDataColumns",
                        "isRuleConfigureInputs",
                        "isFilterPropertyOfMapSection",
                        "isVisualizationPropertyOfMapSection",
                        "toShowInMicroplanPreview"
                    ],
                    "properties": {
                        "type": {
                            "type": "string"
                        },
                        "maximum": {
                            "type": "number"
                        },
                        "minimum": {
                            "type": "number"
                        },
                        "isRequired": {
                            "type": "boolean"
                        },
                        "isLocationDataColumns": {
                            "type": "boolean"
                        },
                        "isRuleConfigureInputs": {
                            "type": "boolean"
                        },
                        "toShowInMicroplanPreview": {
                            "type": "boolean"
                        },
                        "isFilterPropertyOfMapSection": {
                            "type": "boolean"
                        },
                        "isVisualizationPropertyOfMapSection": {
                            "type": "boolean"
                        }
                    }
                },
                "facilityProperties": {
                    "type": "object",
                    "required": [
                        "type",
                        "isRequired",
                        "enum",
                        "isLocationDataColumns",
                        "isRuleConfigureInputs",
                        "isFilterPropertyOfMapSection",
                        "isVisualizationPropertyOfMapSection",
                        "toShowInMicroplanPreview"
                    ],
                    "properties": {
                        "enum": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        },
                        "type": {
                            "type": "string"
                        },
                        "isRequired": {
                            "type": "boolean"
                        },
                        "isLocationDataColumns": {
                            "type": "boolean"
                        },
                        "isRuleConfigureInputs": {
                            "type": "boolean"
                        },
                        "toShowInMicroplanPreview": {
                            "type": "boolean"
                        },
                        "isFilterPropertyOfMapSection": {
                            "type": "boolean"
                        },
                        "isVisualizationPropertyOfMapSection": {
                            "type": "boolean"
                        }
                    }
                }
            }
        }

1.25) Update HCM-ADMIN-CONSOLE.HierarchySchema schema:

{
                "type": "object",
                "title": "Hierarchy Configuration Schema",
                "$schema": "http://json-schema.org/draft-09/schema#",
                "required": [
                    "hierarchy",
                    "type"
                ],
                "x-unique": [
                    "type"
                ],
                "properties": {
                    "type": {
                        "enum": [
                            "default",
                            "microplan",
                            "campaign",
                            "console"
                        ],
                        "type": "string",
                        "description": "Specifies the type of hierarchy configuration."
                    },
                    "group": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "An array of disease groups from the project type master."
                    },
                    "hierarchy": {
                        "type": "string",
                        "unique": true,
                        "description": "The type of hierarchy, must be a unique string."
                    },
                    "department": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "An array of departments from the department master."
                    },
                    "lowestHierarchy": {
                        "type": "string",
                        "description": "The lowest administrative level in the hierarchy."
                    },
                    "highestHierarchy": {
                        "type": "string",
                        "description": "The highest administrative level in the hierarchy."
                    },
                    "splitBoundariesOn": {
                        "type": "string",
                        "description": "The level on which boundaries are split."
                    }
                }
            }

1.26) Update HCM-ADMIN-CONSOLE.customSheetData schema:

{
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
                "title",
                "type",
                "data"
            ],
            "x-unique": [
                "title",
                "type"
            ],
            "properties": {
                "data": {
                    "type": "array",
                    "items": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "required": [
                                "column",
                                "value"
                            ],
                            "properties": {
                                "value": {
                                    "type": "string"
                                },
                                "column": {
                                    "type": "string"
                                }
                            }
                        }
                    }
                },
                "type": {
                    "type": "string"
                },
                "title": {
                    "type": "string"
                }
            }
        }
2) Add data for the below mentioned MDMS modules:
3) Add below mentioned Role-Action Mappings:

For Workflow - Business Services , refer the following and add business services for Plan Service and Census Service for Microplanning:

Business Service

1) Plan Configuration Business Service

"BusinessServices": [
        {
            "tenantId": "mz",
            "businessService": "PLAN_CONFIGURATION",
            "business": "plan-service",
            "businessServiceSla": 432000000,
            "states": [
                {
                    "sla": null,
                    "state": null,
                    "applicationStatus": null,
                    "docUploadRequired": true,
                    "isStartState": true,
                    "isTerminateState": false,
                    "isStateUpdatable": true,
                    "actions": [
                        {
                            "action": "INITIATE",
                            "nextState": "EXECUTION_TO_BE_DONE",
                            "roles": [
                                "MICROPLAN_ADMIN"
                            ]
                        }
                    ]
                },
                {
                    "sla": null,
                    "state": "EXECUTION_TO_BE_DONE",
                    "applicationStatus": "EXECUTION_TO_BE_DONE",
                    "docUploadRequired": false,
                    "isStartState": false,
                    "isTerminateState": false,
                    "isStateUpdatable": true,
                    "actions": [
                        {
                            "action": "START_DATA_APPROVAL",
                            "nextState": "CENSUS_DATA_APPROVAL_IN_PROGRESS",
                            "roles": [
                                "POPULATION_DATA_APPROVER",
                                "ROOT_POPULATION_DATA_APPROVER"
                            ]
                        }
                    ]
                },
                {
                    "sla": null,
                    "state": "CENSUS_DATA_APPROVAL_IN_PROGRESS",
                    "applicationStatus": "CENSUS_DATA_APPROVAL_IN_PROGRESS",
                    "docUploadRequired": false,
                    "isStartState": false,
                    "isTerminateState": false,
                    "isStateUpdatable": true,
                    "actions": [
                        {
                            "action": "APPROVE_CENSUS_DATA",
                            "nextState": "CENSUS_DATA_APPROVED",
                            "roles": [
                                "ROOT_POPULATION_DATA_APPROVER"
                            ]
                        }
                    ]
                },
                {
                    "sla": null,
                    "state": "CENSUS_DATA_APPROVED",
                    "applicationStatus": "CENSUS_DATA_APPROVED",
                    "docUploadRequired": false,
                    "isStartState": false,
                    "isTerminateState": false,
                    "isStateUpdatable": true,
                    "actions": [
                        {
                            "action": "FINALIZE_CATCHMENT_MAPPING",
                            "nextState": "RESOURCE_ESTIMATION_IN_PROGRESS",
                            "roles": [
                                "ROOT_FACILITY_CATCHMENT_MAPPER"
                            ]
                        }
                    ]
                },
                {
                    "sla": null,
                    "state": "RESOURCE_ESTIMATION_IN_PROGRESS",
                    "applicationStatus": "RESOURCE_ESTIMATION_IN_PROGRESS",
                    "docUploadRequired": false,
                    "isStartState": false,
                    "isTerminateState": false,
                    "isStateUpdatable": true,
                    "actions": [
                        {
                            "action": "APPROVE_ESTIMATIONS",
                            "nextState": "RESOURCE_ESTIMATIONS_APPROVED",
                            "roles": [
                                "ROOT_PLAN_ESTIMATION_APPROVER"
                            ]
                        }
                    ]
                },
                {
                    "sla": null,
                    "state": "RESOURCE_ESTIMATIONS_APPROVED",
                    "applicationStatus": "RESOURCE_ESTIMATIONS_APPROVED",
                    "docUploadRequired": false,
                    "isStartState": false,
                    "isTerminateState": true,
                    "isStateUpdatable": true,
                    "actions": []
                }
            ]
        }
    ]

2) Plan Estimation Business Service

"BusinessServices": [
        {
            "tenantId": "mz",   
            "businessService": "PLAN_ESTIMATION",
            "business": "plan-service",
            "businessServiceSla": 432000000,
            "states": [
                {
                    "sla": null,
                    "state": null,
                    "applicationStatus": null,
                    "docUploadRequired": true,
                    "isStartState": true,
                    "isTerminateState": false,
                    "isStateUpdatable": true,
                    "actions": [
                        {
                            "action": "INITIATE",
                            "nextState": "PENDING_FOR_VALIDATION",
                            "roles": [
                                "ROOT_FACILITY_CATCHMENT_MAPPER"
                            ]
                        }
                    ]
                },
                {
                    "sla": null,
                    "state": "PENDING_FOR_VALIDATION",
                    "applicationStatus": "PENDING_FOR_VALIDATION",
                    "docUploadRequired": false,
                    "isStartState": false,
                    "isTerminateState": false,
                    "isStateUpdatable": true,
                    "actions": [
                        {
                            "action": "VALIDATE",
                            "nextState": "VALIDATED",
                            "roles": [
                                "PLAN_ESTIMATION_APPROVER",
                                "ROOT_PLAN_ESTIMATION_APPROVER"
                            ]
                        },
                        {
                            "action": "EDIT_AND_SEND_FOR_APPROVAL",
                            "nextState": "PENDING_FOR_APPROVAL",
                            "roles": [
                                "PLAN_ESTIMATION_APPROVER"
                            ]
                        },
                        {
                            "action": "EDIT_AND_VALIDATE",
                            "nextState": "VALIDATED",
                            "roles": [
                                "ROOT_PLAN_ESTIMATION_APPROVER"
                            ]
                        }
                    ]
                },
                {
                    "sla": null,
                    "state": "VALIDATED",
                    "applicationStatus": "VALIDATED",
                    "docUploadRequired": false,
                    "isStartState": false,
                    "isTerminateState": false,
                    "isStateUpdatable": true,
                    "actions": [
                        {
                            "action": "SEND_BACK_FOR_CORRECTION",
                            "nextState": "PENDING_FOR_VALIDATION",
                            "roles": [
                                "PLAN_ESTIMATION_APPROVER",
                                "ROOT_PLAN_ESTIMATION_APPROVER"
                            ]
                        }
                    ]
                },
                {
                    "sla": null,
                    "state": "PENDING_FOR_APPROVAL",
                    "applicationStatus": "PENDING_FOR_APPROVAL",
                    "docUploadRequired": false,
                    "isStartState": false,
                    "isTerminateState": false,
                    "isStateUpdatable": true,
                    "actions": [
                        {
                            "action": "SEND_BACK_FOR_CORRECTION",
                            "nextState": "PENDING_FOR_VALIDATION",
                            "roles": [
                                "PLAN_ESTIMATION_APPROVER",
                                "ROOT_PLAN_ESTIMATION_APPROVER"
                            ]
                        },
                        {
                            "action": "ROOT_APPROVE",
                            "nextState": "VALIDATED",
                            "roles": [
                                "ROOT_PLAN_ESTIMATION_APPROVER"
                            ]
                        },
                        {
                            "action": "APPROVE",
                            "nextState": "PENDING_FOR_APPROVAL",
                            "roles": [
                                "PLAN_ESTIMATION_APPROVER"
                            ]
                        }
                    ]
                }
            ]
        }
    ]

3) Census Business Service

"BusinessServices": [
        {
            "tenantId": "mz",
            "businessService": "CENSUS",
            "business": "census-service",
            "businessServiceSla": 432000000,
            "states": [
                {
                    "sla": null,
                    "state": null,
                    "applicationStatus": null,
                    "docUploadRequired": true,
                    "isStartState": true,
                    "isTerminateState": false,
                    "isStateUpdatable": true,
                    "actions": [
                        {
                            "action": "INITIATE",
                            "nextState": "PENDING_FOR_VALIDATION",
                            "roles": [
                                "MICROPLAN_ADMIN"
                            ]
                        }
                    ]
                },
                {
                    "sla": null,
                    "state": "PENDING_FOR_VALIDATION",
                    "applicationStatus": "PENDING_FOR_VALIDATION",
                    "docUploadRequired": false,
                    "isStartState": false,
                    "isTerminateState": false,
                    "isStateUpdatable": true,
                    "actions": [
                        {
                            "action": "VALIDATE",
                            "nextState": "VALIDATED",
                            "roles": [
                                "POPULATION_DATA_APPROVER",
                                "ROOT_POPULATION_DATA_APPROVER"
                            ]
                        },
                        {
                            "action": "EDIT_AND_SEND_FOR_APPROVAL",
                            "nextState": "PENDING_FOR_APPROVAL",
                            "roles": [
                                "POPULATION_DATA_APPROVER"
                            ]
                        },
                        {
                            "action": "EDIT_AND_VALIDATE",
                            "nextState": "VALIDATED",
                            "roles": [
                                "ROOT_POPULATION_DATA_APPROVER"
                            ]
                        }
                    ]
                },
                {
                    "sla": null,
                    "state": "VALIDATED",
                    "applicationStatus": "VALIDATED",
                    "docUploadRequired": false,
                    "isStartState": false,
                    "isTerminateState": false,
                    "isStateUpdatable": true,
                    "actions": [
                        {
                            "action": "SEND_BACK_FOR_CORRECTION",
                            "nextState": "PENDING_FOR_VALIDATION",
                            "roles": [
                                "POPULATION_DATA_APPROVER",
                                "ROOT_POPULATION_DATA_APPROVER"
                            ]
                        }
                    ]
                },
                {
                    "sla": null,
                    "state": "PENDING_FOR_APPROVAL",
                    "applicationStatus": "PENDING_FOR_APPROVAL",
                    "docUploadRequired": false,
                    "isStartState": false,
                    "isTerminateState": false,
                    "isStateUpdatable": true,
                    "actions": [
                        {
                            "action": "SEND_BACK_FOR_CORRECTION",
                            "nextState": "PENDING_FOR_VALIDATION",
                            "roles": [
                                "POPULATION_DATA_APPROVER",
                                "ROOT_POPULATION_DATA_APPROVER"
                            ]
                        },
                        {
                            "action": "APPROVE",
                            "nextState": "VALIDATED",
                            "roles": [
                                "ROOT_POPULATION_DATA_APPROVER"
                            ]
                        },
                        {
                            "action": "APPROVE",
                            "nextState": "PENDING_FOR_VALIDATION",
                            "roles": [
                                "POPULATION_DATA_APPROVER"
                            ]
                        }
                    ]
                }
            ]
        }
    ]

Localisation

Changes are being tracked in the given Excel sheet:

Last updated

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.