Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 4 | <!--# Redfish Schema: CollectionCapabilities 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 --> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 8 | <!--# Copyright 2014-2020 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://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> |
| 18 | <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 19 | <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 20 | </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"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 29 | |
| 30 | <ComplexType Name="CollectionCapabilities" Abstract="true"> |
| 31 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 32 | <Annotation Term="OData.Description" String="This type describes the capabilities of a collection."/> |
| 33 | <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."/> |
| 34 | </ComplexType> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 35 | </Schema> |
| 36 | |
| 37 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_0_0"> |
| 38 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 39 | <Annotation Term="Redfish.Release" String="2017.1"/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 40 | |
| 41 | <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.CollectionCapabilities"> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 42 | <Property Name="Capabilities" Type="Collection(CollectionCapabilities.v1_0_0.Capability)" Nullable="false"> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 43 | <Annotation Term="OData.Description" String="The list of capabilities supported by this resource."/> |
| 44 | <Annotation Term="OData.LongDescription" String="This property shall contain an array of objects that describe the capabilities of this resource collection."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 45 | </Property> |
| 46 | </ComplexType> |
| 47 | |
| 48 | <ComplexType Name="Capability"> |
| 49 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 50 | <Annotation Term="OData.Description" String="This type describes a capability of a collection for a specific use case."/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 51 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 52 | <NavigationProperty Name="CapabilitiesObject" Type="Resource.Item" Nullable="false"> |
| 53 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 54 | <Annotation Term="OData.Description" String="The link to the resource the client can issue a GET request against to understand how to form a POST request for a collection."/> |
| 55 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 56 | <Annotation Term="OData.AutoExpandReferences"/> |
| 57 | <Annotation Term="Redfish.Required"/> |
| 58 | </NavigationProperty> |
| 59 | <Property Name="UseCase" Type="CollectionCapabilities.v1_0_0.UseCase" Nullable="false"> |
| 60 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 61 | <Annotation Term="OData.Description" String="The use case in which a client can issue a POST request to the collection."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 62 | <Annotation Term="OData.LongDescription" String="This property shall contain an enumerated value that describes the use case for this capability instance."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 63 | <Annotation Term="Redfish.Required"/> |
| 64 | </Property> |
| 65 | <Property Name="Links" Type="CollectionCapabilities.v1_0_0.Links" Nullable="false"> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 66 | <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/> |
| 67 | <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."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 68 | <Annotation Term="Redfish.Required"/> |
| 69 | </Property> |
| 70 | </ComplexType> |
| 71 | |
| 72 | <EnumType Name="UseCase"> |
| 73 | <Member Name="ComputerSystemComposition"> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 74 | <Annotation Term="OData.Description" String="This capability describes a client creating a new computer system resource from a set of disaggregated hardware."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 75 | </Member> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 76 | <Member Name="ComputerSystemConstrainedComposition"> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 77 | <Annotation Term="OData.Description" String="This capability describes a client creating a new computer system resource from a set of constraints."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 78 | <Annotation Term="Redfish.Revisions"> |
| 79 | <Collection> |
| 80 | <Record> |
| 81 | <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/> |
| 82 | <PropertyValue Property="Version" String="v1_1_0"/> |
| 83 | </Record> |
| 84 | </Collection> |
| 85 | </Annotation> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 86 | </Member> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 87 | <Member Name="VolumeCreation"> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 88 | <Annotation Term="OData.Description" String="This capability describes a client creating a new volume resource as part of an existing storage subsystem."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 89 | </Member> |
| 90 | </EnumType> |
| 91 | |
| 92 | <ComplexType Name="Links" BaseType="Resource.Links"> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 93 | <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/> |
| 94 | <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."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 95 | <NavigationProperty Name="TargetCollection" Type="Resource.ResourceCollection" Nullable="false"> |
| 96 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 97 | <Annotation Term="OData.Description" String="The link to the collection that this capabilities structure is describing."/> |
| 98 | <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection that this structure describes. A client can use this structure to understand how to form the POST request for the collection."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 99 | <Annotation Term="OData.AutoExpandReferences"/> |
| 100 | <Annotation Term="Redfish.Required"/> |
| 101 | </NavigationProperty> |
| 102 | <NavigationProperty Name="RelatedItem" Type="Collection(Resource.Item)"> |
| 103 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 104 | <Annotation Term="OData.Description" String="An array of links to resources associated with this capability."/> |
| 105 | <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources that are related to this capability."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 106 | <Annotation Term="OData.AutoExpandReferences"/> |
| 107 | </NavigationProperty> |
| 108 | </ComplexType> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 109 | </Schema> |
| 110 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 111 | <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 Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 117 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_0_2"> |
| 118 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 119 | <Annotation Term="OData.Description" String="This version was created to use the new revisions annotation."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 120 | <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_0_1.CollectionCapabilities"/> |
| 121 | </Schema> |
| 122 | |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 123 | <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 | |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 129 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_0_4"> |
| 130 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 131 | <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/> |
| 132 | <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_0_3.CollectionCapabilities"/> |
| 133 | </Schema> |
| 134 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 135 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_1_0"> |
| 136 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 137 | <Annotation Term="Redfish.Release" String="2018.2"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 138 | <Annotation Term="OData.Description" String="This version was created to add ComputerSystemConstrainedComposition to the UseCase enumeration."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 139 | <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_0_1.CollectionCapabilities"/> |
| 140 | </Schema> |
| 141 | |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 142 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_1_1"> |
| 143 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 144 | <Annotation Term="OData.Description" String="This version was created to use the new revisions annotation."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 145 | <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_1_0.CollectionCapabilities"/> |
| 146 | </Schema> |
| 147 | |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 148 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_1_2"> |
| 149 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 150 | <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/> |
| 151 | <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_1_1.CollectionCapabilities"/> |
| 152 | </Schema> |
| 153 | |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 154 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_1_3"> |
| 155 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 156 | <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/> |
| 157 | <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_1_2.CollectionCapabilities"/> |
| 158 | </Schema> |
| 159 | |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 160 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_2_0"> |
| 161 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 162 | <Annotation Term="Redfish.Release" String="2019.2"/> |
| 163 | |
| 164 | <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_1_2.CollectionCapabilities"> |
| 165 | <Property Name="MaxMembers" Type="Edm.Int64" Nullable="false"> |
| 166 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 167 | <Annotation Term="OData.Description" String="The maximum number of members allowed in this collection."/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 168 | <Annotation Term="OData.LongDescription" String="This property shall contain the maximum number of members allowed in this resource collection."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 169 | <Annotation Term="Validation.Minimum" Int="1"/> |
| 170 | </Property> |
| 171 | </ComplexType> |
| 172 | </Schema> |
| 173 | |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 174 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_2_1"> |
| 175 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 176 | <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/> |
| 177 | <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_2_0.CollectionCapabilities"/> |
| 178 | </Schema> |
| 179 | |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 180 | </edmx:DataServices> |
| 181 | </edmx:Edmx> |