http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/note.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/note.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/note.json new file mode 100644 index 0000000..63445d5 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/note.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/note.json#", + "type": "object", + "title": "note", + "extends": { + "$ref": "../object.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "note" + } + } +}
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/offer.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/offer.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/offer.json new file mode 100644 index 0000000..6d4b5f2 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/offer.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/offer.json#", + "type": "object", + "title": "offer", + "extends": { + "$ref": "../object.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "offer" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/organization.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/organization.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/organization.json new file mode 100644 index 0000000..7ee7513 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/organization.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/organization.json#", + "type": "object", + "title": "organization", + "extends": { + "$ref": "../object.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "organization" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/page.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/page.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/page.json new file mode 100644 index 0000000..4f18fcf --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/page.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/page.json#", + "type": "object", + "title": "page", + "extends": { + "$ref": "../object.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "page" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/permission.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/permission.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/permission.json new file mode 100644 index 0000000..2a156dc --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/permission.json @@ -0,0 +1,36 @@ +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/permission.json#", + "type": "object", + "title": "permission", + "extends": { + "$ref": "../object.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "permission" + }, + "scope": { + "type": "object", + "extends": { + "$ref": "../object.json" + } + }, + "actions": { + "type": "array", + "items": { + "type": "string", + "enumeration": [ + "create", + "delete", + "modify" + ] + } + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/person.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/person.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/person.json new file mode 100644 index 0000000..6855634 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/person.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/person.json#", + "type": "object", + "title": "person", + "description": "vCard Format. Does not match PoCO", + "extends": [ + { + "$ref": "../object.json" + }, + { + "$ref": "http://www.json-schema.org/card" + } + ], + "properties": { + "objectType": { + "type": "string", + "default": "person" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/photo-album.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/photo-album.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/photo-album.json new file mode 100644 index 0000000..1ad4b18 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/photo-album.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/photo-album.json#", + "type": "object", + "title": "article", + "extends": { + "$ref": "../objectTypes/list.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "photo-album" + } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/photo.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/photo.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/photo.json new file mode 100644 index 0000000..ab44aad --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/photo.json @@ -0,0 +1,23 @@ +{ + "$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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/photo.json#", + "type": "object", + "title": "photo", + "extends": { + "$ref": "../objectTypes/file.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "photo" + }, + "displayName": { + "type": "string", + "default": "a photo" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/place.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/place.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/place.json new file mode 100644 index 0000000..02d5fe4 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/place.json @@ -0,0 +1,39 @@ +{ + "$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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/place.json#", + "type": "object", + "title": "place", + "extends": { + "$ref": "../object.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "place" + }, + "address": { + "type": "object", + "extends": { + "$ref": "http://www.json-schema.org/address" + } + }, + "position": { + "type": "object", + "properties": { + "altitude": { + "type": "number" + }, + "latitude": { + "type": "number" + }, + "longitude": { + "type": "number" + } + } + } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/playlist.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/playlist.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/playlist.json new file mode 100644 index 0000000..d40b109 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/playlist.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/playlist.json#", + "type": "object", + "title": "playlist", + "extends": { + "$ref": "../objectTypes/list.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "playlist" + } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/process.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/process.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/process.json new file mode 100644 index 0000000..343ff38 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/process.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/process.json#", + "type": "object", + "title": "process", + "extends": { + "$ref": "../object.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "process" + } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/product.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/product.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/product.json new file mode 100644 index 0000000..7614cb9 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/product.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/product.json#", + "type": "object", + "title": "product", + "extends": { + "$ref": "../object.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "product" + }, + "fullImage": { + "type": "object", + "extends": { + "$ref": "../media_link.json" + } + } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/property.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/property.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/property.json new file mode 100644 index 0000000..ff2e73b --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/property.json @@ -0,0 +1,48 @@ +{ + "$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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/property.json#", + "type": "object", + "title": "property", + "description": "A property describes name, path and value. Can be used with delete, update or post verbs", + "extends": { + "$ref": "../object.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "property" + }, + "displayName": { + "type": "string", + "description": "The human readable name of the property in the appropriate language", + "optional": true + }, + "path": { + "type": "string", + "description": "dot delimited path to the property in the target. Ex: streetAddress" + } + }, + "example": { + "actor": { + "id": 1212, + "displayName": "Peter" + }, + "verb": "update", + "time": "2010-08-02T15:29:00Z", + "object": { + "objectType": "property", + "displayName": "street address", + "path": "streetAddress", + "content": "234 Amazing St" + }, + "target": { + "id": 12121, + "time": "2010-08-02T15:29:00Z", + "displayName": "Peter's House" + } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/question.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/question.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/question.json new file mode 100644 index 0000000..9383caf --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/question.json @@ -0,0 +1,28 @@ +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/question.json#", + "type": "object", + "title": "question", + "extends": { + "$ref": "../object.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "question" + }, + "options": { + "type": "array", + "items": { + "type": "object", + "extends": { + "$ref": "../object.json" + } + } + } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/review.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/review.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/review.json new file mode 100644 index 0000000..5b5ab58 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/review.json @@ -0,0 +1,22 @@ +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/review.json#", + "type": "object", + "title": "review", + "extends": { + "$ref": "../objectTypes/article.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "review" + }, + "rating": { + "type": "number" + } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/role.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/role.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/role.json new file mode 100644 index 0000000..0521f93 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/role.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/role.json#", + "type": "object", + "title": "role", + "extends": { + "$ref": "../object.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "role" + }, + "members": { + "type": "object", + "extends": { + "$ref": "../collection.json" + } + } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/service.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/service.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/service.json new file mode 100644 index 0000000..ff89fae --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/service.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/service.json#", + "type": "object", + "title": "service", + "extends": { + "$ref": "../object.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "service" + } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/song.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/song.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/song.json new file mode 100644 index 0000000..2b89d4b --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/song.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/song.json#", + "type": "object", + "title": "song", + "extends": { + "$ref": "../objectTypes/audio.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "song" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/status.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/status.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/status.json new file mode 100644 index 0000000..ac7a844 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/status.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/status.json#", + "type": "object", + "title": "status", + "extends": { + "$ref": "../objectTypes/note.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "song" + } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/task.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/task.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/task.json new file mode 100644 index 0000000..2c8a3ea --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/task.json @@ -0,0 +1,40 @@ +{ + "$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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/task.json#", + "type": "object", + "title": "task", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "task" + }, + "by": { + "type": "string", + "format": "date-time" + }, + "prerequisites": { + "type": "array", + "items": { + "type": "object", + "$ref": "../activity.json" + } + }, + "required": { + "type": "boolean" + }, + "supersedes": { + "type": "array", + "items": { + "type": "object", + "$ref": "../activity.json" + } + } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/team.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/team.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/team.json new file mode 100644 index 0000000..f4f7494 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/team.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/team.json#", + "type": "object", + "title": "team", + "extends": { + "$ref": "../object.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "team" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/video.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/video.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/video.json new file mode 100644 index 0000000..88a528d --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/objectTypes/video.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/objectTypes/video.json#", + "type": "object", + "title": "video", + "extends": { + "$ref": "../objectTypes/file.json" + }, + "properties": { + "objectType": { + "type": "string", + "default": "video" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/accept.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/accept.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/accept.json new file mode 100644 index 0000000..04efee5 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/accept.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/access.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/access.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/access.json new file mode 100644 index 0000000..eb08184 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/access.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/acknowledge.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/acknowledge.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/acknowledge.json new file mode 100644 index 0000000..aae6209 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/acknowledge.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/add.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/add.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/add.json new file mode 100644 index 0000000..4d99411 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/add.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/agree.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/agree.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/agree.json new file mode 100644 index 0000000..9e79c2a --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/agree.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/append.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/append.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/append.json new file mode 100644 index 0000000..60e1a82 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/append.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/approve.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/approve.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/approve.json new file mode 100644 index 0000000..247871c --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/approve.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/archive.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/archive.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/archive.json new file mode 100644 index 0000000..7ee2226 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/archive.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/assign.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/assign.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/assign.json new file mode 100644 index 0000000..1d43041 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/assign.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/at.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/at.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/at.json new file mode 100644 index 0000000..34497e2 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/at.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/attach.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/attach.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/attach.json new file mode 100644 index 0000000..76c5a4f --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/attach.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/attend.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/attend.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/attend.json new file mode 100644 index 0000000..6b02d07 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/attend.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/author.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/author.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/author.json new file mode 100644 index 0000000..4898139 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/author.json#", + "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": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "author" + }, + "title": { + "type": "string", + "default": "{actor.displayName} authored {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/authorize.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/authorize.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/authorize.json new file mode 100644 index 0000000..661e32c --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/authorize.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/borrow.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/borrow.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/borrow.json new file mode 100644 index 0000000..74eee36 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/borrow.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/build.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/build.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/build.json new file mode 100644 index 0000000..d8e7d25 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/build.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/cancel.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/cancel.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/cancel.json new file mode 100644 index 0000000..0d82c8e --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/cancel.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/checkin.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/checkin.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/checkin.json new file mode 100644 index 0000000..88a9c86 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/checkin.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/close.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/close.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/close.json new file mode 100644 index 0000000..88a31b6 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/close.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/complete.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/complete.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/complete.json new file mode 100644 index 0000000..ddffd0e --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/complete.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/confirm.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/confirm.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/confirm.json new file mode 100644 index 0000000..5148c8c --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/confirm.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/consume.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/consume.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/consume.json new file mode 100644 index 0000000..661b40b --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/consume.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/create.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/create.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/create.json new file mode 100644 index 0000000..c5ad298 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/create.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/delete.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/delete.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/delete.json new file mode 100644 index 0000000..544bf5d --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/delete.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/deliver.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/deliver.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/deliver.json new file mode 100644 index 0000000..4d3d2c1 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/deliver.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/deny.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/deny.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/deny.json new file mode 100644 index 0000000..f880ad3 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/deny.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/disagree.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/disagree.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/disagree.json new file mode 100644 index 0000000..17f0c4c --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/disagree.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/dislike.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/dislike.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/dislike.json new file mode 100644 index 0000000..308d5eb --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/dislike.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/experience.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/experience.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/experience.json new file mode 100644 index 0000000..543ac2c --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/experience.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/favorite.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/favorite.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/favorite.json new file mode 100644 index 0000000..17e2490 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/favorite.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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/favorite.json#", + "type": "object", + "title": "Favorite", + "description": "Indicates that the actor marked the object as an item of special interest.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "favorite" + }, + "title": { + "type": "string", + "default": "{actor.displayName} marked {object.displayName} as a favorite" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/find.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/find.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/find.json new file mode 100644 index 0000000..79ebbe8 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/find.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/flag-as-inappropriate.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/flag-as-inappropriate.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/flag-as-inappropriate.json new file mode 100644 index 0000000..f7b5785 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/flag-as-inappropriate.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/follow.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/follow.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/follow.json new file mode 100644 index 0000000..2a922f9 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/follow.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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/follow.json#", + "type": "object", + "title": "Follow", + "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" + }, + "properties": { + "verb": { + "type": "string", + "default": "follow" + }, + "title": { + "type": "string", + "default": "{actor.displayName} started following {object.displayName}" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/give.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/give.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/give.json new file mode 100644 index 0000000..952fa59 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/give.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/host.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/host.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/host.json new file mode 100644 index 0000000..9661abe --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/host.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/ignore.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/ignore.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/ignore.json new file mode 100644 index 0000000..ae0ea6a --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/ignore.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/insert.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/insert.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/insert.json new file mode 100644 index 0000000..8dcd756 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/insert.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/install.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/install.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/install.json new file mode 100644 index 0000000..6b270fa --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/install.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/interact.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/interact.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/interact.json new file mode 100644 index 0000000..5098ee3 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/interact.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/invite.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/invite.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/invite.json new file mode 100644 index 0000000..625a170 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/invite.json#", + "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/6187265f/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/join.json ---------------------------------------------------------------------- diff --git a/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/join.json b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/join.json new file mode 100644 index 0000000..5276072 --- /dev/null +++ b/streams-schemas/streams-schema-activitystreams/src/main/jsonschema/verbs/join.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": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/verbs/join.json#", + "type": "object", + "title": "Join", + "description": "Indicates that the actor has become a member of the object.", + "extends": { + "$ref": "../activity.json" + }, + "properties": { + "verb": { + "type": "string", + "default": "join" + }, + "title": { + "type": "string", + "default": "{actor.displayName} joined {object.displayName}" + } + } +}