blob: 626097b3c8b2d4745c89b61964ca917ea3a829e2 [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
20 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemAccountService">
21 <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/>
22 </Schema>
23
24 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemAccountService.v1_0_0">
25 <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/>
26 <Annotation Term="Redfish.Release" String="1.0"/>
27
28 <ComplexType Name="AuthMethodsConfig">
29 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
30 <Annotation Term="OData.Description" String="Authorization Methods configuration."/>
31 <Annotation Term="OData.LongDescription" String="Configuration describing which auth methods are enabled."/>
32
33 <Property Name="BasicAuth" Type="Edm.Boolean">
34 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
35 <Annotation Term="OData.Description" String="Indicates whether BasicAuth authorization is enabled."/>
36 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether BasicAuth authorization is enabled."/>
37 </Property>
38
39 <Property Name="Cookie" Type="Edm.Boolean">
40 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
41 <Annotation Term="OData.Description" String="Indicates whether Cookie authorization is enabled."/>
42 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether Cookie authorization is enabled."/>
43 </Property>
44
45 <Property Name="SessionToken" Type="Edm.Boolean">
46 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
47 <Annotation Term="OData.Description" String="Indicates whether SessionToken authorization is enabled."/>
48 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether SessionToken authorization is enabled."/>
49 </Property>
50
51 <Property Name="XToken" Type="Edm.Boolean">
52 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
53 <Annotation Term="OData.Description" String="Indicates whether XToken authorization is enabled."/>
54 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether XToken authorization is enabled."/>
55 </Property>
56 </ComplexType>
57
58 <!--Base entity type for array members-->
59 <EntityType Name="AccountService" BaseType="Resource.OemObject" Abstract="true">
60 <Annotation Term="OData.Description" String="OEM Extension for AccountService"/>
61 <Annotation Term="OData.LongDescription" String="OEM Extension for AccountService providing info about TLS Auth."/>
62
63 <Property Name="AuthMethods" Type="OemAccountService.v1_0_0.AuthMethodsConfig">
64 <Annotation Term="OData.Description" String="Authorization Methods configuration."/>
65 <Annotation Term="OData.LongDescription" String="Configuration describing which auth methods are enabled."/>
66 </Property>
67 </EntityType>
68 </Schema>
69
70 </edmx:DataServices>
71</edmx:Edmx>