blob: 66b00bbc3211f857a29057966fc9aea938b0b7d0 [file] [log] [blame]
Zbigniew Kurzynski78158632019-11-05 12:57:37 +01001<?xml version="1.0" encoding="UTF-8"?>
2<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
3
4 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
5 <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
6 </edmx:Reference>
7 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml">
8 <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
9 </edmx:Reference>
10 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
11 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
12 </edmx:Reference>
13 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
14 <edmx:Include Namespace="Resource"/>
15 <edmx:Include Namespace="Resource.v1_0_0"/>
16 </edmx:Reference>
17
18 <edmx:DataServices>
19
Ed Tanous5b5574a2022-09-26 19:53:36 -070020 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OpenBMCAccountService">
Zbigniew Kurzynski78158632019-11-05 12:57:37 +010021 <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/>
Ed Tanous5b5574a2022-09-26 19:53:36 -070022 <Annotation Term="OData.Description" String="OpenBMC extensions to the standard account service."/>
23 <Annotation Term="Redfish.Uris">
24 <Collection>
25 <String>/redfish/v1/AccountService#/OpenBMCAccountService</String>
26 </Collection>
27 </Annotation>
Zbigniew Kurzynski78158632019-11-05 12:57:37 +010028 </Schema>
29
Ed Tanous5b5574a2022-09-26 19:53:36 -070030 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OpenBMCAccountService.v1_0_0">
Zbigniew Kurzynski78158632019-11-05 12:57:37 +010031 <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/>
Zbigniew Kurzynski78158632019-11-05 12:57:37 +010032
Ed Tanous5b5574a2022-09-26 19:53:36 -070033 <ComplexType Name="AccountService" BaseType="Resource.OemObject">
34 <Annotation Term="OData.Description" String="OpenBMC OEM Extension for AccountService."/>
35 <Annotation Term="OData.LongDescription" String="OpenBMC OEM Extension for AccountService providing info about authentication methods."/>
36
37 <Property Name="AuthMethods" Type="OpenBMCAccountService.v1_0_0.AuthMethodsConfig">
38 <Annotation Term="OData.Description" String="Authorization Methods configuration."/>
39 <Annotation Term="OData.LongDescription" String="Configuration describing which auth methods are enabled."/>
40 </Property>
41 </ComplexType>
42
43 <ComplexType Name="AuthMethodsConfig">
Zbigniew Kurzynski78158632019-11-05 12:57:37 +010044 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
45 <Annotation Term="OData.Description" String="Authorization Methods configuration."/>
46 <Annotation Term="OData.LongDescription" String="Configuration describing which auth methods are enabled."/>
47
48 <Property Name="BasicAuth" Type="Edm.Boolean">
49 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
50 <Annotation Term="OData.Description" String="Indicates whether BasicAuth authorization is enabled."/>
51 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether BasicAuth authorization is enabled."/>
52 </Property>
53
54 <Property Name="Cookie" Type="Edm.Boolean">
55 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
56 <Annotation Term="OData.Description" String="Indicates whether Cookie authorization is enabled."/>
57 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether Cookie authorization is enabled."/>
58 </Property>
59
60 <Property Name="SessionToken" Type="Edm.Boolean">
61 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
62 <Annotation Term="OData.Description" String="Indicates whether SessionToken authorization is enabled."/>
63 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether SessionToken authorization is enabled."/>
64 </Property>
65
66 <Property Name="XToken" Type="Edm.Boolean">
67 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
68 <Annotation Term="OData.Description" String="Indicates whether XToken authorization is enabled."/>
69 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether XToken authorization is enabled."/>
70 </Property>
Zbigniew Kurzynski501f1e52019-10-02 11:22:11 +020071
72 <Property Name="TLS" Type="Edm.Boolean">
73 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
74 <Annotation Term="OData.Description" String="Indicates whether TLS authorization is enabled."/>
75 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether TLS authorization is enabled."/>
76 </Property>
Zbigniew Kurzynski78158632019-11-05 12:57:37 +010077 </ComplexType>
78
Zbigniew Kurzynski78158632019-11-05 12:57:37 +010079 </Schema>
80
81 </edmx:DataServices>
82</edmx:Edmx>
Ed Tanous5b5574a2022-09-26 19:53:36 -070083