{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/at-t-developer-hub/refs/heads/main/json-structure/mobility-threat-anomaly-detection-api-threat-subscription-request-structure.json", "description": "ThreatSubscriptionRequest schema", "type": "object", "required": [ "device", "notificationUrl" ], "properties": { "device": { "type": "object", "properties": { "phoneNumber": { "type": "string", "description": "Mobile phone number in E.164 format", "example": "+12125551234" } } }, "notificationUrl": { "type": "uri", "description": "Webhook URL for threat alert notifications", "example": "https://webhook.example.com/threats" }, "minRiskLevel": { "type": "string", "description": "Minimum risk level to trigger notifications", "enum": [ "LOW", "MEDIUM", "HIGH", "CRITICAL" ], "example": "MEDIUM" }, "notificationAuthToken": { "type": "string", "description": "Bearer token for webhook authentication", "example": "webhook-token-abc123" } }, "name": "ThreatSubscriptionRequest" }