xref: /openbmc/bmcweb/features/redfish/schema/dmtf/json-schema/OperatingSystem.v1_0_2.json (revision f2a8e57ede74a8252100b2281e3f4d170aa69391)
1*f2a8e57eSGunnar Mills{
2*f2a8e57eSGunnar Mills    "$id": "http://redfish.dmtf.org/schemas/v1/OperatingSystem.v1_0_2.json",
3*f2a8e57eSGunnar Mills    "$ref": "#/definitions/OperatingSystem",
4*f2a8e57eSGunnar Mills    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5*f2a8e57eSGunnar Mills    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6*f2a8e57eSGunnar Mills    "definitions": {
7*f2a8e57eSGunnar Mills        "Actions": {
8*f2a8e57eSGunnar Mills            "additionalProperties": false,
9*f2a8e57eSGunnar Mills            "description": "The available actions for this resource.",
10*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available actions for this resource.",
11*f2a8e57eSGunnar Mills            "patternProperties": {
12*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
14*f2a8e57eSGunnar Mills                    "type": [
15*f2a8e57eSGunnar Mills                        "array",
16*f2a8e57eSGunnar Mills                        "boolean",
17*f2a8e57eSGunnar Mills                        "integer",
18*f2a8e57eSGunnar Mills                        "number",
19*f2a8e57eSGunnar Mills                        "null",
20*f2a8e57eSGunnar Mills                        "object",
21*f2a8e57eSGunnar Mills                        "string"
22*f2a8e57eSGunnar Mills                    ]
23*f2a8e57eSGunnar Mills                }
24*f2a8e57eSGunnar Mills            },
25*f2a8e57eSGunnar Mills            "properties": {
26*f2a8e57eSGunnar Mills                "Oem": {
27*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/OemActions",
28*f2a8e57eSGunnar Mills                    "description": "The available OEM-specific actions for this resource.",
29*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
30*f2a8e57eSGunnar Mills                }
31*f2a8e57eSGunnar Mills            },
32*f2a8e57eSGunnar Mills            "type": "object"
33*f2a8e57eSGunnar Mills        },
34*f2a8e57eSGunnar Mills        "ContainerEngine": {
35*f2a8e57eSGunnar Mills            "additionalProperties": false,
36*f2a8e57eSGunnar Mills            "description": "A container engine running in an operating system.",
37*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain a container engine running in an operating system.",
38*f2a8e57eSGunnar Mills            "patternProperties": {
39*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
40*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
41*f2a8e57eSGunnar Mills                    "type": [
42*f2a8e57eSGunnar Mills                        "array",
43*f2a8e57eSGunnar Mills                        "boolean",
44*f2a8e57eSGunnar Mills                        "integer",
45*f2a8e57eSGunnar Mills                        "number",
46*f2a8e57eSGunnar Mills                        "null",
47*f2a8e57eSGunnar Mills                        "object",
48*f2a8e57eSGunnar Mills                        "string"
49*f2a8e57eSGunnar Mills                    ]
50*f2a8e57eSGunnar Mills                }
51*f2a8e57eSGunnar Mills            },
52*f2a8e57eSGunnar Mills            "properties": {
53*f2a8e57eSGunnar Mills                "ManagementURIs": {
54*f2a8e57eSGunnar Mills                    "description": "The URIs to manage this container engine.",
55*f2a8e57eSGunnar Mills                    "format": "uri-reference",
56*f2a8e57eSGunnar Mills                    "items": {
57*f2a8e57eSGunnar Mills                        "type": [
58*f2a8e57eSGunnar Mills                            "string",
59*f2a8e57eSGunnar Mills                            "null"
60*f2a8e57eSGunnar Mills                        ]
61*f2a8e57eSGunnar Mills                    },
62*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain an array of URIs to management interfaces for this container engine.  This is typically a web UI or API provided by the container engine.",
63*f2a8e57eSGunnar Mills                    "readonly": true,
64*f2a8e57eSGunnar Mills                    "type": "array"
65*f2a8e57eSGunnar Mills                },
66*f2a8e57eSGunnar Mills                "SupportedImageTypes": {
67*f2a8e57eSGunnar Mills                    "description": "The supported image types for this container engine.",
68*f2a8e57eSGunnar Mills                    "items": {
69*f2a8e57eSGunnar Mills                        "anyOf": [
70*f2a8e57eSGunnar Mills                            {
71*f2a8e57eSGunnar Mills                                "$ref": "http://redfish.dmtf.org/schemas/v1/ContainerImage.json#/definitions/ImageTypes"
72*f2a8e57eSGunnar Mills                            },
73*f2a8e57eSGunnar Mills                            {
74*f2a8e57eSGunnar Mills                                "type": "null"
75*f2a8e57eSGunnar Mills                            }
76*f2a8e57eSGunnar Mills                        ]
77*f2a8e57eSGunnar Mills                    },
78*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the supported image types for this container engine.",
79*f2a8e57eSGunnar Mills                    "readonly": true,
80*f2a8e57eSGunnar Mills                    "type": "array"
81*f2a8e57eSGunnar Mills                },
82*f2a8e57eSGunnar Mills                "Type": {
83*f2a8e57eSGunnar Mills                    "anyOf": [
84*f2a8e57eSGunnar Mills                        {
85*f2a8e57eSGunnar Mills                            "$ref": "#/definitions/ContainerEngineTypes"
86*f2a8e57eSGunnar Mills                        },
87*f2a8e57eSGunnar Mills                        {
88*f2a8e57eSGunnar Mills                            "type": "null"
89*f2a8e57eSGunnar Mills                        }
90*f2a8e57eSGunnar Mills                    ],
91*f2a8e57eSGunnar Mills                    "description": "The type of container engine.",
92*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the type for this container engine.",
93*f2a8e57eSGunnar Mills                    "readonly": true
94*f2a8e57eSGunnar Mills                },
95*f2a8e57eSGunnar Mills                "Version": {
96*f2a8e57eSGunnar Mills                    "description": "The version of this container engine.",
97*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the version of this container engine.",
98*f2a8e57eSGunnar Mills                    "readonly": true,
99*f2a8e57eSGunnar Mills                    "type": [
100*f2a8e57eSGunnar Mills                        "string",
101*f2a8e57eSGunnar Mills                        "null"
102*f2a8e57eSGunnar Mills                    ]
103*f2a8e57eSGunnar Mills                }
104*f2a8e57eSGunnar Mills            },
105*f2a8e57eSGunnar Mills            "type": "object"
106*f2a8e57eSGunnar Mills        },
107*f2a8e57eSGunnar Mills        "ContainerEngineTypes": {
108*f2a8e57eSGunnar Mills            "enum": [
109*f2a8e57eSGunnar Mills                "Docker",
110*f2a8e57eSGunnar Mills                "containerd",
111*f2a8e57eSGunnar Mills                "CRIO"
112*f2a8e57eSGunnar Mills            ],
113*f2a8e57eSGunnar Mills            "enumDescriptions": {
114*f2a8e57eSGunnar Mills                "CRIO": "CRI-O.",
115*f2a8e57eSGunnar Mills                "Docker": "Docker.",
116*f2a8e57eSGunnar Mills                "containerd": "containerd."
117*f2a8e57eSGunnar Mills            },
118*f2a8e57eSGunnar Mills            "enumLongDescriptions": {
119*f2a8e57eSGunnar Mills                "CRIO": "This value shall indicate the container engine is CRI-O.",
120*f2a8e57eSGunnar Mills                "Docker": "This value shall indicate the container engine is Docker.",
121*f2a8e57eSGunnar Mills                "containerd": "This value shall indicate the container engine is containerd."
122*f2a8e57eSGunnar Mills            },
123*f2a8e57eSGunnar Mills            "type": "string"
124*f2a8e57eSGunnar Mills        },
125*f2a8e57eSGunnar Mills        "Kernel": {
126*f2a8e57eSGunnar Mills            "additionalProperties": false,
127*f2a8e57eSGunnar Mills            "description": "The kernel information for an operating system.",
128*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the kernel information for an operating system.",
129*f2a8e57eSGunnar Mills            "patternProperties": {
130*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
131*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
132*f2a8e57eSGunnar Mills                    "type": [
133*f2a8e57eSGunnar Mills                        "array",
134*f2a8e57eSGunnar Mills                        "boolean",
135*f2a8e57eSGunnar Mills                        "integer",
136*f2a8e57eSGunnar Mills                        "number",
137*f2a8e57eSGunnar Mills                        "null",
138*f2a8e57eSGunnar Mills                        "object",
139*f2a8e57eSGunnar Mills                        "string"
140*f2a8e57eSGunnar Mills                    ]
141*f2a8e57eSGunnar Mills                }
142*f2a8e57eSGunnar Mills            },
143*f2a8e57eSGunnar Mills            "properties": {
144*f2a8e57eSGunnar Mills                "Machine": {
145*f2a8e57eSGunnar Mills                    "description": "The machine hardware name of the kernel.",
146*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the machine hardware name of the kernel.  For strict POSIX operating systems, the value shall contain the output of `uname -m`.",
147*f2a8e57eSGunnar Mills                    "readonly": true,
148*f2a8e57eSGunnar Mills                    "type": [
149*f2a8e57eSGunnar Mills                        "string",
150*f2a8e57eSGunnar Mills                        "null"
151*f2a8e57eSGunnar Mills                    ]
152*f2a8e57eSGunnar Mills                },
153*f2a8e57eSGunnar Mills                "Name": {
154*f2a8e57eSGunnar Mills                    "description": "The name of the kernel.",
155*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the name of the kernel.  For strict POSIX operating systems, the value shall contain the output of `uname -s`.  For Microsoft Windows, the value shall contain the string name from the output of `ver`, from Command Prompt, prior to the first square brace (`[`), which is typically `Microsoft Windows`.",
156*f2a8e57eSGunnar Mills                    "readonly": true,
157*f2a8e57eSGunnar Mills                    "type": [
158*f2a8e57eSGunnar Mills                        "string",
159*f2a8e57eSGunnar Mills                        "null"
160*f2a8e57eSGunnar Mills                    ]
161*f2a8e57eSGunnar Mills                },
162*f2a8e57eSGunnar Mills                "Release": {
163*f2a8e57eSGunnar Mills                    "description": "The release of the kernel.",
164*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the release of the kernel.  For strict POSIX operating systems, the value shall contain the output of `uname -r`.  For Microsoft Windows, the value shall contain the decimal-delimited version from the output of `ver`, from Command Prompt, within the square braces (`[` and `]`), following the regular expression `^\\d+\\.\\d+\\.\\d+\\.\\d+$`.",
165*f2a8e57eSGunnar Mills                    "readonly": true,
166*f2a8e57eSGunnar Mills                    "type": [
167*f2a8e57eSGunnar Mills                        "string",
168*f2a8e57eSGunnar Mills                        "null"
169*f2a8e57eSGunnar Mills                    ]
170*f2a8e57eSGunnar Mills                },
171*f2a8e57eSGunnar Mills                "Version": {
172*f2a8e57eSGunnar Mills                    "description": "The version of the kernel.",
173*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the version of the kernel.  For strict POSIX operating systems, the value shall contain the output of `uname -v`.",
174*f2a8e57eSGunnar Mills                    "readonly": true,
175*f2a8e57eSGunnar Mills                    "type": [
176*f2a8e57eSGunnar Mills                        "string",
177*f2a8e57eSGunnar Mills                        "null"
178*f2a8e57eSGunnar Mills                    ]
179*f2a8e57eSGunnar Mills                }
180*f2a8e57eSGunnar Mills            },
181*f2a8e57eSGunnar Mills            "type": "object"
182*f2a8e57eSGunnar Mills        },
183*f2a8e57eSGunnar Mills        "Links": {
184*f2a8e57eSGunnar Mills            "additionalProperties": false,
185*f2a8e57eSGunnar Mills            "description": "The links to other resources that are related to this resource.",
186*f2a8e57eSGunnar Mills            "longDescription": "This Redfish Specification-described type shall contain links to resources that are related to but are not contained by, or subordinate to, this resource.",
187*f2a8e57eSGunnar Mills            "patternProperties": {
188*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
189*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
190*f2a8e57eSGunnar Mills                    "type": [
191*f2a8e57eSGunnar Mills                        "array",
192*f2a8e57eSGunnar Mills                        "boolean",
193*f2a8e57eSGunnar Mills                        "integer",
194*f2a8e57eSGunnar Mills                        "number",
195*f2a8e57eSGunnar Mills                        "null",
196*f2a8e57eSGunnar Mills                        "object",
197*f2a8e57eSGunnar Mills                        "string"
198*f2a8e57eSGunnar Mills                    ]
199*f2a8e57eSGunnar Mills                }
200*f2a8e57eSGunnar Mills            },
201*f2a8e57eSGunnar Mills            "properties": {
202*f2a8e57eSGunnar Mills                "Oem": {
203*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
204*f2a8e57eSGunnar Mills                    "description": "The OEM extension property.",
205*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
206*f2a8e57eSGunnar Mills                },
207*f2a8e57eSGunnar Mills                "SoftwareImage": {
208*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/SoftwareInventory.json#/definitions/SoftwareInventory",
209*f2a8e57eSGunnar Mills                    "description": "The link to the software image for this operating system.",
210*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain a link to a resource of type `SoftwareInventory` that represents the software image from which this operating system runs.",
211*f2a8e57eSGunnar Mills                    "readonly": true
212*f2a8e57eSGunnar Mills                }
213*f2a8e57eSGunnar Mills            },
214*f2a8e57eSGunnar Mills            "type": "object"
215*f2a8e57eSGunnar Mills        },
216*f2a8e57eSGunnar Mills        "OemActions": {
217*f2a8e57eSGunnar Mills            "additionalProperties": true,
218*f2a8e57eSGunnar Mills            "description": "The available OEM-specific actions for this resource.",
219*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
220*f2a8e57eSGunnar Mills            "patternProperties": {
221*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
222*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
223*f2a8e57eSGunnar Mills                    "type": [
224*f2a8e57eSGunnar Mills                        "array",
225*f2a8e57eSGunnar Mills                        "boolean",
226*f2a8e57eSGunnar Mills                        "integer",
227*f2a8e57eSGunnar Mills                        "number",
228*f2a8e57eSGunnar Mills                        "null",
229*f2a8e57eSGunnar Mills                        "object",
230*f2a8e57eSGunnar Mills                        "string"
231*f2a8e57eSGunnar Mills                    ]
232*f2a8e57eSGunnar Mills                }
233*f2a8e57eSGunnar Mills            },
234*f2a8e57eSGunnar Mills            "properties": {},
235*f2a8e57eSGunnar Mills            "type": "object"
236*f2a8e57eSGunnar Mills        },
237*f2a8e57eSGunnar Mills        "OperatingSystem": {
238*f2a8e57eSGunnar Mills            "additionalProperties": false,
239*f2a8e57eSGunnar Mills            "description": "The `OperatingSystem` schema represents the operating system and software running on a computer system.",
240*f2a8e57eSGunnar Mills            "longDescription": "This resource shall represent the operating system and software running on a computer system.",
241*f2a8e57eSGunnar Mills            "patternProperties": {
242*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
243*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
244*f2a8e57eSGunnar Mills                    "type": [
245*f2a8e57eSGunnar Mills                        "array",
246*f2a8e57eSGunnar Mills                        "boolean",
247*f2a8e57eSGunnar Mills                        "integer",
248*f2a8e57eSGunnar Mills                        "number",
249*f2a8e57eSGunnar Mills                        "null",
250*f2a8e57eSGunnar Mills                        "object",
251*f2a8e57eSGunnar Mills                        "string"
252*f2a8e57eSGunnar Mills                    ]
253*f2a8e57eSGunnar Mills                }
254*f2a8e57eSGunnar Mills            },
255*f2a8e57eSGunnar Mills            "properties": {
256*f2a8e57eSGunnar Mills                "@odata.context": {
257*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
258*f2a8e57eSGunnar Mills                },
259*f2a8e57eSGunnar Mills                "@odata.etag": {
260*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
261*f2a8e57eSGunnar Mills                },
262*f2a8e57eSGunnar Mills                "@odata.id": {
263*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
264*f2a8e57eSGunnar Mills                },
265*f2a8e57eSGunnar Mills                "@odata.type": {
266*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
267*f2a8e57eSGunnar Mills                },
268*f2a8e57eSGunnar Mills                "Actions": {
269*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Actions",
270*f2a8e57eSGunnar Mills                    "description": "The available actions for this resource.",
271*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available actions for this resource."
272*f2a8e57eSGunnar Mills                },
273*f2a8e57eSGunnar Mills                "Applications": {
274*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/ApplicationCollection.json#/definitions/ApplicationCollection",
275*f2a8e57eSGunnar Mills                    "description": "The link to the collection of applications running under this operating system.",
276*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `ApplicationCollection` that represent the applications running under this operating system.",
277*f2a8e57eSGunnar Mills                    "readonly": true
278*f2a8e57eSGunnar Mills                },
279*f2a8e57eSGunnar Mills                "ContainerEngines": {
280*f2a8e57eSGunnar Mills                    "description": "The container engines running in this operating system.",
281*f2a8e57eSGunnar Mills                    "items": {
282*f2a8e57eSGunnar Mills                        "anyOf": [
283*f2a8e57eSGunnar Mills                            {
284*f2a8e57eSGunnar Mills                                "$ref": "#/definitions/ContainerEngine"
285*f2a8e57eSGunnar Mills                            },
286*f2a8e57eSGunnar Mills                            {
287*f2a8e57eSGunnar Mills                                "type": "null"
288*f2a8e57eSGunnar Mills                            }
289*f2a8e57eSGunnar Mills                        ]
290*f2a8e57eSGunnar Mills                    },
291*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the container engines running in this operating system.",
292*f2a8e57eSGunnar Mills                    "type": "array"
293*f2a8e57eSGunnar Mills                },
294*f2a8e57eSGunnar Mills                "ContainerImages": {
295*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/ContainerImageCollection.json#/definitions/ContainerImageCollection",
296*f2a8e57eSGunnar Mills                    "description": "The link to the collection of container images available to container engines on this operating system.",
297*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `ContainerImageCollection` that represent the container images available to container engines on this operating system.",
298*f2a8e57eSGunnar Mills                    "readonly": true
299*f2a8e57eSGunnar Mills                },
300*f2a8e57eSGunnar Mills                "Containers": {
301*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/ContainerCollection.json#/definitions/ContainerCollection",
302*f2a8e57eSGunnar Mills                    "description": "The link to the collection of containers running under this operating system.",
303*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `ContainerCollection` that represent the containers running under this operating system.",
304*f2a8e57eSGunnar Mills                    "readonly": true
305*f2a8e57eSGunnar Mills                },
306*f2a8e57eSGunnar Mills                "Description": {
307*f2a8e57eSGunnar Mills                    "anyOf": [
308*f2a8e57eSGunnar Mills                        {
309*f2a8e57eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
310*f2a8e57eSGunnar Mills                        },
311*f2a8e57eSGunnar Mills                        {
312*f2a8e57eSGunnar Mills                            "type": "null"
313*f2a8e57eSGunnar Mills                        }
314*f2a8e57eSGunnar Mills                    ],
315*f2a8e57eSGunnar Mills                    "readonly": true
316*f2a8e57eSGunnar Mills                },
317*f2a8e57eSGunnar Mills                "Id": {
318*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
319*f2a8e57eSGunnar Mills                    "readonly": true
320*f2a8e57eSGunnar Mills                },
321*f2a8e57eSGunnar Mills                "Kernel": {
322*f2a8e57eSGunnar Mills                    "anyOf": [
323*f2a8e57eSGunnar Mills                        {
324*f2a8e57eSGunnar Mills                            "$ref": "#/definitions/Kernel"
325*f2a8e57eSGunnar Mills                        },
326*f2a8e57eSGunnar Mills                        {
327*f2a8e57eSGunnar Mills                            "type": "null"
328*f2a8e57eSGunnar Mills                        }
329*f2a8e57eSGunnar Mills                    ],
330*f2a8e57eSGunnar Mills                    "description": "The kernel information for this operating system.",
331*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the kernel information for this operating system."
332*f2a8e57eSGunnar Mills                },
333*f2a8e57eSGunnar Mills                "Links": {
334*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Links",
335*f2a8e57eSGunnar Mills                    "description": "The links to other resources that are related to this resource.",
336*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."
337*f2a8e57eSGunnar Mills                },
338*f2a8e57eSGunnar Mills                "Name": {
339*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
340*f2a8e57eSGunnar Mills                    "readonly": true
341*f2a8e57eSGunnar Mills                },
342*f2a8e57eSGunnar Mills                "Oem": {
343*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
344*f2a8e57eSGunnar Mills                    "description": "The OEM extension property.",
345*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
346*f2a8e57eSGunnar Mills                },
347*f2a8e57eSGunnar Mills                "Status": {
348*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
349*f2a8e57eSGunnar Mills                    "description": "The status and health of the resource and its subordinate or dependent resources.",
350*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain any status or health properties of the resource."
351*f2a8e57eSGunnar Mills                },
352*f2a8e57eSGunnar Mills                "Type": {
353*f2a8e57eSGunnar Mills                    "anyOf": [
354*f2a8e57eSGunnar Mills                        {
355*f2a8e57eSGunnar Mills                            "$ref": "#/definitions/OperatingSystemTypes"
356*f2a8e57eSGunnar Mills                        },
357*f2a8e57eSGunnar Mills                        {
358*f2a8e57eSGunnar Mills                            "type": "null"
359*f2a8e57eSGunnar Mills                        }
360*f2a8e57eSGunnar Mills                    ],
361*f2a8e57eSGunnar Mills                    "description": "The type of operating system.",
362*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the type for this operating system.",
363*f2a8e57eSGunnar Mills                    "readonly": true
364*f2a8e57eSGunnar Mills                },
365*f2a8e57eSGunnar Mills                "UptimeSeconds": {
366*f2a8e57eSGunnar Mills                    "description": "The wall-clock time this operating system has been running in seconds.",
367*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the wall-clock time this operating system has been running in seconds.",
368*f2a8e57eSGunnar Mills                    "readonly": true,
369*f2a8e57eSGunnar Mills                    "type": [
370*f2a8e57eSGunnar Mills                        "integer",
371*f2a8e57eSGunnar Mills                        "null"
372*f2a8e57eSGunnar Mills                    ]
373*f2a8e57eSGunnar Mills                },
374*f2a8e57eSGunnar Mills                "VirtualMachineEngines": {
375*f2a8e57eSGunnar Mills                    "description": "The virtual machine engines running in this operating system.",
376*f2a8e57eSGunnar Mills                    "items": {
377*f2a8e57eSGunnar Mills                        "anyOf": [
378*f2a8e57eSGunnar Mills                            {
379*f2a8e57eSGunnar Mills                                "$ref": "#/definitions/VirtualMachineEngine"
380*f2a8e57eSGunnar Mills                            },
381*f2a8e57eSGunnar Mills                            {
382*f2a8e57eSGunnar Mills                                "type": "null"
383*f2a8e57eSGunnar Mills                            }
384*f2a8e57eSGunnar Mills                        ]
385*f2a8e57eSGunnar Mills                    },
386*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the virtual machine engines running in this operating system.",
387*f2a8e57eSGunnar Mills                    "type": "array"
388*f2a8e57eSGunnar Mills                }
389*f2a8e57eSGunnar Mills            },
390*f2a8e57eSGunnar Mills            "required": [
391*f2a8e57eSGunnar Mills                "@odata.id",
392*f2a8e57eSGunnar Mills                "@odata.type",
393*f2a8e57eSGunnar Mills                "Id",
394*f2a8e57eSGunnar Mills                "Name"
395*f2a8e57eSGunnar Mills            ],
396*f2a8e57eSGunnar Mills            "type": "object"
397*f2a8e57eSGunnar Mills        },
398*f2a8e57eSGunnar Mills        "OperatingSystemTypes": {
399*f2a8e57eSGunnar Mills            "enum": [
400*f2a8e57eSGunnar Mills                "Linux",
401*f2a8e57eSGunnar Mills                "Windows",
402*f2a8e57eSGunnar Mills                "Solaris",
403*f2a8e57eSGunnar Mills                "HPUX",
404*f2a8e57eSGunnar Mills                "AIX",
405*f2a8e57eSGunnar Mills                "BSD",
406*f2a8e57eSGunnar Mills                "macOS",
407*f2a8e57eSGunnar Mills                "IBMi",
408*f2a8e57eSGunnar Mills                "Hypervisor"
409*f2a8e57eSGunnar Mills            ],
410*f2a8e57eSGunnar Mills            "enumDescriptions": {
411*f2a8e57eSGunnar Mills                "AIX": "IBM AIX.",
412*f2a8e57eSGunnar Mills                "BSD": "Berkeley Software Distribution.",
413*f2a8e57eSGunnar Mills                "HPUX": "HPE HP-UX.",
414*f2a8e57eSGunnar Mills                "Hypervisor": "A bare-metal hypervisor.",
415*f2a8e57eSGunnar Mills                "IBMi": "IBM i.",
416*f2a8e57eSGunnar Mills                "Linux": "Linux.",
417*f2a8e57eSGunnar Mills                "Solaris": "Oracle Solaris.",
418*f2a8e57eSGunnar Mills                "Windows": "Microsoft Windows.",
419*f2a8e57eSGunnar Mills                "macOS": "Apple macOS."
420*f2a8e57eSGunnar Mills            },
421*f2a8e57eSGunnar Mills            "type": "string"
422*f2a8e57eSGunnar Mills        },
423*f2a8e57eSGunnar Mills        "VirtualMachineEngine": {
424*f2a8e57eSGunnar Mills            "additionalProperties": false,
425*f2a8e57eSGunnar Mills            "description": "A virtual machine engine running in an operating system.",
426*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain a virtual machine engine running in an operating system.",
427*f2a8e57eSGunnar Mills            "patternProperties": {
428*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
429*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
430*f2a8e57eSGunnar Mills                    "type": [
431*f2a8e57eSGunnar Mills                        "array",
432*f2a8e57eSGunnar Mills                        "boolean",
433*f2a8e57eSGunnar Mills                        "integer",
434*f2a8e57eSGunnar Mills                        "number",
435*f2a8e57eSGunnar Mills                        "null",
436*f2a8e57eSGunnar Mills                        "object",
437*f2a8e57eSGunnar Mills                        "string"
438*f2a8e57eSGunnar Mills                    ]
439*f2a8e57eSGunnar Mills                }
440*f2a8e57eSGunnar Mills            },
441*f2a8e57eSGunnar Mills            "properties": {
442*f2a8e57eSGunnar Mills                "ManagementURIs": {
443*f2a8e57eSGunnar Mills                    "description": "The URIs to manage this virtual machine engine.",
444*f2a8e57eSGunnar Mills                    "format": "uri-reference",
445*f2a8e57eSGunnar Mills                    "items": {
446*f2a8e57eSGunnar Mills                        "type": [
447*f2a8e57eSGunnar Mills                            "string",
448*f2a8e57eSGunnar Mills                            "null"
449*f2a8e57eSGunnar Mills                        ]
450*f2a8e57eSGunnar Mills                    },
451*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain an array of URIs to management interfaces for this virtual machine engine.  This is typically a web UI or API provided by the virtual machine engine.",
452*f2a8e57eSGunnar Mills                    "readonly": true,
453*f2a8e57eSGunnar Mills                    "type": "array"
454*f2a8e57eSGunnar Mills                },
455*f2a8e57eSGunnar Mills                "SupportedImageTypes": {
456*f2a8e57eSGunnar Mills                    "description": "The supported image types for this container engine.",
457*f2a8e57eSGunnar Mills                    "items": {
458*f2a8e57eSGunnar Mills                        "anyOf": [
459*f2a8e57eSGunnar Mills                            {
460*f2a8e57eSGunnar Mills                                "$ref": "#/definitions/VirtualMachineImageTypes"
461*f2a8e57eSGunnar Mills                            },
462*f2a8e57eSGunnar Mills                            {
463*f2a8e57eSGunnar Mills                                "type": "null"
464*f2a8e57eSGunnar Mills                            }
465*f2a8e57eSGunnar Mills                        ]
466*f2a8e57eSGunnar Mills                    },
467*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the supported image types for this container engine.",
468*f2a8e57eSGunnar Mills                    "readonly": true,
469*f2a8e57eSGunnar Mills                    "type": "array"
470*f2a8e57eSGunnar Mills                },
471*f2a8e57eSGunnar Mills                "Type": {
472*f2a8e57eSGunnar Mills                    "anyOf": [
473*f2a8e57eSGunnar Mills                        {
474*f2a8e57eSGunnar Mills                            "$ref": "#/definitions/VirtualMachineEngineTypes"
475*f2a8e57eSGunnar Mills                        },
476*f2a8e57eSGunnar Mills                        {
477*f2a8e57eSGunnar Mills                            "type": "null"
478*f2a8e57eSGunnar Mills                        }
479*f2a8e57eSGunnar Mills                    ],
480*f2a8e57eSGunnar Mills                    "description": "The type of virtual machine engine.",
481*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the type for this virtual machine engine.",
482*f2a8e57eSGunnar Mills                    "readonly": true
483*f2a8e57eSGunnar Mills                },
484*f2a8e57eSGunnar Mills                "Version": {
485*f2a8e57eSGunnar Mills                    "description": "The version of this virtual machine engine.",
486*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the version of this virtual machine engine.",
487*f2a8e57eSGunnar Mills                    "readonly": true,
488*f2a8e57eSGunnar Mills                    "type": [
489*f2a8e57eSGunnar Mills                        "string",
490*f2a8e57eSGunnar Mills                        "null"
491*f2a8e57eSGunnar Mills                    ]
492*f2a8e57eSGunnar Mills                }
493*f2a8e57eSGunnar Mills            },
494*f2a8e57eSGunnar Mills            "type": "object"
495*f2a8e57eSGunnar Mills        },
496*f2a8e57eSGunnar Mills        "VirtualMachineEngineTypes": {
497*f2a8e57eSGunnar Mills            "enum": [
498*f2a8e57eSGunnar Mills                "VMwareESX",
499*f2a8e57eSGunnar Mills                "HyperV",
500*f2a8e57eSGunnar Mills                "Xen",
501*f2a8e57eSGunnar Mills                "KVM",
502*f2a8e57eSGunnar Mills                "QEMU",
503*f2a8e57eSGunnar Mills                "VirtualBox",
504*f2a8e57eSGunnar Mills                "PowerVM"
505*f2a8e57eSGunnar Mills            ],
506*f2a8e57eSGunnar Mills            "enumDescriptions": {
507*f2a8e57eSGunnar Mills                "HyperV": "Microsoft Hyper-V.",
508*f2a8e57eSGunnar Mills                "KVM": "KVM (Kernel-based Virtual Machine).",
509*f2a8e57eSGunnar Mills                "PowerVM": "IBM PowerVM.",
510*f2a8e57eSGunnar Mills                "QEMU": "QEMU (Quick Emulator).",
511*f2a8e57eSGunnar Mills                "VMwareESX": "VMware ESX or ESXi.",
512*f2a8e57eSGunnar Mills                "VirtualBox": "Oracle VM VirtualBox.",
513*f2a8e57eSGunnar Mills                "Xen": "Xen."
514*f2a8e57eSGunnar Mills            },
515*f2a8e57eSGunnar Mills            "enumLongDescriptions": {
516*f2a8e57eSGunnar Mills                "HyperV": "This value shall indicate the virtual machine engine is Microsoft Hyper-V.",
517*f2a8e57eSGunnar Mills                "KVM": "This value shall indicate the virtual machine engine is Linux KVM (Kernel-based Virtual Machine).",
518*f2a8e57eSGunnar Mills                "PowerVM": "This value shall indicate the virtual machine engine is IBM PowerVM.",
519*f2a8e57eSGunnar Mills                "QEMU": "This value shall indicate the virtual machine engine is QEMU (Quick Emulator).  If QEMU is acting as a frontend for another virtual machine engine, such as Xen or KVM, VirtualMachineEngines should contain additional entries to represent the backend virtual machine engines.",
520*f2a8e57eSGunnar Mills                "VMwareESX": "This value shall indicate the virtual machine engine is VMware ESX or ESXi.",
521*f2a8e57eSGunnar Mills                "VirtualBox": "This value shall indicate the virtual machine engine is Oracle VM VirtualBox.  If VirtualBox is acting as a frontend for another virtual machine engine, such as HyperV, VirtualMachineEngines should contain additional entries to represent the backend virtual machine engines.",
522*f2a8e57eSGunnar Mills                "Xen": "This value shall indicate the virtual machine engine is Xen."
523*f2a8e57eSGunnar Mills            },
524*f2a8e57eSGunnar Mills            "type": "string"
525*f2a8e57eSGunnar Mills        },
526*f2a8e57eSGunnar Mills        "VirtualMachineImageTypes": {
527*f2a8e57eSGunnar Mills            "enum": [
528*f2a8e57eSGunnar Mills                "Raw",
529*f2a8e57eSGunnar Mills                "OVF",
530*f2a8e57eSGunnar Mills                "OVA",
531*f2a8e57eSGunnar Mills                "VHD",
532*f2a8e57eSGunnar Mills                "VMDK",
533*f2a8e57eSGunnar Mills                "VDI",
534*f2a8e57eSGunnar Mills                "QCOW",
535*f2a8e57eSGunnar Mills                "QCOW2"
536*f2a8e57eSGunnar Mills            ],
537*f2a8e57eSGunnar Mills            "enumDescriptions": {
538*f2a8e57eSGunnar Mills                "OVA": "OVA (Open Virtual Appliance).",
539*f2a8e57eSGunnar Mills                "OVF": "OVF (Open Virtualization Format).",
540*f2a8e57eSGunnar Mills                "QCOW": "QCOW (QEMU Copy-on-Write).",
541*f2a8e57eSGunnar Mills                "QCOW2": "QCOW2 (QEMU Copy-on-Write version 2).",
542*f2a8e57eSGunnar Mills                "Raw": "Raw disk image.",
543*f2a8e57eSGunnar Mills                "VDI": "VDI (Virtual Disk Image).",
544*f2a8e57eSGunnar Mills                "VHD": "VHD (Virtual Hard Disk).",
545*f2a8e57eSGunnar Mills                "VMDK": "VMDK (Virtual Machine Disk)."
546*f2a8e57eSGunnar Mills            },
547*f2a8e57eSGunnar Mills            "enumLongDescriptions": {
548*f2a8e57eSGunnar Mills                "OVA": "This value shall indicate a DSP0243-defined OVA (Open Virtual Appliance) image.",
549*f2a8e57eSGunnar Mills                "OVF": "This value shall indicate a DSP0243-defined OVF (Open Virtualization Format) image.",
550*f2a8e57eSGunnar Mills                "QCOW": "This value shall indicate a QEMU-defined QCOW (QEMU Copy-on-Write) image.",
551*f2a8e57eSGunnar Mills                "QCOW2": "This value shall indicate a QEMU-defined QCOW2 (QEMU Copy-on-Write version 2) image.",
552*f2a8e57eSGunnar Mills                "Raw": "This value shall indicate a raw disk image.",
553*f2a8e57eSGunnar Mills                "VDI": "This value shall indicate an Oracle VM VirtualBox-defined VDI (Virtual Disk Image).",
554*f2a8e57eSGunnar Mills                "VHD": "This value shall indicate a Microsoft Open Specification Promise-defined VHD (Virtual Hard Disk) image.",
555*f2a8e57eSGunnar Mills                "VMDK": "This value shall indicate a VMware-defined VMDK (Virtual Machine Disk) image."
556*f2a8e57eSGunnar Mills            },
557*f2a8e57eSGunnar Mills            "type": "string"
558*f2a8e57eSGunnar Mills        }
559*f2a8e57eSGunnar Mills    },
560*f2a8e57eSGunnar Mills    "language": "en",
561*f2a8e57eSGunnar Mills    "owningEntity": "DMTF",
562*f2a8e57eSGunnar Mills    "release": "2023.2",
563*f2a8e57eSGunnar Mills    "title": "#OperatingSystem.v1_0_2.OperatingSystem"
564*f2a8e57eSGunnar Mills}