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",
13 "$id": "#/properties/xapp_name",
15 "title": "The xApp Name",
22 "$id": "#/properties/version",
24 "title": "The xApp version",
29 "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-]+)*))?$"
32 "$id": "#/properties/containers",
34 "title": "The Container Schema",
36 "$id": "#/properties/containers/items",
38 "title": "The Container Items Schema",
45 "$id": "#/properties/containers/items/properties/name",
47 "title": "The xApp Container Name",
54 "$id": "#/properties/containers/items/properties/image",
56 "title": "The Container Image",
64 "$id": "#/properties/containers/items/properties/image/properties/registry",
66 "title": "The xApp Image Registry",
67 "default": "nexus3.o-ran-sc.org:10002",
69 "nexus3.o-ran-sc.org:10002"
71 "pattern": "^[A-Za-z0-9\\.-]{1,}\\.[A-Za-z]{1,}(?:\\:\\d+)?$"
74 "$id": "#/properties/containers/items/properties/image/properties/name",
76 "title": "The xApp Image Name",
83 "$id": "#/properties/containers/items/properties/image/properties/tag",
85 "title": "The xApp Image Tag",
94 "$id": "#/properties/containers/items/properties/command",
96 "title": "Command To Run The xApp Container",
106 "$id": "#/properties/livenessprobe",
108 "title": "The Liveness Probe Definition",
111 "$id": "#/properties/livenessprobe/exec",
113 "title": "Script of Liveness Probe",
116 "$id": "#/properties/livenessprobe/exec/command",
120 "$id": "#/properties/livenessprobe/exec/command/item",
122 "title": "The Command Item",
123 "default": "/bin/sh",
136 "$id": "#/properties/livenessprobe/httpget",
138 "title": "Http of Liveness Probe",
141 "$id": "#/properties/livenessprobe/httpget/path",
143 "title": "The Path of Http Liveness Probe",
144 "default": "/health",
150 "$id": "#/properties/livenessprobe/httpget/port",
152 "title": "The Port of Http Liveness Probe",
164 "initialDelaySeconds": {
165 "$id": "#/properties/livenessprobe/initialdelayseconds",
167 "title": "Initial Delay of Liveness Probe",
174 "$id": "#/properties/livenessprobe/periodseconds",
176 "title": "Period of Liveness Probe",
185 "$id": "#/properties/livenessprobe/oneof/exec",
186 "required": ["exec", "initialDelaySeconds", "periodSeconds"]
189 "$id": "#/properties/livenessprobe/oneof/httpget",
190 "required": ["httpGet", "initialDelaySeconds", "periodSeconds"]
195 "$id": "#/properties/readinessprobe",
197 "title": "The Readiness Probe Definition",
200 "$id": "#/properties/readinessprobe/exec",
202 "title": "Script of Readiness Probe",
205 "$id": "#/properties/readinessprobe/exec/command",
219 "$id": "#/properties/readinessprobe/httpget",
221 "title": "Http of Readiness Probe",
224 "$id": "#/properties/readinessprobe/httpget/path",
226 "title": "The Path of Http Readiness Probe",
227 "default": "/health",
233 "$id": "#/properties/readinessprobe/httpget/port",
235 "title": "The Port of Http Readiness Probe",
247 "initialDelaySeconds": {
248 "$id": "#/properties/readinessprobe/initialdelayseconds",
250 "title": "Initial Delay of Readiness Probe",
257 "$id": "#/properties/readinessprobe/periodseconds",
259 "title": "Period of Readiness Probe",
268 "$id": "#/properties/readinessprobe/oneof/exec",
269 "required": ["exec", "initialDelaySeconds", "periodSeconds"]
272 "$id": "#/properties/readinessprobe/oneof/httpget",
273 "required": ["httpGet", "initialDelaySeconds", "periodSeconds"]
279 "$id": "#/properties/messaging",
280 "title": "The Messaging Schema",
283 "$id": "#/properties/messaging/ports",
285 "title": "The Ports for Messaging",
287 "$id": "#/properties/messaging/ports/items",
289 "title": "The Item of Port",
290 "required": ["name", "container", "port"],
292 "txMessages": ["rxMessages", "policies"],
293 "rxMessages": ["txMessages", "policies"],
294 "policies": ["rxMessages", "txMessages"]
298 "$id": "#/properties/messaging/ports/items/name",
300 "title": "The Name of the Port",
307 "$id": "#/properties/messaging/ports/items/container",
309 "title": "The Container of the Port",
316 "$id": "#/properties/messaging/ports/items/port",
318 "title": "The Port Number",
325 "$id": "#/properties/messaging/ports/items/description",
327 "title": "The description for the port",
328 "default": "port description",
334 "$id": "#/properties/messaging/ports/items/txmessages",
336 "title": "The txMessage Types",
338 "$id": "#/properties/messaging/ports/items//txmessages/item",
340 "title": "The txMessage Types Item",
341 "default": "RIC_SUB",
348 "$id": "#/properties/messaging/ports/items/rxmessages",
350 "title": "The rxMessage Types",
352 "$id": "#/properties/messaging/ports/items/rxmessages/item",
354 "title": "The rxMessage Types Item",
355 "default": "RIC_SUB",
362 "$id": "#/properties/messaging/ports/items/policies",
364 "title": "The Policies Types",
366 "$id": "#/properties/messaging/ports/items/policies/item",
368 "title": "The Policy Types Item",
386 "$id": "#/properties/metrics",
387 "title": "The Metrics Schema",
389 "$id": "#/properties/metrics/items",
391 "title": "The Metrics Items Schema",
401 "$id": "#/properties/metrics/items/objectname",
403 "title": "The Object Name"
406 "$id": "#/properties/metrics/items/objectinstance",
408 "title": "The Object Instance"
411 "$id": "#/properties/metrics/items/name",
413 "title": "The Object Name"
416 "$id": "#/properties/metrics/items/type",
418 "title": "The Object Type"
421 "$id": "#/properties/metrics/items/description",
423 "title": "The Object Description"
430 "__empty_control_section__"