streams-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sblack...@apache.org
Subject [13/17] incubator-streams git commit: merge STREAMS-254
Date Sat, 13 Dec 2014 17:10:15 GMT
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/activity.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/activity.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/activity.json
index a68ce00..4f7ad28 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/activity.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/activity.json
@@ -1,90 +1,107 @@
 {
-  "type" : "object",
-  "title" : "activity",
-  "javaType": "org.apache.streams.pojo.json.Activity",
-  "javaInterfaces": ["java.io.Serializable"],
-  "description" : "An activity construct recounts what an actor did to an object in the past. If there is no actor it simply describes the change.",
-  "additionalProperties": true,
-  "properties": {
-    "id" :{
-      "type" : "string",
-      "description" : "Uniquely identifies each activity within the service",
-      "required" : true
+    "$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": "activity",
+    "javaType": "org.apache.streams.pojo.json.Activity",
+    "javaInterfaces": ["java.io.Serializable"],
+    "description": "An activity construct recounts what an actor did to an object in the past. If there is no actor it simply describes the change.",
+    "additionalProperties": true,
+    "properties": {
+        "id": {
+            "type": "string",
+            "description": "Uniquely identifies each activity within the service",
+            "required": true
+        },
+        "actor": {
+            "type": "object",
+            "required": true,
+            "description": "Describes the entity that performed the activity. An activity MUST contain one actor property whose value is a single Object.",
+            "extends": {
+                "$ref": "./object.json"
+            }
+        },
+        "verb": {
+            "title": "verb",
+            "type": "string",
+            "default": "post",
+            "required": true,
+            "description": "Identifies the action that the activity describes. An activity MUST contain a verb property whose value is a JSON String that is non-empty and matches either the \"isegment-nz-nc\" or the \"IRI\" production in [RFC3987]. Note that the use of a relative reference other than a simple name is not allowed."
+        },
+        "object": {
+            "type": "object",
+            "required": true,
+            "description": "Describes the primary object of the activity. For instance, in the activity, \"John saved a movie to his wishlist\", the object of the activity is \"movie\". An activity SHOULD contain an object property whose value is a single Object. If the object property is not contained, the primary object of the activity MAY be implied by context.",
+            "$ref": "./object.json"
+        },
+        "target": {
+            "type": "object",
+            "description": "Describes the target of the activity. The precise meaning of the activity's target is dependent on the activities verb, but will often be the object the English preposition \"to\". For instance, in the activity, \"John saved a movie to his wishlist\", the target of the activity is \"wishlist\". The activity target MUST NOT be used to identity an indirect object that is not a target of the activity. An activity MAY contain a target property whose value is a single Object.",
+            "$ref": "./object.json"
+        },
+        "published": {
+            "type": "string",
+            "description": "The date and time at which the activity occurred. It is important to note that this is not necessarily the same as the time at which the activity was published. An activity MUST contain a postedTime property.",
+            "format": "date-time"
+        },
+        "updated": {
+            "type": "string",
+            "description": "The date and time at which a previously published activity has been modified. An Activity MAY contain an updatedTime property",
+            "format": "date-time"
+        },
+        "generator": {
+            "type": "object",
+            "description": "Describes the application that generated the activity. An activity MAY contain a generator property whose value is a single Object.",
+            "extends": {
+                "$ref": "./object.json"
+            }
+        },
+        "icon": {
+            "type": "object",
+            "properties": {
+                "$ref": "./media_link.json#properties"
+            },
+            "description": "An IRI[RFC3987] identifying an image resource provides a visual representation of the activity, intended for human consumption. The image SHOULD have an aspect ratio of one (horizontal) to one (vertical) and SHOULD be suitable for presentation at a small size. An activity MAY have an icon property"
+        },
+        "provider": {
+            "type": "object",
+            "description": "Describes the application that published the activity. Note that this is not necessarily the same entity that generated the activity. An activity MAY contain a provider property whose value is a single Object",
+            "extends": {
+                "$ref": "./object.json"
+            }
+        },
+        "title": {
+            "type": "string",
+            "description": "Natural-language title or headline for the activity encoded as a single JSON String containing HTML markup. An activity MAY contain a title property",
+            "format": "html"
+        },
+        "content": {
+            "type": "string",
+            "description": "Natural-language description of the activity encoded as a single JSON String containing HTML markup. Visual elements such as thumbnail images MAY be included. An activity MAY contain a content property",
+            "format": "html"
+        },
+        "url": {
+            "type": "string",
+            "description": "An IRI [RFC3987] identifying a resource providing an HTML representation of the activity. An activity MAY contain a url property",
+            "format": "url"
+        },
+        "links": {
+            "type": "array",
+            "description": "Links between this object and other resources as defined in Web Linking",
+            "note": "Tell JSON schema team to not put links inside http://json-schema.org/hyper-schema#properties",
+            "items": {
+                "type": "string"
+            }
+        }
     },
-    "actor" : {
-      "type": "object",
-      "required": true,
-      "description": "Describes the entity that performed the activity. An activity MUST contain one actor property whose value is a single Object.",
-      "extends" : { "$ref" : "./object.json" }
-    },
-    "verb" : {
-      "title" : "verb",
-      "type" : "string",
-      "default": "post",
-      "required": true,
-      "description" :"Identifies the action that the activity describes. An activity MUST contain a verb property whose value is a JSON String that is non-empty and matches either the \"isegment-nz-nc\" or the \"IRI\" production in [RFC3987]. Note that the use of a relative reference other than a simple name is not allowed."
-    },
-    "object" : {
-      "type": "object",
-      "required" : true,
-      "description" : "Describes the primary object of the activity. For instance, in the activity, \"John saved a movie to his wishlist\", the object of the activity is \"movie\". An activity SHOULD contain an object property whose value is a single Object. If the object property is not contained, the primary object of the activity MAY be implied by context.",
-      "$ref" : "./object.json"
-    },
-    "target" : {
-      "type": "object",
-      "description" : "Describes the target of the activity. The precise meaning of the activity's target is dependent on the activities verb, but will often be the object the English preposition \"to\". For instance, in the activity, \"John saved a movie to his wishlist\", the target of the activity is \"wishlist\". The activity target MUST NOT be used to identity an indirect object that is not a target of the activity. An activity MAY contain a target property whose value is a single Object.",
-      "$ref" : "./object.json"
-    },
-    "published" : {
-      "type" : "string",
-      "description": "The date and time at which the activity occurred. It is important to note that this is not necessarily the same as the time at which the activity was published. An activity MUST contain a postedTime property.",
-      "format" : "date-time"
-    },
-	"updated" : {
-      "type" : "string",
-      "description": "The date and time at which a previously published activity has been modified. An Activity MAY contain an updatedTime property",
-      "format" : "date-time"
-    },
-    "generator" : {
-      "type": "object",
-      "description": "Describes the application that generated the activity. An activity MAY contain a generator property whose value is a single Object.",
-      "extends" : { "$ref" : "./object.json" }
-    },
-    "icon" : {
-      "type": "object",
-      "properties" :{"$ref":"./media_link.json#properties"},
-      "description": "An IRI[RFC3987] identifying an image resource provides a visual representation of the activity, intended for human consumption. The image SHOULD have an aspect ratio of one (horizontal) to one (vertical) and SHOULD be suitable for presentation at a small size. An activity MAY have an icon property"
-    },
-    "provider" : {
-      "type": "object",
-      "description" : "Describes the application that published the activity. Note that this is not necessarily the same entity that generated the activity. An activity MAY contain a provider property whose value is a single Object",
-      "extends" : { "$ref" : "./object.json" }
-    },
-    "title" : {
-      "type" : "string",
-      "description" : "Natural-language title or headline for the activity encoded as a single JSON String containing HTML markup. An activity MAY contain a title property",
-      "format": "html"
-    },
-    "content" : {
-      "type" : "string",
-      "description" : "Natural-language description of the activity encoded as a single JSON String containing HTML markup. Visual elements such as thumbnail images MAY be included. An activity MAY contain a content property",
-      "format" : "html"
-    },
-    "url" : {
-      "type" : "string",
-      "description" : "An IRI [RFC3987] identifying a resource providing an HTML representation of the activity. An activity MAY contain a url property",
-      "format" : "url"
-    },
-    "links" : {
-      "type" : "array",
-      "description" :"Links between this object and other resources as defined in Web Linking",
-      "note": "Tell JSON schema team to not put links inside http://json-schema.org/hyper-schema#properties",
-      "items": {
-        "type" : "string"
-      }
-    }
-  },
-  "links": [
-       {"rel": "describedby", "href": "./verbs/{verb}.json"}
-     ]
+    "links": [
+        {
+            "rel": "describedby",
+            "href": "./verbs/{verb}.json"
+        }
+    ]
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/collection.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/collection.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/collection.json
index b9bdd76..3833009 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/collection.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/collection.json
@@ -1,34 +1,47 @@
 {
-  "type" : "object",
-  "title" : "collection",
-  "javaType": "org.apache.streams.pojo.json.Collection",
-  "description" : "A collection is a generic list of Objects of any object type. The objectType of each item in the collection MAY be omitted if the type of object can be established through context. The collection is used primarily as the root of an Activity Streams document, but can be used as the value of extension properties in a variety of situations. ",
-  "properties" : {
-    "url" : {
-      "type" : "string",
-      "description": "An IRI [RFC3987] referencing a JSON document containing the full listing of objects in the collection."
+    "$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": "collection",
+    "javaType": "org.apache.streams.pojo.json.Collection",
+    "description": "A collection is a generic list of Objects of any object type. The objectType of each item in the collection MAY be omitted if the type of object can be established through context. The collection is used primarily as the root of an Activity Streams document, but can be used as the value of extension properties in a variety of situations. ",
+    "properties": {
+        "url": {
+            "type": "string",
+            "description": "An IRI [RFC3987] referencing a JSON document containing the full listing of objects in the collection."
+        },
+        "totalItems": {
+            "type": "number",
+            "description": "Non-negative integer specifying the total number of activities within the stream. The Stream serialization MAY contain a count property."
+        },
+        "items": {
+            "type": "array",
+            "required": true,
+            "description": "An array containing a listing of Objects of any object type. If used in combination with the url property, the items array can be used to provide a subset of the objects that may be found in the resource identified by the url.",
+            "items": {
+                "type": "object",
+                "extends": {
+                    "$ref": "./object.json"
+                }
+            }
+        },
+        "links": {
+            "type": "array",
+            "optional": true,
+            "description": "Links between an this object and other resources as defined in Web Linking",
+            "extends": {
+                "$ref": "http://json-schema.org/links#properties"
+            }
+        }
     },
-    "totalItems": {
-      "type" : "number",
-      "description" : "Non-negative integer specifying the total number of activities within the stream. The Stream serialization MAY contain a count property."
-    },
-    "items" : {
-      "type" : "array",
-      "required" : true,
-      "description" : "An array containing a listing of Objects of any object type. If used in combination with the url property, the items array can be used to provide a subset of the objects that may be found in the resource identified by the url.",
-      "items": {
-        "type" : "object",
-        "extends" :{"$ref":"./object.json"}
-      }
-    },
-    "links" : {
-      "type" : "array",
-      "optional" : true,
-      "description" :"Links between an this object and other resources as defined in Web Linking",
-      "extends" : {"$ref" : "http://json-schema.org/links#properties"}
-    }
-  },
-  "links": [
-       {"rel": "describedby", "href": "http://json-schema.org/schema"}
-     ]
+    "links": [
+        {
+            "rel": "describedby",
+            "href": "http://json-schema.org/schema"
+        }
+    ]
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/media_link.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/media_link.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/media_link.json
index 2d8e31f..056d467 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/media_link.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/media_link.json
@@ -1,28 +1,34 @@
 {
-  "type" : "object",
-  "title" : "media_link",
-  "javaType": "org.apache.streams.pojo.json.MediaLink",
-  "description" : "Visual representation of an object in the form of an image, video or embedded HTML fragments",
-  "properties": {
-    "duration" : {
-      "title" : "duration",
-      "type" : "number",
-      "description" :"A hint to the consumer about the length, in seconds, of the media resource identified by the url property. A media link MAY contain a \"duration\" property when the target resource is a time-based media item such as an audio or video."
-    },
-	"height" : {
-      "title" : "height",
-      "type" : "number",
-      "description" :"A hint to the consumer about the height, in pixels, of the media resource identified by the url property. A media link MAY contain a height property when the target resource is a visual media item such as an image, video or embeddable HTML page."
-    },
-	"width" : {
-      "title" : "width",
-      "type" : "number",
-      "description" :"A hint to the consumer about the width, in pixels, of the media resource identified by the url property. A media link MAY contain a width property when the target resource is a visual media item such as an image, video or embeddable HTML page."
-    },
-    "url" : {
-      "type": "string",
-      "required" : true,
-      "description" : "The IRI of the media resource being linked. A media link MUST have a url property."
+    "$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": "media_link",
+    "javaType": "org.apache.streams.pojo.json.MediaLink",
+    "description": "Visual representation of an object in the form of an image, video or embedded HTML fragments",
+    "properties": {
+        "duration": {
+            "title": "duration",
+            "type": "number",
+            "description": "A hint to the consumer about the length, in seconds, of the media resource identified by the url property. A media link MAY contain a \"duration\" property when the target resource is a time-based media item such as an audio or video."
+        },
+        "height": {
+            "title": "height",
+            "type": "number",
+            "description": "A hint to the consumer about the height, in pixels, of the media resource identified by the url property. A media link MAY contain a height property when the target resource is a visual media item such as an image, video or embeddable HTML page."
+        },
+        "width": {
+            "title": "width",
+            "type": "number",
+            "description": "A hint to the consumer about the width, in pixels, of the media resource identified by the url property. A media link MAY contain a width property when the target resource is a visual media item such as an image, video or embeddable HTML page."
+        },
+        "url": {
+            "type": "string",
+            "required": true,
+            "description": "The IRI of the media resource being linked. A media link MUST have a url property."
+        }
     }
-  }
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/object.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/object.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/object.json
index eec09a8..be9b7cd 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/object.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/object.json
@@ -1,79 +1,96 @@
 {
-  "type" : "object",
-  "title" : "object",
-  "javaType": "org.apache.streams.pojo.json.ActivityObject",
-  "javaInterfaces": ["java.io.Serializable"],
-  "description" : "Basic object on the web. The only required property is the id",
-  "properties" : {
-    "id" : {
-      "type" : "string",
-      "description" : "Provides a permanent, universally unique identifier for the object in the form of an absolute IRI [RFC3987]. An object SHOULD contain a single id property. If an object does not contain an id property, consumers MAY use the value of the url property as a less-reliable, non-unique identifier.",
-      "required" : true
+    "$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": "object",
+    "javaType": "org.apache.streams.pojo.json.ActivityObject",
+    "javaInterfaces": ["java.io.Serializable"],
+    "description": "Basic object on the web. The only required property is the id",
+    "properties": {
+        "id": {
+            "type": "string",
+            "description": "Provides a permanent, universally unique identifier for the object in the form of an absolute IRI [RFC3987]. An object SHOULD contain a single id property. If an object does not contain an id property, consumers MAY use the value of the url property as a less-reliable, non-unique identifier.",
+            "required": true
+        },
+        "image": {
+            "format": "image",
+            "type": "object",
+            "extends": {
+                "$ref": "./media_link.json"
+            },
+            "description": "Description of a resource providing a visual representation of the object, intended for human consumption. An object MAY contain an image property whose value is a Media Link."
+        },
+        "displayName": {
+            "type": "string",
+            "description": "A natural-language, human-readable and plain-text name for the object. HTML markup MUST NOT be included. An object MAY contain a displayName property. If the object does not specify an objectType property, the object SHOULD specify a displayName"
+        },
+        "summary": {
+            "type": "string",
+            "description": "Natural-language summary of the object encoded as a single JSON String containing HTML markup. Visual elements such as thumbnail images MAY be included. An activity MAY contain a summary property"
+        },
+        "content": {
+            "type": "string",
+            "description": "Natural-language description of the object encoded as a single JSON String containing HTML markup. Visual elements such as thumbnail images MAY be included. An object MAY contain a content property"
+        },
+        "url": {
+            "type": "string",
+            "format": "url",
+            "description": "An IRI [RFC3987] identifying a resource providing an HTML representation of the object. An object MAY contain a url property"
+        },
+        "objectType": {
+            "type": "string",
+            "description": "Identifies the type of object. An object MAY contain an objectType property whose value is a JSON String that is non-empty and matches either the \"isegment-nz-nc\" or the \"IRI\" production in [RFC3987]. Note that the use of a relative reference other than a simple name is not allowed. If no objectType property is contained, the object has no specific type."
+        },
+        "author": {
+            "type": "object",
+            "description": "Describes the entity that created or authored the object. An object MAY contain a single author property whose value is an Object of any type. Note that the author field identifies the entity that created the object and does not necessarily identify the entity that published the object. For instance, it may be the case that an object created by one person is posted and published to a system by an entirely different entity",
+            "extends": {
+                "$ref": "./object.json"
+            }
+        },
+        "published": {
+            "type": "string",
+            "description": "[RFC3339] date-time. The date and time at which the object was published. An object MAY contain a published property",
+            "format": "date-time"
+        },
+        "updated": {
+            "type": "string",
+            "description": "[RFC3339] date-time. The date and time at which a previously published object has been modified. An Object MAY contain an updated property.",
+            "format": "date-time"
+        },
+        "attachments": {
+            "title": "Related objects",
+            "description": "A collection of one or more additional, associated objects, similar to the concept of attached files in an email message. An object MAY have an attachedObjects property whose value is a JSON Array of Objects.",
+            "type": "array",
+            "items": {
+                "type": "object",
+                "$ref": "./object.json"
+            }
+        },
+        "upstreamDuplicates": {
+            "type": "array",
+            "description": "A JSON Array of one or more absolute IRI's [RFC3987] identifying objects that duplicate this object's content. An object SHOULD contain an upstreamDuplicates property when a publisher is knowingly duplicating with a new ID the content from another object. This MAY be used as a hint for consumers to use when resolving duplicates between objects received from different sources",
+            "items": {
+                "type": "string"
+            }
+        },
+        "downstreamDuplicates": {
+            "type": "array",
+            "description": "A JSON Array of one or more absolute IRI's [RFC3987] identifying objects that duplicate this object's content. An object SHOULD contain a downstreamDuplicates property when there are known objects, possibly in a different system, that duplicate the content in this object. This MAY be used as a hint for consumers to use when resolving duplicates between objects received from different sources.",
+            "items": {
+                "type": "string"
+            }
+        }
     },
-    "image" : {
-      "format":"image",
-      "type":"object",
-      "extends" :{"$ref":"./media_link.json"},
-      "description" : "Description of a resource providing a visual representation of the object, intended for human consumption. An object MAY contain an image property whose value is a Media Link."
-    },
-    "displayName" : {
-      "type":"string",
-      "description" : "A natural-language, human-readable and plain-text name for the object. HTML markup MUST NOT be included. An object MAY contain a displayName property. If the object does not specify an objectType property, the object SHOULD specify a displayName"
-    },
-    "summary" : {
-      "type" : "string",
-      "description" : "Natural-language summary of the object encoded as a single JSON String containing HTML markup. Visual elements such as thumbnail images MAY be included. An activity MAY contain a summary property"
-    },
-    "content" : {
-      "type" : "string",
-      "description" : "Natural-language description of the object encoded as a single JSON String containing HTML markup. Visual elements such as thumbnail images MAY be included. An object MAY contain a content property"
-    },
-    "url" : {
-      "type" : "string",
-      "format" : "url",
-      "description" : "An IRI [RFC3987] identifying a resource providing an HTML representation of the object. An object MAY contain a url property"
-    },
-    "objectType" :{
-      "type" : "string",
-      "description" : "Identifies the type of object. An object MAY contain an objectType property whose value is a JSON String that is non-empty and matches either the \"isegment-nz-nc\" or the \"IRI\" production in [RFC3987]. Note that the use of a relative reference other than a simple name is not allowed. If no objectType property is contained, the object has no specific type."
-    },
-    "author" : {
-      "type" : "object",
-      "description" : "Describes the entity that created or authored the object. An object MAY contain a single author property whose value is an Object of any type. Note that the author field identifies the entity that created the object and does not necessarily identify the entity that published the object. For instance, it may be the case that an object created by one person is posted and published to a system by an entirely different entity",
-      "extends" : { "$ref": "./object.json" }
-    },
-    "published" : {
-      "type" : "string",
-      "description": "[RFC3339] date-time. The date and time at which the object was published. An object MAY contain a published property",
-      "format" : "date-time"
-    },
-    "updated" : {
-      "type" : "string",
-      "description": "[RFC3339] date-time. The date and time at which a previously published object has been modified. An Object MAY contain an updated property.",
-      "format" : "date-time"
-    },
-    "attachments":{
-      "title" : "Related objects",
-      "description" : "A collection of one or more additional, associated objects, similar to the concept of attached files in an email message. An object MAY have an attachedObjects property whose value is a JSON Array of Objects.",
-      "type" : "array",
-      "items": {
-        "type" : "object",
-        "$ref" : "./object.json"
-      }
-    },
-    "upstreamDuplicates":{
-      "type" : "array",
-      "description" : "A JSON Array of one or more absolute IRI's [RFC3987] identifying objects that duplicate this object's content. An object SHOULD contain an upstreamDuplicates property when a publisher is knowingly duplicating with a new ID the content from another object. This MAY be used as a hint for consumers to use when resolving duplicates between objects received from different sources",
-      "items": {"type" : "string"}
-    },
-    "downstreamDuplicates":{
-      "type" : "array",
-      "description" : "A JSON Array of one or more absolute IRI's [RFC3987] identifying objects that duplicate this object's content. An object SHOULD contain a downstreamDuplicates property when there are known objects, possibly in a different system, that duplicate the content in this object. This MAY be used as a hint for consumers to use when resolving duplicates between objects received from different sources.",
-      "items": {"type" : "string"}
-    }
-  },
-  "additionalProperties" : true,
-  "links": [
-       {"rel": "describedby", "href": "./objectType/{objectType}.json"}
-     ]
+    "additionalProperties": true,
+    "links": [
+        {
+            "rel": "describedby",
+            "href": "./objectType/{objectType}.json"
+        }
+    ]
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/article.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/article.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/article.json
index f02394e..8abc7f7 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/article.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/article.json
@@ -1,11 +1,19 @@
 {
-  "type" : "object",
-  "title" : "article",
-  "extends": {"$ref":"../object.json"},
-  "properties" :{
-    "objectType" :{
-      "type" :"string",
-      "default" : "article"
+    "$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": "article",
+    "extends": {
+        "$ref": "../object.json"
+    },
+    "properties": {
+        "objectType": {
+            "type": "string",
+            "default": "article"
+        }
     }
-  }
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/audio.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/audio.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/audio.json
index e2818df..92cef7f 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/audio.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/audio.json
@@ -1,11 +1,19 @@
 {
-  "type" : "object",
-  "title" : "audio",
-  "extends": {"$ref":"../object.json"},
-  "properties" :{
-    "objectType" :{
-      "type" :"string",
-      "default" : "audio"
+    "$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": "audio",
+    "extends": {
+        "$ref": "../object.json"
+    },
+    "properties": {
+        "objectType": {
+            "type": "string",
+            "default": "audio"
+        }
     }
-  }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/bookmark.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/bookmark.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/bookmark.json
index ee6f4b2..3d3e3f1 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/bookmark.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/bookmark.json
@@ -1,11 +1,19 @@
 {
-  "type" : "object",
-  "title" : "bookmark",
-  "extends": {"$ref":"../object.json"},
-  "properties" :{
-    "objectType" :{
-      "type" :"string",
-      "default" : "bookmark"
+    "$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": "bookmark",
+    "extends": {
+        "$ref": "../object.json"
+    },
+    "properties": {
+        "objectType": {
+            "type": "string",
+            "default": "bookmark"
+        }
     }
-  }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/comment.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/comment.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/comment.json
index 0a4857d..90249c4 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/comment.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/comment.json
@@ -1,11 +1,19 @@
 {
-  "type" : "object",
-  "title" : "comment",
-  "extends": {"$ref":"../object.json"},
-  "properties" :{
-    "objectType" :{
-      "type" :"string",
-      "default" : "comment"
+    "$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": "comment",
+    "extends": {
+        "$ref": "../object.json"
+    },
+    "properties": {
+        "objectType": {
+            "type": "string",
+            "default": "comment"
+        }
     }
-  }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/event.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/event.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/event.json
index a116516..4338955 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/event.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/event.json
@@ -1,13 +1,25 @@
 {
-  "type" : "object",
-  "title" : "event",
-  "description" : "xCal fromat for vevent",
-  "extends": [{"$ref":"../object.json"},
-    {"$ref":"http://www.json-schema.org/calendar"}],
-  "properties" :{
-      "objectType" :{
-      "type" :"string",
-      "default" : "event"
+    "$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": "event",
+    "description": "xCal fromat for vevent",
+    "extends": [
+        {
+            "$ref": "../object.json"
+        },
+        {
+            "$ref": "http://www.json-schema.org/calendar"
+        }
+    ],
+    "properties": {
+        "objectType": {
+            "type": "string",
+            "default": "event"
+        }
     }
-  }
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/file.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/file.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/file.json
index b3514a3..5a5392b 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/file.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/file.json
@@ -1,11 +1,19 @@
 {
-  "type" : "object",
-  "title" : "file",
-  "extends": {"$ref":"../object.json"},
-  "properties" :{
-    "objectType" :{
-      "type" :"string",
-      "default" : "file"
+    "$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": "file",
+    "extends": {
+        "$ref": "../object.json"
+    },
+    "properties": {
+        "objectType": {
+            "type": "string",
+            "default": "file"
+        }
     }
-  }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/folder.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/folder.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/folder.json
index a4db729..a319efe 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/folder.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/folder.json
@@ -1,11 +1,19 @@
 {
-  "type" : "object",
-  "title" : "folder",
-  "extends": {"$ref":"../object.json"},
-  "properties" :{
-    "objectType" :{
-      "type" :"string",
-      "default" : "folder"
+    "$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": "folder",
+    "extends": {
+        "$ref": "../object.json"
+    },
+    "properties": {
+        "objectType": {
+            "type": "string",
+            "default": "folder"
+        }
     }
-  }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/group.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/group.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/group.json
index 58c7dd3..b67d88d 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/group.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/group.json
@@ -1,11 +1,19 @@
 {
-  "type" : "object",
-  "title" : "group",
-  "extends": {"$ref":"../object.json"},
-  "properties" :{
-    "objectType" :{
-      "type" :"string",
-      "default" : "group"
+    "$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": "group",
+    "extends": {
+        "$ref": "../object.json"
+    },
+    "properties": {
+        "objectType": {
+            "type": "string",
+            "default": "group"
+        }
     }
-  }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/list.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/list.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/list.json
index ca48eab..d7c164a 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/list.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/list.json
@@ -1,18 +1,28 @@
 {
-  "type" : "object",
-  "title" : "list",
-  "extends": {"$ref":"../object.json"},
-  "properties" :{
-    "objectType" :{
-      "type" :"string",
-      "default" : "list"
+    "$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": "list",
+    "extends": {
+        "$ref": "../object.json"
     },
-    "items" : {
-      "type" : "array",
-      "items" : {
-        "type" : "object",
-        "properties" : {"$ref":"../object.json"}
-      }
+    "properties": {
+        "objectType": {
+            "type": "string",
+            "default": "list"
+        },
+        "items": {
+            "type": "array",
+            "items": {
+                "type": "object",
+                "properties": {
+                    "$ref": "../object.json"
+                }
+            }
+        }
     }
-  }
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/note.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/note.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/note.json
index 127efd9..09de97c 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/note.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/note.json
@@ -1,11 +1,19 @@
 {
-  "type" : "object",
-  "title" : "note",
-  "extends": {"$ref":"../object.json"},
-  "properties" :{
-    "objectType" :{
-      "type" :"string",
-      "default" : "note"
+    "$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": "note",
+    "extends": {
+        "$ref": "../object.json"
+    },
+    "properties": {
+        "objectType": {
+            "type": "string",
+            "default": "note"
+        }
     }
-  }
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/person.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/person.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/person.json
index 43eab84..f42eb8e 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/person.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/person.json
@@ -1,13 +1,25 @@
 {
-  "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"
+    "$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": "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/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/photo-album.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/photo-album.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/photo-album.json
index 69db681..933804b 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/photo-album.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/photo-album.json
@@ -1,11 +1,19 @@
 {
-  "type" : "object",
-  "title" : "article",
-  "extends": {"$ref":"../objectTypes/list.json"},
-  "properties" :{
-    "objectType" :{
-      "type" :"string",
-      "default" : "photo-album"
+    "$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": "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/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/photo.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/photo.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/photo.json
index 8fc608f..347f25c 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/photo.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/photo.json
@@ -1,15 +1,23 @@
 {
-  "type" : "object",
-  "title" : "photo",
-  "extends": {"$ref":"../objectTypes/file.json"},
-  "properties" :{
-    "objectType" :{
-      "type" :"string",
-      "default" : "photo"
+    "$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": "photo",
+    "extends": {
+        "$ref": "../objectTypes/file.json"
     },
-    "displayName" : {
-      "type" : "string",
-      "default" : "a photo"
+    "properties": {
+        "objectType": {
+            "type": "string",
+            "default": "photo"
+        },
+        "displayName": {
+            "type": "string",
+            "default": "a photo"
+        }
     }
-  }
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/place.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/place.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/place.json
index d3dfb49..80af383 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/place.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/place.json
@@ -1,11 +1,24 @@
 {
-  "type" : "object",
-  "title" : "place",
-  "extends": [{"$ref":"../object.json"},{"$ref":"http://www.json-schema.org/address"}],
-  "properties" :{
-    "objectType" :{
-      "type" :"string",
-      "default" : "photo"
-     }
-  }
+    "$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": "place",
+    "extends": [
+        {
+            "$ref": "../object.json"
+        },
+        {
+            "$ref": "http://www.json-schema.org/address"
+        }
+    ],
+    "properties": {
+        "objectType": {
+            "type": "string",
+            "default": "photo"
+        }
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/playlist.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/playlist.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/playlist.json
index 073e961..6ce9dd2 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/playlist.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/playlist.json
@@ -1,11 +1,19 @@
 {
-  "type" : "object",
-  "title" : "playlist",
-  "extends": {"$ref":"../objectTypes/list.json"},
-  "properties" :{
-    "objectType" :{
-      "type" :"string",
-      "default" : "playlist"
-     }
-  }
+    "$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": "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/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/product.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/product.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/product.json
index b7a5c02..055b695 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/product.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/product.json
@@ -1,11 +1,19 @@
 {
-  "type" : "object",
-  "title" : "product",
-  "extends": {"$ref":"../object.json"},
-  "properties" :{
-    "objectType" :{
-      "type" :"string",
-      "default" : "product"
-     }
-  }
+    "$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": "product",
+    "extends": {
+        "$ref": "../object.json"
+    },
+    "properties": {
+        "objectType": {
+            "type": "string",
+            "default": "product"
+        }
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/property.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/property.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/property.json
index d99725d..0cd630e 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/property.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/property.json
@@ -1,38 +1,48 @@
 {
-  "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"
+    "$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": "property",
+    "description": "A property describes name, path and value. Can be used with delete, update or post verbs",
+    "extends": {
+        "$ref": "../object.json"
     },
-    "displayName" : {
-      "type" : "string",
-      "description" : "The human readable name of the property in the appropriate language",
-      "optional" : true
+    "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"
+        }
     },
-    "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"
+        }
     }
-  },
-  "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/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/review.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/review.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/review.json
index 5705746..a3956e6 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/review.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/review.json
@@ -1,11 +1,19 @@
 {
-  "type" : "object",
-  "title" : "review",
-  "extends": {"$ref":"../objectTypes/article.json"},
-  "properties" :{
-    "objectType" :{
-      "type" :"string",
-      "default" : "review"
-     }
-  }
+    "$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": "review",
+    "extends": {
+        "$ref": "../objectTypes/article.json"
+    },
+    "properties": {
+        "objectType": {
+            "type": "string",
+            "default": "review"
+        }
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/service.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/service.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/service.json
index 92544f4..3d4a496 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/service.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/service.json
@@ -1,11 +1,19 @@
 {
-  "type" : "object",
-  "title" : "service",
-  "extends": {"$ref":"../object.json"},
-  "properties" :{
-    "objectType" :{
-      "type" :"string",
-      "default" : "service"
-     }
-  }
+    "$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": "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/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/song.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/song.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/song.json
index 9ebe7f2..46d6eb0 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/song.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/song.json
@@ -1,11 +1,19 @@
 {
-  "type" : "object",
-  "title" : "song",
-  "extends": {"$ref":"../objectTypes/audio.json"},
-  "properties" :{
-    "objectType" :{
-      "type" :"string",
-      "default" : "song"
-     }
-  }
+    "$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": "song",
+    "extends": {
+        "$ref": "../objectTypes/audio.json"
+    },
+    "properties": {
+        "objectType": {
+            "type": "string",
+            "default": "song"
+        }
+    }
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/status.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/status.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/status.json
index 3309510..a029f19 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/status.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/status.json
@@ -1,11 +1,19 @@
 {
-  "type" : "object",
-  "title" : "status",
-  "extends": {"$ref":"../objectTypes/note.json"},
-  "properties" :{
-    "objectType" :{
-      "type" :"string",
-      "default" : "song"
-     }
-  }
+    "$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": "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/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/video.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/video.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/video.json
index 21f32a4..7ac63d8 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/video.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/objectTypes/video.json
@@ -1,11 +1,19 @@
 {
-  "type" : "object",
-  "title" : "video",
-  "extends": {"$ref":"../objectTypes/file.json"},
-  "properties" :{
-    "objectType" :{
-      "type" :"string",
-      "default" : "video"
-     }
-  }
+    "$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": "video",
+    "extends": {
+        "$ref": "../objectTypes/file.json"
+    },
+    "properties": {
+        "objectType": {
+            "type": "string",
+            "default": "video"
+        }
+    }
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/favorite.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/favorite.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/favorite.json
index e2fad27..ab07e6e 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/favorite.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/favorite.json
@@ -1,16 +1,24 @@
 {
-  "type" : "object",
-  "title" : "Favorite",
-  "description" : "To mark an object as a favorite",
-  "extends": {"$ref":"../activity.json"},
-  "properties" :{
-    "verb" :{
-      "type" : "string",
-      "default" : "favorite"
+    "$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": "Favorite",
+    "description": "To mark an object as a favorite",
+    "extends": {
+        "$ref": "../activity.json"
     },
-    "title" : {
-      "type" : "string",
-      "default" : "{actor.displayName} marked {object.displayName} as a favorite"
+    "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/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/follow.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/follow.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/follow.json
index b82f5c8..fcae35a 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/follow.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/follow.json
@@ -1,16 +1,24 @@
 {
-  "type" : "object",
-  "title" : "Follow",
-  "description" : "To start following an object",
-  "extends": {"$ref":"../activity.json"},
-  "properties" :{
-    "verb" :{
-      "type" : "string",
-      "default" : "follow"
+    "$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": "Follow",
+    "description": "To start following an object",
+    "extends": {
+        "$ref": "../activity.json"
     },
-    "title" : {
-      "type" : "string",
-      "default" : "{actor.displayName} started following {object.displayName}"
+    "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/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/join.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/join.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/join.json
index bf912fb..9efd513 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/join.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/join.json
@@ -1,16 +1,24 @@
 {
-  "type" : "object",
-  "title" : "Join",
-  "description" : "To join an object. Usually a group",
-  "extends": {"$ref":"../activity.json"},
-  "properties" :{
-    "verb" :{
-      "type" : "string",
-      "default" : "join"
+    "$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": "Join",
+    "description": "To join an object. Usually a group",
+    "extends": {
+        "$ref": "../activity.json"
     },
-    "title" : {
-      "type" : "string",
-      "default" : "{actor.displayName} joined {object.displayName}"
+    "properties": {
+        "verb": {
+            "type": "string",
+            "default": "join"
+        },
+        "title": {
+            "type": "string",
+            "default": "{actor.displayName} joined {object.displayName}"
+        }
     }
-  }
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/like.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/like.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/like.json
index 1da03bc..12cab08 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/like.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/like.json
@@ -1,16 +1,24 @@
 {
-  "type" : "object",
-  "title" : "Like",
-  "description" : "To like an object",
-  "extends": {"$ref":"../activity.json"},
-  "properties" :{
-    "verb" :{
-      "type" : "string",
-      "default" : "like"
+    "$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": "Like",
+    "description": "To like an object",
+    "extends": {
+        "$ref": "../activity.json"
     },
-    "title" : {
-      "type" : "string",
-      "default" : "{actor.displayName} likes {object.displayName}"
+    "properties": {
+        "verb": {
+            "type": "string",
+            "default": "like"
+        },
+        "title": {
+            "type": "string",
+            "default": "{actor.displayName} likes {object.displayName}"
+        }
     }
-  }
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/make-friend.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/make-friend.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/make-friend.json
index b9bb15d..edd1c46 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/make-friend.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/make-friend.json
@@ -1,16 +1,24 @@
 {
-  "type" : "object",
-  "title" : "Befriend",
-  "description" : "To friend an object. Usually a person",
-  "extends": {"$ref":"../activity.json"},
-  "properties" :{
-    "verb" :{
-      "type" : "string",
-      "default" : "make-friend"
+    "$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": "Befriend",
+    "description": "To friend an object. Usually a person",
+    "extends": {
+        "$ref": "../activity.json"
     },
-    "title" : {
-      "type" : "string",
-      "default" : "{actor.displayName} is now friends with {object.displayName}"
+    "properties": {
+        "verb": {
+            "type": "string",
+            "default": "make-friend"
+        },
+        "title": {
+            "type": "string",
+            "default": "{actor.displayName} is now friends with {object.displayName}"
+        }
     }
-  }
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/play.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/play.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/play.json
index 242a8ac..95c8e9a 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/play.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/play.json
@@ -1,16 +1,24 @@
 {
-  "type" : "object",
-  "title" : "Play",
-  "description" : "To play an object",
-  "extends": {"$ref":"../activity.json"},
-  "properties" :{
-    "verb" :{
-      "type" : "string",
-      "default" : "play"
+    "$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": "Play",
+    "description": "To play an object",
+    "extends": {
+        "$ref": "../activity.json"
     },
-    "title" : {
-      "type" : "string",
-      "default" : "{actor.displayName} played {object.displayName}"
+    "properties": {
+        "verb": {
+            "type": "string",
+            "default": "play"
+        },
+        "title": {
+            "type": "string",
+            "default": "{actor.displayName} played {object.displayName}"
+        }
     }
-  }
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/post.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/post.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/post.json
index e1d2b05..ea1ad39 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/post.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/post.json
@@ -1,16 +1,24 @@
 {
-  "type" : "object",
-  "title" : "Post",
-  "description" : "To publish an object",
-  "extends": {"$ref":"../activity.json"},
-  "properties" :{
-    "verb" :{
-      "type" : "string",
-      "default" : "post"
+    "$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": "Post",
+    "description": "To publish an object",
+    "extends": {
+        "$ref": "../activity.json"
     },
-    "title" : {
-      "type" : "string",
-      "default" : "{actor.displayName} posted {object.displayName}"
+    "properties": {
+        "verb": {
+            "type": "string",
+            "default": "post"
+        },
+        "title": {
+            "type": "string",
+            "default": "{actor.displayName} posted {object.displayName}"
+        }
     }
-  }
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/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 5510e4b..5abf795 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
@@ -1,16 +1,24 @@
 {
-  "type" : "object",
-  "title" : "Rsvp Maybe",
-  "description" : "To indicate that the actor may attend an event",
-  "extends": {"$ref":"../activity.json"},
-  "properties" :{
-    "verb" :{
-      "type" : "string",
-      "default" : "rsvp-maybe"
+    "$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": "Rsvp Maybe",
+    "description": "To indicate that the actor may attend an event",
+    "extends": {
+        "$ref": "../activity.json"
     },
-    "title" : {
-      "type" : "string",
-      "default" : "{actor.displayName} may be attending {object.displayName}"
+    "properties": {
+        "verb": {
+            "type": "string",
+            "default": "rsvp-maybe"
+        },
+        "title": {
+            "type": "string",
+            "default": "{actor.displayName} may be attending {object.displayName}"
+        }
     }
-  }
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/rsvp-no.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/rsvp-no.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/rsvp-no.json
index 59a08cd..dc36ee3 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/rsvp-no.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/rsvp-no.json
@@ -1,16 +1,24 @@
 {
-  "type" : "object",
-  "title" : "Rsvp No",
-  "description" : "To indicate that the actor will not attend an event",
-  "extends": {"$ref":"../activity.json"},
-  "properties" :{
-    "verb" :{
-      "type" : "string",
-      "default" : "rsvp-no"
+    "$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": "Rsvp No",
+    "description": "To indicate that the actor will not attend an event",
+    "extends": {
+        "$ref": "../activity.json"
     },
-    "title" : {
-      "type" : "string",
-      "default" : "{actor.displayName} will not attend {object.displayName}"
+    "properties": {
+        "verb": {
+            "type": "string",
+            "default": "rsvp-no"
+        },
+        "title": {
+            "type": "string",
+            "default": "{actor.displayName} will not attend {object.displayName}"
+        }
     }
-  }
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/rsvp-yes.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/rsvp-yes.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/rsvp-yes.json
index 7eb5eee..f62141e 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/rsvp-yes.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/rsvp-yes.json
@@ -1,16 +1,24 @@
 {
-  "type" : "object",
-  "title" : "Rsvp Yes",
-  "description" : "To indicate that the actor will attend an event",
-  "extends": {"$ref":"../activity.json"},
-  "properties" :{
-    "verb" :{
-      "type" : "string",
-      "default" : "rsvp-yes"
+    "$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": "Rsvp Yes",
+    "description": "To indicate that the actor will attend an event",
+    "extends": {
+        "$ref": "../activity.json"
     },
-    "title" : {
-      "type" : "string",
-      "default" : "{actor.displayName} is attending {object.displayName}"
+    "properties": {
+        "verb": {
+            "type": "string",
+            "default": "rsvp-yes"
+        },
+        "title": {
+            "type": "string",
+            "default": "{actor.displayName} is attending {object.displayName}"
+        }
     }
-  }
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/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 65ceb70..f9cfd33 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
@@ -1,16 +1,24 @@
 {
-  "type" : "object",
-  "title" : "Save",
-  "description" : "To save an object",
-  "extends": {"$ref":"../activity.json"},
-  "properties" :{
-    "verb" :{
-      "type" : "string",
-      "default" : "save"
+    "$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": "Save",
+    "description": "To save an object",
+    "extends": {
+        "$ref": "../activity.json"
     },
-    "title" : {
-      "type" : "string",
-      "default" : "{actor.displayName} saved {object.displayName}"
+    "properties": {
+        "verb": {
+            "type": "string",
+            "default": "save"
+        },
+        "title": {
+            "type": "string",
+            "default": "{actor.displayName} saved {object.displayName}"
+        }
     }
-  }
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/share.json
----------------------------------------------------------------------
diff --git a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/share.json b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/share.json
index 8825008..18c0aea 100644
--- a/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/share.json
+++ b/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/verbs/share.json
@@ -1,16 +1,24 @@
 {
-  "type" : "object",
-  "title" : "Share",
-  "description" : "To share an object.",
-  "extends": {"$ref":"../activity.json"},
-  "properties" :{
-    "verb" :{
-      "type" : "string",
-      "default" : "share"
+    "$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": "To share an object.",
+    "extends": {
+        "$ref": "../activity.json"
     },
-    "title" : {
-      "type" : "string",
-      "default" : "{actor.displayName} shared {object.displayName}"
+    "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/ce0b7f7e/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 dfefbd2..0d19f07 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
@@ -1,16 +1,24 @@
 {
-  "type" : "object",
-  "title" : "Tag",
-  "description" : "To tag an object. Ex: A person being tagged in a photo",
-  "extends": {"$ref":"../activity.json"},
-  "properties" :{
-    "verb" :{
-      "type" : "string",
-      "default" : "tag"
+    "$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": "Tag",
+    "description": "To tag an object. Ex: A person being tagged in a photo",
+    "extends": {
+        "$ref": "../activity.json"
     },
-    "title" : {
-      "type" : "string",
-      "default" : "{actor.displayName} tagged {object.displayName} in {target.displayName}"
+    "properties": {
+        "verb": {
+            "type": "string",
+            "default": "tag"
+        },
+        "title": {
+            "type": "string",
+            "default": "{actor.displayName} tagged {object.displayName} in {target.displayName}"
+        }
     }
-  }
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/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 bf25485..237ef04 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
@@ -1,26 +1,34 @@
 {
-  "type" : "object",
-  "title" : "Update",
-  "description" : "To update a property on an object. Ex: Monica updated her street address to 234 Awesome St.",
-  "notes" : "The new property value can be a scalar value or an object. See the property object type",
-  "extends": {"$ref":"../activity.json"},
-  "properties" :{
-    "verb" :{
-      "type" : "string",
-      "default" : "update"
+    "$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": "Update",
+    "description": "To update a property on an object. Ex: Monica updated her street address to 234 Awesome St.",
+    "notes": "The new property value can be a scalar value or an object. See the property object type",
+    "extends": {
+        "$ref": "../activity.json"
     },
-    "title" : {
-      "type" : "string",
-      "default" : "{actor.displayName} updated {target.displayName}'s {object.displayName} to {object.value}"
-    },
-    "object" : {
-      "type" : "object",
-      "$ref" : "../object.json"
-    },
-    "target" : {
-      "type" : "object",
-      "optional" : true,
-      "$ref" : "../object.json"
+    "properties": {
+        "verb": {
+            "type": "string",
+            "default": "update"
+        },
+        "title": {
+            "type": "string",
+            "default": "{actor.displayName} updated {target.displayName}'s {object.displayName} to {object.value}"
+        },
+        "object": {
+            "type": "object",
+            "$ref": "../object.json"
+        },
+        "target": {
+            "type": "object",
+            "optional": true,
+            "$ref": "../object.json"
+        }
     }
-  }
 }

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ce0b7f7e/streams-pojo/src/test/java/org/apache/streams/data/data/util/CustomDateTimeFormat.java
----------------------------------------------------------------------
diff --git a/streams-pojo/src/test/java/org/apache/streams/data/data/util/CustomDateTimeFormat.java b/streams-pojo/src/test/java/org/apache/streams/data/data/util/CustomDateTimeFormat.java
index 864ce39..ee111e1 100644
--- a/streams-pojo/src/test/java/org/apache/streams/data/data/util/CustomDateTimeFormat.java
+++ b/streams-pojo/src/test/java/org/apache/streams/data/data/util/CustomDateTimeFormat.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.streams.data.data.util;
 
 import org.apache.streams.jackson.StreamsDateTimeFormat;


Mime
View raw message