Change-Id: Id5be8c10069a6b36164e778bc5e9c8e50d05ee0f
Issue-ID: DCAEGEN2-375
Signed-off-by: Ralph Knag <rhknag@research.att.com>
{
"$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": {
"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"
},
"additionalProperties": false
}],
"definitions": {
"additionalProperties": false
}],
"definitions": {
+ "url": {
+ "format": "uri"
+ },
"name": {
"type": "string"
},
"name": {
"type": "string"
},
"JSON",
"Delimited Format",
"XML",
"JSON",
"Delimited Format",
"XML",
},
"dataformatversion": {
"type": "string",
},
"dataformatversion": {
"type": "string",
+ "enum": ["1.0.0", "1.0.1"]