Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame^] | 1 | { |
| 2 | "$id": "http://redfish.dmtf.org/schemas/v1/PowerEquipment.v1_0_0.json", |
| 3 | "$ref": "#/definitions/PowerEquipment", |
| 4 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", |
| 5 | "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", |
| 6 | "definitions": { |
| 7 | "Actions": { |
| 8 | "additionalProperties": false, |
| 9 | "description": "The available actions for this resource.", |
| 10 | "longDescription": "This type shall contain the available actions for this resource.", |
| 11 | "patternProperties": { |
| 12 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 13 | "description": "This property shall specify a valid odata or Redfish property.", |
| 14 | "type": [ |
| 15 | "array", |
| 16 | "boolean", |
| 17 | "integer", |
| 18 | "number", |
| 19 | "null", |
| 20 | "object", |
| 21 | "string" |
| 22 | ] |
| 23 | } |
| 24 | }, |
| 25 | "properties": { |
| 26 | "Oem": { |
| 27 | "$ref": "#/definitions/OemActions", |
| 28 | "description": "The available OEM-specific actions for this resource.", |
| 29 | "longDescription": "This property shall contain the available OEM-specific actions for this resource." |
| 30 | } |
| 31 | }, |
| 32 | "type": "object" |
| 33 | }, |
| 34 | "Links": { |
| 35 | "additionalProperties": false, |
| 36 | "description": "The links to other resources that are related to this resource.", |
| 37 | "longDescription": "This Redfish Specification-described type shall contain links to resources that are related to but are not contained by or subordinate to this resource.", |
| 38 | "patternProperties": { |
| 39 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 40 | "description": "This property shall specify a valid odata or Redfish property.", |
| 41 | "type": [ |
| 42 | "array", |
| 43 | "boolean", |
| 44 | "integer", |
| 45 | "number", |
| 46 | "null", |
| 47 | "object", |
| 48 | "string" |
| 49 | ] |
| 50 | } |
| 51 | }, |
| 52 | "properties": { |
| 53 | "ManagedBy": { |
| 54 | "description": "An array of links to the managers responsible for managing this power equipment.", |
| 55 | "items": { |
| 56 | "$ref": "http://redfish.dmtf.org/schemas/v1/Manager.json#/definitions/Manager" |
| 57 | }, |
| 58 | "longDescription": "This property shall contain an array of links to resources of type Manager that represent the managers that manage this power equipment.", |
| 59 | "readonly": true, |
| 60 | "type": "array" |
| 61 | }, |
| 62 | "ManagedBy@odata.count": { |
| 63 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" |
| 64 | }, |
| 65 | "Oem": { |
| 66 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
| 67 | "description": "The OEM extension property.", |
| 68 | "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements." |
| 69 | } |
| 70 | }, |
| 71 | "type": "object" |
| 72 | }, |
| 73 | "OemActions": { |
| 74 | "additionalProperties": true, |
| 75 | "description": "The available OEM-specific actions for this resource.", |
| 76 | "longDescription": "This type shall contain the available OEM-specific actions for this resource.", |
| 77 | "patternProperties": { |
| 78 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 79 | "description": "This property shall specify a valid odata or Redfish property.", |
| 80 | "type": [ |
| 81 | "array", |
| 82 | "boolean", |
| 83 | "integer", |
| 84 | "number", |
| 85 | "null", |
| 86 | "object", |
| 87 | "string" |
| 88 | ] |
| 89 | } |
| 90 | }, |
| 91 | "properties": {}, |
| 92 | "type": "object" |
| 93 | }, |
| 94 | "PowerEquipment": { |
| 95 | "additionalProperties": false, |
| 96 | "description": "This is the schema definition for the set of power equipment.", |
| 97 | "longDescription": "This resource shall be used to represent the set of power equipment for a Redfish implementation.", |
| 98 | "patternProperties": { |
| 99 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 100 | "description": "This property shall specify a valid odata or Redfish property.", |
| 101 | "type": [ |
| 102 | "array", |
| 103 | "boolean", |
| 104 | "integer", |
| 105 | "number", |
| 106 | "null", |
| 107 | "object", |
| 108 | "string" |
| 109 | ] |
| 110 | } |
| 111 | }, |
| 112 | "properties": { |
| 113 | "@odata.context": { |
| 114 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" |
| 115 | }, |
| 116 | "@odata.etag": { |
| 117 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" |
| 118 | }, |
| 119 | "@odata.id": { |
| 120 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" |
| 121 | }, |
| 122 | "@odata.type": { |
| 123 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" |
| 124 | }, |
| 125 | "Actions": { |
| 126 | "$ref": "#/definitions/Actions", |
| 127 | "description": "The available actions for this resource.", |
| 128 | "longDescription": "This property shall contain the available actions for this resource." |
| 129 | }, |
| 130 | "Description": { |
| 131 | "anyOf": [ |
| 132 | { |
| 133 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" |
| 134 | }, |
| 135 | { |
| 136 | "type": "null" |
| 137 | } |
| 138 | ], |
| 139 | "readonly": true |
| 140 | }, |
| 141 | "FloorPDUs": { |
| 142 | "$ref": "http://redfish.dmtf.org/schemas/v1/PowerDistributionCollection.json#/definitions/PowerDistributionCollection", |
| 143 | "description": "A link to a collection of floor power distribution units.", |
| 144 | "longDescription": "This property shall contain a link to a resource collection of type PowerDistributionCollection that contains a set of floor power distribution units.", |
| 145 | "readonly": true |
| 146 | }, |
| 147 | "Id": { |
| 148 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", |
| 149 | "readonly": true |
| 150 | }, |
| 151 | "Links": { |
| 152 | "$ref": "#/definitions/Links", |
| 153 | "description": "The links to other resources that are related to this resource.", |
| 154 | "longDescription": "This property shall contain links to resources that are related to but are not contained by or subordinate to this resource." |
| 155 | }, |
| 156 | "Name": { |
| 157 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", |
| 158 | "readonly": true |
| 159 | }, |
| 160 | "Oem": { |
| 161 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
| 162 | "description": "The OEM extension property.", |
| 163 | "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements." |
| 164 | }, |
| 165 | "RackPDUs": { |
| 166 | "$ref": "http://redfish.dmtf.org/schemas/v1/PowerDistributionCollection.json#/definitions/PowerDistributionCollection", |
| 167 | "description": "A link to a collection of rack-level power distribution units.", |
| 168 | "longDescription": "This property shall contain a link to a resource collection of type PowerDistributionCollection that contains a set of rack-level power distribution units.", |
| 169 | "readonly": true |
| 170 | }, |
| 171 | "Status": { |
| 172 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status", |
| 173 | "description": "The status and health of the resource and its subordinate or dependent resources.", |
| 174 | "longDescription": "This property shall contain any status or health properties of the resource." |
| 175 | }, |
| 176 | "Switchgear": { |
| 177 | "$ref": "http://redfish.dmtf.org/schemas/v1/PowerDistributionCollection.json#/definitions/PowerDistributionCollection", |
| 178 | "description": "A link to a collection of switchgear.", |
| 179 | "longDescription": "This property shall contain a link to a resource collection of type PowerDistributionCollection that contains a set of switchgear.", |
| 180 | "readonly": true |
| 181 | }, |
| 182 | "TransferSwitches": { |
| 183 | "$ref": "http://redfish.dmtf.org/schemas/v1/PowerDistributionCollection.json#/definitions/PowerDistributionCollection", |
| 184 | "description": "A link to a collection of transfer switches.", |
| 185 | "longDescription": "This property shall contain a link to a resource collection of type PowerDistributionCollection that contains a set of transfer switches.", |
| 186 | "readonly": true |
| 187 | } |
| 188 | }, |
| 189 | "required": [ |
| 190 | "@odata.id", |
| 191 | "@odata.type", |
| 192 | "Id", |
| 193 | "Name" |
| 194 | ], |
| 195 | "type": "object" |
| 196 | } |
| 197 | }, |
| 198 | "owningEntity": "DMTF", |
| 199 | "release": "2019.4", |
| 200 | "title": "#PowerEquipment.v1_0_0.PowerEquipment" |
| 201 | } |