added missing fields
switched a few date fields to Joda

Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/fec8a37c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/fec8a37c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/fec8a37c

Branch: refs/heads/master
Commit: fec8a37ca99df822616513727c618853a8a71fdc
Parents: 2e66e51
Author: Steve Blackmon <sblack...@w2odigital.com>
Authored: Wed Jul 30 21:22:57 2014 -0500
Committer: Steve Blackmon <sblack...@w2odigital.com>
Committed: Wed Jul 30 21:26:33 2014 -0500

----------------------------------------------------------------------
 .../main/jsonschema/com/datasift/Datasift.json  | 36 ++++++++++++++++++--
 .../com/datasift/DatasiftTwitterUser.json       |  9 ++++-
 2 files changed, 41 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/fec8a37c/streams-contrib/streams-provider-datasift/src/main/jsonschema/com/datasift/Datasift.json
----------------------------------------------------------------------
diff --git 
a/streams-contrib/streams-provider-datasift/src/main/jsonschema/com/datasift/Datasift.json
 
b/streams-contrib/streams-provider-datasift/src/main/jsonschema/com/datasift/Datasift.json
index 8d4ef87..37a63a0 100644
--- 
a/streams-contrib/streams-provider-datasift/src/main/jsonschema/com/datasift/Datasift.json
+++ 
b/streams-contrib/streams-provider-datasift/src/main/jsonschema/com/datasift/Datasift.json
@@ -206,6 +206,25 @@
                 "link": {
                     "type": "string"
                 },
+                "mention_ids": {
+                    "type": "array",
+                    "items": [
+                        {
+                            "type": "integer"
+                        }
+                    ]
+                },
+                "mentions": {
+                    "type": "array",
+                    "items": [
+                        {
+                            "type": "string"
+                        }
+                    ]
+                },
+                "source": {
+                    "type": "string"
+                },
                 "schema": {
                     "dynamic": "true",
                     "properties": {
@@ -253,6 +272,9 @@
                 },
                 "tag": {
                     "type": "string"
+                },
+                "tag_extended": {
+                    "type": "string"
                 }
             }
         },
@@ -264,10 +286,10 @@
                 "code": {
                     "type": "array",
                     "items": [
-                            {
+                        {
                             "type": "integer"
-                            }
-                        ]
+                        }
+                    ]
                 },
                 "created_at": {
                     "type": "array",
@@ -576,6 +598,14 @@
                 "created_at": {
                     "type": "string"
                 },
+                "display_urls": {
+                    "type": "array",
+                    "items": [
+                        {
+                            "type": "string"
+                        }
+                    ]
+                },
                 "domains": {
                     "type": "array",
                     "items": [

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/fec8a37c/streams-contrib/streams-provider-datasift/src/main/jsonschema/com/datasift/DatasiftTwitterUser.json
----------------------------------------------------------------------
diff --git 
a/streams-contrib/streams-provider-datasift/src/main/jsonschema/com/datasift/DatasiftTwitterUser.json
 
b/streams-contrib/streams-provider-datasift/src/main/jsonschema/com/datasift/DatasiftTwitterUser.json
index 97d93fe..3be49ff 100644
--- 
a/streams-contrib/streams-provider-datasift/src/main/jsonschema/com/datasift/DatasiftTwitterUser.json
+++ 
b/streams-contrib/streams-provider-datasift/src/main/jsonschema/com/datasift/DatasiftTwitterUser.json
@@ -4,11 +4,15 @@
     "javaType": "org.apache.streams.datasift.twitter.DatasiftTwitterUser",
     "properties": {
         "created_at": {
-            "type": "string"
+            "type": "string",
+            "format": "date-time"
         },
         "description": {
             "type": "string"
         },
+        "favourites_count": {
+            "type": "integer"
+        },
         "followers_count": {
             "type": "integer"
         },
@@ -39,6 +43,9 @@
         "profile_image_url": {
             "type": "string"
         },
+        "profile_image_url_https": {
+            "type": "string"
+        },
         "screen_name": {
             "type": "string"
         },

Reply via email to