IndividualHelpingActReferralAddedEventv1
Add an helping act to the user who referred the new Entraide member
Details
IndividualHelpingActReferralAddedEvent payload
IndividualHelpingActReferralAddedEvent Schema (json)
{
"$id": "IndividualHelpingActReferralAddedEventPayloadTSchema",
"type": "object",
"properties": {
"helpingAct": {
"type": "object",
"properties": {
"id": { "type": "string" },
"category": {
"anyOf": [
{ "const": "INDIVIDUAL", "type": "string" },
{ "const": "ANONYM", "type": "string" }
]
},
"type": {
"anyOf": [
{ "const": "HELP_REQUEST_RESPONSE", "type": "string" },
{ "const": "REFERRAL", "type": "string" },
{ "const": "MY_CIRCLE", "type": "string" },
{ "const": "LIVE", "type": "string" },
{ "const": "SOLIDARITY_COOPTATION", "type": "string" },
{ "const": "FORWARD_HELP_REQUEST", "type": "string" }
]
},
"version": { "type": "number" },
"payload": {
"anyOf": [
{
"$id": "HelpingActPayloadDTO",
"additionalProperties": true,
"type": "object",
"properties": {
"helpRequestId": { "type": "string" },
"referralId": { "type": "string" },
"liveMeetingMetadata": {
"type": "object",
"properties": {
"id": { "type": "string" },
"date": { "format": "datetime", "type": "string" },
"numberOfAttendees": { "type": "number" },
"speakerEmail": { "type": "string" }
},
"required": [
"id",
"date",
"numberOfAttendees",
"speakerEmail"
]
},
"helpedUserId": { "type": "string" },
"sharedToUserId": { "type": "string" }
}
},
{ "type": "null" }
]
}
},
"required": ["id", "category", "type", "version"]
},
"helpingUser": {
"type": "object",
"properties": {
"id": { "type": "string" },
"firstName": { "anyOf": [{ "type": "string" }, { "type": "null" }] }
},
"required": ["id"]
},
"helpedUser": {
"type": "object",
"properties": {
"id": { "type": "string" },
"firstName": { "anyOf": [{ "type": "string" }, { "type": "null" }] }
},
"required": ["id"]
}
},
"required": ["helpingAct", "helpingUser", "helpedUser"]
}
Domain Graph
Edit this pageLast updated on 2024/8/5