case-cleanse-requested

Summary

A case is requested to be cleansed by a caseworker

Context

Use an LPA users can request an activation key be sent, this can only be done
immediately for cases with good data (those registered after September 2019, or
that have been previously cleansed). In other cases we need a caseworker to look
at a case and check/update the data so we know it can be used accurately.

Trigger

A user of Use an LPA goes through the journey to request an activation key.

Details

Create a task for a caseworker to cleanse the case given.

Examples

{
  "uid": "700000000526",
  "notes": "Some information\nSome more information"
}

Schema

{
  "$id": "https://opg.service.justice.gov.uk/opg.poas.use/case-cleanse-requested.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "opg.poas.use/case-cleanse-requested",
  "type": "object",
  "properties": {
    "uid": {
      "type": "string",
      "description": "The UID of the LPA",
      "pattern": "^7[0-9]{11}$"
    },
    "notes": {
      "type": "string",
      "description": "Contains information provided by the user"
    }
  },
  "required": ["uid", "notes"]
}

Event Flow