summaryrefslogtreecommitdiffstats
path: root/component-json-schemas/dmaap/dcae-cli-v1/dmaap-schema.json
blob: e6745f77c779072782185617f92050aa6f1a6eef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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
    }
  }
}