|
| 1 | +<!----> |
| 2 | +<!--################################################################################ --> |
| 3 | +<!--# Redfish Schema: Thingy.v1_0_0 --> |
| 4 | +<!--# --> |
| 5 | +<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> |
| 6 | +<!--# available at http://www.dmtf.org/standards/redfish --> |
| 7 | +<!--# Copyright 2020 DMTF. --> |
| 8 | +<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> |
| 9 | +<!--################################################################################ --> |
| 10 | +<!----> |
| 11 | +<?xml version="1.0" ?> |
| 12 | +<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"> |
| 13 | + <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> |
| 14 | + <edmx:Include Namespace="Resource.v1_0_0"/> |
| 15 | + </edmx:Reference> |
| 16 | + <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml"> |
| 17 | + <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/> |
| 18 | + </edmx:Reference> |
| 19 | + <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml"> |
| 20 | + <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/> |
| 21 | + </edmx:Reference> |
| 22 | + <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Power_v1.xml"> |
| 23 | + <edmx:Include Namespace="Power"/> |
| 24 | + </edmx:Reference> |
| 25 | + <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Thermal_v1.xml"> |
| 26 | + <edmx:Include Namespace="Thermal"/> |
| 27 | + </edmx:Reference> |
| 28 | + <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/PCIeDevice_v1.xml"> |
| 29 | + <edmx:Include Namespace="PCIeDevice"/> |
| 30 | + </edmx:Reference> |
| 31 | + <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> |
| 32 | + <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> |
| 33 | + </edmx:Reference> |
| 34 | + <edmx:DataServices> |
| 35 | + <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Thingy"> |
| 36 | + <Annotation Term="Redfish.OwningEntity" String="TBD"/> |
| 37 | + <EntityType Name="Thingy" BaseType="Resource.v1_0_0.Resource" Abstract="true"> |
| 38 | + <Annotation Term="OData.Description" String="Parameters for Thingy."/> |
| 39 | + <Annotation Term="OData.LongDescription" String="Parameters for Thingy."/> |
| 40 | + <Annotation Term="Capabilities.InsertRestrictions"> |
| 41 | + <Record> |
| 42 | + <PropertyValue Property="Insertable" Bool="false"/> |
| 43 | + </Record> |
| 44 | + </Annotation> |
| 45 | + <Annotation Term="Capabilities.UpdateRestrictions"> |
| 46 | + <Record> |
| 47 | + <PropertyValue Property="Updatable" Bool="false"/> |
| 48 | + </Record> |
| 49 | + </Annotation> |
| 50 | + <Annotation Term="Capabilities.DeleteRestrictions"> |
| 51 | + <Record> |
| 52 | + <PropertyValue Property="Deletable" Bool="false"/> |
| 53 | + </Record> |
| 54 | + </Annotation> |
| 55 | + </EntityType> |
| 56 | + </Schema> |
| 57 | + <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Thingy.v1_0_0"> |
| 58 | + <Annotation Term="Redfish.OwningEntity" String="TBD"/> |
| 59 | + <Annotation Term="Redfish.Release" String="TBD"/> |
| 60 | + <EntityType Name="Thingy" BaseType="Thingy.Thingy"> |
| 61 | + <Property Name="ThingType" Type="Thingy.v1_0_0.ThingType" Nullable="false"> |
| 62 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 63 | + <Annotation Term="OData.Description" String="The type of thingy that this thingy is - really..."/> |
| 64 | + <Annotation Term="OData.LongDescription" String="A long thingy description..."/> |
| 65 | + <Annotation Term="Redfish.Required"/> |
| 66 | + </Property> |
| 67 | + <Property Name="IndicatorLED" Type="Resource.IndicatorLED" Nullable="false"> |
| 68 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 69 | + <Annotation Term="OData.Description" String="TBD"/> |
| 70 | + <Annotation Term="OData.LongDescription" String="TBD"/> |
| 71 | + </Property> |
| 72 | + <Property Name="SideFumbling" Type="Edm.Boolean" Nullable="false"> |
| 73 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 74 | + <Annotation Term="OData.Description" String="TBD"/> |
| 75 | + <Annotation Term="OData.LongDescription" String="TBD"/> |
| 76 | + </Property> |
| 77 | + <Property Name="Location" Type="Resource.Location" Nullable="false"> |
| 78 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 79 | + <Annotation Term="OData.Description" String="TBD"/> |
| 80 | + <Annotation Term="OData.LongDescription" String="TBD"/> |
| 81 | + </Property> |
| 82 | + <Property Name="LotsOfStuff" Type="Collection(Edm.String)" Nullable="false"> |
| 83 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 84 | + <Annotation Term="OData.Description" String="TBD"/> |
| 85 | + <Annotation Term="OData.LongDescription" String="TBD"/> |
| 86 | + </Property> |
| 87 | + <Property Name="LotsOfStuff2" Type="Collection(Edm.Int64)" Nullable="false"> |
| 88 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 89 | + <Annotation Term="OData.Description" String="TBD"/> |
| 90 | + <Annotation Term="OData.LongDescription" String="TBD"/> |
| 91 | + </Property> |
| 92 | + <Property Name="LotsOfStuff3" Type="Collection(Thingy.v1_0_0.LotsOfStuff3)" Nullable="false"> |
| 93 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 94 | + <Annotation Term="OData.Description" String="TBD"/> |
| 95 | + <Annotation Term="OData.LongDescription" String="TBD"/> |
| 96 | + </Property> |
| 97 | + <Property Name="LotsOfStuff4" Type="Collection(Thingy.v1_0_0.LotsOfStuff4)" Nullable="false"> |
| 98 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 99 | + <Annotation Term="OData.Description" String="TBD"/> |
| 100 | + <Annotation Term="OData.LongDescription" String="TBD"/> |
| 101 | + </Property> |
| 102 | + <Property Name="ThingContainer" Type="Thingy.v1_0_0.ThingContainer" Nullable="false"> |
| 103 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 104 | + <Annotation Term="OData.Description" String="TBD"/> |
| 105 | + <Annotation Term="OData.LongDescription" String="TBD"/> |
| 106 | + </Property> |
| 107 | + <Property Name="Status" Type="Resource.Status" Nullable="false"> |
| 108 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 109 | + <Annotation Term="OData.Description" String="TBD"/> |
| 110 | + <Annotation Term="OData.LongDescription" String="TBD"/> |
| 111 | + </Property> |
| 112 | + <NavigationProperty Name="PCIeSlots" Type="Collection(PCIeDevice.PCIeDevice)" Nullable="false"> |
| 113 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 114 | + <Annotation Term="OData.Description" String="A link to PCIeSlots"/> |
| 115 | + <Annotation Term="OData.LongDescription" String="This property shall be a link to a resource collection of type PCIeSlots."/> |
| 116 | + <Annotation Term="OData.AutoExpandReferences"/> |
| 117 | + </NavigationProperty> |
| 118 | + <NavigationProperty Name="Thermal" Type="Thermal.Thermal" Nullable="false"> |
| 119 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 120 | + <Annotation Term="OData.Description" String="A link to Thermal"/> |
| 121 | + <Annotation Term="OData.LongDescription" String="This property shall be a link to a resource collection of type Thermal."/> |
| 122 | + </NavigationProperty> |
| 123 | + <NavigationProperty Name="Power" Type="Power.Power" Nullable="false"> |
| 124 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 125 | + <Annotation Term="OData.Description" String="A link to Power"/> |
| 126 | + <Annotation Term="OData.LongDescription" String="This property shall be a link to a resource collection of type Power."/> |
| 127 | + </NavigationProperty> |
| 128 | + <NavigationProperty Name="Power2" Type="Power.Power" Nullable="false"> |
| 129 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 130 | + <Annotation Term="OData.Description" String="A link to Power2"/> |
| 131 | + <Annotation Term="OData.LongDescription" String="This property shall be a link to a resource collection of type Power2."/> |
| 132 | + </NavigationProperty> |
| 133 | + </EntityType> |
| 134 | + <EnumType Name="ThingType"> |
| 135 | + <Member Name="RackMount"> |
| 136 | + <Annotation Term="OData.Description" String="tmp"/> |
| 137 | + </Member> |
| 138 | + <Member Name="Cheap"> |
| 139 | + <Annotation Term="OData.Description" String="tmp1"/> |
| 140 | + </Member> |
| 141 | + <Member Name="Expensive"> |
| 142 | + <Annotation Term="OData.Description" String="tmp2"/> |
| 143 | + </Member> |
| 144 | + <Member Name="Obsolete"> |
| 145 | + <Annotation Term="OData.Description" String="tmp3"/> |
| 146 | + </Member> |
| 147 | + <Member Name="Trendy"> |
| 148 | + <Annotation Term="OData.Description" String="tmp4"/> |
| 149 | + </Member> |
| 150 | + </EnumType> |
| 151 | + <EnumType Name="LotsOfStuff3"> |
| 152 | + <Member Name="a"> |
| 153 | + <Annotation Term="OData.Description" String="TBD"/> |
| 154 | + </Member> |
| 155 | + <Member Name="b"> |
| 156 | + <Annotation Term="OData.Description" String="TBD"/> |
| 157 | + </Member> |
| 158 | + <Member Name="c"> |
| 159 | + <Annotation Term="OData.Description" String="TBD"/> |
| 160 | + </Member> |
| 161 | + </EnumType> |
| 162 | + <ComplexType Name="LotsOfStuff4" Nullable="false"> |
| 163 | + <Annotation Term="OData.Description" String="TBD"/> |
| 164 | + <Annotation Term="OData.LongDescription" String="TBD"/> |
| 165 | + <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 166 | + <Property Name="My_Name" Type="Edm.String" Nullable="false"> |
| 167 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 168 | + <Annotation Term="OData.Description" String="TBD"/> |
| 169 | + <Annotation Term="OData.LongDescription" String="TBD"/> |
| 170 | + </Property> |
| 171 | + </ComplexType> |
| 172 | + <ComplexType Name="ThingButton" Nullable="false"> |
| 173 | + <Annotation Term="OData.Description" String="TBD"/> |
| 174 | + <Annotation Term="OData.LongDescription" String="TBD"/> |
| 175 | + <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 176 | + <Property Name="ButtonColor" Type="Edm.String" Nullable="false"> |
| 177 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 178 | + <Annotation Term="OData.Description" String="Color of the button."/> |
| 179 | + <Annotation Term="OData.LongDescription" String="TBD"/> |
| 180 | + </Property> |
| 181 | + <Property Name="ButtonActuation" Type="Edm.Decimal" Nullable="false"> |
| 182 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 183 | + <Annotation Term="OData.Description" String="TBD"/> |
| 184 | + <Annotation Term="OData.LongDescription" String="TBD"/> |
| 185 | + <Annotation Term="Redfish.Required"/> |
| 186 | + </Property> |
| 187 | + </ComplexType> |
| 188 | + <ComplexType Name="ThingContainer" Nullable="false"> |
| 189 | + <Annotation Term="OData.Description" String="TBD"/> |
| 190 | + <Annotation Term="OData.LongDescription" String="TBD"/> |
| 191 | + <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 192 | + <Property Name="ThingKnob" Type="Edm.String" Nullable="false"> |
| 193 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 194 | + <Annotation Term="OData.Description" String="TBD"/> |
| 195 | + <Annotation Term="OData.LongDescription" String="TBD"/> |
| 196 | + </Property> |
| 197 | + <Property Name="ThingKnobCount" Type="Edm.Int64" Nullable="false"> |
| 198 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 199 | + <Annotation Term="OData.Description" String="TBD"/> |
| 200 | + <Annotation Term="OData.LongDescription" String="TBD"/> |
| 201 | + </Property> |
| 202 | + <Property Name="ThingButton" Type="Thingy.v1_0_0.ThingButton" Nullable="false"> |
| 203 | + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 204 | + <Annotation Term="OData.Description" String="TBD"/> |
| 205 | + <Annotation Term="OData.LongDescription" String="TBD"/> |
| 206 | + </Property> |
| 207 | + </ComplexType> |
| 208 | + </Schema> |
| 209 | + </edmx:DataServices> |
| 210 | +</edmx:Edmx> |
| 211 | + |
0 commit comments