Code Review
/
dcaegen2
/
platform
/
cli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Protocol Buffers Support
[dcaegen2/platform/cli.git]
/
component-json-schemas
/
data-format
/
dcae-cli-v1
/
data-format-schema.json
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
(file)
--- 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#",
{
"$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": {
"type": "object",
"oneOf": [{
"properties": {
@@
-13,11
+13,14
@@
"reference": {
"type": "object",
"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"
},
"properties": {
"name": {
"$ref": "#/definitions/name"
},
+ "url": {
+ "$ref": "#/definitions/url"
+ },
"version": {
"$ref": "#/definitions/version"
},
"version": {
"$ref": "#/definitions/version"
},
@@
-104,6
+107,9
@@
"additionalProperties": false
}],
"definitions": {
"additionalProperties": false
}],
"definitions": {
+ "url": {
+ "format": "uri"
+ },
"name": {
"type": "string"
},
"name": {
"type": "string"
},
@@
-138,6
+144,7
@@
"JSON",
"Delimited Format",
"XML",
"JSON",
"Delimited Format",
"XML",
+ "Protocol Buffer",
"Unstructured"
]
},
"Unstructured"
]
},
@@
-199,7
+206,7
@@
},
"dataformatversion": {
"type": "string",
},
"dataformatversion": {
"type": "string",
- "enum": ["1.0.0"]
+ "enum": ["1.0.0"
, "1.0.1"
]
}
}
}
}
}
}