Validate entire manifest entity instead of Data inside the manifest entity

Currently in the schema validation logic below

def _validate_entity(self, entity: dict, schema: dict = None):
        """
        Validate the 'data' field of any entity against a schema got by entity's kind.
        """
        if not schema:
            schema = self.get_schema(entity["kind"])
        data = entity["data"]
        try:
            self._validate_against_schema(schema, data)
            logger.debug(f"Record successfully validated")
            return True
        except exceptions.ValidationError as exc:
            logger.error("Schema validation error. Data field.")
            logger.error(f"Manifest kind: {entity['kind']}")
            logger.error(f"Error: {exc}")
            return False

Only the data in a masterData/referenceData/Wp/Wpc is validate. Instead, the whole masterData/referenceData/Wp/Wpc must be validated. This validation will conform to the schemas uploaded in schema service.

Edited by Kishore Battula