Zbigniew Kurzynski | 7815863 | 2019-11-05 12:57:37 +0100 | [diff] [blame] | 1 | <?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 Tanous | 5b5574a | 2022-09-26 19:53:36 -0700 | [diff] [blame] | 20 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OpenBMCAccountService"> |
Zbigniew Kurzynski | 7815863 | 2019-11-05 12:57:37 +0100 | [diff] [blame] | 21 | <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/> |
Ed Tanous | 5b5574a | 2022-09-26 19:53:36 -0700 | [diff] [blame] | 22 | <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 Kurzynski | 7815863 | 2019-11-05 12:57:37 +0100 | [diff] [blame] | 28 | </Schema> |
| 29 | |
Ed Tanous | 5b5574a | 2022-09-26 19:53:36 -0700 | [diff] [blame] | 30 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OpenBMCAccountService.v1_0_0"> |
Zbigniew Kurzynski | 7815863 | 2019-11-05 12:57:37 +0100 | [diff] [blame] | 31 | <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/> |
Zbigniew Kurzynski | 7815863 | 2019-11-05 12:57:37 +0100 | [diff] [blame] | 32 | |
Ed Tanous | 5b5574a | 2022-09-26 19:53:36 -0700 | [diff] [blame] | 33 | <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 Kurzynski | 7815863 | 2019-11-05 12:57:37 +0100 | [diff] [blame] | 44 | <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 Kurzynski | 501f1e5 | 2019-10-02 11:22:11 +0200 | [diff] [blame] | 71 | |
| 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 Kurzynski | 7815863 | 2019-11-05 12:57:37 +0100 | [diff] [blame] | 77 | </ComplexType> |
| 78 | |
Zbigniew Kurzynski | 7815863 | 2019-11-05 12:57:37 +0100 | [diff] [blame] | 79 | </Schema> |
| 80 | |
| 81 | </edmx:DataServices> |
| 82 | </edmx:Edmx> |
Ed Tanous | 5b5574a | 2022-09-26 19:53:36 -0700 | [diff] [blame] | 83 | |