added POJOs for remaining activity streams verbs
Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/441d1a07 Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/441d1a07 Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/441d1a07 Branch: refs/heads/asf-master Commit: 441d1a07760d420bed2547ebefd319032246dd1a Parents: a412b19 Author: sblackmon <sblack...@apache.org> Authored: Tue Feb 17 18:03:40 2015 -0600 Committer: sblackmon <sblack...@apache.org> Committed: Tue Feb 17 18:03:40 2015 -0600 ---------------------------------------------------------------------- streams-pojo/pom.xml | 74 ++++++++++++++++++++ .../apache/streams/pojo/json/verbs/accept.json | 24 +++++++ .../apache/streams/pojo/json/verbs/access.json | 24 +++++++ .../streams/pojo/json/verbs/acknowledge.json | 24 +++++++ .../org/apache/streams/pojo/json/verbs/add.json | 24 +++++++ .../apache/streams/pojo/json/verbs/agree.json | 24 +++++++ .../apache/streams/pojo/json/verbs/append.json | 24 +++++++ .../apache/streams/pojo/json/verbs/approve.json | 24 +++++++ .../apache/streams/pojo/json/verbs/archive.json | 24 +++++++ .../apache/streams/pojo/json/verbs/assign.json | 24 +++++++ .../org/apache/streams/pojo/json/verbs/at.json | 24 +++++++ .../apache/streams/pojo/json/verbs/attach.json | 24 +++++++ .../apache/streams/pojo/json/verbs/attend.json | 24 +++++++ .../apache/streams/pojo/json/verbs/author.json | 24 +++++++ .../streams/pojo/json/verbs/authorize.json | 24 +++++++ .../apache/streams/pojo/json/verbs/borrow.json | 24 +++++++ .../apache/streams/pojo/json/verbs/build.json | 24 +++++++ .../apache/streams/pojo/json/verbs/cancel.json | 24 +++++++ .../apache/streams/pojo/json/verbs/checkin.json | 24 +++++++ .../apache/streams/pojo/json/verbs/close.json | 24 +++++++ .../streams/pojo/json/verbs/complete.json | 24 +++++++ .../apache/streams/pojo/json/verbs/confirm.json | 24 +++++++ .../apache/streams/pojo/json/verbs/consume.json | 24 +++++++ .../apache/streams/pojo/json/verbs/create.json | 24 +++++++ .../apache/streams/pojo/json/verbs/delete.json | 24 +++++++ .../apache/streams/pojo/json/verbs/deliver.json | 24 +++++++ .../apache/streams/pojo/json/verbs/deny.json | 24 +++++++ .../streams/pojo/json/verbs/disagree.json | 24 +++++++ .../apache/streams/pojo/json/verbs/dislike.json | 24 +++++++ .../streams/pojo/json/verbs/experience.json | 24 +++++++ .../streams/pojo/json/verbs/favorite.json | 2 +- .../apache/streams/pojo/json/verbs/find.json | 24 +++++++ .../pojo/json/verbs/flag-as-inappropriate.json | 24 +++++++ .../apache/streams/pojo/json/verbs/follow.json | 2 +- .../apache/streams/pojo/json/verbs/give.json | 24 +++++++ .../apache/streams/pojo/json/verbs/host.json | 24 +++++++ .../apache/streams/pojo/json/verbs/ignore.json | 24 +++++++ .../apache/streams/pojo/json/verbs/insert.json | 24 +++++++ .../apache/streams/pojo/json/verbs/install.json | 24 +++++++ .../streams/pojo/json/verbs/interact.json | 24 +++++++ .../apache/streams/pojo/json/verbs/invite.json | 24 +++++++ .../apache/streams/pojo/json/verbs/join.json | 2 +- .../apache/streams/pojo/json/verbs/leave.json | 24 +++++++ .../apache/streams/pojo/json/verbs/like.json | 2 +- .../apache/streams/pojo/json/verbs/listen.json | 24 +++++++ .../apache/streams/pojo/json/verbs/lose.json | 24 +++++++ .../streams/pojo/json/verbs/make-friend.json | 2 +- .../apache/streams/pojo/json/verbs/open.json | 24 +++++++ .../apache/streams/pojo/json/verbs/play.json | 2 +- .../apache/streams/pojo/json/verbs/present.json | 24 +++++++ .../streams/pojo/json/verbs/purchase.json | 24 +++++++ .../apache/streams/pojo/json/verbs/qualify.json | 24 +++++++ .../apache/streams/pojo/json/verbs/read.json | 24 +++++++ .../apache/streams/pojo/json/verbs/receive.json | 24 +++++++ .../apache/streams/pojo/json/verbs/reject.json | 24 +++++++ .../streams/pojo/json/verbs/remove-friend.json | 24 +++++++ .../apache/streams/pojo/json/verbs/remove.json | 24 +++++++ .../apache/streams/pojo/json/verbs/replace.json | 24 +++++++ .../streams/pojo/json/verbs/request-friend.json | 24 +++++++ .../apache/streams/pojo/json/verbs/request.json | 24 +++++++ .../apache/streams/pojo/json/verbs/resolve.json | 24 +++++++ .../apache/streams/pojo/json/verbs/retract.json | 24 +++++++ .../apache/streams/pojo/json/verbs/return.json | 24 +++++++ .../streams/pojo/json/verbs/rsvp-maybe.json | 2 +- .../apache/streams/pojo/json/verbs/satisfy.json | 24 +++++++ .../apache/streams/pojo/json/verbs/save.json | 2 +- .../streams/pojo/json/verbs/schedule.json | 24 +++++++ .../apache/streams/pojo/json/verbs/search.json | 24 +++++++ .../apache/streams/pojo/json/verbs/sell.json | 24 +++++++ .../apache/streams/pojo/json/verbs/send.json | 24 +++++++ .../apache/streams/pojo/json/verbs/sponsor.json | 24 +++++++ .../apache/streams/pojo/json/verbs/start.json | 24 +++++++ .../streams/pojo/json/verbs/stop-following.json | 24 +++++++ .../apache/streams/pojo/json/verbs/submit.json | 24 +++++++ .../org/apache/streams/pojo/json/verbs/tag.json | 4 +- .../streams/pojo/json/verbs/terminate.json | 24 +++++++ .../org/apache/streams/pojo/json/verbs/tie.json | 24 +++++++ .../streams/pojo/json/verbs/unfavorite.json | 24 +++++++ .../apache/streams/pojo/json/verbs/unlike.json | 24 +++++++ .../streams/pojo/json/verbs/unsatisfy.json | 24 +++++++ .../apache/streams/pojo/json/verbs/unsave.json | 24 +++++++ .../apache/streams/pojo/json/verbs/unshare.json | 24 +++++++ .../apache/streams/pojo/json/verbs/update.json | 2 +- .../org/apache/streams/pojo/json/verbs/use.json | 24 +++++++ .../apache/streams/pojo/json/verbs/watch.json | 24 +++++++ .../org/apache/streams/pojo/json/verbs/win.json | 24 +++++++ .../src/test/resources/activities/post.json | 0 .../src/test/resources/activities/receive.json | 16 +++++ .../src/test/resources/activities/recieve.json | 16 ----- 89 files changed, 1901 insertions(+), 27 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/pom.xml ---------------------------------------------------------------------- diff --git a/streams-pojo/pom.xml b/streams-pojo/pom.xml index fea605a..1f81af2 100644 --- a/streams-pojo/pom.xml +++ b/streams-pojo/pom.xml @@ -206,20 +206,94 @@ <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/video.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/accept.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/access.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/acknowledge.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/add.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/agree.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/append.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/approve.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/archive.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/assign.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/at.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/attach.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/attend.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/author.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/authorize.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/borrow.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/build.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/cancel.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/checkin.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/close.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/complete.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/confirm.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/consume.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/create.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/delete.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/deliver.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/deny.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/disagree.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/dislike.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/experience.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/find.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/flag-as-inappropriate.json</sourcePath> <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/follow.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/give.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/host.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/ignore.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/insert.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/install.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/interact.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/invite.json</sourcePath> <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/join.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/leave.json</sourcePath> <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/like.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/listen.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/lose.json</sourcePath> <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/make-friend.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/open.json</sourcePath> <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/play.json</sourcePath> <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/post.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/present.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/purchase.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/qualify.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/read.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/receive.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/reject.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/remove.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/remove-friend.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/replace.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/request.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/request-friend.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/resolve.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/retract.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/return.json</sourcePath> <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/rsvp-maybe.json</sourcePath> <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/rsvp-no.json</sourcePath> <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/rsvp-yes.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/satisfy.json</sourcePath> <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/save.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/schedule.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/search.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/sell.json</sourcePath> <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/share.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/sponsor.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/start.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/stop-following.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/submit.json</sourcePath> <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/tag.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/terminate.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/tie.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/unfavorite.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/unlike.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/unsatisfy.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/unsave.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/unshare.json</sourcePath> <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/update.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/use.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/watch.json</sourcePath> + <sourcePath>src/main/jsonschema/org/apache/streams/pojo/json/verbs/win.json</sourcePath> </sourcePaths> <outputDirectory>target/generated-sources/jsonschema2pojo</outputDirectory> <targetPackage>org.apache.streams.pojo.json</targetPackage> http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/accept.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/accept.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/accept.json new file mode 100644 index 0000000..a9f91fe --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/accept.json @@ -0,0 +1,24 @@ +{ + "$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": "Accept", + "description": "Indicates that that the actor has accepted the object. For instance, a person accepting an award, or accepting an assignment.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "accept" + }, + "title": { + "type": "string", + "default": "{actor.displayName} accepted {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/access.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/access.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/access.json new file mode 100644 index 0000000..156e3cb --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/access.json @@ -0,0 +1,24 @@ +{ + "$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": "Access", + "description": "Indicates that the actor has accessed the object. For instance, a person accessing a room, or accessing a file.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "access" + }, + "title": { + "type": "string", + "default": "{actor.displayName} accessed {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/acknowledge.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/acknowledge.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/acknowledge.json new file mode 100644 index 0000000..2e84c43 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/acknowledge.json @@ -0,0 +1,24 @@ +{ + "$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": "Acknowledge", + "description": "Indicates that the actor has acknowledged the object. This effectively signals that the actor is aware of the object's existence.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "acknowledge" + }, + "title": { + "type": "string", + "default": "{actor.displayName} acknowledge {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/add.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/add.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/add.json new file mode 100644 index 0000000..cec0c58 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/add.json @@ -0,0 +1,24 @@ +{ + "$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": "Add", + "description": "Indicates that the actor has added the object to the target. For instance, adding a photo to an album.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "add" + }, + "title": { + "type": "string", + "default": "{actor.displayName} added {object.displayName} to {target.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/agree.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/agree.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/agree.json new file mode 100644 index 0000000..5095153 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/agree.json @@ -0,0 +1,24 @@ +{ + "$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": "Agree", + "description": "Indicates that the actor agrees with the object. For example, a person agreeing with an argument, or expressing agreement with a particular issue.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "agree" + }, + "title": { + "type": "string", + "default": "{actor.displayName} agrees with {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/append.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/append.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/append.json new file mode 100644 index 0000000..648d192 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/append.json @@ -0,0 +1,24 @@ +{ + "$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": "Append", + "description": "Indicates that the actor has appended the object to the target. For instance, a person appending a new record to a database.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "append" + }, + "title": { + "type": "string", + "default": "{actor.displayName} append {object.displayName} to {target.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/approve.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/approve.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/approve.json new file mode 100644 index 0000000..ec66f9b --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/approve.json @@ -0,0 +1,24 @@ +{ + "$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": "Approve", + "description": "Indicates that the actor has approved the object. For instance, a manager might approve a travel request.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "approve" + }, + "title": { + "type": "string", + "default": "{actor.displayName} approved {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/archive.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/archive.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/archive.json new file mode 100644 index 0000000..24aea16 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/archive.json @@ -0,0 +1,24 @@ +{ + "$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": "Archive", + "description": "Indicates that the actor has archived the object.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "archive" + }, + "title": { + "type": "string", + "default": "{actor.displayName} archived {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/assign.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/assign.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/assign.json new file mode 100644 index 0000000..8fe5458 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/assign.json @@ -0,0 +1,24 @@ +{ + "$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": "Assign", + "description": "Indicates that the actor has assigned the object to the target.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "assign" + }, + "title": { + "type": "string", + "default": "{actor.displayName} assigned {object.displayName} to {target.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/at.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/at.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/at.json new file mode 100644 index 0000000..42c1222 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/at.json @@ -0,0 +1,24 @@ +{ + "$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": "At", + "description": "Indicates that the actor is currently located at the object. For instance, a person being at a specific physical location.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "assign" + }, + "title": { + "type": "string", + "default": "{actor.displayName} assigned {object.displayName} to {target.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/attach.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/attach.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/attach.json new file mode 100644 index 0000000..77ff605 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/attach.json @@ -0,0 +1,24 @@ +{ + "$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": "Attach", + "description": "Indicates that the actor has attached the object to the target.For instance, a person attaching a file to a wiki page or an email.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "attach" + }, + "title": { + "type": "string", + "default": "{actor.displayName} attached {object.displayName} to {target.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/attend.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/attend.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/attend.json new file mode 100644 index 0000000..07e60fd --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/attend.json @@ -0,0 +1,24 @@ +{ + "$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": "Attend", + "description": "Indicates that the actor has attended the object. For instance, a person attending a meeting.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "attend" + }, + "title": { + "type": "string", + "default": "{actor.displayName} attended {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/author.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/author.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/author.json new file mode 100644 index 0000000..b7aab62 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/author.json @@ -0,0 +1,24 @@ +{ + "$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": "Author", + "description": "Indicates that the actor has authored the object. Note that this is a more specific form of the verb \"create\".", + "extends": { + "$ref": "./create.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "create" + }, + "title": { + "type": "string", + "default": "{actor.displayName} created {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/authorize.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/authorize.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/authorize.json new file mode 100644 index 0000000..7439b06 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/authorize.json @@ -0,0 +1,24 @@ +{ + "$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": "Authorize", + "description": "Indicates that the actor has authorized the object. If a target is specified, it means that the authorization is specifically in regards to the target. For instance, a service can authorize a person to access a given application; in which case the actor is the service, the object is the person, and the target is the application. In contrast, a person can authorize a request; in which case the actor is the person and the object is the request and there might be no explicit target.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "authorize" + }, + "title": { + "type": "string", + "default": "{actor.displayName} authorized {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/borrow.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/borrow.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/borrow.json new file mode 100644 index 0000000..ede59c1 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/borrow.json @@ -0,0 +1,24 @@ +{ + "$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": "Borrow", + "description": "Indicates that the actor has borrowed the object. If a target is specified, it identifies the entity from which the object was borrowed. For instance, if a person borrows a book from a library, the person is the actor, the book is the object and the library is the target.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "borrow" + }, + "title": { + "type": "string", + "default": "{actor.displayName} borrow {object.displayName} from {target.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/build.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/build.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/build.json new file mode 100644 index 0000000..a90441f --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/build.json @@ -0,0 +1,24 @@ +{ + "$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": "Build", + "description": "Indicates that the actor has built the object. For example, if a person builds a model or compiles code.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "build" + }, + "title": { + "type": "string", + "default": "{actor.displayName} built {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/cancel.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/cancel.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/cancel.json new file mode 100644 index 0000000..4ab2406 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/cancel.json @@ -0,0 +1,24 @@ +{ + "$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": "Cancel", + "description": "Indicates that the actor has canceled the object. For instance, canceling a calendar event.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "cancel" + }, + "title": { + "type": "string", + "default": "{actor.displayName} cancelled {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/checkin.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/checkin.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/checkin.json new file mode 100644 index 0000000..d59a8c2 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/checkin.json @@ -0,0 +1,24 @@ +{ + "$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": "checkin", + "description": "Indicates that the actor has checked-in to the object. For instance, a person checking-in to a Place.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "checkin" + }, + "title": { + "type": "string", + "default": "{actor.displayName} checked in at {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/close.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/close.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/close.json new file mode 100644 index 0000000..7aa049d --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/close.json @@ -0,0 +1,24 @@ +{ + "$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": "Close", + "description": "Indicates that the actor has closed the object. For instance, the object could represent a ticket being tracked in an issue management system.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "close" + }, + "title": { + "type": "string", + "default": "{actor.displayName} closed {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/complete.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/complete.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/complete.json new file mode 100644 index 0000000..4a95d48 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/complete.json @@ -0,0 +1,24 @@ +{ + "$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": "Complete", + "description": "Indicates that the actor has completed the object", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "complete" + }, + "title": { + "type": "string", + "default": "{actor.displayName} completed {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/confirm.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/confirm.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/confirm.json new file mode 100644 index 0000000..aa8d45c --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/confirm.json @@ -0,0 +1,24 @@ +{ + "$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": "Confirm", + "description": "Indicates that the actor has confirmed or agrees with the object. For instance, a software developer might confirm an issue reported against a product.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "confirm" + }, + "title": { + "type": "string", + "default": "{actor.displayName} confirmed {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/consume.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/consume.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/consume.json new file mode 100644 index 0000000..3dc558a --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/consume.json @@ -0,0 +1,24 @@ +{ + "$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": "Consume", + "description": "Indicates that the actor has consumed the object. The specific meaning is dependent largely on the object's type. For instance, an actor may \"consume\" an audio object, indicating that the actor has listened to it; or an actor may \"consume\" a book, indicating that the book has been read. As such, the \"consume\" verb is a more generic form of other more specific verbs such as \"read\" and \"play\".", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "consume" + }, + "title": { + "type": "string", + "default": "{actor.displayName} consumed {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/create.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/create.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/create.json new file mode 100644 index 0000000..dda3012 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/create.json @@ -0,0 +1,24 @@ +{ + "$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": "Create", + "description": "Indicates that the actor has created the object.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "create" + }, + "title": { + "type": "string", + "default": "{actor.displayName} created {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/delete.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/delete.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/delete.json new file mode 100644 index 0000000..39966c9 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/delete.json @@ -0,0 +1,24 @@ +{ + "$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": "Delete", + "description": "Indicates that the actor has deleted the object.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "delete" + }, + "title": { + "type": "string", + "default": "{actor.displayName} deleted {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/deliver.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/deliver.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/deliver.json new file mode 100644 index 0000000..a4b5648 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/deliver.json @@ -0,0 +1,24 @@ +{ + "$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": "Deliver", + "description": "Indicates that the actor has delivered the object. For example, delivering a package.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "deliver" + }, + "title": { + "type": "string", + "default": "{actor.displayName} delivered {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/deny.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/deny.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/deny.json new file mode 100644 index 0000000..5bf473b --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/deny.json @@ -0,0 +1,24 @@ +{ + "$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": "Deny", + "description": "Indicates that the actor has denied the object. For example, a manager may deny a travel request.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "deny" + }, + "title": { + "type": "string", + "default": "{actor.displayName} denied {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/disagree.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/disagree.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/disagree.json new file mode 100644 index 0000000..b2eb0c2 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/disagree.json @@ -0,0 +1,24 @@ +{ + "$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": "Disagree", + "description": "Indicates that the actor disagrees with the object.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "disagree" + }, + "title": { + "type": "string", + "default": "{actor.displayName} disagrees with {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/dislike.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/dislike.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/dislike.json new file mode 100644 index 0000000..e33cb26 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/dislike.json @@ -0,0 +1,24 @@ +{ + "$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": "Dislike", + "description": "Indicates that the actor dislikes the object. Note that the \"dislike\" verb is distinct from the \"unlike\" verb which assumes that the object had been previously \"liked\".", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "dislike" + }, + "title": { + "type": "string", + "default": "{actor.displayName} dislikes {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/experience.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/experience.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/experience.json new file mode 100644 index 0000000..b760a5d --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/experience.json @@ -0,0 +1,24 @@ +{ + "$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": "Experience", + "description": "Indicates that the actor has experienced the object in some manner. Note that, depending on the specific object types used for both the actor and object, the meaning of this verb can overlap that of the \"consume\" and \"play\" verbs. For instance, a person might \"experience\" a movie; or \"play\" the movie; or \"consume\" the movie. The \"experience\" verb can be considered a more generic form of other more specific verbs as \"consume\", \"play\", \"watch\", \"listen\", and \"read\"", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "experience" + }, + "title": { + "type": "string", + "default": "{actor.displayName} experienced {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/favorite.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/favorite.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/favorite.json index ab07e6e..fa7afa3 100644 --- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/favorite.json +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/favorite.json @@ -7,7 +7,7 @@ "id": "#", "type": "object", "title": "Favorite", - "description": "To mark an object as a favorite", + "description": "Indicates that the actor marked the object as an item of special interest.", "extends": { "$ref": "../activity.json" }, http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/find.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/find.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/find.json new file mode 100644 index 0000000..b1a7dacc --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/find.json @@ -0,0 +1,24 @@ +{ + "$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": "Find", + "description": "Indicates that the actor has found the object.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "find" + }, + "title": { + "type": "string", + "default": "{actor.displayName} found {object.displayName}." + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/flag-as-inappropriate.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/flag-as-inappropriate.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/flag-as-inappropriate.json new file mode 100644 index 0000000..e6657aa --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/flag-as-inappropriate.json @@ -0,0 +1,24 @@ +{ + "$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": "Flag-As-Inappropriate", + "description": "Indicates that the actor has flagged the object as being inappropriate for some reason. When using this verb, the context property can be used to provide additional detail about why the object has been flagged.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "flag-as-inappropriate" + }, + "title": { + "type": "string", + "default": "{actor.displayName} flagged {object.displayName} as inappropriate." + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/follow.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/follow.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/follow.json index fcae35a..8f50b89 100644 --- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/follow.json +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/follow.json @@ -7,7 +7,7 @@ "id": "#", "type": "object", "title": "Follow", - "description": "To start following an object", + "description": "Indicates that the actor began following the activity of the object. In most cases, the objectType will be a \"person\", but it can potentially be of any type that can sensibly generate activity. Processors MAY ignore (silently drop) successive identical \"follow\" activities.", "extends": { "$ref": "../activity.json" }, http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/give.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/give.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/give.json new file mode 100644 index 0000000..a9b6e74 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/give.json @@ -0,0 +1,24 @@ +{ + "$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": "Give", + "description": "Indicates that the actor is giving an object to the target. Examples include one person giving a badge object to another person. The object identifies the object being given. The target identifies the receiver.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "give" + }, + "title": { + "type": "string", + "default": "{actor.displayName} gave {object.displayName} to {target.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/host.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/host.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/host.json new file mode 100644 index 0000000..8c59cd0 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/host.json @@ -0,0 +1,24 @@ +{ + "$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": "Host", + "description": "Indicates that the actor is hosting the object. As in hosting an event, or hosting a service.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "host" + }, + "title": { + "type": "string", + "default": "{actor.displayName} is hosting {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/ignore.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/ignore.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/ignore.json new file mode 100644 index 0000000..442de31 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/ignore.json @@ -0,0 +1,24 @@ +{ + "$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": "Ignore", + "description": "Indicates that the actor has ignored the object. For instance, this verb may be used when an actor has ignored a friend request, in which case the object may be the request-friend activity.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "ignore" + }, + "title": { + "type": "string", + "default": "{actor.displayName} ignored {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/insert.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/insert.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/insert.json new file mode 100644 index 0000000..99db2ec --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/insert.json @@ -0,0 +1,24 @@ +{ + "$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": "Insert", + "description": "Indicates that the actor has inserted the object into the target.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "insert" + }, + "title": { + "type": "string", + "default": "{actor.displayName} inserted {object.displayName} into {target.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/install.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/install.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/install.json new file mode 100644 index 0000000..e3d6e0c --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/install.json @@ -0,0 +1,24 @@ +{ + "$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": "Install", + "description": "Indicates that the actor has installed the object, as in installing an application.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "install" + }, + "title": { + "type": "string", + "default": "{actor.displayName} installed {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/interact.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/interact.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/interact.json new file mode 100644 index 0000000..d589ce4 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/interact.json @@ -0,0 +1,24 @@ +{ + "$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": "Interact", + "description": "Indicates that the actor has interacted with the object. For instance, when one person interacts with another.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "interact" + }, + "title": { + "type": "string", + "default": "{actor.displayName} interacted with {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/invite.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/invite.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/invite.json new file mode 100644 index 0000000..34a8691 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/invite.json @@ -0,0 +1,24 @@ +{ + "$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": "Invite", + "description": "Indicates that the actor has invited the object, typically a person object, to join or participate in the object described by the target. The target could, for instance, be an event, group or a service.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "invite" + }, + "title": { + "type": "string", + "default": "{actor.displayName} invited {object.displayName} to {target.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/join.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/join.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/join.json index 9efd513..78daed8 100644 --- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/join.json +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/join.json @@ -7,7 +7,7 @@ "id": "#", "type": "object", "title": "Join", - "description": "To join an object. Usually a group", + "description": "Indicates that the actor has become a member of the object.", "extends": { "$ref": "../activity.json" }, http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/leave.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/leave.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/leave.json new file mode 100644 index 0000000..1ce73bc --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/leave.json @@ -0,0 +1,24 @@ +{ + "$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": "Leave", + "description": "Indicates that the actor has left the object. For instance, a Person leaving a Group or checking-out of a Place.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "leave" + }, + "title": { + "type": "string", + "default": "{actor.displayName} left {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/like.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/like.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/like.json index 12cab08..4ac1bf7 100644 --- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/like.json +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/like.json @@ -7,7 +7,7 @@ "id": "#", "type": "object", "title": "Like", - "description": "To like an object", + "description": "Indicates that the actor marked the object as an item of special interest.", "extends": { "$ref": "../activity.json" }, http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/listen.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/listen.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/listen.json new file mode 100644 index 0000000..3476144 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/listen.json @@ -0,0 +1,24 @@ +{ + "$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": "Listen", + "description": "Indicates that the actor has listened to the object. This is typically only applicable for objects representing audio content, such as music, an audio-book, or a radio broadcast.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "listen" + }, + "title": { + "type": "string", + "default": "{actor.displayName} listened to {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/lose.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/lose.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/lose.json new file mode 100644 index 0000000..60899ba --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/lose.json @@ -0,0 +1,24 @@ +{ + "$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": "Lose", + "description": "Indicates that the actor has lost the object. For instance, if a person loses a game.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "lose" + }, + "title": { + "type": "string", + "default": "{actor.displayName} lost {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/make-friend.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/make-friend.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/make-friend.json index edd1c46..a6440f1 100644 --- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/make-friend.json +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/make-friend.json @@ -7,7 +7,7 @@ "id": "#", "type": "object", "title": "Befriend", - "description": "To friend an object. Usually a person", + "description": "Indicates the creation of a friendship that is reciprocated by the object.", "extends": { "$ref": "../activity.json" }, http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/open.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/open.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/open.json new file mode 100644 index 0000000..0145bab --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/open.json @@ -0,0 +1,24 @@ +{ + "$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": "Open", + "description": "Indicates that the actor has opened the object. For instance, the object could represent a ticket being tracked in an issue management system.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "open" + }, + "title": { + "type": "string", + "default": "{actor.displayName} opened {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/play.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/play.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/play.json index 95c8e9a..3f25748 100644 --- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/play.json +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/play.json @@ -7,7 +7,7 @@ "id": "#", "type": "object", "title": "Play", - "description": "To play an object", + "description": "Indicates that the actor spent some time enjoying the object. For example, if the object is a video this indicates that the subject watched all or part of the video.", "extends": { "$ref": "../activity.json" }, http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/present.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/present.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/present.json new file mode 100644 index 0000000..bcfb1dc --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/present.json @@ -0,0 +1,24 @@ +{ + "$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": "Present", + "description": "Indicates that the actor has presented the object. For instance, when a person gives a presentation at a conference.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "present" + }, + "title": { + "type": "string", + "default": "{actor.displayName} presented {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/purchase.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/purchase.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/purchase.json new file mode 100644 index 0000000..303386a --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/purchase.json @@ -0,0 +1,24 @@ +{ + "$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": "Purchase", + "description": "Indicates that the actor has purchased the object. If a target is specified, in indicates the entity from which the object was purchased.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "purchase" + }, + "title": { + "type": "string", + "default": "{actor.displayName} purchased {object.displayName} from {target.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/qualify.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/qualify.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/qualify.json new file mode 100644 index 0000000..974448f --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/qualify.json @@ -0,0 +1,24 @@ +{ + "$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": "Qualify", + "description": "Indicates that the actor has qualified for the object. If a target is specified, it indicates the context within which the qualification applies.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "qualify" + }, + "title": { + "type": "string", + "default": "{actor.displayName} qualified {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/read.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/read.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/read.json new file mode 100644 index 0000000..e797f41 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/read.json @@ -0,0 +1,24 @@ +{ + "$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": "Read", + "description": "Indicates that the actor read the object. This is typically only applicable for objects representing printed or written content, such as a book, a message or a comment.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "read" + }, + "title": { + "type": "string", + "default": "{actor.displayName} read {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/receive.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/receive.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/receive.json new file mode 100644 index 0000000..0d44aef --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/receive.json @@ -0,0 +1,24 @@ +{ + "$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": "Receive", + "description": "Indicates that the actor is receiving an object. Examples include a person receiving a badge object. The object identifies the object being received.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "receive" + }, + "title": { + "type": "string", + "default": "{actor.displayName} received {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/reject.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/reject.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/reject.json new file mode 100644 index 0000000..b82fac7 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/reject.json @@ -0,0 +1,24 @@ +{ + "$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": "Reject", + "description": "Indicates that the actor has rejected the object.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "reject" + }, + "title": { + "type": "string", + "default": "{actor.displayName} rejected {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/remove-friend.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/remove-friend.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/remove-friend.json new file mode 100644 index 0000000..073441d --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/remove-friend.json @@ -0,0 +1,24 @@ +{ + "$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": "UnFriend", + "description": "Indicates that the actor has removed the object from the collection of friends.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "remove-friend" + }, + "title": { + "type": "string", + "default": "{actor.displayName} removed friend {object.displayName}" + } + } +}