blob: 28a281a66b13bf46dde3f71a06e4cb7aaa0be720 [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
4<!--# Redfish Schema: RedfishExtensions 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-2018 Distributed Management Task Force, Inc. (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://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>
23
24 <edmx:DataServices>
25
26 <!--These terms extend the schema language for Redfish-specific information-->
27 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RedfishExtensions.v1_0_0">
28 <Annotation Term="RedfishExtensions.v1_0_0.OwningEntity" String="DMTF"/>
29
30 <Term Name="AllowableValues" Type="Collection(Edm.String)" Nullable="false">
31 <Annotation Term="OData.Description" String="The set of allowable values for a parameter."/>
32 </Term>
33 <Term Name="Required" Type="Edm.Boolean" DefaultValue="true">
34 <Annotation Term="OData.Description" String="The term specifies that a property is required to be supported by services. Properties not annotated as required are optional."/>
35 </Term>
36 <Term Name="RequiredOnCreate" Type="Edm.Boolean" DefaultValue="true">
37 <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."/>
38 </Term>
39 <Term Name="Settings" Type="Settings.Settings">
40 <Annotation Term="OData.Description" String="Reference to the resource that represents the settings to be applied to this object."/>
41 </Term>
42 <Term Name="AutoExpandReferences" Type="Edm.Boolean" DefaultValue="true">
43 <Annotation Term="RedfishExtensions.v1_0_0.Deprecated" String="This term has been deprecated in favor of OData.AutoExpandReferences."/>
44 <Annotation Term="OData.Description" String="The term can be applied to a navigation property in order to specify that the default behavior for the service is to expand the references for the related resource or collection of resources in responses."/>
45 </Term>
46 <Term Name="AutoExpand" Type="Edm.Boolean" DefaultValue="true">
47 <Annotation Term="RedfishExtensions.v1_0_0.Deprecated" String="This term has been deprecated in favor of OData.AutoExpand."/>
48 <Annotation Term="OData.Description" String="The term can be applied to a navigation property in order to specify that the default behavior for the service is to expand the related resource or collection of resources in responses."/>
49 </Term>
50 <Term Name="IPv6Format" Type="Edm.Boolean" DefaultValue="true">
51 <Annotation Term="OData.Description" String="The term can be applied to a property or parameter in order to specify that IPv6 addressing rules apply to that property or parameter."/>
52 </Term>
53 <Term Name="Copyright" Type="Edm.String">
54 <Annotation Term="OData.Description" String="The term is applied to Redfish payload samples in order to specify copyright information. It would not generally be used in production payloads."/>
55 </Term>
56 <Term Name="Deprecated" Type="Edm.String">
57 <Annotation Term="OData.Description" String="The term shall be applied to a property or value in order to specify that the property or value is deprecated. The value of the string should explain the deprecation, including new property or properties or value to be used. 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."/>
58 </Term>
59 <Term Name="ActionInfo" Type="Edm.String">
60 <Annotation Term="OData.Description" String="The term can be applied to an Action to specify a URI to an ActionInfo resource which describes the parameters supported by this instance of the Action."/>
61 <Annotation Term="OData.IsURL"/>
62 </Term>
63 <Term Name="DynamicPropertyPatterns" Type="Collection(RedfishExtensions.v1_0_0.PropertyPattern)" Nullable="false"/>
64 <Term Name="SetOnlyOnCreate" Type="Edm.Boolean" DefaultValue="true">
65 <Annotation Term="OData.Description" String="The term specifies that a property can only be set when a client is creating a new instance of a resource via POST."/>
66 </Term>
67 <Term Name="OptionalOnCreate" Type="Edm.Boolean" DefaultValue="true">
68 <Annotation Term="OData.Description" String="The term specifies that a property may be set when a client is creating a new instance of a resource via POST."/>
69 </Term>
70 <Term Name="UpdatableAfterCreate" Type="Edm.Boolean" DefaultValue="true">
71 <Annotation Term="OData.Description" String="The term specifies that a property may be set by a client using PATCH after creating a new instance of a resource via POST."/>
72 </Term>
73 <Term Name="CollectionCapabilities" Type="CollectionCapabilities.CollectionCapabilities">
74 <Annotation Term="OData.Description" String="Reference to the resource that represents the POST capabilities of a given collection."/>
75 </Term>
76 <Term Name="Confidential" Type="Edm.String">
77 <Annotation Term="OData.Description" String="The term specifies that a schema or property is un-released and is therefore confidential material not for public disclosure."/>
78 </Term>
79 <Term Name="ReleaseStatus" Type="RedfishExtensions.v1_0_0.ReleaseStatusType">
80 <Annotation Term="OData.Description" String="The term specifies the public release status of a property or schema."/>
81 </Term>
82 <Term Name="SettingsApplyTime" Type="Settings.PreferredApplyTime">
83 <Annotation Term="OData.Description" String="Configuration settings for when the values in the settings object are applied to a given resource."/>
84 </Term>
85 <Term Name="OperationApplyTime" Type="Settings.OperationApplyTime">
86 <Annotation Term="OData.Description" String="The requested apply time from a client when performing a Create, Delete, or Action operation."/>
87 </Term>
88 <Term Name="OperationApplyTimeSupport" Type="Settings.OperationApplyTimeSupport">
89 <Annotation Term="OData.Description" String="Indicates if a client is allowed to request for a specific apply time of a Create, Delete, or Action operation of a given resource via the OperationApplyTime term."/>
90 </Term>
91 <Term Name="MaintenanceWindow" Type="Settings.MaintenanceWindow">
92 <Annotation Term="OData.Description" String="Maintenance window configuration of a resource for when to apply settings or operations."/>
93 </Term>
94 <Term Name="OwningEntity" Type="Edm.String">
95 <Annotation Term="OData.Description" String="Indicates the name of the entity responsible for development, publication and maintenance of a given schema. Possible values include DMTF, SNIA or an OEM label such as is used in a Redfish OEM extension section."/>
96 </Term>
97
98 <EnumType Name="ReleaseStatusType">
99 <Member Name="Standard">
100 <Annotation Term="OData.Description" String="Released as normative standard or specification."/>
101 </Member>
102 <Member Name="Informational">
103 <Annotation Term="OData.Description" String="Released as an informational, non-normative document."/>
104 </Member>
105 <Member Name="WorkInProgress">
106 <Annotation Term="OData.Description" String="Released as Work In Progress, subject to change perhaps profoundly and without notice."/>
107 </Member>
108 <Member Name="InDevelopment">
109 <Annotation Term="OData.Description" String="Un-released work product currently under development or review."/>
110 </Member>
111 </EnumType>
112
113 <ComplexType Name="PropertyPattern">
114 <Annotation Term="OData.Description" String="The pattern by which property names must adhere."/>
115 <Annotation Term="OData.LongDescription" String="This type shall describe the pattern to which a dynamic property name must adhere."/>
116 <Property Name="Pattern" Type="Edm.String">
117 <Annotation Term="OData.Description" String="The pattern that the property name shall match."/>
118 </Property>
119 <Property Name="Type" Type="Edm.String">
120 <Annotation Term="OData.Description" String="The type that the name shall have."/>
121 </Property>
122 </ComplexType>
123
124 <Term Name="Enumeration" Type="Collection(RedfishExtensions.v1_0_0.EnumerationMember)" Nullable="false">
125 <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."/>
126 </Term>
127
128 <ComplexType Name="EnumerationMember">
129 <Annotation Term="OData.Description" String="This type describes a member of an enumeration used for compatability purposes for enumerations which do not comply with OData rules."/>
130 <Annotation Term="OData.LongDescription" String="This type shall describe a member of an enumeration which contains spaces, starts with a number, or otherwise does not comply with OData EnumMember naming rules."/>
131 <Property Name="Member" Type="Edm.String">
132 <Annotation Term="OData.Description" String="An allowable string member."/>
133 </Property>
134 </ComplexType>
135
136 </Schema>
137
138 <!--These terms are used for validating a property value-->
139 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Validation.v1_0_0">
140 <Annotation Term="RedfishExtensions.v1_0_0.OwningEntity" String="DMTF"/>
141
142 <Term Name="Pattern" Type="Edm.String">
143 <Annotation Term="OData.Description" String="The pattern that a string property or parameter must match."/>
144 </Term>
145 <Term Name="Minimum" Type="Edm.Int64">
146 <Annotation Term="OData.Description" String="Minimum value that an integer property or parameter can have."/>
147 </Term>
148 <Term Name="Maximum" Type="Edm.Int64">
149 <Annotation Term="OData.Description" String="Maximum value that an integer property or parameter can have."/>
150 </Term>
151
152 </Schema>
153
154 </edmx:DataServices>
155</edmx:Edmx>