HelpRequestExpiredEvent
v1

A HelpRequest becomes expired during the weekly selection matching if it was already matched

Details

HelpRequestExpiredEvent payload

HelpRequestExpiredEvent Schema (json)
{
  "$id": "HelpRequestExpiredEventPayloadTSchema",
  "type": "object",
  "properties": {
    "helpRequest": {
      "type": "object",
      "properties": {
        "id": { "type": "string" },
        "expiredAt": {
          "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" } },
      "required": ["id"]
    }
  },
  "required": ["helpRequest", "helpedUser"]
}


Edit this pageLast updated on 2024/8/5