1<?xml version="1.0" encoding="UTF-8"?> 2<!----> 3<!--################################################################################ --> 4<!--# Redfish Schema: ContainerImage v1.0.0 --> 5<!--# --> 6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> 7<!--# available at http://www.dmtf.org/standards/redfish --> 8<!--# Copyright 2014-2023 DMTF. --> 9<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10<!--################################################################################ --> 11<!----> 12<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"> 13 14 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml"> 15 <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/> 16 </edmx:Reference> 17 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml"> 18 <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/> 19 </edmx:Reference> 20 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml"> 21 <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/> 22 </edmx:Reference> 23 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> 24 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> 25 <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/> 26 </edmx:Reference> 27 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> 28 <edmx:Include Namespace="Resource"/> 29 <edmx:Include Namespace="Resource.v1_0_0"/> 30 </edmx:Reference> 31 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/SoftwareInventory_v1.xml"> 32 <edmx:Include Namespace="SoftwareInventory"/> 33 </edmx:Reference> 34 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Container_v1.xml"> 35 <edmx:Include Namespace="Container"/> 36 </edmx:Reference> 37 38 <edmx:DataServices> 39 40 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ContainerImage"> 41 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 42 43 <EntityType Name="ContainerImage" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 44 <Annotation Term="OData.Description" String="The ContainerImage schema represents a container image available to a computer system."/> 45 <Annotation Term="OData.LongDescription" String="This resource shall represent a container image available to a computer system."/> 46 <Annotation Term="Capabilities.InsertRestrictions"> 47 <Record> 48 <PropertyValue Property="Insertable" Bool="false"/> 49 </Record> 50 </Annotation> 51 <Annotation Term="Capabilities.UpdateRestrictions"> 52 <Record> 53 <PropertyValue Property="Updatable" Bool="false"/> 54 </Record> 55 </Annotation> 56 <Annotation Term="Capabilities.DeleteRestrictions"> 57 <Record> 58 <PropertyValue Property="Deletable" Bool="false"/> 59 </Record> 60 </Annotation> 61 <Annotation Term="Redfish.Uris"> 62 <Collection> 63 <String>/redfish/v1/Systems/{ComputerSystemId}/OperatingSystem/ContainerImages/{ContainerImageId}</String> 64 <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/OperatingSystem/ContainerImages/{ContainerImageId}</String> 65 <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/OperatingSystem/ContainerImages/{ContainerImageId}</String> 66 </Collection> 67 </Annotation> 68 </EntityType> 69 70 <EnumType Name="ImageTypes"> 71 <Member Name="DockerV1"> 72 <Annotation Term="OData.Description" String="Docker V1."/> 73 <Annotation Term="OData.LongDescription" String="This value shall indicate a Docker Image Specification Version 1-defined Docker image."/> 74 </Member> 75 <Member Name="DockerV2"> 76 <Annotation Term="OData.Description" String="Docker V2."/> 77 <Annotation Term="OData.LongDescription" String="This value shall indicate a Docker Image Manifest Version 2-defined Docker image."/> 78 </Member> 79 <Member Name="OCI"> 80 <Annotation Term="OData.Description" String="OCI (Open Container Initiative)."/> 81 <Annotation Term="OData.LongDescription" String="This value shall indicate an Open Container Specification-defined OCI (Open Container Initiative) image."/> 82 </Member> 83 </EnumType> 84 </Schema> 85 86 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ContainerImage.v1_0_0"> 87 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 88 <Annotation Term="Redfish.Release" String="2023.2"/> 89 90 <EntityType Name="ContainerImage" BaseType="ContainerImage.ContainerImage"> 91 <Property Name="Status" Type="Resource.Status" Nullable="false"> 92 <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/> 93 <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/> 94 </Property> 95 <Property Name="Type" Type="ContainerImage.ImageTypes"> 96 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 97 <Annotation Term="OData.Description" String="The image type of this container image."/> 98 <Annotation Term="OData.LongDescription" String="This property shall contain the supported image types for this container engine."/> 99 </Property> 100 <Property Name="Version" Type="Edm.String"> 101 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 102 <Annotation Term="OData.Description" String="The version of this application."/> 103 <Annotation Term="OData.LongDescription" String="This property shall contain the version of this application."/> 104 </Property> 105 <Property Name="CreateTime" Type="Edm.DateTimeOffset"> 106 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 107 <Annotation Term="OData.Description" String="The date and time when the container image was created."/> 108 <Annotation Term="OData.LongDescription" String="This property shall indicate the date and time when the container image was created."/> 109 </Property> 110 <Property Name="ProgrammaticId" Type="Edm.String"> 111 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 112 <Annotation Term="OData.Description" String="The programmatic identifier for this container image."/> 113 <Annotation Term="OData.LongDescription" String="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."/> 114 </Property> 115 <Property Name="SizeBytes" Type="Edm.Int64"> 116 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 117 <Annotation Term="OData.Description" String="The size of this container image in bytes."/> 118 <Annotation Term="OData.LongDescription" String="This property shall contain the size of this container image in bytes."/> 119 <Annotation Term="Measures.Unit" String="By"/> 120 </Property> 121 <Property Name="Links" Type="ContainerImage.v1_0_0.Links" Nullable="false"> 122 <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/> 123 <Annotation Term="OData.LongDescription" String="This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."/> 124 </Property> 125 <Property Name="Actions" Type="ContainerImage.v1_0_0.Actions" Nullable="false"> 126 <Annotation Term="OData.Description" String="The available actions for this resource."/> 127 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/> 128 </Property> 129 </EntityType> 130 131 <ComplexType Name="Links" BaseType="Resource.Links"> 132 <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/> 133 <Annotation Term="OData.LongDescription" String="This Redfish Specification-described type shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."/> 134 <NavigationProperty Name="SoftwareImage" Type="SoftwareInventory.SoftwareInventory" Nullable="false"> 135 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 136 <Annotation Term="OData.Description" String="The link to the software image for this container image."/> 137 <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource of type SoftwareInventory that represents the software image for this container image."/> 138 <Annotation Term="OData.AutoExpandReferences"/> 139 </NavigationProperty> 140 <NavigationProperty Name="Containers" Type="Collection(Container.Container)"> 141 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 142 <Annotation Term="OData.Description" String="The array of links to the containers running from this container image."/> 143 <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type Container that represent the container instances running from this container image."/> 144 <Annotation Term="OData.AutoExpandReferences"/> 145 </NavigationProperty> 146 </ComplexType> 147 148 <ComplexType Name="Actions"> 149 <Annotation Term="OData.AdditionalProperties" Bool="false"/> 150 <Annotation Term="OData.Description" String="The available actions for this resource."/> 151 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> 152 <Property Name="Oem" Type="ContainerImage.v1_0_0.OemActions" Nullable="false"> 153 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> 154 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/> 155 </Property> 156 </ComplexType> 157 158 <ComplexType Name="OemActions"> 159 <Annotation Term="OData.AdditionalProperties" Bool="true"/> 160 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> 161 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/> 162 </ComplexType> 163 </Schema> 164 165 </edmx:DataServices> 166</edmx:Edmx> 167