blob: 8c5abcc0f3fb25e5bf057c95415de699d24fee62 [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
4<!--# Redfish Schema: CompositionService v1.0.1-->
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-2017 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://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
18 <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
19 </edmx:Reference>
20 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
21 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
22 </edmx:Reference>
23 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
24 <edmx:Include Namespace="Resource"/>
25 <edmx:Include Namespace="Resource.v1_0_0"/>
26 </edmx:Reference>
27 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ResourceBlockCollection_v1.xml">
28 <edmx:Include Namespace="ResourceBlockCollection"/>
29 </edmx:Reference>
30 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ZoneCollection_v1.xml">
31 <edmx:Include Namespace="ZoneCollection"/>
32 </edmx:Reference>
33
34 <edmx:DataServices>
35
36 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionService">
37 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
38
39 <EntityType Name="CompositionService" BaseType="Resource.v1_0_0.Resource" Abstract="true">
40 <Annotation Term="OData.Description" String="The CompositionService schema defines a Composition Service which represents the properties for the service and links to the resources available for composition."/>
41 <Annotation Term="OData.LongDescription" String="This resource shall be used to represent the Composition Service Properties for a Redfish implementation."/>
42 <Annotation Term="Capabilities.InsertRestrictions">
43 <Record>
44 <PropertyValue Property="Insertable" Bool="false"/>
45 </Record>
46 </Annotation>
47 <Annotation Term="Capabilities.UpdateRestrictions">
48 <Record>
49 <PropertyValue Property="Updatable" Bool="true"/>
50 <Annotation Term="OData.Description" String="The Composition Service can be updated to change some properties such as the ServiceEnabled flag."/>
51 </Record>
52 </Annotation>
53 <Annotation Term="Capabilities.DeleteRestrictions">
54 <Record>
55 <PropertyValue Property="Deletable" Bool="false"/>
56 </Record>
57 </Annotation>
58 </EntityType>
59
60 </Schema>
61
62 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionService.v1_0_0">
63 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
64
65 <EntityType Name="CompositionService" BaseType="CompositionService.CompositionService">
66 <Property Name="Status" Type="Resource.Status" Nullable="false"/>
67 <Property Name="ServiceEnabled" Type="Edm.Boolean">
68 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
69 <Annotation Term="OData.Description" String="This indicates whether this service is enabled."/>
70 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether this service is enabled."/>
71 </Property>
72 <Property Name="Actions" Type="CompositionService.v1_0_0.Actions" Nullable="false">
73 <Annotation Term="OData.Description" String="The available actions for this resource."/>
74 <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
75 </Property>
76 <NavigationProperty Name="ResourceBlocks" Type="ResourceBlockCollection.ResourceBlockCollection" ContainsTarget="true" Nullable="false">
77 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
78 <Annotation Term="OData.Description" String="The resource blocks available on the service."/>
79 <Annotation Term="OData.LongDescription" String="This property shall contain the link to a collection of type ResourceBlockCollection."/>
80 <Annotation Term="OData.AutoExpandReferences"/>
81 </NavigationProperty>
82 <NavigationProperty Name="ResourceZones" Type="ZoneCollection.ZoneCollection" ContainsTarget="true" Nullable="false">
83 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
84 <Annotation Term="OData.Description" String="The resource zones available on the service."/>
85 <Annotation Term="OData.LongDescription" String="This property shall contain the link to a collection of type ZoneCollection."/>
86 <Annotation Term="OData.AutoExpandReferences"/>
87 </NavigationProperty>
88 </EntityType>
89
90 <ComplexType Name="Actions">
91 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
92 <Annotation Term="OData.Description" String="The available actions for this resource."/>
93 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
94 <Property Name="Oem" Type="CompositionService.v1_0_0.OemActions" Nullable="false"/>
95 </ComplexType>
96
97 <ComplexType Name="OemActions">
98 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
99 <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/>
100 <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/>
101 </ComplexType>
102
103 </Schema>
104
105 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionService.v1_0_1">
106 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
107 <Annotation Term="OData.Description" String="This version was created to perform editoral updates of descriptions defined in this schema."/>
108 <EntityType Name="CompositionService" BaseType="CompositionService.v1_0_0.CompositionService"/>
109 </Schema>
110
111 </edmx:DataServices>
112</edmx:Edmx>