diff options
author | Michael Hwang <mhwang@research.att.com> | 2017-09-15 12:33:03 -0400 |
---|---|---|
committer | Michael Hwang <mhwang@research.att.com> | 2017-09-15 13:03:07 -0400 |
commit | 5a7ecc5f553c6416beb7327a55967287b0645d14 (patch) | |
tree | de5efad2675a62152e733fcd9f6eb859373c8a5c /component-json-schemas/dmaap | |
parent | 0d4c19a9389a933cf5b5e83173f97f8cd72b7f5e (diff) |
Restructure the json schemas repository
All the json schema files have been put into folders that will be
emulated on the remote web server by the CI process.
Change-Id: Id8ad12c4f4623db4b35ed2be7cb727666d83fc33
Issue-Id: DCAEGEN2-60
Signed-off-by: Michael Hwang <mhwang@research.att.com>
Diffstat (limited to 'component-json-schemas/dmaap')
-rw-r--r-- | component-json-schemas/dmaap/dcae-cli-v1/dmaap-schema.json | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/component-json-schemas/dmaap/dcae-cli-v1/dmaap-schema.json b/component-json-schemas/dmaap/dcae-cli-v1/dmaap-schema.json new file mode 100644 index 0000000..e6745f7 --- /dev/null +++ b/component-json-schemas/dmaap/dcae-cli-v1/dmaap-schema.json @@ -0,0 +1,51 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Schema for dmaap inputs", + "type": "object", + "oneOf": [ + { "$ref": "#/definitions/message_router" } + ], + "definitions": { + "message_router": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["message_router"] + }, + "aaf_username": { + "type": "string" + }, + "aaf_password": { + "type": "string" + }, + "dmaap_info": { + "type": "object", + "properties": { + "client_role": { + "type": "string" + }, + "client_id": { + "type": "string" + }, + "location": { + "type": "string" + }, + "topic_url": { + "type": "string" + } + }, + "required": [ + "topic_url" + ], + "additionalProperties": false + } + }, + "required": [ + "type", + "dmaap_info" + ], + "additionalProperties": false + } + } +} |