diff options
Diffstat (limited to 'static/redfish/v1/schema/OpenBMCAccountService_v1.xml')
-rw-r--r-- | static/redfish/v1/schema/OpenBMCAccountService_v1.xml | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/static/redfish/v1/schema/OpenBMCAccountService_v1.xml b/static/redfish/v1/schema/OpenBMCAccountService_v1.xml new file mode 100644 index 0000000000..66b00bbc32 --- /dev/null +++ b/static/redfish/v1/schema/OpenBMCAccountService_v1.xml @@ -0,0 +1,83 @@ +<?xml version="1.0" encoding="UTF-8"?> +<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"> + + <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml"> + <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/> + </edmx:Reference> + <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml"> + <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/> + </edmx:Reference> + <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> + <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> + </edmx:Reference> + <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> + <edmx:Include Namespace="Resource"/> + <edmx:Include Namespace="Resource.v1_0_0"/> + </edmx:Reference> + + <edmx:DataServices> + + <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OpenBMCAccountService"> + <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/> + <Annotation Term="OData.Description" String="OpenBMC extensions to the standard account service."/> + <Annotation Term="Redfish.Uris"> + <Collection> + <String>/redfish/v1/AccountService#/OpenBMCAccountService</String> + </Collection> + </Annotation> + </Schema> + + <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OpenBMCAccountService.v1_0_0"> + <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/> + + <ComplexType Name="AccountService" BaseType="Resource.OemObject"> + <Annotation Term="OData.Description" String="OpenBMC OEM Extension for AccountService."/> + <Annotation Term="OData.LongDescription" String="OpenBMC OEM Extension for AccountService providing info about authentication methods."/> + + <Property Name="AuthMethods" Type="OpenBMCAccountService.v1_0_0.AuthMethodsConfig"> + <Annotation Term="OData.Description" String="Authorization Methods configuration."/> + <Annotation Term="OData.LongDescription" String="Configuration describing which auth methods are enabled."/> + </Property> + </ComplexType> + + <ComplexType Name="AuthMethodsConfig"> + <Annotation Term="OData.AdditionalProperties" Bool="false"/> + <Annotation Term="OData.Description" String="Authorization Methods configuration."/> + <Annotation Term="OData.LongDescription" String="Configuration describing which auth methods are enabled."/> + + <Property Name="BasicAuth" Type="Edm.Boolean"> + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> + <Annotation Term="OData.Description" String="Indicates whether BasicAuth authorization is enabled."/> + <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether BasicAuth authorization is enabled."/> + </Property> + + <Property Name="Cookie" Type="Edm.Boolean"> + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> + <Annotation Term="OData.Description" String="Indicates whether Cookie authorization is enabled."/> + <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether Cookie authorization is enabled."/> + </Property> + + <Property Name="SessionToken" Type="Edm.Boolean"> + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> + <Annotation Term="OData.Description" String="Indicates whether SessionToken authorization is enabled."/> + <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether SessionToken authorization is enabled."/> + </Property> + + <Property Name="XToken" Type="Edm.Boolean"> + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> + <Annotation Term="OData.Description" String="Indicates whether XToken authorization is enabled."/> + <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether XToken authorization is enabled."/> + </Property> + + <Property Name="TLS" Type="Edm.Boolean"> + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> + <Annotation Term="OData.Description" String="Indicates whether TLS authorization is enabled."/> + <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether TLS authorization is enabled."/> + </Property> + </ComplexType> + + </Schema> + + </edmx:DataServices> +</edmx:Edmx> + |