Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 4 | <!--# Redfish Schema: SimpleStorage v1.2.1--> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 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 --> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 8 | <!--# Copyright 2014-2018 DMTF. --> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 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/Resource_v1.xml"> |
| 24 | <edmx:Include Namespace="Resource"/> |
| 25 | <edmx:Include Namespace="Resource.v1_0_0"/> |
| 26 | </edmx:Reference> |
| 27 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> |
| 28 | <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> |
| 29 | <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/> |
| 30 | </edmx:Reference> |
| 31 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Chassis_v1.xml"> |
| 32 | <edmx:Include Namespace="Chassis"/> |
| 33 | </edmx:Reference> |
| 34 | |
| 35 | <edmx:DataServices> |
| 36 | |
| 37 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SimpleStorage"> |
| 38 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 39 | |
| 40 | <EntityType Name="SimpleStorage" BaseType="Resource.v1_0_0.Resource" Abstract="true"> |
| 41 | <Annotation Term="OData.Description" String="This is the schema definition for the Simple Storage resource. It represents the properties of a storage controller and its directly-attached devices."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 42 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent a storage controller and its directly-attached devices."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 43 | <Annotation Term="Capabilities.InsertRestrictions"> |
| 44 | <Record> |
| 45 | <PropertyValue Property="Insertable" Bool="false"/> |
| 46 | </Record> |
| 47 | </Annotation> |
| 48 | <Annotation Term="Capabilities.UpdateRestrictions"> |
| 49 | <Record> |
| 50 | <PropertyValue Property="Updatable" Bool="false"/> |
| 51 | </Record> |
| 52 | </Annotation> |
| 53 | <Annotation Term="Capabilities.DeleteRestrictions"> |
| 54 | <Record> |
| 55 | <PropertyValue Property="Deletable" Bool="false"/> |
| 56 | </Record> |
| 57 | </Annotation> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 58 | <Annotation Term="Redfish.Uris"> |
| 59 | <Collection> |
| 60 | <String>/redfish/v1/Systems/{ComputerSystemId}/SimpleStorage/{SimpleStorageId}</String> |
| 61 | <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/SimpleStorage/{SimpleStorageId}</String> |
| 62 | <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/SimpleStorage/{SimpleStorageId}</String> |
| 63 | </Collection> |
| 64 | </Annotation> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 65 | </EntityType> |
| 66 | |
| 67 | </Schema> |
| 68 | |
| 69 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SimpleStorage.v1_0_0"> |
| 70 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 71 | |
| 72 | <EntityType Name="SimpleStorage" BaseType="SimpleStorage.SimpleStorage"> |
| 73 | <Annotation Term="OData.Description" String="This is the schema definition for the Simple Storage resource. It represents the properties of a storage controller and its directly-attached devices."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 74 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent a storage controller and its directly-attached devices."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 75 | <Property Name="UefiDevicePath" Type="Edm.String"> |
| 76 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 77 | <Annotation Term="OData.Description" String="The UEFI device path used to access this storage controller."/> |
| 78 | <Annotation Term="OData.LongDescription" String="This property shall contain the UEFI device path used to identify and locate the specific storage controller."/> |
| 79 | </Property> |
| 80 | <Property Name="Devices" Type="Collection(SimpleStorage.v1_0_0.Device)" Nullable="false"> |
| 81 | <Annotation Term="OData.Description" String="The storage devices associated with this resource."/> |
| 82 | <Annotation Term="OData.LongDescription" String="This property shall contain a list of storage devices associated with this resource."/> |
| 83 | </Property> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 84 | <Property Name="Status" Type="Resource.Status" Nullable="false"> |
| 85 | <Annotation Term="OData.Description" String="This property describes the status and health of the resource and its children."/> |
| 86 | <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/> |
| 87 | </Property> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 88 | </EntityType> |
| 89 | |
| 90 | <ComplexType Name="Device"> |
| 91 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 92 | <Annotation Term="OData.Description" String="A storage device such as a disk drive or optical media device."/> |
| 93 | <Annotation Term="OData.LongDescription" String="This type shall describe a storage device visible to SimpleStorage."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 94 | <Property Name="Oem" Type="Resource.Oem" Nullable="false"> |
| 95 | <Annotation Term="OData.Description" String="Oem extension object."/> |
| 96 | <Annotation Term="OData.LongDescription" String="This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."/> |
| 97 | </Property> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 98 | <Property Name="Name" Type="Edm.String" Nullable="false"> |
| 99 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 100 | <Annotation Term="OData.Description" String="The name of the resource or array element."/> |
| 101 | <Annotation Term="OData.LongDescription" String="This object represents the Name property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification. The value of this string shall be of the format for the reserved word *Name*."/> |
| 102 | <Annotation Term="Redfish.Required"/> |
| 103 | </Property> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 104 | <Property Name="Status" Type="Resource.Status" Nullable="false"> |
| 105 | <Annotation Term="OData.Description" String="This property describes the status and health of the resource and its children."/> |
| 106 | <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/> |
| 107 | </Property> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 108 | <Property Name="Manufacturer" Type="Edm.String"> |
| 109 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 110 | <Annotation Term="OData.Description" String="The name of the manufacturer of this device."/> |
| 111 | <Annotation Term="OData.LongDescription" String="This property shall indicate the name of the manufacturer of this storage device."/> |
| 112 | </Property> |
| 113 | <Property Name="Model" Type="Edm.String"> |
| 114 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 115 | <Annotation Term="OData.Description" String="The product model number of this device."/> |
| 116 | <Annotation Term="OData.LongDescription" String="This property shall indicate the model information as provided by the manufacturer of this storage device."/> |
| 117 | </Property> |
| 118 | </ComplexType> |
| 119 | |
| 120 | </Schema> |
| 121 | |
| 122 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SimpleStorage.v1_0_2"> |
| 123 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 124 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 125 | <EntityType Name="SimpleStorage" BaseType="SimpleStorage.v1_0_0.SimpleStorage"/> |
| 126 | </Schema> |
| 127 | |
| 128 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SimpleStorage.v1_0_3"> |
| 129 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 130 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 131 | <EntityType Name="SimpleStorage" BaseType="SimpleStorage.v1_0_2.SimpleStorage"/> |
| 132 | </Schema> |
| 133 | |
| 134 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SimpleStorage.v1_0_4"> |
| 135 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 136 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 137 | <EntityType Name="SimpleStorage" BaseType="SimpleStorage.v1_0_3.SimpleStorage"/> |
| 138 | </Schema> |
| 139 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 140 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SimpleStorage.v1_0_5"> |
| 141 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 142 | <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/> |
| 143 | <EntityType Name="SimpleStorage" BaseType="SimpleStorage.v1_0_4.SimpleStorage"/> |
| 144 | </Schema> |
| 145 | |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 146 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SimpleStorage.v1_1_0"> |
| 147 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 148 | |
| 149 | <EntityType Name="SimpleStorage" BaseType="SimpleStorage.v1_0_2.SimpleStorage"/> |
| 150 | |
| 151 | <ComplexType Name="Device" BaseType="SimpleStorage.v1_0_0.Device"> |
| 152 | <Property Name="CapacityBytes" Type="Edm.Int64"> |
| 153 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 154 | <Annotation Term="OData.Description" String="The size of the storage device."/> |
| 155 | <Annotation Term="OData.LongDescription" String="The value of this property shall represent the size (in bytes) of the Storage Device."/> |
| 156 | <Annotation Term="Validation.Minimum" Int="0"/> |
| 157 | <Annotation Term="Measures.Unit" String="By"/> |
| 158 | </Property> |
| 159 | </ComplexType> |
| 160 | |
| 161 | </Schema> |
| 162 | |
| 163 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SimpleStorage.v1_1_1"> |
| 164 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 165 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 166 | <EntityType Name="SimpleStorage" BaseType="SimpleStorage.v1_1_0.SimpleStorage"/> |
| 167 | </Schema> |
| 168 | |
| 169 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SimpleStorage.v1_1_2"> |
| 170 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 171 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 172 | <EntityType Name="SimpleStorage" BaseType="SimpleStorage.v1_1_1.SimpleStorage"/> |
| 173 | </Schema> |
| 174 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 175 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SimpleStorage.v1_1_3"> |
| 176 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 177 | <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/> |
| 178 | <EntityType Name="SimpleStorage" BaseType="SimpleStorage.v1_1_2.SimpleStorage"/> |
| 179 | </Schema> |
| 180 | |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 181 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SimpleStorage.v1_2_0"> |
| 182 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 183 | <EntityType Name="SimpleStorage" BaseType="SimpleStorage.v1_1_2.SimpleStorage"> |
| 184 | <Property Name="Links" Type="SimpleStorage.v1_2_0.Links" Nullable="false"> |
| 185 | <Annotation Term="OData.Description" String="Contains references to other resources that are related to this resource."/> |
| 186 | <Annotation Term="OData.LongDescription" String="The Links property, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource."/> |
| 187 | </Property> |
| 188 | <Property Name="Actions" Type="SimpleStorage.v1_2_0.Actions" Nullable="false"> |
| 189 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 190 | <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/> |
| 191 | </Property> |
| 192 | </EntityType> |
| 193 | |
| 194 | <ComplexType Name="Links" BaseType="Resource.Links"> |
| 195 | <Annotation Term="OData.Description" String="Contains references to other resources that are related to this resource."/> |
| 196 | <Annotation Term="OData.LongDescription" String="This type, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource."/> |
| 197 | <NavigationProperty Name="Chassis" Type="Chassis.Chassis" Nullable="false"> |
| 198 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 199 | <Annotation Term="OData.Description" String="A reference to the Chassis which contains this Simple Storage."/> |
| 200 | <Annotation Term="OData.LongDescription" String="The value of this property shall be a reference to a resource of type Chassis that represent the physical container associated with this Simple Storage."/> |
| 201 | <Annotation Term="OData.AutoExpandReferences"/> |
| 202 | </NavigationProperty> |
| 203 | </ComplexType> |
| 204 | |
| 205 | <ComplexType Name="Actions"> |
| 206 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 207 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 208 | <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 209 | <Property Name="Oem" Type="SimpleStorage.v1_2_0.OemActions" Nullable="false"> |
| 210 | <Annotation Term="OData.Description" String="This property contains the available OEM specific actions for this resource."/> |
| 211 | <Annotation Term="OData.LongDescription" String="This property shall contain any additional OEM actions for this resource."/> |
| 212 | </Property> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 213 | </ComplexType> |
| 214 | |
| 215 | <ComplexType Name="OemActions"> |
| 216 | <Annotation Term="OData.AdditionalProperties" Bool="true"/> |
| 217 | <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/> |
| 218 | <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/> |
| 219 | </ComplexType> |
| 220 | </Schema> |
| 221 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 222 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SimpleStorage.v1_2_1"> |
| 223 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 224 | <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/> |
| 225 | <EntityType Name="SimpleStorage" BaseType="SimpleStorage.v1_2_0.SimpleStorage"/> |
| 226 | </Schema> |
| 227 | |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 228 | </edmx:DataServices> |
| 229 | </edmx:Edmx> |