Ed Tanous | 710adfc | 2017-10-24 17:04:52 -0700 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
| 2 | <!---->
|
| 3 | <!--################################################################################ -->
|
| 4 | <!--# Redfish Schema: ActionInfo v1.0.1-->
|
| 5 | <!--# -->
|
| 6 | <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
|
| 7 | <!--# available at http://www.dmtf.org/standards/redfish -->
|
| 8 | <!--# Copyright 2014-2016 Distributed Management Task Force, Inc. (DMTF). -->
|
| 9 | <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
|
| 10 | <!--################################################################################ -->
|
| 11 | <!---->
|
| 12 | <edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
|
| 13 |
|
| 14 | <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
|
| 15 | <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
|
| 16 | </edmx:Reference>
|
| 17 | <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
|
| 18 | <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
|
| 19 | </edmx:Reference>
|
| 20 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
|
| 21 | <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
|
| 22 | <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
|
| 23 | </edmx:Reference>
|
| 24 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
|
| 25 | <edmx:Include Namespace="Resource"/>
|
| 26 | <edmx:Include Namespace="Resource.v1_0_0"/>
|
| 27 | </edmx:Reference>
|
| 28 |
|
| 29 | <edmx:DataServices>
|
| 30 |
|
| 31 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ActionInfo">
|
| 32 |
|
| 33 | <EntityType Name="ActionInfo" BaseType="Resource.v1_0_0.Resource" Abstract="true">
|
| 34 | <Annotation Term="OData.Description" String="ActionInfo describes the parameters and other information necessary to perform a Redfish Action to a particular Action target. As parameter support may differ between implementations and even among instances of a resource, this data can be used to ensure Action requests from applications contain supported parameters."/>
|
| 35 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent information about the supported parameters for an Action within a Redfish implementation."/>
|
| 36 | <Annotation Term="Capabilities.InsertRestrictions">
|
| 37 | <Record>
|
| 38 | <PropertyValue Property="Insertable" Bool="false"/>
|
| 39 | </Record>
|
| 40 | </Annotation>
|
| 41 | <Annotation Term="Capabilities.UpdateRestrictions">
|
| 42 | <Record>
|
| 43 | <PropertyValue Property="Updatable" Bool="false"/>
|
| 44 | </Record>
|
| 45 | </Annotation>
|
| 46 | <Annotation Term="Capabilities.DeleteRestrictions">
|
| 47 | <Record>
|
| 48 | <PropertyValue Property="Deletable" Bool="false"/>
|
| 49 | </Record>
|
| 50 | </Annotation>
|
| 51 | </EntityType>
|
| 52 |
|
| 53 | </Schema>
|
| 54 |
|
| 55 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ActionInfo.v1_0_0">
|
| 56 |
|
| 57 | <EntityType Name="ActionInfo" BaseType="ActionInfo.ActionInfo">
|
| 58 | <Property Name="Parameters" Type="Collection(ActionInfo.v1_0_0.Parameters)" Nullable="false">
|
| 59 | <Annotation Term="OData.Description" String="The parameters associated with the specified Redfish Action."/>
|
| 60 | <Annotation Term="OData.LongDescription" String="This property shall contain a list of parameters associated with a Redfish Action associated with this resource."/>
|
| 61 | </Property>
|
| 62 | </EntityType>
|
| 63 |
|
| 64 | <ComplexType Name="Parameters">
|
| 65 | <Annotation Term="OData.AdditionalProperties" Bool="false"/>
|
| 66 | <Property Name="Name" Type="Edm.String" Nullable="false">
|
| 67 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 68 | <Annotation Term="OData.Description" String="The name of the parameter for this Action."/>
|
| 69 | <Annotation Term="OData.LongDescription" String="This property shall contain the name of the parameter used by the associated Redfish Action."/>
|
| 70 | <Annotation Term="Redfish.Required"/>
|
| 71 | </Property>
|
| 72 | <Property Name="Required" Type="Edm.Boolean" Nullable="false">
|
| 73 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 74 | <Annotation Term="OData.Description" String="Indicates whether the parameter is required to perform this Action."/>
|
| 75 | <Annotation Term="OData.LongDescription" String="This property shall return true if the parameter is required to be present to perform the associated Action, and shall be false if the parameter is not required (optional) to perform the associated Action."/>
|
| 76 | </Property>
|
| 77 | <Property Name="DataType" Type="ActionInfo.v1_0_0.ParameterTypes">
|
| 78 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 79 | <Annotation Term="OData.Description" String="The JSON property type used for this parameter."/>
|
| 80 | <Annotation Term="OData.LongDescription" String="This property shall indicate the JSON property type of the parameter."/>
|
| 81 | </Property>
|
| 82 | <Property Name="ObjectDataType" Type="Edm.String">
|
| 83 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 84 | <Annotation Term="OData.Description" String="The OData Type of an object-based parameter."/>
|
| 85 | <Annotation Term="OData.LongDescription" String="This property shall describe the entity type definition (in @odata.type format) for the parameter. This property shall be required for parameters with a DataType of Object or ObjectArray, and shall not be present for parameters with other DataType(s)."/>
|
| 86 | </Property>
|
| 87 | <Property Name="AllowableValues" Type="Collection(Edm.String)">
|
| 88 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 89 | <Annotation Term="OData.Description" String="A list of values for this parameter supported by this Action target."/>
|
| 90 | <Annotation Term="OData.LongDescription" String="This property shall indicate the allowable values for this parameter as applied to this Action target."/>
|
| 91 | </Property>
|
| 92 | </ComplexType>
|
| 93 |
|
| 94 | <EnumType Name="ParameterTypes">
|
| 95 | <Member Name="Boolean">
|
| 96 | <Annotation Term="OData.Description" String="A boolean (true or false)."/>
|
| 97 | </Member>
|
| 98 | <Member Name="Number">
|
| 99 | <Annotation Term="OData.Description" String="A number."/>
|
| 100 | </Member>
|
| 101 | <Member Name="NumberArray">
|
| 102 | <Annotation Term="OData.Description" String="An array of numbers."/>
|
| 103 | </Member>
|
| 104 | <Member Name="String">
|
| 105 | <Annotation Term="OData.Description" String="A string."/>
|
| 106 | </Member>
|
| 107 | <Member Name="StringArray">
|
| 108 | <Annotation Term="OData.Description" String="An array of strings."/>
|
| 109 | </Member>
|
| 110 | <Member Name="Object">
|
| 111 | <Annotation Term="OData.Description" String="An embedded JSON object."/>
|
| 112 | </Member>
|
| 113 | <Member Name="ObjectArray">
|
| 114 | <Annotation Term="OData.Description" String="An array of JSON objects."/>
|
| 115 | </Member>
|
| 116 | </EnumType>
|
| 117 |
|
| 118 | </Schema>
|
| 119 |
|
| 120 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ActionInfo.v1_0_1">
|
| 121 | <Annotation Term="OData.Description" String="This version was created to add explicit Permissions annotations to all properties for clarity."/>
|
| 122 | <EntityType Name="ActionInfo" BaseType="ActionInfo.v1_0_0.ActionInfo"/>
|
| 123 | </Schema>
|
| 124 |
|
| 125 | </edmx:DataServices>
|
| 126 | </edmx:Edmx>
|