addedOutput schema / properties / risk
Added value: +{
+ "additionalProperties": true,
+ "description": "Explainable spam/risk verdict: WHY the number is flagged (or not), with an honest confidence band. A clean verdict means \"nothing found against it\", never \"verified safe\".",
+ "properties": {
+ "confidence": {
+ "description": "How much weight the evidence actually carries",
+ "enum": [
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ },
+ "confidence_note": {
+ "description": "One plain sentence explaining the band",
+ "type": "string"
+ },
+ "reasons": {
+ "description": "Individual pieces of evidence behind the verdict",
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "code": {
+ "description": "provider_flag, ftc_complaints, complaint_category, community_reports, line_type_voip, recently_ported, no_complaints",
+ "type": "string"
+ },
+ "signal": {
+ "enum": [
+ "negative",
+ "positive",
+ "context"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "description": "Human-readable evidence",
+ "type": "string"
+ },
+ "weight": {
+ "enum": [
+ "strong",
+ "moderate",
+ "weak"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "verdict": {
+ "description": "unknown = no reputation data was read for this number",
+ "enum": [
+ "scam",
+ "robocall",
+ "reported",
+ "clean",
+ "unknown"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+}