forked from casework/CASE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsms_and_contacts.json
More file actions
155 lines (147 loc) · 3.77 KB
/
sms_and_contacts.json
File metadata and controls
155 lines (147 loc) · 3.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"@context": {
"@vocab": "http://case.example.org/core#",
"olo": "http://purl.org/ontology/olo/core#",
},
"@graph": [
{
"@id": "sms_message1",
"@type": "Trace",
"propertyBundle": [
{
"@type": "Message",
"application": "sms_application1",
"messageText": "Yo dude! This is my new number.",
"from": "phone_account3",
"to": [
"phone_account1"
],
"sentTime": "2010-01-15T17:59:43.25Z"
}
]
},
{
"@id": "contact1",
"@type": "Trace",
"propertyBundle": [
{
"@type": "Contact",
"firstName": "John",
"familyName": "Doe",
"contactName": "BFF Joe", // TODO: Should this property be renamed to "displayName"?
"application": "android_phonebook1",
"emailAddress": [
"email_account1"
],
// TODO: How do we distingish "Home", "Work", "Mobile", etc?
// NOTE: phone_account3 is missing from this because it's a new account found in the SMS logs that
// was not in the phonebook.
"phoneNumber": [
"phone_account1",
"phone_account2"
],
// TODO: How do we represent location information? (example: Home and Work)
"screenName": [], // TODO: I assume this property is suppose to point to Digital/Application accounts?
}
]
},
{
"@id": "associated-account1",
"@type": "Relationship",
"source": "contact1",
"target": ["phone_account1"],
"kindOfRelationship": "has-account",
"isDirectional": true
},
{
"@id": "associated-account2",
"@type": "Relationship",
"source": "contact1",
"target": ["phone_account2"],
"kindOfRelationship": "has-account",
"isDirectional": true
},
{
"@id": "associated-account3",
"@type": "Relationship",
"source": "contact1",
"target": ["email_account1"],
"kindOfRelationship": "has-account",
"isDirectional": true
},
{
"@id": "phone_account1",
"@type": "Trace",
"propertyBundle": [
{
"@type": "Account",
"accountType": "Phone", // TODO: Is this necessary? We know its phone account due to the existence of "PhoneAccount" (duck type model and all that)
"isActive": true
},
{
"@type": "PhoneAccount",
"phoneNumber": "1237771337",
}
]
},
{
"@id": "phone_account2",
"@type": "Trace",
"propertyBundle": [
{
"@type": "Account",
"accountType": "Phone",
"isActive": true
},
{
"@type": "PhoneAccount",
"phoneNumber": "1234560000"
}
]
},
{
"@id": "email_account1",
"@type": "Trace",
"propertyBundle": [
{
"@type": "Account",
"accountType": "Email",
"isActive": true
},
{
"@type": "EmailAccount",
"emailAddress": "jdoe@example.com"
}
]
},
{
"@id": "phone_account3",
"@type": "Trace",
"propertyBundle": [
{
"@type": "Account",
"accountType": "Phone",
"isActive": true
},
{
"@type": "PhoneAccount",
"phoneNumber": "11235557890"
}
]
},
{
"@id": "android_phonebook1",
"@type": "Trace",
"propertyBundle": [
{
"@type": "Application",
"name": "Android Phonebook",
"applicationIdentifier": "com.android.providers.telephony",
"operatingSystem": "os1",
"version": "2.3.4",
"numberOfLaunches": 323
}
]
}
]
}