1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  MetricDefinitionCollection                                          -->
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-2024 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/Resource_v1.xml">
21    <edmx:Include Namespace="Resource.v1_0_0"/>
22  </edmx:Reference>
23  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
24    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
25  </edmx:Reference>
26  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/MetricDefinition_v1.xml">
27    <edmx:Include Namespace="MetricDefinition"/>
28  </edmx:Reference>
29
30  <edmx:DataServices>
31
32    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricDefinitionCollection">
33      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
34      <Annotation Term="Redfish.Language" String="en"/>
35
36      <EntityType Name="MetricDefinitionCollection" BaseType="Resource.v1_0_0.ResourceCollection">
37        <Annotation Term="OData.Description" String="The collection of `MetricDefinition` resource instances."/>
38        <Annotation Term="OData.LongDescription" String="This resource shall represent a resource collection of `MetricDefinition` instances for a Redfish implementation."/>
39        <Annotation Term="Capabilities.InsertRestrictions">
40          <Record>
41            <PropertyValue Property="Insertable" Bool="true"/>
42            <Annotation Term="OData.Description" String="Create metric definitions through a `POST` to the metric definition collection."/>
43          </Record>
44        </Annotation>
45        <Annotation Term="Capabilities.UpdateRestrictions">
46          <Record>
47            <PropertyValue Property="Updatable" Bool="false"/>
48          </Record>
49        </Annotation>
50        <Annotation Term="Capabilities.DeleteRestrictions">
51          <Record>
52            <PropertyValue Property="Deletable" Bool="false"/>
53          </Record>
54        </Annotation>
55        <Annotation Term="Redfish.Uris">
56          <Collection>
57            <String>/redfish/v1/TelemetryService/MetricDefinitions</String>
58          </Collection>
59        </Annotation>
60        <NavigationProperty Name="Members" Type="Collection(MetricDefinition.MetricDefinition)">
61          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
62          <Annotation Term="OData.Description" String="The members of this collection."/>
63          <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to the members of this collection."/>
64          <Annotation Term="OData.AutoExpandReferences"/>
65          <Annotation Term="Redfish.Required"/>
66        </NavigationProperty>
67      </EntityType>
68    </Schema>
69
70  </edmx:DataServices>
71</edmx:Edmx>
72