summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalph Knag <rhknag@research.att.com>2018-02-28 17:58:11 -0500
committerRalph Knag <rhknag@research.att.com>2018-03-02 17:52:39 -0500
commited0e21efa55bce913ccfb9ab6c20333f7fba7605 (patch)
treec023c393b5b08fb887f15d99869873a80a5a68f5
parent141bcd47087b39d2ac3846ace864b9d9b0706ff5 (diff)
Protocol Buffers Support
Change-Id: Id5be8c10069a6b36164e778bc5e9c8e50d05ee0f Issue-ID: DCAEGEN2-375 Signed-off-by: Ralph Knag <rhknag@research.att.com>
-rw-r--r--component-json-schemas/data-format/dcae-cli-v1/data-format-schema.json13
1 files changed, 10 insertions, 3 deletions
diff --git a/component-json-schemas/data-format/dcae-cli-v1/data-format-schema.json b/component-json-schemas/data-format/dcae-cli-v1/data-format-schema.json
index be15682..66aa2ab 100644
--- a/component-json-schemas/data-format/dcae-cli-v1/data-format-schema.json
+++ b/component-json-schemas/data-format/dcae-cli-v1/data-format-schema.json
@@ -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": {
@@ -13,11 +13,14 @@
"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"
},
@@ -104,6 +107,9 @@
"additionalProperties": false
}],
"definitions": {
+ "url": {
+ "format": "uri"
+ },
"name": {
"type": "string"
},
@@ -138,6 +144,7 @@
"JSON",
"Delimited Format",
"XML",
+ "Protocol Buffer",
"Unstructured"
]
},
@@ -199,7 +206,7 @@
},
"dataformatversion": {
"type": "string",
- "enum": ["1.0.0"]
+ "enum": ["1.0.0", "1.0.1"]
}
}
}