Skip to content

Commit

Permalink
[schema] Add twitter schema file
Browse files Browse the repository at this point in the history
Twitter schema was missing. This commit serves to add it.

Signed-off-by: sevagenv <sevagenv@gmail.com>
  • Loading branch information
VSevagen committed Mar 23, 2021
1 parent 1417c43 commit c8d3cf8
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions schema/twitter.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name,type,aggregatable,description
author_bot,boolean,true,"True if the given author is identified as a bot."
author_domain,keyword,true,"Domain associated to the author in SortingHat profile."
author_gender,keyword,true,"Author gender."
author_gender_acc,keyword,true,"Accuracy to assess author gender."
author_id,keyword,true,"Author Id from SortingHat."
author_name,keyword,true,"Author name."
author_org_name,keyword,true,"Author organization name from SortingHat profile."
author_user_name,keyword,true,"Author username from Sortinghat profile."
author_uuid,keyword,true,"Author UUID from SortingHat."
created_at,date,true,"Date when tweet was created."
geolocation,geo_point,true,N\A
grimoire_creation_date,date,true,"Message creation date"
hashtags_analyzed,keyword,true,"Text of hashtag."
id,long,true,"Unique identifier of the tweet."
id_str, keyword,true,"Unique identifier of tweet in string format."
in_reply_to_screen_name,keyword,true,"Screen name of original tweet author in case tweet is a reply."
in_reply_to_user_id_str,keyword,true,"ID of parent Tweet's author in case tweet is a reply."
is_twitter_tweet,long,true,"Count number of tweets in complex aggregations."
metadata__enriched_on,date,true,"Date when the item was enriched."
metadata__gelk_backend_name,keyword,true,"Name of the backend used to enrich information."
metadata__gelk_version,keyword,true,"Version of the backend used to enrich information."
metadata__timestamp,date,true,"Date when the item was stored in RAW index."
metadata__updated_on,date,true,"Date when the item was updated on its original data source."
origin,keyword,true,"Original URL where tweet was retrieved from."
place.bounding_box.coordinates,long,keyword,"A series of longitude and latitude points, defining a box which will contain the Place entity this bounding box is related to"
place.bounding_box.type,keyword,true,"A box of coordinates"
place.country,keyword,true,"Name of the country containing this place"
place.country_code,keyword,true,"Shortened country code representing the country containing this place."
place.full_name,keyword,true,"Full human-readable representation of the place’s name."
place.id,keyword,true,"ID representing this place"
place.name,keyword,true,"Short human-readable representation of the place’s name."
place.place_type,keyword,true,"The type of location represented by this place"
place.url,keyword,true,"URL representing the location of additional place metadata for this place."
project,keyword,true,"Project name."
project_1,keyword,true,"Project (if more than one level is allowed in project hierarchy)."
retweet_count,long,true,"Number of times tweet has been retweeted."
retweeted,long,true,"Indicates whether this Tweet has been Retweeted by the authenticating user."
tag,keyword,true,"Tag set by perceval when retrieving item."
text,keyword,true,"Message text."
text_analyzed,keyword,false,"Message body in plain text."
url,keyword,true,"Url"
user_bot,boolean,true,"True if the given user is identified as a bot."
user_created_at,date,true,"UTC datatime when account was create."
user_description,keyword,true,"String describing user account."
user_domain,keyword,true,"Domain associated to the assignee in SortingHat profile."
user_followers_count,long,true,"Number of followers account currently has."
user_friends_count,long,true,"Number of followers count currently has."
user_gender,keyword,true,"Assignee gender, based on her name (disabled by default)."
user_gender_acc,long,true,"Assignee gender accuracy (disabled by default)."
user_id,keyword,true,"Assignee Id from SortingHat."
user_id_str,keyword,true,"Unique identifier for user."
user_lang,keyword,true,"User language."
user_location,keyword,true,"User-defined location of account profile."
user_name,keyword,true,"User's name from SortingHat profile"
user_org_name,keyword,true,"User's organization name from SortingHat profile."
user_url,keyword,true,"URL associated with user profile."
user_url_twitter,keyword,true,"Twitter user url."
user_user_name,keyword,true,"User's username from SortingHat profile."
user_uuid,keyword,true,"User's UUID from SortingHat profile."
user_verified,boolean,true,"Indicates whether user account is verified."
uuid,keyword,true,"Perceval UUID."

0 comments on commit c8d3cf8

Please sign in to comment.