Code Review
/
dcaegen2
/
platform
/
cli.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Restructure the json schemas repository
[dcaegen2/platform/cli.git]
/
component-json-schemas
/
dmaap
/
dcae-cli-v1
/
dmaap-schema.json
1
{
2
"$schema": "http://json-schema.org/draft-04/schema#",
3
"title": "Schema for dmaap inputs",
4
"type": "object",
5
"oneOf": [
6
{ "$ref": "#/definitions/message_router" }
7
],
8
"definitions": {
9
"message_router": {
10
"type": "object",
11
"properties": {
12
"type": {
13
"type": "string",
14
"enum": ["message_router"]
15
},
16
"aaf_username": {
17
"type": "string"
18
},
19
"aaf_password": {
20
"type": "string"
21
},
22
"dmaap_info": {
23
"type": "object",
24
"properties": {
25
"client_role": {
26
"type": "string"
27
},
28
"client_id": {
29
"type": "string"
30
},
31
"location": {
32
"type": "string"
33
},
34
"topic_url": {
35
"type": "string"
36
}
37
},
38
"required": [
39
"topic_url"
40
],
41
"additionalProperties": false
42
}
43
},
44
"required": [
45
"type",
46
"dmaap_info"
47
],
48
"additionalProperties": false
49
}
50
}
51
}