diff --git a/commons/phone/phone_call.avsc b/commons/phone/phone_call.avsc index 44839428..4997dddf 100644 --- a/commons/phone/phone_call.avsc +++ b/commons/phone/phone_call.avsc @@ -9,6 +9,8 @@ {"name": "duration", "type": "float", "doc": "duration of the call (s)", "default": "NaN"}, {"name": "target", "type": ["null", "bytes"], "doc": "HMAC SHA-256 one-way source/target of the call. This hash of a given phone number will be the same unless the app is reinstalled. If the number is unknown or anonymous, this contains null.", "default": null}, {"name": "type", "type": {"name": "PhoneCallType", "type": "enum", "symbols": ["INCOMING", "OUTGOING", "MISSED", "VOICEMAIL", "UNKNOWN"]}, "doc": "direction of phone call", "default": "UNKNOWN"}, - {"name": "targetIsContact", "type": ["null","boolean"], "doc": "call to/from a known contact, null if unknown", "default": null} + {"name": "targetIsContact", "type": ["null","boolean"], "doc": "call to/from a known contact, null if unknown", "default": null}, + {"name": "targetIsNonNumeric", "type": "boolean", "doc": "sms sender ID is replaced by text, e.g. a company name", "default": false}, + {"name": "targetLength", "type": "int", "doc": "length of the target phone number, -1 if not collected.", "default": -1} ] } diff --git a/commons/phone/phone_sms.avsc b/commons/phone/phone_sms.avsc index 805929ff..46bb17c1 100644 --- a/commons/phone/phone_sms.avsc +++ b/commons/phone/phone_sms.avsc @@ -11,6 +11,6 @@ {"name": "length", "type": ["null","int"], "doc": "number of characters in the message (null if unknown)", "default": null}, {"name": "targetIsContact", "type": ["null","boolean"], "doc": "sms sender is a known contact, null if unknown", "default": null}, {"name": "targetIsNonNumeric", "type": "boolean", "doc": "sms sender ID is replaced by text, e.g. a company name", "default": false}, - {"name": "targetIsService", "type": "boolean", "doc": "target is a service, e.g. a 4-digit target", "default": false} + {"name": "targetLength", "type": "int", "doc": "length of the target phone number, -1 if not collected.", "default": -1} ] }