Protocol Buffers Support 75/33675/2
authorRalph Knag <rhknag@research.att.com>
Wed, 28 Feb 2018 22:58:11 +0000 (17:58 -0500)
committerRalph Knag <rhknag@research.att.com>
Fri, 2 Mar 2018 22:52:39 +0000 (17:52 -0500)
Change-Id: Id5be8c10069a6b36164e778bc5e9c8e50d05ee0f
Issue-ID: DCAEGEN2-375
Signed-off-by: Ralph Knag <rhknag@research.att.com>
component-json-schemas/data-format/dcae-cli-v1/data-format-schema.json

index be15682..66aa2ab 100644 (file)
@@ -1,6 +1,6 @@
 {
     "$schema": "http://json-schema.org/draft-04/schema#",
-    "title": "Data format specification schema Version 1.0",
+    "title": "Data format specification schema Version 1.0.1",
     "type": "object",
     "oneOf": [{
         "properties": {
             "reference": {
 
                 "type": "object",
-                "description": "A reference to an external schema - name/version is used to access the artifact",
+                "description": "A reference to an external schema - name/version or url, if specified, is used to access the artifact",
                 "properties": {
                     "name": {
                         "$ref": "#/definitions/name"
                     },
+                    "url": {
+                        "$ref": "#/definitions/url"
+                    },
                     "version": {
                         "$ref": "#/definitions/version"
                     },
         "additionalProperties": false
     }],
     "definitions": {
+         "url": {
+             "format": "uri"
+        },
         "name": {
             "type": "string"
         },
                 "JSON",
                 "Delimited Format",
                 "XML",
+                "Protocol Buffer",
                 "Unstructured"
             ]
         },
         },
         "dataformatversion": {
             "type": "string",
-            "enum": ["1.0.0"]
+            "enum": ["1.0.0", "1.0.1"]
         }
     }
 }