blob: 3cb73f7d6475124d88ea76a49f885c2b37c066a3 [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Ed Tanouscb103132019-10-08 11:34:22 -07004<!--# Redfish Schema: RedfishExtensions v1.0.0 -->
Jason M. Billsea4aa752018-06-05 13:29:11 -07005<!--# -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7<!--# available at http://www.dmtf.org/standards/redfish -->
Gunnar Millsa778c022020-05-12 12:20:36 -05008<!--# Copyright 2014-2020 DMTF. -->
Jason M. Billsea4aa752018-06-05 13:29:11 -07009<!--# 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://redfish.dmtf.org/schemas/v1/Settings_v1.xml">
18 <edmx:Include Namespace="Settings"/>
19 </edmx:Reference>
20 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/CollectionCapabilities_v1.xml">
21 <edmx:Include Namespace="CollectionCapabilities"/>
22 </edmx:Reference>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060023 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Certificate_v1.xml">
24 <edmx:Include Namespace="Certificate"/>
25 </edmx:Reference>
26 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ResourceBlock_v1.xml">
27 <edmx:Include Namespace="ResourceBlock"/>
28 </edmx:Reference>
Jason M. Billsea4aa752018-06-05 13:29:11 -070029
30 <edmx:DataServices>
31
32 <!--These terms extend the schema language for Redfish-specific information-->
33 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RedfishExtensions.v1_0_0">
34 <Annotation Term="RedfishExtensions.v1_0_0.OwningEntity" String="DMTF"/>
35
36 <Term Name="AllowableValues" Type="Collection(Edm.String)" Nullable="false">
Gunnar Mills09b9d452020-02-11 13:27:39 -060037 <Annotation Term="OData.Description" String="The set of allowable values for an action parameter or property."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070038 </Term>
39 <Term Name="Required" Type="Edm.Boolean" DefaultValue="true">
Ed Tanouscb103132019-10-08 11:34:22 -070040 <Annotation Term="OData.Description" String="This term specifies that a property is required to be supported by Services. Properties not annotated as required are optional."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070041 </Term>
42 <Term Name="RequiredOnCreate" Type="Edm.Boolean" DefaultValue="true">
Ed Tanouscb103132019-10-08 11:34:22 -070043 <Annotation Term="OData.Description" String="The term specifies that a property is required to be specified in the body of a POST request to create the Resource."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070044 </Term>
45 <Term Name="Settings" Type="Settings.Settings">
Ed Tanouscb103132019-10-08 11:34:22 -070046 <Annotation Term="OData.Description" String="The link to the Settings Resource that represents the settings to apply to this Resource."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070047 </Term>
48 <Term Name="AutoExpandReferences" Type="Edm.Boolean" DefaultValue="true">
49 <Annotation Term="RedfishExtensions.v1_0_0.Deprecated" String="This term has been deprecated in favor of OData.AutoExpandReferences."/>
Ed Tanouscb103132019-10-08 11:34:22 -070050 <Annotation Term="OData.Description" String="This term can be applied to a navigation property to specify that the default behavior for the Service is to expand the links to the related Resource or Resource Collection in responses."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070051 </Term>
52 <Term Name="AutoExpand" Type="Edm.Boolean" DefaultValue="true">
53 <Annotation Term="RedfishExtensions.v1_0_0.Deprecated" String="This term has been deprecated in favor of OData.AutoExpand."/>
Ed Tanouscb103132019-10-08 11:34:22 -070054 <Annotation Term="OData.Description" String="The term can be applied to a navigation property to specify that the default behavior for the Service is to expand the related Resource or Resource Collection in responses."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070055 </Term>
56 <Term Name="IPv6Format" Type="Edm.Boolean" DefaultValue="true">
Ed Tanouscb103132019-10-08 11:34:22 -070057 <Annotation Term="OData.Description" String="The term can be applied to a property or parameter to specify that IPv6 addressing rules apply to that property or parameter."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070058 </Term>
59 <Term Name="Copyright" Type="Edm.String">
Ed Tanouscb103132019-10-08 11:34:22 -070060 <Annotation Term="OData.Description" String="The term is applied to Redfish payload samples to specify copyright information. It would not generally be used in production payloads."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070061 </Term>
62 <Term Name="Deprecated" Type="Edm.String">
Ed Tanouscb103132019-10-08 11:34:22 -070063 <Annotation Term="OData.Description" String="The term shall be applied to a property or value to specify that the property or value is deprecated. The string value should explain the deprecation, including new property or properties or value to use. The property or value can be supported in new and existing implementations, but usage in new implementations is discouraged. Deprecated properties and values are likely to be removed in a future major version of the schema."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070064 </Term>
65 <Term Name="ActionInfo" Type="Edm.String">
Ed Tanouscb103132019-10-08 11:34:22 -070066 <Annotation Term="OData.Description" String="The term can be applied to an action to specify a URI to an ActionInfo Resource that describes the parameters supported by this instance of the action."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070067 <Annotation Term="OData.IsURL"/>
68 </Term>
69 <Term Name="DynamicPropertyPatterns" Type="Collection(RedfishExtensions.v1_0_0.PropertyPattern)" Nullable="false"/>
70 <Term Name="SetOnlyOnCreate" Type="Edm.Boolean" DefaultValue="true">
Ed Tanouscb103132019-10-08 11:34:22 -070071 <Annotation Term="OData.Description" String="The term specifies that a property can only be set when a client creates an instance of a Resource through POST."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070072 </Term>
73 <Term Name="OptionalOnCreate" Type="Edm.Boolean" DefaultValue="true">
Ed Tanouscb103132019-10-08 11:34:22 -070074 <Annotation Term="OData.Description" String="The term specifies that a property may be set when a client creates an instance of a Resource through POST."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070075 </Term>
76 <Term Name="UpdatableAfterCreate" Type="Edm.Boolean" DefaultValue="true">
Ed Tanouscb103132019-10-08 11:34:22 -070077 <Annotation Term="OData.Description" String="The term specifies that a property may be set by a client that uses PATCH after it creates an instance of a Resource through POST."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070078 </Term>
79 <Term Name="CollectionCapabilities" Type="CollectionCapabilities.CollectionCapabilities">
Ed Tanouscb103132019-10-08 11:34:22 -070080 <Annotation Term="OData.Description" String="The link to the Resource that represents the POST capabilities of a collection."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070081 </Term>
82 <Term Name="Confidential" Type="Edm.String">
Ed Tanouscb103132019-10-08 11:34:22 -070083 <Annotation Term="OData.Description" String="The term specifies that a schema or property is un-released and confidential material that is not meant for public disclosure."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070084 </Term>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060085 <Term Name="Release" Type="Edm.String">
Ed Tanouscb103132019-10-08 11:34:22 -070086 <Annotation Term="OData.Description" String="The term specifies the version of the release bundle in which this schema or versioned namespace was first released."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060087 </Term>
Jason M. Billsea4aa752018-06-05 13:29:11 -070088 <Term Name="ReleaseStatus" Type="RedfishExtensions.v1_0_0.ReleaseStatusType">
89 <Annotation Term="OData.Description" String="The term specifies the public release status of a property or schema."/>
90 </Term>
91 <Term Name="SettingsApplyTime" Type="Settings.PreferredApplyTime">
Ed Tanouscb103132019-10-08 11:34:22 -070092 <Annotation Term="OData.Description" String="The configuration settings for when the values in the settings object are applied to a Resource."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070093 </Term>
94 <Term Name="OperationApplyTime" Type="Settings.OperationApplyTime">
Ed Tanouscb103132019-10-08 11:34:22 -070095 <Annotation Term="OData.Description" String="The requested apply time from a client when performing a create, delete, or action operation."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070096 </Term>
97 <Term Name="OperationApplyTimeSupport" Type="Settings.OperationApplyTimeSupport">
Ed Tanouscb103132019-10-08 11:34:22 -070098 <Annotation Term="OData.Description" String="An indication of whether a client can request an apply time for a create, delete, or action operation of a Resource through the OperationApplyTime term."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070099 </Term>
100 <Term Name="MaintenanceWindow" Type="Settings.MaintenanceWindow">
Ed Tanouscb103132019-10-08 11:34:22 -0700101 <Annotation Term="OData.Description" String="The maintenance window configuration for a Resource for when to apply settings or operations."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700102 </Term>
103 <Term Name="OwningEntity" Type="Edm.String">
Ed Tanouscb103132019-10-08 11:34:22 -0700104 <Annotation Term="OData.Description" String="The name of the entity responsible for development, publication, and maintenance of a schema. Possible values include `DMTF` or `SNIA`, or an OEM label from a Redfish OEM extension section."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800105 </Term>
106 <Term Name="Uris" Type="Collection(Edm.String)">
Ed Tanouscb103132019-10-08 11:34:22 -0700107 <Annotation Term="OData.Description" String="The term specifies the URIs that a Service can use for the Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800108 </Term>
Gunnar Mills09b9d452020-02-11 13:27:39 -0600109 <Term Name="RequestedCount" Type="Edm.Int64">
Ed Tanouscb103132019-10-08 11:34:22 -0700110 <Annotation Term="OData.Description" String="The term is used by a client to specify a request for a quantity of items."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800111 </Term>
112 <Term Name="RequestedCountRequired" Type="Edm.Boolean" DefaultValue="true">
Ed Tanouscb103132019-10-08 11:34:22 -0700113 <Annotation Term="OData.Description" String="The term specifies that a client is required to provide the @Redfish.RequestedCount term as part of the payload to specify a quantity of items."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800114 </Term>
115 <Term Name="AllowOverprovisioning" Type="Edm.Boolean" DefaultValue="false">
Ed Tanouscb103132019-10-08 11:34:22 -0700116 <Annotation Term="OData.Description" String="The term specifies that a client allows the Service to provide more Resources than requested, which includes, but is not limited to, a larger quantity of items, larger capacity, and faster devices."/>
117 <Annotation Term="OData.LongDescription" String="The term shall specify that a client allows the Service to provide more Resources than requested, which includes, but is not limited to, a larger quantity of items, larger capacity, and faster devices. If not specified by the client, the Service shall treat this as `false`."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800118 </Term>
119 <Term Name="ZoneAffinity" Type="Edm.String">
Ed Tanouscb103132019-10-08 11:34:22 -0700120 <Annotation Term="OData.Description" String="The term specifies that a client requests that the Service fulfills a request with Resources available within a specific Zone Resource. The term value is the Id property of the Zone Resource."/>
121 <Annotation Term="OData.LongDescription" String="The term shall specify that a client requests that the Service fulfills a request with Resources available in a specific Zone Resource. The term value shall contain the Id property of the Zone Resource. This term shall only be at the root level of the request payload."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800122 </Term>
123 <Term Name="Filter" Type="Edm.String">
Ed Tanouscb103132019-10-08 11:34:22 -0700124 <Annotation Term="OData.Description" String="The filter to apply to an array of objects when the values are copies of data elsewhere in the data model."/>
125 <Annotation Term="OData.LongDescription" String="The term shall specify a filter to apply to a set of objects used as the data source for an array. The term value shall follow the Redfish Specification-specified filter query parameter format. Items that match the filter shall appear in the resulting array, while items that do not match the filter shall be excluded from the results."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800126 </Term>
127 <Term Name="Excerpt" Type="Edm.String">
Ed Tanouscb103132019-10-08 11:34:22 -0700128 <Annotation Term="OData.Description" String="The term specifies that the property is a Excerpt data element that shall appear in objects marked as a Excerpt Copy when the term value matches the ExcerptCopy term type. The value shall contain a property name to use as a key, and the key property value, and only one key property can be defined for each Resource. If the term value is unspecified, the property shall appear in all ExcerptCopy instances."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800129 </Term>
130 <Term Name="ExcerptCopy" Type="Edm.String">
Ed Tanouscb103132019-10-08 11:34:22 -0700131 <Annotation Term="OData.Description" String="The term specifies that the object or property definition is a copy of data from a source elsewhere in the data model, and that only properties marked as Excerpt in that linked definition shall be included. The term value shall contain the name of the specific Excerpt from the linked definition. If the term value is not defined, all Excerpt properties shall be copied from the linked definition."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800132 </Term>
133 <Term Name="ExcerptCopyOnly" Type="Edm.Boolean" DefaultValue="true">
Ed Tanouscb103132019-10-08 11:34:22 -0700134 <Annotation Term="OData.Description" String="The term specifies that the property is a data element that shall appear only when the Resource definition is used as a copy (using the ExcerptCopy term), and shall not appear in the original data Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800135 </Term>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600136 <Term Name="SupportedCertificates" Type="Collection(Certificate.CertificateType)">
137 <Annotation Term="OData.Description" String="The term specifies the supported certificate formats for a given certificate collection."/>
138 </Term>
139 <Term Name="ResourceBlockLimits" Type="ResourceBlock.ResourceBlockLimits">
Ed Tanouscb103132019-10-08 11:34:22 -0700140 <Annotation Term="OData.Description" String="The term specifies the allowable quantities of types of Resource Blocks for a composition request."/>
141 </Term>
142 <Term Name="Language" Type="Edm.String" DefaultValue="en">
143 <Annotation Term="OData.Description" String="The term specifies the ISO 639-1 language code (Alpha-2) that matches the language used for the descriptive text in this schema file. If this term is not present, the default value shall be English (en)."/>
144 </Term>
145 <Term Name="Translation" Type="Edm.String">
146 <Annotation Term="OData.Description" String="The term specifies a translated language (localized) version of the property name, parameter, or enumeration string. The language shall match the Redfish.Language value for this schema."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600147 </Term>
148 <Term Name="License" Type="Edm.String">
Ed Tanouscb103132019-10-08 11:34:22 -0700149 <Annotation Term="OData.Description" String="The term specifies licensing information for a Redfish schema or registry."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600150 </Term>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700151
152 <EnumType Name="ReleaseStatusType">
153 <Member Name="Standard">
154 <Annotation Term="OData.Description" String="Released as normative standard or specification."/>
155 </Member>
156 <Member Name="Informational">
157 <Annotation Term="OData.Description" String="Released as an informational, non-normative document."/>
158 </Member>
159 <Member Name="WorkInProgress">
160 <Annotation Term="OData.Description" String="Released as Work In Progress, subject to change perhaps profoundly and without notice."/>
161 </Member>
162 <Member Name="InDevelopment">
163 <Annotation Term="OData.Description" String="Un-released work product currently under development or review."/>
164 </Member>
165 </EnumType>
166
167 <ComplexType Name="PropertyPattern">
168 <Annotation Term="OData.Description" String="The pattern by which property names must adhere."/>
169 <Annotation Term="OData.LongDescription" String="This type shall describe the pattern to which a dynamic property name must adhere."/>
170 <Property Name="Pattern" Type="Edm.String">
171 <Annotation Term="OData.Description" String="The pattern that the property name shall match."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700172 <Annotation Term="OData.LongDescription" String="This shall contain the pattern that the property name shall match."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700173 </Property>
174 <Property Name="Type" Type="Edm.String">
Ed Tanouscb103132019-10-08 11:34:22 -0700175 <Annotation Term="OData.Description" String="The type of name."/>
176 <Annotation Term="OData.LongDescription" String="This shall contain the type that the name shall have."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700177 </Property>
178 </ComplexType>
179
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600180 <Term Name="Revisions" Type="Collection(RedfishExtensions.v1_0_0.RevisionType)" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -0700181 <Annotation Term="OData.Description" String="The list of revisions of a model element."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600182 </Term>
183
184 <ComplexType Name="RevisionType">
Ed Tanouscb103132019-10-08 11:34:22 -0700185 <Annotation Term="OData.Description" String="The structure that contains revision information."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600186 <Annotation Term="OData.LongDescription" String="This type shall contain revision information."/>
187 <Property Name="Version" Type="Edm.String" Nullable="true">
188 <Annotation Term="OData.Description" String="The schema version with which this revision was first published."/>
189 <Annotation Term="OData.LongDescription" String="This property shall contain the schema version with which this revision was first published."/>
190 </Property>
191 <Property Name="Kind" Type="RedfishExtensions.v1_0_0.RevisionKind" Nullable="false">
192 <Annotation Term="OData.Description" String="The kind of revision."/>
193 <Annotation Term="OData.LongDescription" String="This property shall describe the type of change made."/>
194 </Property>
195 <Property Name="Description" Type="Edm.String">
Ed Tanouscb103132019-10-08 11:34:22 -0700196 <Annotation Term="OData.Description" String="The reason for the revision."/>
197 <Annotation Term="OData.LongDescription" String="This property shall contain a description of the change."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600198 </Property>
199 </ComplexType>
200
201 <EnumType Name="RevisionKind">
202 <Member Name="Added">
203 <Annotation Term="OData.Description" String="Model element was added."/>
204 </Member>
205 <Member Name="Modified">
206 <Annotation Term="OData.Description" String="Model element was modified."/>
207 </Member>
208 <Member Name="Deprecated">
209 <Annotation Term="OData.Description" String="Model element was deprecated."/>
210 </Member>
211 </EnumType>
212
Jason M. Billsea4aa752018-06-05 13:29:11 -0700213 <Term Name="Enumeration" Type="Collection(RedfishExtensions.v1_0_0.EnumerationMember)" Nullable="false">
214 <Annotation Term="OData.Description" String="The term enumerates the allowable set of legacy, non-standard string values where a standard enumeration cannot be used. This annotation should not be used for any new values."/>
215 </Term>
216
217 <ComplexType Name="EnumerationMember">
Ed Tanouscb103132019-10-08 11:34:22 -0700218 <Annotation Term="OData.Description" String="The member of an enumeration that contains spaces, starts with a number, or otherwise does not comply with OData EnumMember naming rules. Used for compatability purposes for enumerations that do not comply with OData rules."/>
219 <Annotation Term="OData.LongDescription" String="This type shall describe a member of an enumeration that contains spaces, starts with a number, or otherwise does not comply with OData EnumMember naming rules."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700220 <Property Name="Member" Type="Edm.String">
221 <Annotation Term="OData.Description" String="An allowable string member."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800222 <Annotation Term="OData.LongDescription" String="This shall be an allowable string member for the enumeration."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700223 </Property>
224 </ComplexType>
225
226 </Schema>
227
228 <!--These terms are used for validating a property value-->
229 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Validation.v1_0_0">
230 <Annotation Term="RedfishExtensions.v1_0_0.OwningEntity" String="DMTF"/>
231
232 <Term Name="Pattern" Type="Edm.String">
233 <Annotation Term="OData.Description" String="The pattern that a string property or parameter must match."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700234 <Annotation Term="OData.LongDescription" String="This term shall contain a regular expression that follows the ECMA 262 syntax."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700235 </Term>
236 <Term Name="Minimum" Type="Edm.Int64">
Ed Tanouscb103132019-10-08 11:34:22 -0700237 <Annotation Term="OData.Description" String="The minimum value for an integer property or parameter."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700238 </Term>
239 <Term Name="Maximum" Type="Edm.Int64">
Ed Tanouscb103132019-10-08 11:34:22 -0700240 <Annotation Term="OData.Description" String="The maximum value for an integer property or parameter."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700241 </Term>
242
243 </Schema>
244
245 </edmx:DataServices>
246</edmx:Edmx>