{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://dbis.example/schemas/solacenet/telecom-northbound-event.example.json",
  "title": "Telecom boundary → Core northbound event (example)",
  "description": "Placeholder contract for PG-QP-003 when a carrier boundary service exists. Not wire format for SS7; JSON over HTTPS/Kafka from the boundary only.",
  "type": "object",
  "required": ["eventId", "eventType", "occurredAt", "correlationId", "tenantId"],
  "properties": {
    "eventId": { "type": "string", "format": "uuid" },
    "eventType": {
      "type": "string",
      "examples": ["carrier.signaling.observed", "carrier.route.health", "carrier.fraud.signal"]
    },
    "occurredAt": { "type": "string", "format": "date-time" },
    "correlationId": { "type": "string" },
    "tenantId": { "type": "string" },
    "programId": { "type": "string" },
    "region": { "type": "string" },
    "channel": { "type": "string", "const": "TELECOM_NORTHBOUND" },
    "payload": {
      "type": "object",
      "additionalProperties": true,
      "description": "Opaque carrier-normalized facts; no raw MAP/CAP on this bus."
    }
  },
  "additionalProperties": false
}
