{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tpsclear-co-uk/json-schema/tpsclear-co-uk-post-webhooks-tpsclear-request-schema.json",
  "title": "PostWebhooksTpsclearRequest",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/tpsclear-co-uk-openapi-generated.yml#/components/schemas/PostWebhooksTpsclearRequest",
  "type": "object",
  "properties": {
    "event": {
      "type": "string",
      "description": "Event type, e.g. 'rescreen.changed'"
    },
    "phoneNumber": {
      "type": "string",
      "description": "The phone number whose status changed"
    },
    "previous": {
      "type": "object",
      "description": "Previous TPS and CTPS listing status"
    },
    "current": {
      "type": "object",
      "description": "Current TPS and CTPS listing status"
    },
    "checkedAt": {
      "type": "string",
      "description": "Timestamp when the change was detected"
    }
  },
  "required": [
    "event",
    "phoneNumber",
    "previous",
    "current",
    "checkedAt"
  ]
}