Update TS xApp for Release E use case
[ric-app/ts.git] / xapp-descriptor / schema.json
1 {
2   "$schema": "http://json-schema.org/draft-07/schema#",
3   "$id": "#/controls",
4   "type": "object",
5   "title": "Controls Section Schema",
6   "required": [
7     "ts_control_api",
8     "ts_control_ep"
9   ],
10   "properties": {
11     "ts_control_api": {
12       "$id": "#/properties/controls/items/properties/ts_control_api",
13       "enum": ["rest", "grpc"],
14       "title": "The TS API used to send control messages",
15       "default": "rest"
16     },
17     "ts_control_ep": {
18       "$id": "#/properties/controls/items/properties/ts_control_ep",
19       "type": "string",
20       "title": "The target endpoint of the TS Control API",
21       "default": "http://127.0.0.1:5000/api/echo",
22       "examples": [
23         "http://127.0.0.1:5000/api/echo",
24         "localhost:50051"
25       ]
26     }
27   }
28 }