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 | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 4 | <!--# Redfish Schema: CollectionCapabilities v1.2.0 --> |
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 | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 8 | <!--# Copyright 2014-2019 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"/> |
| 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 Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 34 | <Annotation Term="Redfish.Release" String="2017.1"/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 35 | |
| 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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 40 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 41 | <Property Name="Capabilities" Type="Collection(CollectionCapabilities.v1_0_0.Capability)" Nullable="false"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 42 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 44 | </Property> |
| 45 | </ComplexType> |
| 46 | |
| 47 | <ComplexType Name="Capability"> |
| 48 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 49 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 51 | <NavigationProperty Name="CapabilitiesObject" Type="Resource.Item" Nullable="false"> |
| 52 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 53 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 55 | <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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 60 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 62 | <Annotation Term="Redfish.Required"/> |
| 63 | </Property> |
| 64 | <Property Name="Links" Type="CollectionCapabilities.v1_0_0.Links" Nullable="false"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 65 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 67 | <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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 75 | <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 Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 77 | <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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 85 | </Member> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 86 | <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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 92 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 94 | <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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 97 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 98 | <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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 103 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 105 | <Annotation Term="OData.AutoExpandReferences"/> |
| 106 | </NavigationProperty> |
| 107 | </ComplexType> |
| 108 | |
| 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"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [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 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 129 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_1_0"> |
| 130 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 131 | <Annotation Term="Redfish.Release" String="2018.2"/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 132 | <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 Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 136 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_1_1"> |
| 137 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 138 | <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] | 139 | <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_1_0.CollectionCapabilities"/> |
| 140 | </Schema> |
| 141 | |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 142 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 162 | </edmx:DataServices> |
| 163 | </edmx:Edmx> |