blob: 28ab71c63dc17671d2823a0518f04804aa72ff9f [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Marri Devender Raod45d2d02019-01-21 10:11:34 -06004<!--# Redfish Schema: CollectionCapabilities v1.1.1-->
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 Tanous530520e2019-01-02 13:41:37 -08008<!--# Copyright 2014-2018 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"/>
19 </edmx:Reference>
20 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
21 <edmx:Include Namespace="Resource"/>
22 </edmx:Reference>
23
24 <edmx:DataServices>
25
26 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities">
27 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
28 <ComplexType Name="CollectionCapabilities" Abstract="true"/>
29 </Schema>
30
31 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_0_0">
32 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060033 <Annotation Term="Redfish.Release" String="2017.1"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070034
35 <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.CollectionCapabilities">
36 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
37 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
38 <Annotation Term="OData.Description" String="This type describes the capabilities of a collection."/>
39 <Annotation Term="OData.LongDescription" String="This type shall describe any capabilities of a collection in terms of how a client is able to create new resources within the collection."/>
40 <Property Name="Capabilities" Type="Collection(CollectionCapabilities.v1_0_0.Capability)" Nullable="false">
41 <Annotation Term="OData.Description" String="This property contains the list of capabilities supported by this resource."/>
42 <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of Capability structures."/>
43 </Property>
44 </ComplexType>
45
46 <ComplexType Name="Capability">
47 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
48 <Annotation Term="OData.Description" String="This type describes a specific capability of a collection for a given use case."/>
49 <Annotation Term="OData.LongDescription" String="This type shall describe a specific capability of a collection in terms of how a client is able to create new resources within the collection for the specified use case."/>
50 <NavigationProperty Name="CapabilitiesObject" Type="Resource.Item" Nullable="false">
51 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
52 <Annotation Term="OData.Description" String="Reference to the resource the client may GET to in order to understand how to form a POST request for a given collection."/>
53 <Annotation Term="OData.LongDescription" String="The value of this property shall be a reference to a Resource that matches the type for the given collection and shall contain annotations that describe the properties allowed in the POST request."/>
54 <Annotation Term="OData.AutoExpandReferences"/>
55 <Annotation Term="Redfish.Required"/>
56 </NavigationProperty>
57 <Property Name="UseCase" Type="CollectionCapabilities.v1_0_0.UseCase" Nullable="false">
58 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
59 <Annotation Term="OData.Description" String="This property represents the use case in which a client may issue a POST request to the collection."/>
60 <Annotation Term="OData.LongDescription" String="The value of this property shall be an enumerated value describing the use case for this capability instance."/>
61 <Annotation Term="Redfish.Required"/>
62 </Property>
63 <Property Name="Links" Type="CollectionCapabilities.v1_0_0.Links" Nullable="false">
64 <Annotation Term="OData.Description" String="Contains references to other resources that are related to this resource."/>
65 <Annotation Term="OData.LongDescription" String="The Links property, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource."/>
66 <Annotation Term="Redfish.Required"/>
67 </Property>
68 </ComplexType>
69
70 <EnumType Name="UseCase">
71 <Member Name="ComputerSystemComposition">
72 <Annotation Term="OData.Description" String="This capability describes a client creating a new ComputerSystem instance from a set of disaggregated hardware."/>
73 </Member>
Ed Tanous530520e2019-01-02 13:41:37 -080074 <Member Name="ComputerSystemConstrainedComposition">
75 <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 -060076 <Annotation Term="Redfish.Revisions">
77 <Collection>
78 <Record>
79 <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
80 <PropertyValue Property="Version" String="v1_1_0"/>
81 </Record>
82 </Collection>
83 </Annotation>
Ed Tanous530520e2019-01-02 13:41:37 -080084 </Member>
Jason M. Billsea4aa752018-06-05 13:29:11 -070085 <Member Name="VolumeCreation">
86 <Annotation Term="OData.Description" String="This capability describes a client creating a new Volume instance as part of an existing storage subsystem."/>
87 </Member>
88 </EnumType>
89
90 <ComplexType Name="Links" BaseType="Resource.Links">
91 <Annotation Term="OData.Description" String="Contains references to other resources that are related to this resource."/>
92 <Annotation Term="OData.LongDescription" String="This type, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource."/>
93 <NavigationProperty Name="TargetCollection" Type="Resource.ResourceCollection" Nullable="false">
94 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
95 <Annotation Term="OData.Description" String="Reference to the collection that this capabilities structure is describing."/>
96 <Annotation Term="OData.LongDescription" String="The value of this property shall be a reference to a Resource Collection that this structure is describing. This structure may be used by a client in order to understand how to form the POST request for the given collection."/>
97 <Annotation Term="OData.AutoExpandReferences"/>
98 <Annotation Term="Redfish.Required"/>
99 </NavigationProperty>
100 <NavigationProperty Name="RelatedItem" Type="Collection(Resource.Item)">
101 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
102 <Annotation Term="OData.Description" String="The ID(s) of the resources associated with this capability."/>
103 <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of IDs containing pointers consistent with JSON pointer syntax to the resource that is related to this capability."/>
104 <Annotation Term="OData.AutoExpandReferences"/>
105 </NavigationProperty>
106 </ComplexType>
107
108 </Schema>
109
Ed Tanous530520e2019-01-02 13:41:37 -0800110 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_0_1">
111 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
112 <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."/>
113 <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_0_0.CollectionCapabilities"/>
114 </Schema>
115
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600116 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_0_2">
117 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
118 <Annotation Term="OData.Description" String="This version was created to make use of the new Revisions annotation."/>
119 <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_0_1.CollectionCapabilities"/>
120 </Schema>
121
Ed Tanous530520e2019-01-02 13:41:37 -0800122 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_1_0">
123 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600124 <Annotation Term="Redfish.Release" String="2018.2"/>
Ed Tanous530520e2019-01-02 13:41:37 -0800125 <Annotation Term="OData.Description" String="This version was created to add ComputerSystemConstrainedComposition to the UseCase enum."/>
126 <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_0_1.CollectionCapabilities"/>
127 </Schema>
128
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600129 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CollectionCapabilities.v1_1_1">
130 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
131 <Annotation Term="OData.Description" String="This version was created to make use of the new Revisions annotation."/>
132 <ComplexType Name="CollectionCapabilities" BaseType="CollectionCapabilities.v1_1_0.CollectionCapabilities"/>
133 </Schema>
134
Jason M. Billsea4aa752018-06-05 13:29:11 -0700135 </edmx:DataServices>
136</edmx:Edmx>