You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streams.apache.org by sb...@apache.org on 2014/08/13 01:04:54 UTC
[10/13] broke channels within Datasift.json out into fragments
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/199881d5/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftConfiguration.json
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftConfiguration.json b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftConfiguration.json
new file mode 100644
index 0000000..9a0f027
--- /dev/null
+++ b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftConfiguration.json
@@ -0,0 +1,133 @@
+{
+ "type": "object",
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "id": "#",
+ "javaType": "org.apache.streams.datasift.DatasiftConfiguration",
+ "javaInterfaces": [
+ "java.io.Serializable"
+ ],
+ "properties": {
+ "apiKey": {
+ "type": "string"
+ },
+ "userName": {
+ "type": "string"
+ },
+ "streamHash": {
+ "type": "array",
+ "minItems": 0,
+ "items": {
+ "type": "string"
+ }
+ },
+ "streamCsdl": {
+ "type": "array",
+ "minItems": 0,
+ "items": {
+ "type": "string"
+ }
+ },
+ "managedSources": {
+ "type": "array",
+ "minItems": 0,
+ "items": {
+ "javaType": "org.apache.streams.datasift.managed.StreamsManagedSource",
+ "type": "object",
+ "properties": {
+ "auth": {
+ "type": "array",
+ "items": {
+ "javaType": "org.apache.streams.datasift.managed.StreamsManagedSourceAuth",
+ "type": "object",
+ "properties": {
+ "identity_id": {
+ "type": "string"
+ },
+ "parameters": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "created_at": {
+ "type": "number"
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "parameters": {
+ "javaType": "org.apache.streams.datasift.managed.StreamsManagedSourceParams",
+ "type": "object",
+ "properties": {
+ "comments": {
+ "type": "boolean"
+ },
+ "likes": {
+ "type": "boolean"
+ }
+ }
+ },
+ "resources": {
+ "type": "array",
+ "items": [
+ {
+ "javaType": "org.apache.streams.datasift.managed.StreamsManagedSourceResource",
+ "type": "object",
+ "properties": {
+ "parameters": {
+ "type": "object",
+ "properties": {
+ "distance": {
+ "type": "number"
+ },
+ "exact_match": {
+ "type": "string"
+ },
+ "foursq": {
+ "type": "string"
+ },
+ "lat": {
+ "type": "number"
+ },
+ "lng": {
+ "type": "number"
+ },
+ "type": {
+ "type": "string",
+ "enum" : ["user", "tag", "area", "location", "popular"]
+ },
+ "usermeta": {
+ "type": "string"
+ },
+ "value": {
+ "type": "number"
+ }
+ }
+ },
+ "resource_id": {
+ "type": "string"
+ }
+ }
+ }
+ ]
+ },
+ "source_type": {
+ "type": "string",
+ "enum" : ["facebook_page", "googleplus", "instagram", "yammer"]
+ },
+ "status": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/199881d5/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftPushConfiguration.json
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftPushConfiguration.json b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftPushConfiguration.json
new file mode 100644
index 0000000..bb65ef0
--- /dev/null
+++ b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftPushConfiguration.json
@@ -0,0 +1,17 @@
+{
+ "type": "object",
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "id": "#",
+ "javaType" : "org.apache.streams.datasift.DatasiftPushConfiguration",
+ "extends": {"$ref":"DatasiftConfiguration.json"},
+ "javaInterfaces": ["java.io.Serializable"],
+ "properties": {
+ "streamHash": {
+ "type": "array",
+ "minItems": 1,
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/199881d5/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftStreamConfiguration.json
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftStreamConfiguration.json b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftStreamConfiguration.json
new file mode 100644
index 0000000..91a9974
--- /dev/null
+++ b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftStreamConfiguration.json
@@ -0,0 +1,17 @@
+{
+ "type": "object",
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "id": "#",
+ "javaType" : "org.apache.streams.datasift.DatasiftStreamConfiguration",
+ "extends": {"$ref":"DatasiftConfiguration.json"},
+ "javaInterfaces": ["java.io.Serializable"],
+ "properties": {
+ "streamHash": {
+ "type": "array",
+ "minItems": 1,
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/199881d5/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/facebook/DatasiftFacebook.json
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/facebook/DatasiftFacebook.json b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/facebook/DatasiftFacebook.json
new file mode 100644
index 0000000..a483d79
--- /dev/null
+++ b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/facebook/DatasiftFacebook.json
@@ -0,0 +1,120 @@
+{
+ "type" : "object",
+ "$schema" : "http://json-schema.org/draft-03/schema",
+ "javaType" : "org.apache.streams.datasift.facebook.Facebook",
+ "properties" :
+ {
+ "application" :
+ {
+ "type" : "string"
+ },
+ "author" :
+ {
+ "javaType" : "org.apache.streams.datasift.facebook.Author",
+ "type" : "object",
+ "dynamic" : "true",
+ "properties" :
+ {
+ "avatar" :
+ {
+ "type" : "string"
+ },
+ "id" :
+ {
+ "type" : "string"
+ },
+ "link" :
+ {
+ "type" : "string"
+ },
+ "name" :
+ {
+ "type" : "string"
+ }
+ }
+ },
+ "created_at" :
+ {
+ "type" : "string",
+ "format" : "date-time"
+ },
+ "id" :
+ {
+ "type" : "string"
+ },
+ "likes" :
+ {
+ "javaType" : "org.apache.streams.datasift.facebook.Likes",
+ "type" : "object",
+ "dynamic" : "true",
+ "properties" :
+ {
+ "count" :
+ {
+ "type" : "integer"
+ },
+ "ids" :
+ {
+ "type" : "array",
+ "items" :
+ [
+ {
+ "type" : "string"
+ }
+ ]
+ },
+ "names" :
+ {
+ "type" : "array",
+ "items" :
+ [
+ {
+ "type" : "string"
+ }
+ ]
+ }
+ }
+ },
+ "message" :
+ {
+ "type" : "string"
+ },
+ "source" :
+ {
+ "type" : "string"
+ },
+ "to" :
+ {
+ "javaType" : "org.apache.streams.datasift.facebook.To",
+ "type" : "object",
+ "dynamic" : "true",
+ "properties" :
+ {
+ "ids" :
+ {
+ "type" : "array",
+ "items" :
+ [
+ {
+ "type" : "string"
+ }
+ ]
+ },
+ "names" :
+ {
+ "type" : "array",
+ "items" :
+ [
+ {
+ "type" : "string"
+ }
+ ]
+ }
+ }
+ },
+ "type" :
+ {
+ "type" : "string"
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/199881d5/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/instagram/DatasiftInstagram.json
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/instagram/DatasiftInstagram.json b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/instagram/DatasiftInstagram.json
new file mode 100644
index 0000000..1397cba
--- /dev/null
+++ b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/instagram/DatasiftInstagram.json
@@ -0,0 +1,178 @@
+{
+ "type" : "object",
+ "$schema" : "http://json-schema.org/draft-03/schema",
+ "javaType" : "org.apache.streams.datasift.instagram.Instagram",
+ "properties" :
+ {
+ "caption" :
+ {
+ "type" : "object",
+ "properties" :
+ {
+ "created_time" :
+ {
+ "type" : "number"
+ },
+ "id" :
+ {
+ "type" : "string"
+ },
+ "text" :
+ {
+ "type" : "string"
+ },
+ "from" :
+ {
+ "type" : "object",
+ "properties" :
+ {
+ "full_name" :
+ {
+ "type" : "array",
+ "items" :
+ [
+ {
+ "type" : "string"
+ }
+ ]
+ },
+ "id" :
+ {
+ "type" : "string"
+ },
+ "profile_picture" :
+ {
+ "type" : "string"
+ },
+ "username" :
+ {
+ "type" : "string"
+ }
+ }
+ }
+ }
+ },
+ "created_at" :
+ {
+ "type" : "string",
+ "format" : "date-time"
+ },
+ "from" :
+ {
+ "javaType" : "org.apache.streams.datasift.instagram.From",
+ "type" : "object",
+ "properties" :
+ {
+ "full_name" :
+ {
+ "type" : "array",
+ "items" :
+ [
+ {
+ "type" : "string"
+ }
+ ]
+ },
+ "id" :
+ {
+ "type" : "string"
+ },
+ "profile_picture" :
+ {
+ "type" : "string"
+ },
+ "username" :
+ {
+ "type" : "string"
+ }
+ }
+ },
+ "id" :
+ {
+ "type" : "string"
+ },
+ "images" :
+ {
+ "type" : "object",
+ "properties" :
+ {
+ "low_resolution" :
+ {
+ "type" : "object"
+ },
+ "standard_resolution" :
+ {
+ "type" : "object"
+ },
+ "thumbnail" :
+ {
+ "type" : "object"
+ }
+ }
+ },
+ "media" :
+ {
+ "javaType" : "org.apache.streams.datasift.instagram.Media",
+ "type" : "object",
+ "properties" :
+ {
+ "caption" :
+ {
+ "type" : "string"
+ },
+ "created_time" :
+ {
+ "type" : "number"
+ },
+ "filter" :
+ {
+ "type" : "string"
+ },
+ "id" :
+ {
+ "type" : "string"
+ },
+ "image" :
+ {
+ "type" : "string"
+ },
+ "link" :
+ {
+ "type" : "string"
+ },
+ "tags" :
+ {
+ "type" : "array",
+ "items" :
+ {
+ "type" : "string"
+ }
+ },
+ "type" :
+ {
+ "type" : "string"
+ },
+ "username" :
+ {
+ "type" : "string"
+ },
+ "video" :
+ {
+ "type" : "string"
+ }
+ }
+ },
+ "tags" :
+ {
+ "type" : "array",
+ "items" :
+ {
+ "type" : "string"
+ }
+ },
+ "type" :
+ {
+ "type" : "string"
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/199881d5/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/interaction/DatasiftInteraction.json
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/interaction/DatasiftInteraction.json b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/interaction/DatasiftInteraction.json
new file mode 100644
index 0000000..fd4d576
--- /dev/null
+++ b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/interaction/DatasiftInteraction.json
@@ -0,0 +1,92 @@
+{
+ "type": "object",
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "javaType": "org.apache.streams.datasift.interaction.Interaction",
+ "properties": {
+ "author": {
+ "javaType": "org.apache.streams.datasift.interaction.Author",
+ "type": "object",
+ "dynamic": "true",
+ "properties": {
+ "avatar": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "link": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ }
+ }
+ },
+ "content": {
+ "type": "string"
+ },
+ "contenttype": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "geo": {
+ "javaType": "org.apache.streams.datasift.interaction.Geo",
+ "type": "object",
+ "dynamic": "true",
+ "properties": {
+ "latitude": {
+ "type": "number"
+ },
+ "longitude": {
+ "type": "number"
+ }
+ }
+ },
+ "id": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ },
+ "received_at": {
+ "type": "long"
+ },
+ "subtype": {
+ "type": "string"
+ },
+ "schema": {
+ "dynamic": "true",
+ "properties": {
+ "version": {
+ "type": "integer"
+ }
+ }
+ },
+ "source": {
+ "type": "string"
+ },
+ "subtype": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "array",
+ "items": [
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/199881d5/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitter.json
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitter.json b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitter.json
new file mode 100644
index 0000000..c671b2e
--- /dev/null
+++ b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitter.json
@@ -0,0 +1,611 @@
+{
+ "type" : "object",
+ "$schema" : "http://json-schema.org/draft-03/schema",
+ "javaType" : "org.apache.streams.datasift.twitter.Twitter",
+ "properties" :
+ {
+ "created_at" :
+ {
+ "type" : "string"
+ },
+ "display_urls" :
+ {
+ "type" : "array",
+ "items" :
+ [
+ {
+ "type" : "string"
+ }
+ ]
+ },
+ "domains" :
+ {
+ "type" : "array",
+ "items" :
+ [
+ {
+ "type" : "string"
+ }
+ ]
+ },
+ "filter_level" :
+ {
+ "type" : "string"
+ },
+ "geo" :
+ {
+ "javaType" : "org.apache.streams.datasift.twitter.Geo",
+ "type" : "object",
+ "dynamic" : "true",
+ "properties" :
+ {
+ "latitude" :
+ {
+ "type" : "number"
+ },
+ "longitude" :
+ {
+ "type" : "number"
+ }
+ }
+ },
+ "hashtags" :
+ {
+ "type" : "array",
+ "items" :
+ [
+ {
+ "type" : "string"
+ }
+ ]
+ },
+ "id" :
+ {
+ "type" : "string"
+ },
+ "in_reply_to_screen_name" :
+ {
+ "type" : "string"
+ },
+ "in_reply_to_status_id" :
+ {
+ "type" : "string"
+ },
+ "in_reply_to_user_id" :
+ {
+ "type" : "string"
+ },
+ "lang" :
+ {
+ "type" : "string"
+ },
+ "links" :
+ {
+ "type" : "array",
+ "items" :
+ [
+ {
+ "type" : "string"
+ }
+ ]
+ },
+ "media" :
+ {
+ "type" : "array",
+ "items" :
+ [
+ {
+ "javaType" : "org.apache.streams.datasift.twitter.Media",
+ "type" : "object",
+ "dynamic" : "true",
+ "properties" :
+ {
+ "display_url" :
+ {
+ "type" : "string"
+ },
+ "expanded_url" :
+ {
+ "type" : "string"
+ },
+ "id" :
+ {
+ "type" : "integer"
+ },
+ "id_str" :
+ {
+ "type" : "string"
+ },
+ "media_url" :
+ {
+ "type" : "string"
+ },
+ "media_url_https" :
+ {
+ "type" : "string"
+ },
+ "sizes" :
+ {
+ "dynamic" : "true",
+ "properties" :
+ {
+ "large" :
+ {
+ "dynamic" : "true",
+ "properties" :
+ {
+ "h" :
+ {
+ "type" : "integer"
+ },
+ "resize" :
+ {
+ "type" : "string"
+ },
+ "w" :
+ {
+ "type" : "integer"
+ }
+ }
+ },
+ "medium" :
+ {
+ "dynamic" : "true",
+ "properties" :
+ {
+ "h" :
+ {
+ "type" : "integer"
+ },
+ "resize" :
+ {
+ "type" : "string"
+ },
+ "w" :
+ {
+ "type" : "integer"
+ }
+ }
+ },
+ "small" :
+ {
+ "dynamic" : "true",
+ "properties" :
+ {
+ "h" :
+ {
+ "type" : "integer"
+ },
+ "resize" :
+ {
+ "type" : "string"
+ },
+ "w" :
+ {
+ "type" : "integer"
+ }
+ }
+ },
+ "thumb" :
+ {
+ "dynamic" : "true",
+ "properties" :
+ {
+ "h" :
+ {
+ "type" : "integer"
+ },
+ "resize" :
+ {
+ "type" : "string"
+ },
+ "w" :
+ {
+ "type" : "integer"
+ }
+ }
+ }
+ }
+ },
+ "source_status_id" :
+ {
+ "type" : "integer"
+ },
+ "source_status_id_str" :
+ {
+ "type" : "string"
+ },
+ "type" :
+ {
+ "type" : "string"
+ },
+ "url" :
+ {
+ "type" : "string"
+ }
+ }
+ }
+ ]
+ },
+ "mention_ids" :
+ {
+ "type" : "array",
+ "items" :
+ [
+ {
+ "type" : "string"
+ }
+ ]
+ },
+ "mentions" :
+ {
+ "type" : "array",
+ "items" :
+ [
+ {
+ "type" : "string"
+ }
+ ]
+ },
+ "place" :
+ {
+ "javaType" : "org.apache.streams.datasift.twitter.Place",
+ "type" : "object",
+ "dynamic" : "true",
+ "properties" :
+ {
+ "attributes" :
+ {
+ "dynamic" : "true",
+ "properties" :
+ {
+ "street_address" :
+ {
+ "type" : "string"
+ }
+ }
+ },
+ "country" :
+ {
+ "type" : "string"
+ },
+ "country_code" :
+ {
+ "type" : "string"
+ },
+ "full_name" :
+ {
+ "type" : "string"
+ },
+ "id" :
+ {
+ "type" : "string"
+ },
+ "name" :
+ {
+ "type" : "string"
+ },
+ "place_type" :
+ {
+ "type" : "string"
+ },
+ "url" :
+ {
+ "type" : "string"
+ }
+ }
+ },
+ "retweet" :
+ {
+ "javaType" : "org.apache.streams.datasift.twitter.Retweet",
+ "type" : "object",
+ "dynamic" : "true",
+ "properties" :
+ {
+ "count" :
+ {
+ "type" : "integer"
+ },
+ "created_at" :
+ {
+ "type" : "string"
+ },
+ "domains" :
+ {
+ "type" : "array",
+ "items" :
+ [
+ {
+ "type" : "string"
+ }
+ ]
+ },
+ "hashtags" :
+ {
+ "type" : "array",
+ "items" :
+ [
+ {
+ "type" : "string"
+ }
+ ]
+ },
+ "id" :
+ {
+ "type" : "string"
+ },
+ "lang" :
+ {
+ "type" : "string"
+ },
+ "links" :
+ {
+ "type" : "array",
+ "items" :
+ [
+ {
+ "type" : "string"
+ }
+ ]
+ },
+ "media" :
+ {
+ "dynamic" : "true",
+ "properties" :
+ {
+ "display_url" :
+ {
+ "type" : "string"
+ },
+ "expanded_url" :
+ {
+ "type" : "string"
+ },
+ "id" :
+ {
+ "type" : "integer"
+ },
+ "id_str" :
+ {
+ "type" : "string"
+ },
+ "media_url" :
+ {
+ "type" : "string"
+ },
+ "media_url_https" :
+ {
+ "type" : "string"
+ },
+ "sizes" :
+ {
+ "dynamic" : "true",
+ "properties" :
+ {
+ "large" :
+ {
+ "dynamic" : "true",
+ "properties" :
+ {
+ "h" :
+ {
+ "type" : "integer"
+ },
+ "resize" :
+ {
+ "type" : "string"
+ },
+ "w" :
+ {
+ "type" : "integer"
+ }
+ }
+ },
+ "medium" :
+ {
+ "dynamic" : "true",
+ "properties" :
+ {
+ "h" :
+ {
+ "type" : "integer"
+ },
+ "resize" :
+ {
+ "type" : "string"
+ },
+ "w" :
+ {
+ "type" : "integer"
+ }
+ }
+ },
+ "small" :
+ {
+ "dynamic" : "true",
+ "properties" :
+ {
+ "h" :
+ {
+ "type" : "integer"
+ },
+ "resize" :
+ {
+ "type" : "string"
+ },
+ "w" :
+ {
+ "type" : "integer"
+ }
+ }
+ },
+ "thumb" :
+ {
+ "dynamic" : "true",
+ "properties" :
+ {
+ "h" :
+ {
+ "type" : "integer"
+ },
+ "resize" :
+ {
+ "type" : "string"
+ },
+ "w" :
+ {
+ "type" : "integer"
+ }
+ }
+ }
+ }
+ },
+ "source_status_id" :
+ {
+ "type" : "integer"
+ },
+ "source_status_id_str" :
+ {
+ "type" : "string"
+ },
+ "type" :
+ {
+ "type" : "string"
+ },
+ "url" :
+ {
+ "type" : "string"
+ }
+ }
+ },
+ "mention_ids" :
+ {
+ "type" : "array",
+ "items" :
+ [
+ {
+ "type" : "integer"
+ }
+ ]
+ },
+ "mentions" :
+ {
+ "type" : "array",
+ "items" :
+ [
+ {
+ "type" : "string"
+ }
+ ]
+ },
+ "source" :
+ {
+ "type" : "string"
+ },
+ "text" :
+ {
+ "type" : "string"
+ },
+ "user" :
+ {
+ "type": "object",
+ "$ref": "DatasiftTwitterUser.json"
+ }
+ }
+ },
+ "retweeted" :
+ {
+ "javaType" : "org.apache.streams.datasift.twitter.Retweeted",
+ "type" : "object",
+ "dynamic" : "true",
+ "properties" :
+ {
+ "created_at" :
+ {
+ "type" : "string"
+ },
+ "geo" :
+ {
+ "dynamic" : "true",
+ "properties" :
+ {
+ "latitude" :
+ {
+ "type" : "number"
+ },
+ "longitude" :
+ {
+ "type" : "number"
+ }
+ }
+ },
+ "id" :
+ {
+ "type" : "string"
+ },
+ "place" :
+ {
+ "dynamic" : "true",
+ "properties" :
+ {
+ "attributes" :
+ {
+ "type" : "object",
+ "dynamic" : "true"
+ },
+ "country" :
+ {
+ "type" : "string"
+ },
+ "country_code" :
+ {
+ "type" : "string"
+ },
+ "full_name" :
+ {
+ "type" : "string"
+ },
+ "id" :
+ {
+ "type" : "string"
+ },
+ "name" :
+ {
+ "type" : "string"
+ },
+ "place_type" :
+ {
+ "type" : "string"
+ },
+ "url" :
+ {
+ "type" : "string"
+ }
+ }
+ },
+ "source" :
+ {
+ "type" : "string"
+ },
+ "user" :
+ {
+ "type": "object",
+ "$ref": "DatasiftTwitterUser.json"
+ }
+ }
+ },
+ "source" :
+ {
+ "type" : "string"
+ },
+ "text" :
+ {
+ "type" : "string"
+ },
+ "user" :
+ {
+ "type": "object",
+ "$ref": "DatasiftTwitterUser.json"
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/199881d5/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitterUser.json
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitterUser.json b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitterUser.json
new file mode 100644
index 0000000..3be49ff
--- /dev/null
+++ b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitterUser.json
@@ -0,0 +1,68 @@
+{
+ "type": "object",
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "javaType": "org.apache.streams.datasift.twitter.DatasiftTwitterUser",
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "description": {
+ "type": "string"
+ },
+ "favourites_count": {
+ "type": "integer"
+ },
+ "followers_count": {
+ "type": "integer"
+ },
+ "friends_count": {
+ "type": "integer"
+ },
+ "geo_enabled": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "id_str": {
+ "type": "string"
+ },
+ "lang": {
+ "type": "string"
+ },
+ "listed_count": {
+ "type": "integer"
+ },
+ "location": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "profile_image_url": {
+ "type": "string"
+ },
+ "profile_image_url_https": {
+ "type": "string"
+ },
+ "screen_name": {
+ "type": "string"
+ },
+ "statuses_count": {
+ "type": "integer"
+ },
+ "time_zone": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "utc_offset": {
+ "type": "integer"
+ },
+ "verified": {
+ "type": "boolean"
+ }
+ }
+}
\ No newline at end of file