Feature: Translate Tweet to schema.org/Article/Small + getfetcher.net/Item In order to send a standarized-properties form of the tweet As a developer I want to be able to convert from Twitter API Tweet to schema.org based vocabulary Scenario: Converting a json tweet into a json schema Given the tweet: """ { "contributors": null, "coordinates": null, "created_at": "Tue Feb 21 21:29:07 +0000 2012", "favorited": false, "geo": null, "id": 172070369035956224, "id_str": "172070369035956224", "in_reply_to_screen_name": null, "in_reply_to_status_id": null, "in_reply_to_status_id_str": null, "in_reply_to_user_id": null, "in_reply_to_user_id_str": null, "place": null, "retweet_count": 2181, "retweeted": false, "source": "web", "text": "The \"http://\" at the beginning of URLs is a command to the browser. It stands for \"head to this place:\" followed by two laser-gun noises.", "truncated": false, "user": { "contributors_enabled": false, "created_at": "Fri Aug 07 22:49:15 +0000 2009", "default_profile": false, "default_profile_image": false, "description": "Every day I wake up and put on my gym shorts one leg at a time.", "favourites_count": 395, "follow_request_sent": null, "followers_count": 2390, "following": null, "friends_count": 78, "geo_enabled": false, "id": 63846421, "id_str": "63846421", "is_translator": false, "lang": "en", "listed_count": 98, "location": "", "name": "Brian Sutorius", "notifications": null, "profile_background_color": "FFFFFF", "profile_background_image_url": "http://a0.twimg.com/profile_background_images/315830622/bg.png", "profile_background_image_url_https": "https://si0.twimg.com/profile_background_images/315830622/bg.png", "profile_background_tile": false, "profile_banner_url": "https://si0.twimg.com/profile_banners/63846421/1350482543", "profile_image_url": "http://a0.twimg.com/profile_images/2596248603/c7mhg7vxl601vcst6jap_normal.jpeg", "profile_image_url_https": "https://si0.twimg.com/profile_images/2596248603/c7mhg7vxl601vcst6jap_normal.jpeg", "profile_link_color": "004080", "profile_sidebar_border_color": "FFFFFF", "profile_sidebar_fill_color": "FFFFFF", "profile_text_color": "222222", "profile_use_background_image": false, "protected": false, "screen_name": "bsuto", "statuses_count": 668, "time_zone": "Eastern Time (US & Canada)", "url": null, "utc_offset": -18000, "verified": false } } """ When I convert it into schema.org/Article/Small Then I should have: """ { "type": [ "http://schema.org/Article/Small" ], "properties": { "additionalType": [ "http://getfetcher.net/Item" ], "Item#id": [ 172070369035956224 ], "articleBody": [ "The \"http://\" at the beginning of URLs is a command to the browser. It stands for \"head to this place:\" followed by two laser-gun noises." ], "author": [ { "type": [ "http://schema.org/Person/User" ], "properties": { "additionalType": [ "http://getfetcher.net/Item" ], "Item#id": [ 63846421 ], "name": [ "Brian Sutorius" ], "User#dateRegistered": [ 1249685355 ], "description": [ "Every day I wake up and put on my gym shorts one leg at a time." ], "url": [ "https://twitter.com/bsuto" ] } } ], "dateCreated": [ 1329859747 ], "provider": [ "twitter", "web" ], "url": [ "https://twitter.com/bsuto/status/172070369035956224" ] } } """