blob: e6b756e5577cdd1c19a007d6bc1f759ff8cbff71 [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: CollectionCapabilities v1.2.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 -->
Ed Tanouscb103132019-10-08 11:34:22 -07008<!--# Copyright 2014-2019 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/RedfishExtensions_v1.xml">
18 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
Ed Tanouscb103132019-10-08 11:34:22 -070019 <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070020 </edmx:Reference>
21 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
22 <edmx:Include Namespace="Resource"/>
23 </edmx:Reference>
24
25 <edmx:DataServices>
26
27 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities">
28 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
29 <ComplexType Name="CollectionCapabilities" Abstract="true"/>
30 </Schema>
31
32 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_0_0">
33 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060034 <Annotation Term="Redfish.Release" String="2017.1"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070035
36 <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.CollectionCapabilities">
37 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
38 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
39 <Annotation Term="OData.Description" String="This type describes the capabilities of a collection."/>
Ed Tanouscb103132019-10-08 11:34:22 -070040 <Annotation Term="OData.LongDescription" String="This type shall describe any capabilities of a Resource Collection in terms of how a client can create Resources within the Resource Collection."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070041 <Property Name="Capabilities" Type="Collection(CollectionCapabilities.v1_0_0.Capability)" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -070042 <Annotation Term="OData.Description" String="The list of capabilities supported by this Resource."/>
43 <Annotation Term="OData.LongDescription" String="This property shall contain an array of Capability structures."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070044 </Property>
45 </ComplexType>
46
47 <ComplexType Name="Capability">
48 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
Ed Tanouscb103132019-10-08 11:34:22 -070049 <Annotation Term="OData.Description" String="This type describes a capability of a collection for a specific use case."/>
50 <Annotation Term="OData.LongDescription" String="This type shall describe a capability of a Resource Collection in terms of how a client can create Resources within the collection for the specified use case."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070051 <NavigationProperty Name="CapabilitiesObject" Type="Resource.Item" Nullable="false">
52 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -070053 <Annotation Term="OData.Description" String="The link to the Resource the client may GET to understand how to form a POST request for a collection."/>
54 <Annotation Term="OData.LongDescription" String="This property shall contain a link to a Resource that matches the type for a Resource Collection and shall contain annotations that describe the properties allowed in the POST request."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070055 <Annotation Term="OData.AutoExpandReferences"/>
56 <Annotation Term="Redfish.Required"/>
57 </NavigationProperty>
58 <Property Name="UseCase" Type="CollectionCapabilities.v1_0_0.UseCase" Nullable="false">
59 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -070060 <Annotation Term="OData.Description" String="The use case in which a client may issue a POST request to the collection."/>
61 <Annotation Term="OData.LongDescription" String="This property shall contain an enumerated value that describes the use case for this capability instance."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070062 <Annotation Term="Redfish.Required"/>
63 </Property>
64 <Property Name="Links" Type="CollectionCapabilities.v1_0_0.Links" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -070065 <Annotation Term="OData.Description" String="The links to other Resources that are related to this Resource."/>
66 <Annotation Term="OData.LongDescription" String="The Redfish Specification-described Links Property shall contain links to Resources related to but not subordinate to this Resource."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070067 <Annotation Term="Redfish.Required"/>
68 </Property>
69 </ComplexType>
70
71 <EnumType Name="UseCase">
72 <Member Name="ComputerSystemComposition">
73 <Annotation Term="OData.Description" String="This capability describes a client creating a new ComputerSystem instance from a set of disaggregated hardware."/>
74 </Member>
Ed Tanous530520e2019-01-02 13:41:37 -080075 <Member Name="ComputerSystemConstrainedComposition">
76 <Annotation Term="OData.Description" String="This capability describes a client creating a new ComputerSystem instance from a set of constraints."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060077 <Annotation Term="Redfish.Revisions">
78 <Collection>
79 <Record>
80 <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
81 <PropertyValue Property="Version" String="v1_1_0"/>
82 </Record>
83 </Collection>
84 </Annotation>
Ed Tanous530520e2019-01-02 13:41:37 -080085 </Member>
Jason M. Billsea4aa752018-06-05 13:29:11 -070086 <Member Name="VolumeCreation">
87 <Annotation Term="OData.Description" String="This capability describes a client creating a new Volume instance as part of an existing storage subsystem."/>
88 </Member>
89 </EnumType>
90
91 <ComplexType Name="Links" BaseType="Resource.Links">
Ed Tanouscb103132019-10-08 11:34:22 -070092 <Annotation Term="OData.Description" String="The links to other Resources that are related to this Resource."/>
93 <Annotation Term="OData.LongDescription" String="The Redfish Specification-described type shall contain links to Resources related to but not subordinate to this Resource."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070094 <NavigationProperty Name="TargetCollection" Type="Resource.ResourceCollection" Nullable="false">
95 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
96 <Annotation Term="OData.Description" String="Reference to the collection that this capabilities structure is describing."/>
Ed Tanouscb103132019-10-08 11:34:22 -070097 <Annotation Term="OData.LongDescription" String="This property shall contain a link to a Resource Collection that this structure describes. A client may use this structure to understand how to form the POST request for the collection."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070098 <Annotation Term="OData.AutoExpandReferences"/>
99 <Annotation Term="Redfish.Required"/>
100 </NavigationProperty>
101 <NavigationProperty Name="RelatedItem" Type="Collection(Resource.Item)">
102 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700103 <Annotation Term="OData.Description" String="The ID(s) of the Resources associated with this capability."/>
104 <Annotation Term="OData.LongDescription" String="This property shall contain an array of IDs for pointers consistent with JSON Pointer syntax to the Resource that is related to this capability."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700105 <Annotation Term="OData.AutoExpandReferences"/>
106 </NavigationProperty>
107 </ComplexType>
108
109 </Schema>
110
Ed Tanous530520e2019-01-02 13:41:37 -0800111 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_0_1">
112 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
113 <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."/>
114 <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_0_0.CollectionCapabilities"/>
115 </Schema>
116
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600117 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_0_2">
118 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700119 <Annotation Term="OData.Description" String="This version was created to use the new Revisions annotation."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600120 <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_0_1.CollectionCapabilities"/>
121 </Schema>
122
Ed Tanouscb103132019-10-08 11:34:22 -0700123 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_0_3">
124 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
125 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
126 <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_0_2.CollectionCapabilities"/>
127 </Schema>
128
Ed Tanous530520e2019-01-02 13:41:37 -0800129 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_1_0">
130 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600131 <Annotation Term="Redfish.Release" String="2018.2"/>
Ed Tanous530520e2019-01-02 13:41:37 -0800132 <Annotation Term="OData.Description" String="This version was created to add ComputerSystemConstrainedComposition to the UseCase enum."/>
133 <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_0_1.CollectionCapabilities"/>
134 </Schema>
135
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600136 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_1_1">
137 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700138 <Annotation Term="OData.Description" String="This version was created to use the new Revisions annotation."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600139 <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_1_0.CollectionCapabilities"/>
140 </Schema>
141
Ed Tanouscb103132019-10-08 11:34:22 -0700142 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_1_2">
143 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
144 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
145 <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_1_1.CollectionCapabilities"/>
146 </Schema>
147
148 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_2_0">
149 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
150 <Annotation Term="Redfish.Release" String="2019.2"/>
151
152 <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_1_2.CollectionCapabilities">
153 <Property Name="MaxMembers" Type="Edm.Int64" Nullable="false">
154 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
155 <Annotation Term="OData.Description" String="The maximum number of members allowed in this collection."/>
156 <Annotation Term="OData.LongDescription" String="This integer property shall contain the maximum number of members allowed in this Resource Collection."/>
157 <Annotation Term="Validation.Minimum" Int="1"/>
158 </Property>
159 </ComplexType>
160 </Schema>
161
Jason M. Billsea4aa752018-06-05 13:29:11 -0700162 </edmx:DataServices>
163</edmx:Edmx>