Creating PM-producer
[nonrtric/plt/ranpm.git] / pmproducer / src / main / resources / typeSchemaPmData.json
1 {
2    "$schema": "http://json-schema.org/draft-04/schema#",
3    "type": "object",
4    "additionalProperties": false,
5    "properties": {
6       "filter": {
7          "type": "object",
8          "additionalProperties": false,
9          "properties": {
10             "sourceNames": {
11                "type": "array",
12                "items": [
13                   {
14                      "type": "string"
15                   }
16                ]
17             },
18             "measObjInstIds": {
19                "type": "array",
20                "items": [
21                   {
22                      "type": "string"
23                   }
24                ]
25             },
26             "measTypeSpecs": {
27                "type": "array",
28                "items": [
29                   {
30                      "type": "object",
31                      "properties": {
32                         "measuredObjClass": {
33                            "type": "string"
34                         },
35                         "measTypes": {
36                            "type": "array",
37                            "items": [
38                               {
39                                  "type": "string"
40                               }
41                            ]
42                         }
43                      },
44                      "required": [
45                         "measuredObjClass"
46                      ]
47                   }
48                ]
49             },
50             "measuredEntityDns": {
51                "type": "array",
52                "items": [
53                   {
54                      "type": "string"
55                   }
56                ]
57             },
58             "pmRopStartTime": {
59                "type": "string"
60             },
61             "pmRopEndTime": {
62                "type": "string"
63             }
64          }
65       },    
66       "deliveryInfo": {
67          "type": "object",
68          "additionalProperties": false,
69          "properties": {
70             "topic": {
71                "type": "string"
72             },
73             "bootStrapServers": {
74                "type": "string"
75             }
76          },
77          "required": [
78             "topic"
79          ]
80       }
81    },
82    "required": [
83       "filter", "deliveryInfo"  
84    ]
85 }
86