1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/ContainerImage.v1_0_1.json",
3    "$ref": "#/definitions/ContainerImage",
4    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6    "definitions": {
7        "Actions": {
8            "additionalProperties": false,
9            "description": "The available actions for this resource.",
10            "longDescription": "This type shall contain the available actions for this resource.",
11            "patternProperties": {
12                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13                    "description": "This property shall specify a valid odata or Redfish property.",
14                    "type": [
15                        "array",
16                        "boolean",
17                        "integer",
18                        "number",
19                        "null",
20                        "object",
21                        "string"
22                    ]
23                }
24            },
25            "properties": {
26                "Oem": {
27                    "$ref": "#/definitions/OemActions",
28                    "description": "The available OEM-specific actions for this resource.",
29                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
30                }
31            },
32            "type": "object"
33        },
34        "ContainerImage": {
35            "additionalProperties": false,
36            "description": "The `ContainerImage` schema represents a container image available to a computer system.",
37            "longDescription": "This resource shall represent a container image available to a computer system.",
38            "patternProperties": {
39                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
40                    "description": "This property shall specify a valid odata or Redfish property.",
41                    "type": [
42                        "array",
43                        "boolean",
44                        "integer",
45                        "number",
46                        "null",
47                        "object",
48                        "string"
49                    ]
50                }
51            },
52            "properties": {
53                "@odata.context": {
54                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
55                },
56                "@odata.etag": {
57                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
58                },
59                "@odata.id": {
60                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
61                },
62                "@odata.type": {
63                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
64                },
65                "Actions": {
66                    "$ref": "#/definitions/Actions",
67                    "description": "The available actions for this resource.",
68                    "longDescription": "This property shall contain the available actions for this resource."
69                },
70                "CreateTime": {
71                    "description": "The date and time when the container image was created.",
72                    "format": "date-time",
73                    "longDescription": "This property shall indicate the date and time when the container image was created.",
74                    "readonly": true,
75                    "type": [
76                        "string",
77                        "null"
78                    ]
79                },
80                "Description": {
81                    "anyOf": [
82                        {
83                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
84                        },
85                        {
86                            "type": "null"
87                        }
88                    ],
89                    "readonly": true
90                },
91                "Id": {
92                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
93                    "readonly": true
94                },
95                "Links": {
96                    "$ref": "#/definitions/Links",
97                    "description": "The links to other resources that are related to this resource.",
98                    "longDescription": "This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."
99                },
100                "Name": {
101                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
102                    "readonly": true
103                },
104                "Oem": {
105                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
106                    "description": "The OEM extension property.",
107                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
108                },
109                "ProgrammaticId": {
110                    "description": "The programmatic identifier for this container image.",
111                    "longDescription": "This property shall contain the programmatic identifier for this container image.  This is typically a hash string that represents the identifier of this container image.",
112                    "readonly": true,
113                    "type": [
114                        "string",
115                        "null"
116                    ]
117                },
118                "SizeBytes": {
119                    "description": "The size of this container image in bytes.",
120                    "longDescription": "This property shall contain the size of this container image in bytes.",
121                    "readonly": true,
122                    "type": [
123                        "integer",
124                        "null"
125                    ],
126                    "units": "By"
127                },
128                "Status": {
129                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
130                    "description": "The status and health of the resource and its subordinate or dependent resources.",
131                    "longDescription": "This property shall contain any status or health properties of the resource."
132                },
133                "Type": {
134                    "anyOf": [
135                        {
136                            "$ref": "http://redfish.dmtf.org/schemas/v1/ContainerImage.json#/definitions/ImageTypes"
137                        },
138                        {
139                            "type": "null"
140                        }
141                    ],
142                    "description": "The image type of this container image.",
143                    "longDescription": "This property shall contain the supported image types for this container engine.",
144                    "readonly": true
145                },
146                "Version": {
147                    "description": "The version of this application.",
148                    "longDescription": "This property shall contain the version of this application.",
149                    "readonly": true,
150                    "type": [
151                        "string",
152                        "null"
153                    ]
154                }
155            },
156            "required": [
157                "@odata.id",
158                "@odata.type",
159                "Id",
160                "Name"
161            ],
162            "type": "object"
163        },
164        "Links": {
165            "additionalProperties": false,
166            "description": "The links to other resources that are related to this resource.",
167            "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.",
168            "patternProperties": {
169                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
170                    "description": "This property shall specify a valid odata or Redfish property.",
171                    "type": [
172                        "array",
173                        "boolean",
174                        "integer",
175                        "number",
176                        "null",
177                        "object",
178                        "string"
179                    ]
180                }
181            },
182            "properties": {
183                "Containers": {
184                    "description": "The array of links to the containers running from this container image.",
185                    "items": {
186                        "$ref": "http://redfish.dmtf.org/schemas/v1/Container.json#/definitions/Container"
187                    },
188                    "longDescription": "This property shall contain an array of links to resources of type `Container` that represent the container instances running from this container image.",
189                    "readonly": true,
190                    "type": "array"
191                },
192                "Containers@odata.count": {
193                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
194                },
195                "Oem": {
196                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
197                    "description": "The OEM extension property.",
198                    "longDescription": "This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
199                },
200                "SoftwareImage": {
201                    "$ref": "http://redfish.dmtf.org/schemas/v1/SoftwareInventory.json#/definitions/SoftwareInventory",
202                    "description": "The link to the software image for this container image.",
203                    "longDescription": "This property shall contain a link to a resource of type `SoftwareInventory` that represents the software image for this container image.",
204                    "readonly": true
205                }
206            },
207            "type": "object"
208        },
209        "OemActions": {
210            "additionalProperties": true,
211            "description": "The available OEM-specific actions for this resource.",
212            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
213            "patternProperties": {
214                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
215                    "description": "This property shall specify a valid odata or Redfish property.",
216                    "type": [
217                        "array",
218                        "boolean",
219                        "integer",
220                        "number",
221                        "null",
222                        "object",
223                        "string"
224                    ]
225                }
226            },
227            "properties": {},
228            "type": "object"
229        }
230    },
231    "language": "en",
232    "owningEntity": "DMTF",
233    "release": "2023.2",
234    "title": "#ContainerImage.v1_0_1.ContainerImage"
235}