-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINFLUENCER_POOL.schema.json
More file actions
307 lines (306 loc) · 8.22 KB
/
INFLUENCER_POOL.schema.json
File metadata and controls
307 lines (306 loc) · 8.22 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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://influx.local/schema/influencer.schema.json",
"title": "Influx Influencer Profile",
"description": "Simplified profile schema for influencer entries per POR pivot. Captures core identity, status, 30-day engagement metrics, metadata/provenance, and optional extensions.",
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9]+$",
"description": "Twitter author_id as a numeric string.",
"examples": [
"2244994945"
]
},
"handle": {
"type": "string",
"pattern": "^[A-Za-z0-9_]{1,15}$",
"description": "Twitter username (handle) without leading @. 1-15 chars, alphanumeric or underscore.",
"examples": [
"jack",
"TwitterDev"
]
},
"name": {
"type": "string",
"minLength": 1,
"description": "Profile display name as shown on Twitter.",
"examples": [
"Jack Dorsey",
"Twitter Dev"
]
},
"verified": {
"type": "string",
"enum": [
"none",
"blue",
"org",
"legacy"
],
"description": "Verification status: none (unverified), blue (X Blue), org (Organization), or legacy (historical verified).",
"examples": [
"legacy",
"blue",
"none"
]
},
"followers_count": {
"type": "integer",
"minimum": 0,
"description": "Follower count at the time of last refresh.",
"examples": [
6500000,
12345
]
},
"is_org": {
"type": "boolean",
"default": false,
"description": "True if heuristics identify account as brand/company/media.",
"examples": [
false,
true
]
},
"is_official": {
"type": "boolean",
"default": false,
"description": "True if heuristics identify account as official/team/support/PR.",
"examples": [
false,
true
]
},
"lang_primary": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"description": "Primary profile language (ISO 639-1, lowercase).",
"examples": [
"en",
"es",
"ja"
]
},
"topic_tags": {
"type": "array",
"description": "Topical tags the profile consistently covers (freeform short tags).",
"items": {
"type": "string",
"minLength": 1
},
"uniqueItems": true,
"examples": [
[
"ai",
"startups",
"engineering"
]
]
},
"metrics_30d": {
"type": "object",
"title": "30-day Metrics",
"description": "Engagement metrics computed over the last rolling 30 days.",
"additionalProperties": false,
"properties": {
"posts_original": {
"type": "integer",
"minimum": 0,
"description": "Count of original posts (excludes pure retweets/reposts) in the last 30 days.",
"examples": [
12
]
},
"median_likes": {
"type": "integer",
"minimum": 0,
"description": "Median likes per original post (30-day window).",
"examples": [
1400
]
},
"p90_likes": {
"type": "integer",
"minimum": 0,
"description": "90th percentile likes per original post (30-day window).",
"examples": [
5000
]
},
"median_replies": {
"type": "integer",
"minimum": 0,
"description": "Median replies per original post (30-day window).",
"examples": [
120
]
},
"median_retweets": {
"type": "integer",
"minimum": 0,
"description": "Median retweets/reposts per original post (30-day window).",
"examples": [
200
]
}
}
},
"meta": {
"type": "object",
"title": "Metadata",
"description": "Scoring, global rank, activity, and provenance details for the record.",
"additionalProperties": false,
"properties": {
"score": {
"type": "number",
"minimum": 0,
"maximum": 100,
"description": "Composite influence/quality score scaled 0-100 (float).",
"examples": [
87.5
]
},
"rank_global": {
"type": "integer",
"minimum": 1,
"description": "Global rank position among all profiles (1 = highest).",
"examples": [
123
]
},
"last_active_at": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 timestamp of most recent observed activity.",
"examples": [
"2025-11-01T14:33:22Z"
]
},
"last_refresh_at": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 timestamp when this record was last refreshed.",
"examples": [
"2025-11-13T12:00:00Z"
]
},
"sources": {
"type": "array",
"description": "Data sources used to assemble this record.",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"method": {
"type": "string",
"description": "Acquisition method, e.g., twitter-api-v2, firehose, web-scrape, manual.",
"examples": [
"twitter-api-v2"
]
},
"fetched_at": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 timestamp when the source was fetched.",
"examples": [
"2025-11-13T12:00:00Z"
]
},
"evidence": {
"type": "string",
"description": "Freeform evidence or reference (e.g., query details, URL, or notes).",
"examples": [
"tweet counts + user lookup"
]
}
},
"required": [
"method",
"fetched_at",
"evidence"
]
},
"minItems": 1
},
"provenance_hash": {
"type": "string",
"pattern": "^[A-Fa-f0-9]{64}$",
"description": "SHA-256 hex digest capturing the provenance snapshot for this record.",
"examples": [
"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
]
}
},
"required": [
"score",
"last_refresh_at",
"sources",
"provenance_hash"
]
},
"ext": {
"type": "object",
"title": "Extensions",
"description": "Optional implementation-specific custom fields. Keys/values are not validated by this schema.",
"additionalProperties": true
}
},
"required": [
"id",
"handle",
"name",
"verified",
"followers_count",
"is_org",
"is_official",
"lang_primary",
"topic_tags",
"meta"
],
"examples": [
{
"id": "2244994945",
"handle": "jack",
"name": "Jack Dorsey",
"verified": "legacy",
"followers_count": 6500000,
"is_org": false,
"is_official": false,
"lang_primary": "en",
"topic_tags": [
"technology",
"bitcoin",
"startups"
],
"metrics_30d": {
"posts_original": 12,
"median_likes": 1400,
"p90_likes": 5000,
"median_replies": 120,
"median_retweets": 200
},
"meta": {
"score": 87.5,
"rank_global": 123,
"last_active_at": "2025-11-01T14:33:22Z",
"last_refresh_at": "2025-11-13T12:00:00Z",
"sources": [
{
"method": "twitter-api-v2",
"fetched_at": "2025-11-13T12:00:00Z",
"evidence": "tweet counts + user lookup"
}
],
"provenance_hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"ext": {
"region": "US",
"notes": "VIP list v2"
}
}
]
}