HelpRequestRejectedEventv1
A validated help request becomes with state REJECTED
Details
HelpRequestRejectedEvent payload
HelpRequestRejectedEvent Schema (json)
{
"$id": "HelpRequestRejectedEventPayloadTSchema",
"type": "object",
"properties": {
"helpRequest": {
"type": "object",
"properties": {
"id": { "type": "string" },
"rejectedAt": {
"anyOf": [
{ "format": "datetime", "type": "string" },
{ "type": "null" }
]
},
"status": {
"anyOf": [
{ "const": "PENDING_FOR_VALIDATION", "type": "string" },
{ "const": "PENDING_FOR_MATCHING", "type": "string" },
{ "const": "REJECTED", "type": "string" },
{ "const": "MATCHED", "type": "string" },
{ "const": "EXPIRED", "type": "string" }
]
},
"rejectReason": {
"anyOf": [
{ "const": "FORMATTING_OR_SPELLING_MISTAKES", "type": "string" },
{ "const": "UNCLEAR_MULTIPLE_PILLARS", "type": "string" },
{ "const": "PROSPECTION_COMMERCIALE", "type": "string" },
{ "const": "INAPPROPRIATE", "type": "string" }
]
}
},
"required": ["id", "status"]
},
"helpedUser": {
"type": "object",
"properties": {
"id": { "type": "string" },
"firstName": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"email": { "type": "string" }
},
"required": ["id", "email"]
}
},
"required": ["helpRequest", "helpedUser"]
}
Domain Graph
Edit this pageLast updated on 2024/8/5