Sync Sustainability Carbon Credit Output

Output representation for the sync sustainability carbon credit trigger.
JSON example
{
   "message": "", //In case of error
   "code": "", // In case of error
   "syncSustainabilityCarbonCreditErrors": { /// Make it a generic error and consolidate all validation errors in one pass
        "enumMappingErrors":[
        {
            "entityName": "",
            "errorMessage", ""
            "externalIdentifier": "",
            "fieldName": ""
        }, {...}, {...}
        ],
        "requiredFieldErrors":[
        {
            "entityName": "",
            "errorMessage", ""
            "externalIdentifier": "",
            "fieldName": ""
        }, {...}, {...},
        "validationRuleErrors":[
        {
            "entityName": "",
            "errorMessage", ""
            "externalIdentifier": "",
            "fieldName": ""
        }, {...}, {...}
        ],
   }
}
Property Name Type Description Filter Group and Version Available Version
code Integer The error code returned in case of failure to sync sustainability carbon credits. Small, 57.0 57.0
message String Provides information about the reason for failure. Small, 57.0 57.0
syncSustainabilityCarbonCreditErrors Sync Sustainability Carbon Credit Error Error messages to troubleshoot the sync request failure. Small, 57.0 57.0