1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  RegisteredClient v1.1.2                                             -->
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"/>
22    <edmx:Include Namespace="Resource.v1_0_0"/>
23  </edmx:Reference>
24  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
25    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
26    <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
27  </edmx:Reference>
28
29  <edmx:DataServices>
30
31    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RegisteredClient">
32      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
33      <Annotation Term="Redfish.Language" String="en"/>
34
35      <EntityType Name="RegisteredClient" BaseType="Resource.v1_0_0.Resource" Abstract="true">
36        <Annotation Term="OData.Description" String="The `RegisteredClient` schema defines the record format for a registered client.  It is designed to allow well-behaved clients to register with a Redfish service such that other clients are aware the service might be configured or monitored by the client."/>
37        <Annotation Term="OData.LongDescription" String="This resource shall represent a registered client for a Redfish implementation.  It is not expected that transient tools, such as a short-lived CLI tool, register.  Clients and management tools that live for long periods of time can create `RegisteredClient` resources so that other clients are aware the service might be configured or monitored by the client."/>
38        <Annotation Term="Capabilities.InsertRestrictions">
39          <Record>
40            <PropertyValue Property="Insertable" Bool="false"/>
41          </Record>
42        </Annotation>
43        <Annotation Term="Capabilities.UpdateRestrictions">
44          <Record>
45            <PropertyValue Property="Updatable" Bool="true"/>
46          </Record>
47        </Annotation>
48        <Annotation Term="Capabilities.DeleteRestrictions">
49          <Record>
50            <PropertyValue Property="Deletable" Bool="true"/>
51          </Record>
52        </Annotation>
53        <Annotation Term="Redfish.Uris">
54          <Collection>
55            <String>/redfish/v1/RegisteredClients/{RegisteredClientId}</String>
56          </Collection>
57        </Annotation>
58      </EntityType>
59    </Schema>
60
61    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RegisteredClient.v1_0_0">
62      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
63      <Annotation Term="Redfish.Release" String="2021.4"/>
64
65      <EntityType Name="RegisteredClient" BaseType="RegisteredClient.RegisteredClient">
66        <Property Name="CreatedDate" Type="Edm.DateTimeOffset" Nullable="false">
67          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
68          <Annotation Term="OData.Description" String="The date and time when the client entry was created."/>
69          <Annotation Term="OData.LongDescription" String="This property shall contain the date and time when the client entry was created."/>
70        </Property>
71        <Property Name="ExpirationDate" Type="Edm.DateTimeOffset" Nullable="false">
72          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
73          <Annotation Term="OData.Description" String="The date and time when the client entry will expire."/>
74          <Annotation Term="OData.LongDescription" String="This property shall contain the date and time when the client entry expires.  Registered clients that are actively managing or monitoring should periodically update this value.  The value should not be more than 7 days after the date when it was last set.  If the current date is beyond this date, the service may delete this client entry."/>
75        </Property>
76        <Property Name="ClientURI" Type="Edm.String" Nullable="false">
77          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
78          <Annotation Term="OData.Description" String="The URI of the registered client."/>
79          <Annotation Term="OData.LongDescription" String="This property shall contain the URI of the registered client."/>
80          <Annotation Term="OData.IsURL"/>
81        </Property>
82        <Property Name="ClientType" Type="RegisteredClient.v1_0_0.ClientType" Nullable="false">
83          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
84          <Annotation Term="OData.Description" String="The type of registered client."/>
85          <Annotation Term="OData.LongDescription" String="This property shall contain the type of registered client."/>
86          <Annotation Term="Redfish.Required"/>
87          <Annotation Term="Redfish.RequiredOnCreate"/>
88        </Property>
89        <Property Name="ManagedResources" Type="Collection(RegisteredClient.v1_0_0.ManagedResource)">
90          <Annotation Term="OData.Description" String="An array of resources that the registered client monitors or configures."/>
91          <Annotation Term="OData.LongDescription" String="This property shall contain an array of resources that the registered client monitors or configures.  Other clients can use this property to understand which resources are monitored or configured by the registered client."/>
92        </Property>
93        <Property Name="Actions" Type="RegisteredClient.v1_0_0.Actions" Nullable="false">
94          <Annotation Term="OData.Description" String="The available actions for this resource."/>
95          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
96        </Property>
97      </EntityType>
98
99      <EnumType Name="ClientType">
100        <Member Name="Monitor">
101          <Annotation Term="OData.Description" String="The registered client only performs read operations on this service."/>
102        </Member>
103        <Member Name="Configure">
104          <Annotation Term="OData.Description" String="The registered client performs update, create, and delete operations on the resources listed in the `ManagedResources` property as well as read operations on the service."/>
105        </Member>
106      </EnumType>
107
108      <ComplexType Name="ManagedResource">
109        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
110        <Annotation Term="OData.Description" String="A resource managed by a client."/>
111        <Annotation Term="OData.LongDescription" String="This object shall contain information about a resource managed by a client.  The managed resource may specify subordinate resources."/>
112        <Property Name="ManagedResourceURI" Type="Edm.String">
113          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
114          <Annotation Term="OData.Description" String="The URI of the resource or resource collection managed by the registered client."/>
115          <Annotation Term="OData.LongDescription" String="This property shall contain the URI of the Redfish resource or Redfish resource collection managed by the registered client.  When the URI references a resource collection, all members of the resource collection may be monitored or configured by the client, and the `IncludesSubordinates` property shall contain `true`."/>
116          <Annotation Term="OData.IsURL"/>
117        </Property>
118        <Property Name="PreferExclusive" Type="Edm.Boolean">
119          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
120          <Annotation Term="OData.Description" String="Indicates whether the registered client expects to have exclusive access to the managed resource."/>
121          <Annotation Term="OData.LongDescription" String="This property shall indicate whether the registered client expects to have exclusive access to the managed resource referenced by the `ManagedResourceURI` property, and also its subordinate resources if `IncludesSubordinates` contains `true`.  If not specified, the value is assumed to be `false`."/>
122        </Property>
123        <Property Name="IncludesSubordinates" Type="Edm.Boolean">
124          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
125          <Annotation Term="OData.Description" String="Indicates whether the subordinate resources of the managed resource are also managed by the registered client."/>
126          <Annotation Term="OData.LongDescription" String="This property shall indicate whether the subordinate resources of the managed resource referenced by the `ManagedResourceURI` property are also managed by the registered client.  If not specified, the value is assumed to be `false` unless `ManagedResourceURI` references a resource collection."/>
127        </Property>
128      </ComplexType>
129
130      <ComplexType Name="Actions">
131        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
132        <Annotation Term="OData.Description" String="The available actions for this resource."/>
133        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
134        <Property Name="Oem" Type="RegisteredClient.v1_0_0.OemActions" Nullable="false">
135          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
136          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
137        </Property>
138      </ComplexType>
139
140      <ComplexType Name="OemActions">
141        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
142        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
143        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
144      </ComplexType>
145    </Schema>
146
147    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RegisteredClient.v1_0_1">
148      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
149      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
150      <EntityType Name="RegisteredClient" BaseType="RegisteredClient.v1_0_0.RegisteredClient"/>
151    </Schema>
152
153    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RegisteredClient.v1_0_2">
154      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
155      <Annotation Term="OData.Description" String="This version was created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
156      <EntityType Name="RegisteredClient" BaseType="RegisteredClient.v1_0_1.RegisteredClient"/>
157    </Schema>
158
159    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RegisteredClient.v1_1_0">
160      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
161      <Annotation Term="Redfish.Release" String="2023.1"/>
162
163      <EntityType Name="RegisteredClient" BaseType="RegisteredClient.v1_0_0.RegisteredClient">
164        <Property Name="Context" Type="Edm.String" Nullable="false">
165          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
166          <Annotation Term="OData.Description" String="A client-supplied data for providing context for its own use."/>
167          <Annotation Term="OData.LongDescription" String="This property shall contain data provided by the owning client used to identify the service, provide context about its state, or other information.  The value of this property shall not contain unencrypted sensitive data such as user credentials.  Services shall support values of at least 256 bytes in length."/>
168        </Property>
169        <Property Name="SubContext" Type="Edm.String" Nullable="false">
170          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
171          <Annotation Term="OData.Description" String="Additional client-supplied data for providing contextual information for its own use."/>
172          <Annotation Term="OData.LongDescription" String="This property shall contain additional data provided by the owning client used to identify the service, provide context about its state, or other information.  The value of this property shall not contain unencrypted sensitive data such as user credentials.  Services shall support values of at least 256 bytes in length."/>
173        </Property>
174      </EntityType>
175    </Schema>
176
177    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RegisteredClient.v1_1_1">
178      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
179      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
180      <EntityType Name="RegisteredClient" BaseType="RegisteredClient.v1_1_0.RegisteredClient"/>
181    </Schema>
182
183    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RegisteredClient.v1_1_2">
184      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
185      <Annotation Term="OData.Description" String="This version was created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
186      <EntityType Name="RegisteredClient" BaseType="RegisteredClient.v1_1_1.RegisteredClient"/>
187    </Schema>
188
189  </edmx:DataServices>
190</edmx:Edmx>
191