Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
| 4 | <!--# Redfish Schema: ActionInfo v1.0.3--> |
| 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-2017 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:Reference> |
| 23 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> |
| 24 | <edmx:Include Namespace="Resource.v1_0_0"/> |
| 25 | </edmx:Reference> |
| 26 | |
| 27 | <edmx:DataServices> |
| 28 | |
| 29 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ActionInfo"> |
| 30 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 31 | |
| 32 | <EntityType Name="ActionInfo" BaseType="Resource.v1_0_0.Resource" Abstract="true"> |
| 33 | <Annotation Term="OData.Description" String="The ActionInfo schema describes the parameters and other information necessary to perform a Redfish Action on a particular Action target. Parameter support can differ between vendors and even between instances of a resource. This data can be used to ensure Action requests from applications contain supported parameters."/> |
| 34 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent information about the supported parameters for an Action within a Redfish implementation."/> |
| 35 | <Annotation Term="Capabilities.InsertRestrictions"> |
| 36 | <Record> |
| 37 | <PropertyValue Property="Insertable" Bool="false"/> |
| 38 | </Record> |
| 39 | </Annotation> |
| 40 | <Annotation Term="Capabilities.UpdateRestrictions"> |
| 41 | <Record> |
| 42 | <PropertyValue Property="Updatable" Bool="false"/> |
| 43 | </Record> |
| 44 | </Annotation> |
| 45 | <Annotation Term="Capabilities.DeleteRestrictions"> |
| 46 | <Record> |
| 47 | <PropertyValue Property="Deletable" Bool="false"/> |
| 48 | </Record> |
| 49 | </Annotation> |
| 50 | </EntityType> |
| 51 | |
| 52 | </Schema> |
| 53 | |
| 54 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ActionInfo.v1_0_0"> |
| 55 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 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 | <Annotation Term="OData.Description" String="A parameter associated with the specified Redfish Action."/> |
| 67 | <Annotation Term="OData.LongDescription" String="This property shall contain information about a specific parameter associated with a Redfish Action associated with this resource."/> |
| 68 | <Property Name="Name" Type="Edm.String" Nullable="false"> |
| 69 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 70 | <Annotation Term="OData.Description" String="The name of the parameter for this Action."/> |
| 71 | <Annotation Term="OData.LongDescription" String="This property shall contain the name of the parameter used by the associated Redfish Action."/> |
| 72 | <Annotation Term="Redfish.Required"/> |
| 73 | </Property> |
| 74 | <Property Name="Required" Type="Edm.Boolean" Nullable="false"> |
| 75 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 76 | <Annotation Term="OData.Description" String="Indicates whether the parameter is required to perform this Action."/> |
| 77 | <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."/> |
| 78 | </Property> |
| 79 | <Property Name="DataType" Type="ActionInfo.v1_0_0.ParameterTypes"> |
| 80 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 81 | <Annotation Term="OData.Description" String="The JSON property type used for this parameter."/> |
| 82 | <Annotation Term="OData.LongDescription" String="This property shall indicate the JSON property type of the parameter."/> |
| 83 | </Property> |
| 84 | <Property Name="ObjectDataType" Type="Edm.String"> |
| 85 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 86 | <Annotation Term="OData.Description" String="The OData Type of an object-based parameter."/> |
| 87 | <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)."/> |
| 88 | </Property> |
| 89 | <Property Name="AllowableValues" Type="Collection(Edm.String)"> |
| 90 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 91 | <Annotation Term="OData.Description" String="A list of values for this parameter supported by this Action target."/> |
| 92 | <Annotation Term="OData.LongDescription" String="This property shall indicate the allowable values for this parameter as applied to this Action target."/> |
| 93 | </Property> |
| 94 | </ComplexType> |
| 95 | |
| 96 | <EnumType Name="ParameterTypes"> |
| 97 | <Member Name="Boolean"> |
| 98 | <Annotation Term="OData.Description" String="A boolean (true or false)."/> |
| 99 | </Member> |
| 100 | <Member Name="Number"> |
| 101 | <Annotation Term="OData.Description" String="A number."/> |
| 102 | </Member> |
| 103 | <Member Name="NumberArray"> |
| 104 | <Annotation Term="OData.Description" String="An array of numbers."/> |
| 105 | </Member> |
| 106 | <Member Name="String"> |
| 107 | <Annotation Term="OData.Description" String="A string."/> |
| 108 | </Member> |
| 109 | <Member Name="StringArray"> |
| 110 | <Annotation Term="OData.Description" String="An array of strings."/> |
| 111 | </Member> |
| 112 | <Member Name="Object"> |
| 113 | <Annotation Term="OData.Description" String="An embedded JSON object."/> |
| 114 | </Member> |
| 115 | <Member Name="ObjectArray"> |
| 116 | <Annotation Term="OData.Description" String="An array of JSON objects."/> |
| 117 | </Member> |
| 118 | </EnumType> |
| 119 | |
| 120 | </Schema> |
| 121 | |
| 122 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ActionInfo.v1_0_1"> |
| 123 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 124 | <Annotation Term="OData.Description" String="This version was created to add explicit Permissions annotations to all properties for clarity."/> |
| 125 | <EntityType Name="ActionInfo" BaseType="ActionInfo.v1_0_0.ActionInfo"/> |
| 126 | </Schema> |
| 127 | |
| 128 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ActionInfo.v1_0_2"> |
| 129 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 130 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 131 | <EntityType Name="ActionInfo" BaseType="ActionInfo.v1_0_1.ActionInfo"/> |
| 132 | </Schema> |
| 133 | |
| 134 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ActionInfo.v1_0_3"> |
| 135 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 136 | <Annotation Term="OData.Description" String="This version was created to perform editoral updates of descriptions defined in this schema."/> |
| 137 | <EntityType Name="ActionInfo" BaseType="ActionInfo.v1_0_2.ActionInfo"/> |
| 138 | </Schema> |
| 139 | |
| 140 | </edmx:DataServices> |
| 141 | </edmx:Edmx> |