streams-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfrank...@apache.org
Subject [1/2] git commit: STREAMS-91 | Removed change to hashtag object schema
Date Thu, 22 May 2014 13:53:08 GMT
Repository: incubator-streams
Updated Branches:
  refs/heads/master c5142b310 -> 18b358f64


STREAMS-91 | Removed change to hashtag object schema


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

Branch: refs/heads/master
Commit: 18b358f64f954eca5ce42c95920568d8bef05dab
Parents: f4a060e
Author: Robert Douglas <rdouglas@w2odigital.com>
Authored: Wed May 21 12:28:55 2014 -0500
Committer: mfranklin <mfranklin@apache.org>
Committed: Thu May 22 09:52:37 2014 -0400

----------------------------------------------------------------------
 .../src/main/jsonschema/com/twitter/tweet.json  | 20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/18b358f6/streams-contrib/streams-provider-twitter/src/main/jsonschema/com/twitter/tweet.json
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-provider-twitter/src/main/jsonschema/com/twitter/tweet.json
b/streams-contrib/streams-provider-twitter/src/main/jsonschema/com/twitter/tweet.json
index 8ad1ab8..8919185 100644
--- a/streams-contrib/streams-provider-twitter/src/main/jsonschema/com/twitter/tweet.json
+++ b/streams-contrib/streams-provider-twitter/src/main/jsonschema/com/twitter/tweet.json
@@ -1,4 +1,3 @@
-
 {
     "type": "object",
     "$schema": "http://json-schema.org/draft-03/schema",
@@ -85,22 +84,11 @@
                 },
                 "hashtags": {
                     "type": "array",
-                    "items": {
-                        "type": "object",
-                        "javaType": "org.apache.streams.twitter.pojo.Hashtag",
-                        "javaInterfaces": ["java.io.Serializable"],
-                        "properties": {
-                            "text": {
-                                "type": "string"
-                            },
-                            "indices": {
-                                "type": "array",
-                                "items": [{
-                                        "type": "integer"
-                                }]
-                            }
+                    "items": [
+                        {
+                            "type": "string"
                         }
-                    }
+                    ]
                 },
                 "urls": {
                     "type": "array",


Mime
View raw message