HelpRequestValidatedEventv1
A validated help request becomes with state PENDING_FOR_MATCHING
Details
HelpRequestValidatedEvent payload
HelpRequestValidatedEvent Schema (json)
{
"$id": "HelpRequestValidatedEventPayloadTSchema",
"type": "object",
"properties": {
"helpRequest": {
"type": "object",
"properties": {
"id": { "type": "string" },
"validatedAt": {
"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" }
]
}
},
"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