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 2015/03/20 01:53:43 UTC
[17/50] [abbrv] incubator-streams git commit: resolves STREAMS-285
resolves STREAMS-285
Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/0fb02481
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/0fb02481
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/0fb02481
Branch: refs/heads/asf-master
Commit: 0fb024812a22ff2beaff810ab744106e49889141
Parents: 18d14f0
Author: sblackmon <sb...@apache.org>
Authored: Tue Feb 17 12:25:22 2015 -0600
Committer: sblackmon <sb...@apache.org>
Committed: Tue Feb 17 12:25:22 2015 -0600
----------------------------------------------------------------------
streams-pojo/pom.xml | 18 +++++++
.../streams/pojo/json/objectTypes/alert.json | 19 ++++++++
.../pojo/json/objectTypes/application.json | 19 ++++++++
.../streams/pojo/json/objectTypes/badge.json | 19 ++++++++
.../streams/pojo/json/objectTypes/binary.json | 50 ++++++++++++++++++++
.../streams/pojo/json/objectTypes/device.json | 19 ++++++++
.../streams/pojo/json/objectTypes/event.json | 26 ++++++++++
.../streams/pojo/json/objectTypes/file.json | 6 +++
.../streams/pojo/json/objectTypes/game.json | 19 ++++++++
.../streams/pojo/json/objectTypes/image.json | 22 +++++++++
.../streams/pojo/json/objectTypes/issue.json | 25 ++++++++++
.../streams/pojo/json/objectTypes/job.json | 19 ++++++++
.../streams/pojo/json/objectTypes/offer.json | 19 ++++++++
.../pojo/json/objectTypes/organization.json | 19 ++++++++
.../streams/pojo/json/objectTypes/page.json | 19 ++++++++
.../pojo/json/objectTypes/permission.json | 36 ++++++++++++++
.../streams/pojo/json/objectTypes/place.json | 27 +++++++++--
.../streams/pojo/json/objectTypes/process.json | 19 ++++++++
.../streams/pojo/json/objectTypes/product.json | 6 +++
.../streams/pojo/json/objectTypes/question.json | 28 +++++++++++
.../streams/pojo/json/objectTypes/review.json | 3 ++
.../streams/pojo/json/objectTypes/role.json | 25 ++++++++++
.../streams/pojo/json/objectTypes/task.json | 44 +++++++++++++++++
.../streams/pojo/json/objectTypes/team.json | 19 ++++++++
24 files changed, 521 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/pom.xml
----------------------------------------------------------------------
diff --git a/streams-pojo/pom.xml b/streams-pojo/pom.xml
index 860a301..157c70c 100644
--- a/streams-pojo/pom.xml
+++ b/streams-pojo/pom.xml
@@ -168,27 +168,45 @@
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/collection.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/media_link.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/object.json</sourcePath>
+ <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/alert.json</sourcePath>
+ <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/application.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/article.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/audio.json</sourcePath>
+ <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/badge.json</sourcePath>
+ <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/binary.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/bookmark.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/comment.json</sourcePath>
+ <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/device.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/event.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/file.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/folder.json</sourcePath>
+ <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/game.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/group.json</sourcePath>
+ <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/image.json</sourcePath>
+ <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/issue.json</sourcePath>
+ <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/job.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/list.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/note.json</sourcePath>
+ <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/offer.json</sourcePath>
+ <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/organization.json</sourcePath>
+ <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/page.json</sourcePath>
+ <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/permission.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/person.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/photo-album.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/photo.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/place.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/playlist.json</sourcePath>
+ <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/process.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/product.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/property.json</sourcePath>
+ <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/question.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/review.json</sourcePath>
+ <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/role.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/service.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/song.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/status.json</sourcePath>
+ <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/task.json</sourcePath>
+ <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/team.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/video.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/favorite.json</sourcePath>
<sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/follow.json</sourcePath>
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/alert.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/alert.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/alert.json
new file mode 100644
index 0000000..0ace5de
--- /dev/null
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/alert.json
@@ -0,0 +1,19 @@
+{
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "id": "#",
+ "type": "object",
+ "title": "alert",
+ "extends": {
+ "$ref": "../object.json"
+ },
+ "properties": {
+ "objectType": {
+ "type": "string",
+ "default": "alert"
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/application.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/application.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/application.json
new file mode 100644
index 0000000..ceb1208
--- /dev/null
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/application.json
@@ -0,0 +1,19 @@
+{
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "id": "#",
+ "type": "object",
+ "title": "application",
+ "extends": {
+ "$ref": "../object.json"
+ },
+ "properties": {
+ "objectType": {
+ "type": "string",
+ "default": "application"
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/badge.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/badge.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/badge.json
new file mode 100644
index 0000000..b743236
--- /dev/null
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/badge.json
@@ -0,0 +1,19 @@
+{
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "id": "#",
+ "type": "object",
+ "title": "badge",
+ "extends": {
+ "$ref": "../object.json"
+ },
+ "properties": {
+ "objectType": {
+ "type": "string",
+ "default": "badge"
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/binary.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/binary.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/binary.json
new file mode 100644
index 0000000..6673167
--- /dev/null
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/binary.json
@@ -0,0 +1,50 @@
+{
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "id": "#",
+ "type": "object",
+ "title": "binary",
+ "extends": {
+ "$ref": "../object.json"
+ },
+ "properties": {
+ "objectType": {
+ "type": "string",
+ "default": "binary"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "compression": {
+ "type": "string",
+ "enumeration": [
+ "deflate",
+ "gzip"
+ ]
+ },
+ "data": {
+ "type": "string"
+ },
+ "fileUrl": {
+ "type": "string"
+ },
+ "length": {
+ "type": "integer"
+ },
+ "md5": {
+ "type": "string"
+ },
+ "mimeType": {
+ "type": "string"
+ }
+ }
+ }
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/device.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/device.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/device.json
new file mode 100644
index 0000000..faea368
--- /dev/null
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/device.json
@@ -0,0 +1,19 @@
+{
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "id": "#",
+ "type": "object",
+ "title": "device",
+ "extends": {
+ "$ref": "../object.json"
+ },
+ "properties": {
+ "objectType": {
+ "type": "string",
+ "default": "device"
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/event.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/event.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/event.json
index 4338955..479213f 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/event.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/event.json
@@ -20,6 +20,32 @@
"objectType": {
"type": "string",
"default": "event"
+ },
+ "attendedBy": {
+ "type": "../collection.json"
+ },
+ "attending": {
+ "type": "../collection.json"
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "invited": {
+ "type": "../collection.json"
+ },
+ "maybeAttending": {
+ "type": "../collection.json"
+ },
+ "notAttendedBy": {
+ "type": "../collection.json"
+ },
+ "notAttending": {
+ "type": "../collection.json"
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time"
}
}
}
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/file.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/file.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/file.json
index 5a5392b..695ef98 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/file.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/file.json
@@ -14,6 +14,12 @@
"objectType": {
"type": "string",
"default": "file"
+ },
+ "fileUrl": {
+ "type": "string"
+ },
+ "mimeType": {
+ "type": "string"
}
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/game.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/game.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/game.json
new file mode 100644
index 0000000..5f13dfc
--- /dev/null
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/game.json
@@ -0,0 +1,19 @@
+{
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "id": "#",
+ "type": "object",
+ "title": "game",
+ "extends": {
+ "$ref": "../object.json"
+ },
+ "properties": {
+ "objectType": {
+ "type": "string",
+ "default": "game"
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/image.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/image.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/image.json
new file mode 100644
index 0000000..9216c64
--- /dev/null
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/image.json
@@ -0,0 +1,22 @@
+{
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "id": "#",
+ "type": "object",
+ "title": "image",
+ "extends": {
+ "$ref": "../object.json"
+ },
+ "properties": {
+ "objectType": {
+ "type": "string",
+ "default": "image"
+ },
+ "fullImage": {
+ "type": "string"
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/issue.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/issue.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/issue.json
new file mode 100644
index 0000000..29bfe44
--- /dev/null
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/issue.json
@@ -0,0 +1,25 @@
+{
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "id": "#",
+ "type": "object",
+ "title": "issue",
+ "extends": {
+ "$ref": "../object.json"
+ },
+ "properties": {
+ "objectType": {
+ "type": "string",
+ "default": "issue"
+ },
+ "types": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/job.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/job.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/job.json
new file mode 100644
index 0000000..2d82975
--- /dev/null
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/job.json
@@ -0,0 +1,19 @@
+{
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "id": "#",
+ "type": "object",
+ "title": "job",
+ "extends": {
+ "$ref": "../object.json"
+ },
+ "properties": {
+ "objectType": {
+ "type": "string",
+ "default": "job"
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/offer.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/offer.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/offer.json
new file mode 100644
index 0000000..38db718
--- /dev/null
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/offer.json
@@ -0,0 +1,19 @@
+{
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "id": "#",
+ "type": "object",
+ "title": "offer",
+ "extends": {
+ "$ref": "../object.json"
+ },
+ "properties": {
+ "objectType": {
+ "type": "string",
+ "default": "offer"
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/organization.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/organization.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/organization.json
new file mode 100644
index 0000000..a3fd5a2
--- /dev/null
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/organization.json
@@ -0,0 +1,19 @@
+{
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "id": "#",
+ "type": "object",
+ "title": "organization",
+ "extends": {
+ "$ref": "../object.json"
+ },
+ "properties": {
+ "objectType": {
+ "type": "string",
+ "default": "organization"
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/page.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/page.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/page.json
new file mode 100644
index 0000000..4f76aa2
--- /dev/null
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/page.json
@@ -0,0 +1,19 @@
+{
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "id": "#",
+ "type": "object",
+ "title": "page",
+ "extends": {
+ "$ref": "../object.json"
+ },
+ "properties": {
+ "objectType": {
+ "type": "string",
+ "default": "page"
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/permission.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/permission.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/permission.json
new file mode 100644
index 0000000..32b395c
--- /dev/null
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/permission.json
@@ -0,0 +1,36 @@
+{
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "id": "#",
+ "type": "object",
+ "title": "permission",
+ "extends": {
+ "$ref": "../object.json"
+ },
+ "properties": {
+ "objectType": {
+ "type": "string",
+ "default": "permission"
+ },
+ "scope": {
+ "type": "object",
+ "extends": {
+ "$ref": "../object.json"
+ }
+ },
+ "actions": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enumeration": [
+ "create",
+ "delete",
+ "modify"
+ ]
+ }
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/place.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/place.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/place.json
index 80af383..bb96a79 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/place.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/place.json
@@ -10,15 +10,34 @@
"extends": [
{
"$ref": "../object.json"
- },
- {
- "$ref": "http://www.json-schema.org/address"
}
],
"properties": {
"objectType": {
"type": "string",
- "default": "photo"
+ "default": "place"
+ },
+ "address": {
+ "type": "object",
+ "extends": [
+ {
+ "$ref": "http://www.json-schema.org/address"
+ }
+ ]
+ },
+ "position": {
+ "type": "object",
+ "properties": {
+ "altitude": {
+ "type": "number"
+ },
+ "latitude": {
+ "type": "number"
+ },
+ "longitude": {
+ "type": "number"
+ }
+ }
}
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/process.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/process.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/process.json
new file mode 100644
index 0000000..d717cc7
--- /dev/null
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/process.json
@@ -0,0 +1,19 @@
+{
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "id": "#",
+ "type": "object",
+ "title": "process",
+ "extends": {
+ "$ref": "../object.json"
+ },
+ "properties": {
+ "objectType": {
+ "type": "string",
+ "default": "process"
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/product.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/product.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/product.json
index 055b695..4e035cf 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/product.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/product.json
@@ -14,6 +14,12 @@
"objectType": {
"type": "string",
"default": "product"
+ },
+ "fullImage": {
+ "type": "object",
+ "extends": {
+ "$ref": "../media_link.json"
+ }
}
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/question.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/question.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/question.json
new file mode 100644
index 0000000..cccdfe0
--- /dev/null
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/question.json
@@ -0,0 +1,28 @@
+{
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "id": "#",
+ "type": "object",
+ "title": "question",
+ "extends": {
+ "$ref": "../object.json"
+ },
+ "properties": {
+ "objectType": {
+ "type": "string",
+ "default": "question"
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "extends": {
+ "$ref": "../object.json"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/review.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/review.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/review.json
index a3956e6..7629cb6 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/review.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/review.json
@@ -14,6 +14,9 @@
"objectType": {
"type": "string",
"default": "review"
+ },
+ "rating": {
+ "type": "number"
}
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/role.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/role.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/role.json
new file mode 100644
index 0000000..25524ab
--- /dev/null
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/role.json
@@ -0,0 +1,25 @@
+{
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "id": "#",
+ "type": "object",
+ "title": "role",
+ "extends": {
+ "$ref": "../object.json"
+ },
+ "properties": {
+ "objectType": {
+ "type": "string",
+ "default": "role"
+ },
+ "members": {
+ "type": "object",
+ "extends": {
+ "$ref": "../collection.json"
+ }
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/task.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/task.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/task.json
new file mode 100644
index 0000000..9bd0043
--- /dev/null
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/task.json
@@ -0,0 +1,44 @@
+{
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "id": "#",
+ "type": "object",
+ "title": "task",
+ "extends": {
+ "$ref": "../activity.json"
+ },
+ "properties": {
+ "objectType": {
+ "type": "string",
+ "default": "task"
+ },
+ "by": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "prerequisites": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "extends": {
+ "$ref": "./task.json"
+ }
+ }
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "supersedes": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "extends": {
+ "$ref": "./task.json"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0fb02481/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/team.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/team.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/team.json
new file mode 100644
index 0000000..37419a0
--- /dev/null
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/team.json
@@ -0,0 +1,19 @@
+{
+ "$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "id": "#",
+ "type": "object",
+ "title": "team",
+ "extends": {
+ "$ref": "../object.json"
+ },
+ "properties": {
+ "objectType": {
+ "type": "string",
+ "default": "team"
+ }
+ }
+}