http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/remove.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/remove.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/remove.json new file mode 100644 index 0000000..5b694db --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/remove.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": "Remove", + "description": "Indicates that the actor has removed the object from the target.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "remove" + }, + "title": { + "type": "string", + "default": "{actor.displayName} removed {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/replace.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/replace.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/replace.json new file mode 100644 index 0000000..198c8c5 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/replace.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": "Replace", + "description": "Indicates that the actor has replaced the target with the object.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "replace" + }, + "title": { + "type": "string", + "default": "{actor.displayName} replaced {target.displayName} 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/request-friend.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/request-friend.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/request-friend.json new file mode 100644 index 0000000..9e246ca --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/request-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": "RequestFriend", + "description": "Indicates the creation of a friendship that has not yet been reciprocated by the object.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "request-friend" + }, + "title": { + "type": "string", + "default": "{actor.displayName} sent a friend request 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/request.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/request.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/request.json new file mode 100644 index 0000000..35807f5 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/request.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": "Request", + "description": "Indicates that the actor has requested the object. If a target is specified, it indicates the entity from which the object is being requested.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "request" + }, + "title": { + "type": "string", + "default": "{actor.displayName} requested {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/resolve.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/resolve.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/resolve.json new file mode 100644 index 0000000..0b71ce3 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/resolve.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": "Resolve", + "description": "Indicates that the actor has resolved 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": "resolve" + }, + "title": { + "type": "string", + "default": "{actor.displayName} resolved {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/retract.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/retract.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/retract.json new file mode 100644 index 0000000..ff7cbe7 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/retract.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": "Retract", + "description": "Indicates that the actor has retracted the object. For instance, if an actor wishes to retract a previously published activity, the object would be the previously published activity that is being retracted.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "retract" + }, + "title": { + "type": "string", + "default": "{actor.displayName} retracted {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/return.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/return.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/return.json new file mode 100644 index 0000000..14a8cfb --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/return.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": "Return", + "description": "Indicates that the actor has returned the object. If a target is specified, it indicates the entity to which the object was returned.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "return" + }, + "title": { + "type": "string", + "default": "{actor.displayName} returned {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/rsvp-maybe.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/rsvp-maybe.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/rsvp-maybe.json index 5abf795..4838406 100644 --- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/rsvp-maybe.json +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/rsvp-maybe.json @@ -18,7 +18,7 @@ }, "title": { "type": "string", - "default": "{actor.displayName} may be attending {object.displayName}" + "default": "{actor.displayName} might attend {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/satisfy.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/satisfy.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/satisfy.json new file mode 100644 index 0000000..a719680 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/satisfy.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": "Satisfy", + "description": "Indicates that the actor has satisfied the object. If a target is specified, it indicate the context within which the object was satisfied. For instance, if a person satisfies the requirements for a particular challenge, the person is the actor; the requirement is the object; and the challenge is the target.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "satisfy" + }, + "title": { + "type": "string", + "default": "{actor.displayName} has satisfied {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/save.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/save.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/save.json index f9cfd33..1bdbc4b 100644 --- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/save.json +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/save.json @@ -7,7 +7,7 @@ "id": "#", "type": "object", "title": "Save", - "description": "To save an object", + "description": "Indicates that the actor has called out the object as being of interest primarily to him- or herself. Though this action MAY be shared publicly, the implication is that the object has been saved primarily for the actor's own benefit rather than to show it to others as would be indicated by the \"share\" verb.", "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/schedule.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/schedule.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/schedule.json new file mode 100644 index 0000000..a9824a3 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/schedule.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": "Schedule", + "description": "Indicates that the actor has scheduled the object. For instance, scheduling a meeting.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "schedule" + }, + "title": { + "type": "string", + "default": "{actor.displayName} scheduled {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/search.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/search.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/search.json new file mode 100644 index 0000000..3263bbb --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/search.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": "Search", + "description": "Indicates that the actor is or has searched for the object. If a target is specified, it indicates the context within which the search is or has been conducted.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "satisfy" + }, + "title": { + "type": "string", + "default": "{actor.displayName} search for {object.displayName} in {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/sell.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/sell.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/sell.json new file mode 100644 index 0000000..16aa351 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/sell.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": "Sell", + "description": "Indicates that the actor has sold the object. If a target is specified, it indicates the entity to which the object was sold.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "sell" + }, + "title": { + "type": "string", + "default": "{actor.displayName} sold {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/send.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/send.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/send.json new file mode 100644 index 0000000..ead4108 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/send.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": "Share", + "description": "Indicates that the actor has called out the object to readers. In most cases, the actor did not create the object being shared, but is instead drawing attention to it.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "share" + }, + "title": { + "type": "string", + "default": "{actor.displayName} shared {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/sponsor.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/sponsor.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/sponsor.json new file mode 100644 index 0000000..cc6f5cf --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/sponsor.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": "Sponsor", + "description": "Indicates that the actor has sponsored the object. If a target is specified, it indicates the context within which the sponsorship is offered. For instance, a company can sponsor an event; or an individual can sponsor a project; etc.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "sponsor" + }, + "title": { + "type": "string", + "default": "{actor.displayName} sponsored {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/start.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/start.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/start.json new file mode 100644 index 0000000..61eaf06 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/start.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": "Start", + "description": "Indicates that the actor has started the object. For instance, when a person starts a project.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "start" + }, + "title": { + "type": "string", + "default": "{actor.displayName} started {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/stop-following.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/stop-following.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/stop-following.json new file mode 100644 index 0000000..e09317d --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/stop-following.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": "UnFollow", + "description": "Indicates that the actor has stopped following the object.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "follow" + }, + "title": { + "type": "string", + "default": "{actor.displayName} stopped following {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/submit.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/submit.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/submit.json new file mode 100644 index 0000000..c1d25b1 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/submit.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": "Submit", + "description": "Indicates that the actor has submitted the object. If a target is specified, it indicates the entity to which the object was submitted.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "submit" + }, + "title": { + "type": "string", + "default": "{actor.displayName} submitted {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/tag.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/tag.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/tag.json index 0d19f07..6208eae 100644 --- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/tag.json +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/tag.json @@ -7,7 +7,7 @@ "id": "#", "type": "object", "title": "Tag", - "description": "To tag an object. Ex: A person being tagged in a photo", + "description": "Indicates that the actor has associated the object with the target. For example, if the actor specifies that a particular user appears in a photo. the object is the user and the target is the photo.", "extends": { "$ref": "../activity.json" }, @@ -18,7 +18,7 @@ }, "title": { "type": "string", - "default": "{actor.displayName} tagged {object.displayName} in {target.displayName}" + "default": "{actor.displayName} tagged {object.displayName} as {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/terminate.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/terminate.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/terminate.json new file mode 100644 index 0000000..280eb31 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/terminate.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": "Terminate", + "description": "Indicates that the actor has terminated the object.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "terminate" + }, + "title": { + "type": "string", + "default": "{actor.displayName} terminated {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/tie.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/tie.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/tie.json new file mode 100644 index 0000000..7530ed2 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/tie.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": "Tie", + "description": "Indicates that the actor has neither won or lost the object. This verb is generally only applicable when the object represents some form of competition, such as a game.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "tie" + }, + "title": { + "type": "string", + "default": "{actor.displayName} tied 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/unfavorite.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/unfavorite.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/unfavorite.json new file mode 100644 index 0000000..bfa9c20 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/unfavorite.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": "UnFavorite", + "description": "Indicates that the actor has removed the object from the collection of favorited items.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "unfavorite" + }, + "title": { + "type": "string", + "default": "{actor.displayName} removed {object.displayName} as a favorite" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/unlike.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/unlike.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/unlike.json new file mode 100644 index 0000000..4dc75f6 --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/unlike.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": "UnLike", + "description": "Indicates that the actor has removed the object from the collection of liked items.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "unlike" + }, + "title": { + "type": "string", + "default": "{actor.displayName} no longer likes {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/unsatisfy.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/unsatisfy.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/unsatisfy.json new file mode 100644 index 0000000..8ea075b --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/unsatisfy.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": "UnSatisfy", + "description": "Indicates that the actor has not satisfied the object. If a target is specified, it indicates the context within which the object was not satisfied. For instance, if a person fails to satisfy the requirements of some particular challenge, the person is the actor; the requirement is the object and the challenge is the target.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "unsatisfy" + }, + "title": { + "type": "string", + "default": "{actor.displayName} has not satisfied {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/unsave.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/unsave.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/unsave.json new file mode 100644 index 0000000..e45a97f --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/unsave.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": "UnSave", + "description": "Indicates that the actor has removed the object from the collection of saved items.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "unsave" + }, + "title": { + "type": "string", + "default": "{actor.displayName} unsaved {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/unshare.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/unshare.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/unshare.json new file mode 100644 index 0000000..4ca924b --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/unshare.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": "UnSave", + "description": "Indicates that the actor is no longer sharing the object. If a target is specified, it indicates the entity with whom the object is no longer being shared.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "unshare" + }, + "title": { + "type": "string", + "default": "{actor.displayName} is no longer sharing {object.displayName} with {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/update.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/update.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/update.json index 237ef04..4b143fc 100644 --- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/update.json +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/update.json @@ -7,7 +7,7 @@ "id": "#", "type": "object", "title": "Update", - "description": "To update a property on an object. Ex: Monica updated her street address to 234 Awesome St.", + "description": "The \"update\" verb indicates that the actor has modified the object. Use of the \"update\" verb is generally reserved to indicate modifications to existing objects or data such as changing an existing user's profile information.", "notes": "The new property value can be a scalar value or an object. See the property object type", "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/use.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/use.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/use.json new file mode 100644 index 0000000..d5a79fd --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/use.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": "Use", + "description": "Indicates that the actor has used the object in some manner.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "use" + }, + "title": { + "type": "string", + "default": "{actor.displayName} used {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/watch.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/watch.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/watch.json new file mode 100644 index 0000000..192d56e --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/watch.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": "Watch", + "description": "Indicates that the actor has watched the object. This verb is typically applicable only when the object represents dynamic, visible content such as a movie, a television show or a public performance.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "watch" + }, + "title": { + "type": "string", + "default": "{actor.displayName} watched {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/win.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/win.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/win.json new file mode 100644 index 0000000..a5bef2a --- /dev/null +++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/win.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": "Win", + "description": "Indicates that the actor has won the object. For instance, if a person wins a game.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "win" + }, + "title": { + "type": "string", + "default": "{actor.displayName} won {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/test/resources/activities/post.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/test/resources/activities/post.json b/streams-pojo/src/test/resources/activities/post.json new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/test/resources/activities/receive.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/test/resources/activities/receive.json b/streams-pojo/src/test/resources/activities/receive.json new file mode 100644 index 0000000..d61245e --- /dev/null +++ b/streams-pojo/src/test/resources/activities/receive.json @@ -0,0 +1,16 @@ +{ + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "actor": { + "objectType": "person", + "displayName": "Laura" + }, + "verb": "receive", + "object": { + "objectType": "badge", + "displayName": "Most Checkins in 24 hours" + }, + "title": "Laura was awarded a badge for \"Most Checkins in 24 hours\"" +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/441d1a07/streams-pojo/src/test/resources/activities/recieve.json ---------------------------------------------------------------------- diff --git a/streams-pojo/src/test/resources/activities/recieve.json b/streams-pojo/src/test/resources/activities/recieve.json deleted file mode 100644 index d61245e..0000000 --- a/streams-pojo/src/test/resources/activities/recieve.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$license": [ - "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", - "http://www.apache.org/licenses/LICENSE-2.0" - ], - "actor": { - "objectType": "person", - "displayName": "Laura" - }, - "verb": "receive", - "object": { - "objectType": "badge", - "displayName": "Most Checkins in 24 hours" - }, - "title": "Laura was awarded a badge for \"Most Checkins in 24 hours\"" -}