{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/pagopa/main/json-schema/pagopa-signal-payload-schema.json",
  "title": "SignalPayload",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pagopa-pdnd-signal-hub-push-openapi.yml#/components/schemas/SignalPayload",
  "type": "object",
  "properties": {
    "signalType": {
      "$ref": "#/$defs/signalType"
    },
    "objectId": {
      "type": "string"
    },
    "eserviceId": {
      "type": "string"
    },
    "signalId": {
      "type": "number"
    },
    "objectType": {
      "type": "string"
    }
  },
  "required": [
    "signalType",
    "objectId",
    "eserviceId",
    "signalId",
    "objectType"
  ],
  "$defs": {
    "signalType": {
      "type": "string",
      "enum": [
        "CREATE",
        "UPDATE",
        "DELETE",
        "SEEDUPDATE"
      ]
    }
  }
}