xref: /openbmc/bmcweb/features/redfish/schema/dmtf/csdl/RegisteredClient_v1.xml (revision d125652e8a30dfeaad88bbfa5b1e04a80610469c)
12bde4061SEd Tanous<?xml version="1.0" encoding="UTF-8"?>
22bde4061SEd Tanous<!---->
32bde4061SEd Tanous<!--################################################################################       -->
4f2a8e57eSGunnar Mills<!--# Redfish Schema:  RegisteredClient v1.1.2                                             -->
52bde4061SEd Tanous<!--#                                                                                      -->
62bde4061SEd Tanous<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
72bde4061SEd Tanous<!--# available at http://www.dmtf.org/standards/redfish                                   -->
8*d125652eSGunnar Mills<!--# Copyright 2014-2025 DMTF.                                                            -->
92bde4061SEd Tanous<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
102bde4061SEd Tanous<!--################################################################################       -->
112bde4061SEd Tanous<!---->
122bde4061SEd Tanous<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
132bde4061SEd Tanous
142bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
152bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
162bde4061SEd Tanous  </edmx:Reference>
172bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
182bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
192bde4061SEd Tanous  </edmx:Reference>
202bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
212bde4061SEd Tanous    <edmx:Include Namespace="Resource"/>
222bde4061SEd Tanous    <edmx:Include Namespace="Resource.v1_0_0"/>
232bde4061SEd Tanous  </edmx:Reference>
242bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
252bde4061SEd Tanous    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
262bde4061SEd Tanous    <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
272bde4061SEd Tanous  </edmx:Reference>
282bde4061SEd Tanous
292bde4061SEd Tanous  <edmx:DataServices>
302bde4061SEd Tanous
312bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RegisteredClient">
322bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
33f2a8e57eSGunnar Mills      <Annotation Term="Redfish.Language" String="en"/>
342bde4061SEd Tanous
352bde4061SEd Tanous      <EntityType Name="RegisteredClient" BaseType="Resource.v1_0_0.Resource" Abstract="true">
36f2a8e57eSGunnar Mills        <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."/>
37f2a8e57eSGunnar Mills        <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."/>
382bde4061SEd Tanous        <Annotation Term="Capabilities.InsertRestrictions">
392bde4061SEd Tanous          <Record>
402bde4061SEd Tanous            <PropertyValue Property="Insertable" Bool="false"/>
412bde4061SEd Tanous          </Record>
422bde4061SEd Tanous        </Annotation>
432bde4061SEd Tanous        <Annotation Term="Capabilities.UpdateRestrictions">
442bde4061SEd Tanous          <Record>
452bde4061SEd Tanous            <PropertyValue Property="Updatable" Bool="true"/>
462bde4061SEd Tanous          </Record>
472bde4061SEd Tanous        </Annotation>
482bde4061SEd Tanous        <Annotation Term="Capabilities.DeleteRestrictions">
492bde4061SEd Tanous          <Record>
502bde4061SEd Tanous            <PropertyValue Property="Deletable" Bool="true"/>
512bde4061SEd Tanous          </Record>
522bde4061SEd Tanous        </Annotation>
532bde4061SEd Tanous        <Annotation Term="Redfish.Uris">
542bde4061SEd Tanous          <Collection>
552bde4061SEd Tanous            <String>/redfish/v1/RegisteredClients/{RegisteredClientId}</String>
562bde4061SEd Tanous          </Collection>
572bde4061SEd Tanous        </Annotation>
582bde4061SEd Tanous      </EntityType>
592bde4061SEd Tanous    </Schema>
602bde4061SEd Tanous
612bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RegisteredClient.v1_0_0">
622bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
632bde4061SEd Tanous      <Annotation Term="Redfish.Release" String="2021.4"/>
642bde4061SEd Tanous
652bde4061SEd Tanous      <EntityType Name="RegisteredClient" BaseType="RegisteredClient.RegisteredClient">
662bde4061SEd Tanous        <Property Name="CreatedDate" Type="Edm.DateTimeOffset" Nullable="false">
672bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
682bde4061SEd Tanous          <Annotation Term="OData.Description" String="The date and time when the client entry was created."/>
692bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the date and time when the client entry was created."/>
702bde4061SEd Tanous        </Property>
712bde4061SEd Tanous        <Property Name="ExpirationDate" Type="Edm.DateTimeOffset" Nullable="false">
722bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
732bde4061SEd Tanous          <Annotation Term="OData.Description" String="The date and time when the client entry will expire."/>
742bde4061SEd Tanous          <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."/>
752bde4061SEd Tanous        </Property>
762bde4061SEd Tanous        <Property Name="ClientURI" Type="Edm.String" Nullable="false">
772bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
782bde4061SEd Tanous          <Annotation Term="OData.Description" String="The URI of the registered client."/>
792bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the URI of the registered client."/>
802bde4061SEd Tanous          <Annotation Term="OData.IsURL"/>
812bde4061SEd Tanous        </Property>
822bde4061SEd Tanous        <Property Name="ClientType" Type="RegisteredClient.v1_0_0.ClientType" Nullable="false">
832bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
842bde4061SEd Tanous          <Annotation Term="OData.Description" String="The type of registered client."/>
852bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the type of registered client."/>
862bde4061SEd Tanous          <Annotation Term="Redfish.Required"/>
872bde4061SEd Tanous          <Annotation Term="Redfish.RequiredOnCreate"/>
882bde4061SEd Tanous        </Property>
892bde4061SEd Tanous        <Property Name="ManagedResources" Type="Collection(RegisteredClient.v1_0_0.ManagedResource)">
902bde4061SEd Tanous          <Annotation Term="OData.Description" String="An array of resources that the registered client monitors or configures."/>
912bde4061SEd Tanous          <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."/>
922bde4061SEd Tanous        </Property>
932bde4061SEd Tanous        <Property Name="Actions" Type="RegisteredClient.v1_0_0.Actions" Nullable="false">
942bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available actions for this resource."/>
952bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
962bde4061SEd Tanous        </Property>
972bde4061SEd Tanous      </EntityType>
982bde4061SEd Tanous
992bde4061SEd Tanous      <EnumType Name="ClientType">
1002bde4061SEd Tanous        <Member Name="Monitor">
1012bde4061SEd Tanous          <Annotation Term="OData.Description" String="The registered client only performs read operations on this service."/>
1022bde4061SEd Tanous        </Member>
1032bde4061SEd Tanous        <Member Name="Configure">
104f2a8e57eSGunnar Mills          <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."/>
1052bde4061SEd Tanous        </Member>
1062bde4061SEd Tanous      </EnumType>
1072bde4061SEd Tanous
1082bde4061SEd Tanous      <ComplexType Name="ManagedResource">
1092bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
1102bde4061SEd Tanous        <Annotation Term="OData.Description" String="A resource managed by a client."/>
1112bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This object shall contain information about a resource managed by a client.  The managed resource may specify subordinate resources."/>
1122bde4061SEd Tanous        <Property Name="ManagedResourceURI" Type="Edm.String">
1132bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
1142bde4061SEd Tanous          <Annotation Term="OData.Description" String="The URI of the resource or resource collection managed by the registered client."/>
115f2a8e57eSGunnar Mills          <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`."/>
1162bde4061SEd Tanous          <Annotation Term="OData.IsURL"/>
1172bde4061SEd Tanous        </Property>
1182bde4061SEd Tanous        <Property Name="PreferExclusive" Type="Edm.Boolean">
1192bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
1202bde4061SEd Tanous          <Annotation Term="OData.Description" String="Indicates whether the registered client expects to have exclusive access to the managed resource."/>
121f2a8e57eSGunnar Mills          <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`."/>
1222bde4061SEd Tanous        </Property>
1232bde4061SEd Tanous        <Property Name="IncludesSubordinates" Type="Edm.Boolean">
1242bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
1252bde4061SEd Tanous          <Annotation Term="OData.Description" String="Indicates whether the subordinate resources of the managed resource are also managed by the registered client."/>
126f2a8e57eSGunnar Mills          <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."/>
1272bde4061SEd Tanous        </Property>
1282bde4061SEd Tanous      </ComplexType>
1292bde4061SEd Tanous
1302bde4061SEd Tanous      <ComplexType Name="Actions">
1312bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
1322bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available actions for this resource."/>
1332bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
1342bde4061SEd Tanous        <Property Name="Oem" Type="RegisteredClient.v1_0_0.OemActions" Nullable="false">
1352bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1362bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
1372bde4061SEd Tanous        </Property>
1382bde4061SEd Tanous      </ComplexType>
1392bde4061SEd Tanous
1402bde4061SEd Tanous      <ComplexType Name="OemActions">
1412bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
1422bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1432bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
1442bde4061SEd Tanous      </ComplexType>
1452bde4061SEd Tanous    </Schema>
1462bde4061SEd Tanous
1472bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RegisteredClient.v1_0_1">
1482bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1492bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
1502bde4061SEd Tanous      <EntityType Name="RegisteredClient" BaseType="RegisteredClient.v1_0_0.RegisteredClient"/>
1512bde4061SEd Tanous    </Schema>
1522bde4061SEd Tanous
153f2a8e57eSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RegisteredClient.v1_0_2">
154f2a8e57eSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
155f2a8e57eSGunnar Mills      <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."/>
156f2a8e57eSGunnar Mills      <EntityType Name="RegisteredClient" BaseType="RegisteredClient.v1_0_1.RegisteredClient"/>
157f2a8e57eSGunnar Mills    </Schema>
158f2a8e57eSGunnar Mills
1592bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RegisteredClient.v1_1_0">
1602bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1612bde4061SEd Tanous      <Annotation Term="Redfish.Release" String="2023.1"/>
1622bde4061SEd Tanous
1632bde4061SEd Tanous      <EntityType Name="RegisteredClient" BaseType="RegisteredClient.v1_0_0.RegisteredClient">
1642bde4061SEd Tanous        <Property Name="Context" Type="Edm.String" Nullable="false">
1652bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
1662bde4061SEd Tanous          <Annotation Term="OData.Description" String="A client-supplied data for providing context for its own use."/>
1672bde4061SEd Tanous          <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."/>
1682bde4061SEd Tanous        </Property>
1692bde4061SEd Tanous        <Property Name="SubContext" Type="Edm.String" Nullable="false">
1702bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
1712bde4061SEd Tanous          <Annotation Term="OData.Description" String="Additional client-supplied data for providing contextual information for its own use."/>
1722bde4061SEd Tanous          <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."/>
1732bde4061SEd Tanous        </Property>
1742bde4061SEd Tanous      </EntityType>
1752bde4061SEd Tanous    </Schema>
1762bde4061SEd Tanous
1772bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RegisteredClient.v1_1_1">
1782bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1792bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
1802bde4061SEd Tanous      <EntityType Name="RegisteredClient" BaseType="RegisteredClient.v1_1_0.RegisteredClient"/>
1812bde4061SEd Tanous    </Schema>
1822bde4061SEd Tanous
183f2a8e57eSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RegisteredClient.v1_1_2">
184f2a8e57eSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
185f2a8e57eSGunnar Mills      <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."/>
186f2a8e57eSGunnar Mills      <EntityType Name="RegisteredClient" BaseType="RegisteredClient.v1_1_1.RegisteredClient"/>
187f2a8e57eSGunnar Mills    </Schema>
188f2a8e57eSGunnar Mills
1892bde4061SEd Tanous  </edmx:DataServices>
1902bde4061SEd Tanous</edmx:Edmx>
191