2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "$id": "http://o-ran-sc.org/xapp_root.json",
5 "title": "The xApp Root Schema",
8 "$id": "#/properties/xapp_name",
10 "title": "The xApp Name",
17 "$id": "#/properties/version",
19 "title": "The xApp version",
24 "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$"
27 "$id": "#/properties/containers",
29 "title": "The Container Schema",
31 "$id": "#/properties/containers/items",
33 "title": "The Container Items Schema",
40 "$id": "#/properties/containers/items/properties/name",
42 "title": "The xApp Container Name",
49 "$id": "#/properties/containers/items/properties/image",
51 "title": "The Container Image",
59 "$id": "#/properties/containers/items/properties/image/properties/registry",
61 "title": "The xApp Image Registry",
62 "default": "nexus3.o-ran-sc.org:10002",
64 "nexus3.o-ran-sc.org:10002"
66 "pattern": "^[A-Za-z0-9\\.-]{1,}\\.[A-Za-z]{1,}(?:\\:\\d+)?$"
69 "$id": "#/properties/containers/items/properties/image/properties/name",
71 "title": "The xApp Image Name",
78 "$id": "#/properties/containers/items/properties/image/properties/tag",
80 "title": "The xApp Image Tag",
89 "$id": "#/properties/containers/items/properties/command",
91 "title": "Command To Run The xApp Container",
101 "$id": "#/properties/livenessprobe",
103 "title": "The Liveness Probe Definition",
106 "$id": "#/properties/livenessprobe/exec",
108 "title": "Script of Liveness Probe",
111 "$id": "#/properties/livenessprobe/exec/command",
115 "$id": "#/properties/livenessprobe/exec/command/item",
117 "title": "The Command Item",
118 "default": "/bin/sh",
131 "$id": "#/properties/livenessprobe/httpget",
133 "title": "Http of Liveness Probe",
136 "$id": "#/properties/livenessprobe/httpget/path",
138 "title": "The Path of Http Liveness Probe",
139 "default": "/health",
145 "$id": "#/properties/livenessprobe/httpget/port",
147 "title": "The Port of Http Liveness Probe",
159 "initialDelaySeconds": {
160 "$id": "#/properties/livenessprobe/initialdelayseconds",
162 "title": "Initial Delay of Liveness Probe",
169 "$id": "#/properties/livenessprobe/periodseconds",
171 "title": "Period of Liveness Probe",
180 "$id": "#/properties/livenessprobe/oneof/exec",
181 "required": ["exec", "initialDelaySeconds", "periodSeconds"]
184 "$id": "#/properties/livenessprobe/oneof/httpget",
185 "required": ["httpGet", "initialDelaySeconds", "periodSeconds"]
190 "$id": "#/properties/readinessprobe",
192 "title": "The Readiness Probe Definition",
195 "$id": "#/properties/readinessprobe/exec",
197 "title": "Script of Readiness Probe",
200 "$id": "#/properties/readinessprobe/exec/command",
214 "$id": "#/properties/readinessprobe/httpget",
216 "title": "Http of Readiness Probe",
219 "$id": "#/properties/readinessprobe/httpget/path",
221 "title": "The Path of Http Readiness Probe",
222 "default": "/health",
228 "$id": "#/properties/readinessprobe/httpget/port",
230 "title": "The Port of Http Readiness Probe",
242 "initialDelaySeconds": {
243 "$id": "#/properties/readinessprobe/initialdelayseconds",
245 "title": "Initial Delay of Readiness Probe",
252 "$id": "#/properties/readinessprobe/periodseconds",
254 "title": "Period of Readiness Probe",
263 "$id": "#/properties/readinessprobe/oneof/exec",
264 "required": ["exec", "initialDelaySeconds", "periodSeconds"]
267 "$id": "#/properties/readinessprobe/oneof/httpget",
268 "required": ["httpGet", "initialDelaySeconds", "periodSeconds"]
274 "$id": "#/properties/messaging",
275 "title": "The Messaging Schema",
278 "$id": "#/properties/messaging/ports",
280 "title": "The Ports for Messaging",
282 "$id": "#/properties/messaging/ports/items",
284 "title": "The Item of Port",
285 "required": ["name", "container", "port"],
287 "txMessages": ["rxMessages", "policies"],
288 "rxMessages": ["txMessages", "policies"],
289 "policies": ["rxMessages", "txMessages"]
293 "$id": "#/properties/messaging/ports/items/name",
295 "title": "The Name of the Port",
302 "$id": "#/properties/messaging/ports/items/container",
304 "title": "The Container of the Port",
311 "$id": "#/properties/messaging/ports/items/port",
313 "title": "The Port Number",
320 "$id": "#/properties/messaging/ports/items/description",
322 "title": "The description for the port",
323 "default": "port description",
329 "$id": "#/properties/messaging/ports/items/txmessages",
331 "title": "The txMessage Types",
333 "$id": "#/properties/messaging/ports/items//txmessages/item",
335 "title": "The txMessage Types Item",
336 "default": "RIC_SUB",
343 "$id": "#/properties/messaging/ports/items/rxmessages",
345 "title": "The rxMessage Types",
347 "$id": "#/properties/messaging/ports/items/rxmessages/item",
349 "title": "The rxMessage Types Item",
350 "default": "RIC_SUB",
357 "$id": "#/properties/messaging/ports/items/policies",
359 "title": "The Policies Types",
361 "$id": "#/properties/messaging/ports/items/policies/item",
363 "title": "The Policy Types Item",
381 "$id": "#/properties/metrics",
382 "title": "The Metrics Schema",
384 "$id": "#/properties/metrics/items",
386 "title": "The Metrics Items Schema",
396 "$id": "#/properties/metrics/items/objectname",
398 "title": "The Object Name"
401 "$id": "#/properties/metrics/items/objectinstance",
403 "title": "The Object Instance"
406 "$id": "#/properties/metrics/items/name",
408 "title": "The Object Name"
411 "$id": "#/properties/metrics/items/type",
413 "title": "The Object Type"
416 "$id": "#/properties/metrics/items/description",
418 "title": "The Object Description"
425 "__empty_control_section__"