RackHD/on-http

View on GitHub
static/DSP-IS0005_0.1a/metadata/VFD_v1.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<!---->
<!--################################################################################       -->
<!--# Redfish Schema:  VFD  v0.1.0-->
<!--#                                                                                      -->
<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
<!--# available at http://www.dmtf.org/standards/redfish                                   -->
<!--# Copyright 2014-2017 Distributed Management Task Force, Inc. (DMTF).                  -->
<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
<!--################################################################################       -->
<!---->
<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.Capabilities.V1.xml">
    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
  </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:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
  </edmx:Reference>
  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
    <edmx:Include Namespace="Resource.v1_0_0"/>
  </edmx:Reference>
  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/SensorCollection_v1.xml">
    <edmx:Include Namespace="SensorCollection"/>
  </edmx:Reference>

  <edmx:DataServices>

    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VFD">

      <EntityType Name="VFD" BaseType="Resource.v1_0_0.Resource" Abstract="true">
        <Annotation Term="OData.Description" String="This is the schema definition for the VFD Metrics."/>
        <Annotation Term="OData.LongDescription" String="This resource shall be used to represent a power metrics resource for a Redfish implementation."/>
        <Annotation Term="Capabilities.InsertRestrictions">
          <Record>
            <PropertyValue Property="Insertable" Bool="false"/>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.UpdateRestrictions">
          <Record>
            <PropertyValue Property="Updatable" Bool="true"/>
            <Annotation Term="OData.Description" String="Power properties can be updated to change limits, exceptions and other writable properties."/>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.DeleteRestrictions">
          <Record>
            <PropertyValue Property="Deletable" Bool="false"/>
          </Record>
        </Annotation>
      </EntityType>

    </Schema>

    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VFD.v0_1_0">

      <EntityType Name="VFD" BaseType="VFD.VFD">

        <Property Name="FirmwareRevision" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Firmware Revision of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual Firmware Revision of VFD."/>
        </Property>

        <Property Name="HardwareRevision" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Hardware Revision of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual Hardware Revision of VFD."/>
        </Property>

        <Property Name="DateOfManufacture" Type="Edm.DateTimeOffset">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The date of manufacture of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual date of manufacture of VFD."/>
        </Property>

        <Property Name="Manufacturer" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Manufacturer of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual Manufacturer of VFD."/>
        </Property>

        <Property Name="Model" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Model Number of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual Model Number of VFD."/>
        </Property>

        <Property Name="SerialNumber" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Serial Number of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual Serial Number of VFD."/>
        </Property>

        <Property Name="PartNumber" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Part Number of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual Part Number of VFD."/>
        </Property>

        <Property Name="AssetTag" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Asset Tag of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual Asset Tag of VFD."/>
        </Property>

        <Property Name="PhysicalLocation" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Physical Location of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual Physical Location of VFD."/>
        </Property>

        <!-- Status -->
        <Property Name="Speed" Type="Edm.Decimal">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Speed value of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual Speed value of VFD."/>
        </Property>

        <Property Name="RunTime" Type="Edm.Decimal">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Run Time of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual Run Time of VFD."/>
          <Annotation Term="Measures.Unit" String="[psi]"/>
        </Property>

        <Property Name="KWHours" Type="Edm.Decimal">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Kilowatt-Hours of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual Kilowatt-Hours of this VFD."/>
          <Annotation Term="Measures.Unit" String="kWh"/>
        </Property>

        <Property Name="LastFault" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Last Fault of VFD."/>
          <Annotation Term="OData.LongDescription" String="This property shall indicate the actual Last Fault of VFD."/>
        </Property>

        <Property Name="SecondFault" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Second Fault of VFD."/>
          <Annotation Term="OData.LongDescription" String="This property shall indicate the actual Second Fault of VFD."/>
        </Property>

        <Property Name="FirstFault" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual First Fault of VFD."/>
          <Annotation Term="OData.LongDescription" String="This property shall indicate the actual First Fault of VFD."/>
        </Property>

        <Property Name="DriveStatus" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Drive Status of VFD."/>
          <Annotation Term="OData.LongDescription" String="This property shall indicate the actual Drive Status of VFD."/>
        </Property>

        <Property Name="DriveFail" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Drive Fail of VFD."/>
          <Annotation Term="OData.LongDescription" String="This property shall indicate the actual Drive Fail of VFD."/>
        </Property>

        <Property Name="DriveControl" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Drive Control of VFD."/>
          <Annotation Term="OData.LongDescription" String="This property shall indicate the actual Drive Control of VFD."/>
        </Property>

        <Property Name="DcUnderOverVolts" Type="Edm.Decimal">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual DC Under/Over Volts value of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual DC Under/Over Volts value of this VFD."/>
          <Annotation Term="Measures.Unit" String="V"/>
        </Property>

        <Property Name="FlyingStart" Type="Edm.Boolean">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Flying Start status of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual Flying Start boolean value of VFD."/>
        </Property>

        <Property Name="DriveAtSpeed" Type="Edm.Decimal">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Drive At Speed value of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual Drive At Speed value of VFD."/>
        </Property>

        <Property Name="DriveOverTemperature" Type="Edm.Decimal">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Drive Over Temperature value of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual Drive Over Temperature value of VFD."/>
        </Property>

        <Property Name="MotorOverTemperature" Type="Edm.Decimal">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Motor Over Temperature value of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual Motor Over Temperature value of VFD."/>
        </Property>

        <Property Name="ReverseDirection" Type="Edm.Boolean">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Reverse Direction status of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual Reverse Direction boolean value of VFD."/>
        </Property>

        <Property Name="CommunicationsError" Type="Edm.Boolean">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Communications Error status of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual Communications Error boolean value of VFD."/>
        </Property>

        <Property Name="Started" Type="Edm.Boolean">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Started status of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual Started boolean value of VFD."/>
        </Property>

        <Property Name="CommandSpeed" Type="Edm.Decimal">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The actual Command Speed of VFD."/>
          <Annotation Term="OData.LongDescription" String="The value of this property shall represent the actual Command Speed of VFD."/>
        </Property>

        <!-- AC Input -->
        <NavigationProperty Name="AcInput" Type="Collection(VFD.v0_1_0.AcInput)">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
          <Annotation Term="OData.Description" String="This is the definition for AC Input."/>
          <Annotation Term="OData.LongDescription" String="These properties shall be the definition for AC Input for a Redfish implementation."/>
          <Annotation Term="OData.AutoExpand"/>
        </NavigationProperty>

        <!-- AC Output -->
        <NavigationProperty Name="AcOutput" Type="Collection(VFD.v0_1_0.AcOutput)">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
          <Annotation Term="OData.Description" String="This is the definition for AC Output."/>
          <Annotation Term="OData.LongDescription" String="These properties shall be the definition for AC Output for a Redfish implementation."/>
          <Annotation Term="OData.AutoExpand"/>
        </NavigationProperty>

        <!-- DC Bus -->
        <NavigationProperty Name="DcBus" Type="Collection(VFD.v0_1_0.DcBus)">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
          <Annotation Term="OData.Description" String="This is the definition for DC Bus."/>
          <Annotation Term="OData.LongDescription" String="These properties shall be the definition for DC Bus for a Redfish implementation."/>
          <Annotation Term="OData.AutoExpand"/>
        </NavigationProperty>

        <!-- Sensors -->
        <NavigationProperty Name="Sensors" Type="SensorCollection.SensorCollection" Nullable="false">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="Contains the members of this sensor collection."/>
          <Annotation Term="OData.AutoExpand"/>
        </NavigationProperty>

        <Property Name="Actions" Type="VFD.v0_1_0.Actions" Nullable="false">
          <Annotation Term="OData.Description" String="The available actions for this resource."/>
          <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
        </Property>

      </EntityType>

      <!-- AC Input definition -->
      <EntityType Name="AcInput" BaseType="Resource.v1_0_0.ReferenceableMember">

        <Property Name="PercentCurrent" Type="Edm.Decimal">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The Percent Current for this AC Input."/>
          <Annotation Term="OData.LongDescription" String="This property shall indicate the Percent Current percentage value of this AC Input."/>
          <Annotation Term="Validation.Minimum" Int="0"/>
          <Annotation Term="Validation.Maximum" Int="100"/>
        </Property>

        <NavigationProperty Name="Sensors" Type="SensorCollection.SensorCollection" Nullable="false">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="Contains the members of this collection of sensors."/>
          <Annotation Term="OData.AutoExpand"/>
        </NavigationProperty>

        <Property Name="Actions" Type="VFD.v0_1_0.AcInputActions" Nullable="false">
          <Annotation Term="OData.Description" String="The available actions for this resource."/>
          <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
        </Property>

      </EntityType>

      <!-- AC Output definition -->
      <EntityType Name="AcOutput" BaseType="Resource.v1_0_0.ReferenceableMember">

        <Property Name="PercentRatedTorque" Type="Edm.Decimal">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The Percent Rated Torque for this AC Output."/>
          <Annotation Term="OData.LongDescription" String="This property shall indicate the Percent Rated Torque information of this AC Output."/>
          <Annotation Term="Validation.Minimum" Int="0"/>
          <Annotation Term="Validation.Maximum" Int="100"/>
        </Property>

        <Property Name="PercentRatedPower" Type="Edm.Decimal">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The Percent Rated Power for this AC Output."/>
          <Annotation Term="OData.LongDescription" String="This property shall indicate the Percent Rated Power information of this AC Output."/>
          <Annotation Term="Validation.Minimum" Int="0"/>
          <Annotation Term="Validation.Maximum" Int="100"/>
        </Property>

        <Property Name="KWHours" Type="Edm.Decimal">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The Kilowatt-Hours for this AC Output."/>
          <Annotation Term="OData.LongDescription" String="This property shall indicate the Kilowatt-Hours of this AC Output."/>
          <Annotation Term="Measures.Unit" String="kWh"/>
        </Property>

        <NavigationProperty Name="Sensors" Type="SensorCollection.SensorCollection" Nullable="false">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="Contains the members of this collection of sensors."/>
          <Annotation Term="OData.AutoExpand"/>
        </NavigationProperty>

        <Property Name="Actions" Type="VFD.v0_1_0.AcOutputActions" Nullable="false">
          <Annotation Term="OData.Description" String="The available actions for this resource."/>
          <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
        </Property>

      </EntityType>

      <!-- DC Bus definition -->
      <EntityType Name="DcBus" BaseType="Resource.v1_0_0.ReferenceableMember">

        <Property Name="DcUnderOverVolts" Type="Edm.Decimal">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="The DC Under/Over Volts for this DC Bus."/>
          <Annotation Term="OData.LongDescription" String="This property shall indicate the DC Under/Over Volts sensor reading value of this DC Bus."/>
          <Annotation Term="Measures.Unit" String="V"/>
        </Property>

        <NavigationProperty Name="Sensors" Type="SensorCollection.SensorCollection" Nullable="false">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="Contains the members of this collection of sensors."/>
          <Annotation Term="OData.AutoExpand"/>
        </NavigationProperty>

        <Property Name="Actions" Type="VFD.v0_1_0.DcBusActions" Nullable="false">
          <Annotation Term="OData.Description" String="The available actions for this resource."/>
          <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
        </Property>

      </EntityType>

      <ComplexType Name="Actions">
        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
        <Annotation Term="OData.Description" String="The available actions for this resource."/>
        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
        <Property Name="Oem" Type="VFD.v0_1_0.OemActions" Nullable="false"/>
      </ComplexType>

      <ComplexType Name="OemActions">
        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
        <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/>
        <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/>
      </ComplexType>

      <ComplexType Name="AcInputActions">
        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
        <Annotation Term="OData.Description" String="The available actions for this resource."/>
        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
        <Property Name="Oem" Type="VFD.v0_1_0.AcInputOemActions" Nullable="false"/>
      </ComplexType>

      <ComplexType Name="AcInputOemActions">
        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
        <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/>
        <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/>
      </ComplexType>

      <ComplexType Name="AcOutputActions">
        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
        <Annotation Term="OData.Description" String="The available actions for this resource."/>
        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
        <Property Name="Oem" Type="VFD.v0_1_0.AcOutputOemActions" Nullable="false"/>
      </ComplexType>

      <ComplexType Name="AcOutputOemActions">
        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
        <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/>
        <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/>
      </ComplexType>

      <ComplexType Name="DcBusActions">
        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
        <Annotation Term="OData.Description" String="The available actions for this resource."/>
        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
        <Property Name="Oem" Type="VFD.v0_1_0.DcBusOemActions" Nullable="false"/>
      </ComplexType>

      <ComplexType Name="DcBusOemActions">
        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
        <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/>
        <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/>
      </ComplexType>

    </Schema>

  </edmx:DataServices>
</edmx:Edmx>